Commons:Video2commons/pt-br

Shortcut: COM:V2C

Capturas de tela

video2commons é uma ferramente para fazer upload or gravações de áudio de URL ou dos seus dispositivos para Wikimedia Commons. Automaticamente converte os arquivos carregados para um formato compatível com Commons. Inclui funcionalidade como remover áudio, legendas, vídeo; estas estão ativadas por definição. A ferramente usa OAuth para iniciar sessão.

Como funciona

  1. Visite https://video2commons.toolforge.org e inicie sessão.
  2. Selecione "Adicionar tarefa..."
  3. Selecione o vídeo que quer convertido
    • Se não quiser áudio, vídeo ou legends, desselecione as opções de importação
  4. Preencha o moledo para descrição do aruivo e adicione categorias
  5. Pressione "Confirmar". A conversão vai começar na nuvem:
    • o primeiro passo irá inicar uma barra de carregamento
    • o segundo passo vai mostrar uma barra de avançamento, com uma indicação da porcentagem restante
  6. O vídeo convertido será automaticamente carregado ao Commons

Note que não será possível carregar um arquivo se já existe uma página no Commons com o mesmo nome.

Você pode fechar o navegador enquanto a tarefa está em curso, já que a conversão é feita no servidor, não no seu computador.

Você também pode criar mais tarefas. Elas serão adicionadas a fila e publicadas quando acabadas.

Limited capacity

Please keep in mind the following facts before requesting a large number of files in order to keep the service available to others:

  • this is a small community service, not a powerful infrastructure managed by the WMF;
  • it can currently handle 20 encoding tasks at the same time;
  • large videos can take several hours to encode. There's a timeout at 48 hours. If you have no idea how long it will take, please send only a few files to have an estimate before sending dozens or hundreds of files.
  • you can monitor the current workload on Grafana, here. The graph about aggregated load indicates the current CPU usage, from 0 to around 100–120.

Please do not send a large number of files if you see that the workload is higher than 100 for several hours, it means the service is at full capacity.

Erros padrão

An exception occurred: TaskError: File already exists. Please choose another name.
Meaning: It means that there is a video file with exactly the same name as the file you are trying to upload. It is probably the same video. Check for possible redundancy and if it is not the same video, choose a new name.
An exception occurred: TaskError: /mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/b4a696bee515adb1/dl.mp4 -max_muxing_queue_size 4096 -threads 16 -row-mt 1 -crf 20 -qmin 1 -qmax 51 -b:v 0 -vcodec libvpx-vp9 -tile-columns 4 -auto-alt-ref 1 -lag-in-frames 25 -speed 4 -f webm -ss 0 -an -pass 1 -passlogfile /srv/v2c/output/b4a696bee515adb1/dl.mp4.vp9.webm.log /dev/null Exitcode: 1
Meaning: First pass of transcoding to WebM failed
An exception occurred: TaskError: pywikibot.Error: APIError: stashfailed: Internal error: Server failed to publish temporary file. (Help: see https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.)
Meaning: Video was transcoded, uploaded and assembled, but publishing was not successful
An exception occurred: DownloadError: ERROR: KTvdqve_naM: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Meaning: Downloading of video with youtube-dl from the internet failed
Failed to determine the path of the downloaded video. Is the video too large?
Meaning: ?
An exception occurred: WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL).
Meaning: Transcoding of video was aborted because of limited resources of the computer running the software
An exception occurred: TaskError: b"b'pywikibot.Error: APIError: stashfailed: Could not acquire lock. Somebody else is doing something to this file...
Meaning: Commons website problem. Not v2c problem. Solution: Click "Restart".
An exception occurred: TaskError: pywikibot.Error: TimeoutError: Maximum retries attempted without success.
Meaning: Uploading, assembling or publishing took too long. aborted
An exception occurred: FileNotFoundError: b"[Errno 2] No such file or directory: '/data/project/video2commons/video2commons/frontend/static/uploads/73c147e0-19ea-11ed-9b40-82d0630f66a4'"
Meaning: ?
An exception occurred: TypeError: b"'NoneType' object is not iterable"
Meaning: ?
An exception occurred: TypeError: b"'The file format could not be recognised."
Meaning: ?
An exception occurred: DownloadError: b"'ERROR: [youtube] XXXXXXXXXXX: Sign in to confirm you\xe2\x80\x99re not a bot. This helps protect our community. Learn more."
Meaning: ?
Audio is asked to be kept but the file has no audio tracks.
Solution: do not select "Keep audio".
An exception occurred: DownloadError: b'ERROR: [youtube] NNwM_OMLa10: Video unavailable. This content isn\xe2\x80\x99t available.'

Sites that work

The tool uses yt-dlp to parse websites for video files and obtain associated information. New sites can be added by adding 'extractor' files to that tool. Some sites will work without needing a dedicated extractor file.

Beware that some sites such as YouTube forbid automated downloader tools, so this tool may be frequently rate-limited or blocked.

Category:Video2commons#%20 Category:Commons tools/Translations Category:Wikimedia projects and audio/Translations
Category:Commons tools/Translations Category:Video2commons Category:Wikimedia projects and audio/Translations