Commons:Video2commons/uk

Shortcut: COM:V2C

Скриншот

video2commons — це інструмент для завантаження відео з URL на Вікісховище. Він автоматично конвертує відео у формат, сумісний із Вікісховищем.

Він включає такі функції як вилучення аудіо, субтитрів, відео; ці функції активовані за замовчуванням. Для входу цей інструмент використовує OAuth.

Requirements

In order to use the tool, your account must be autoconfirmed and have at least 50 edits.[1]

Як це працює

  1. Перейдіть до https://video2commons.toolforge.org та залогіньтеся
  2. Натисніть «Додати завдання...»
  3. Виберіть відео, яке хочете конвертувати
    • Якщо аудіо, відео чи субтитри не потрібні, деактивуйте відповідні опції імпорту
  4. Заповніть шаблон опису файлу і додайте категорії
  5. Натисніть «Підтверджую». Конвертація розпочнеться на хмарі:
    • на першому кроці виведе панель завантаження
    • на другому кроці покаже панель прогресу, яка відображатиме відсоток роботи, що залишилася
  6. Конвертоване відео автоматично завантажиться у Вікісховище

Зауважте, що не вийде завантажити файл, якщо сторінка опису файла з таким самим іменем вже існує у Вікісховищі

Можете закрити свій браузер, поки завдання виконується, оскільки конвертація відбувається на сервері, а не на вашому комп'ютері.

Також можна додавати більше завдань. Вони будуть додані до черги і опубліковані, коли їх буде виконано.

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.

Стандартизовані помилки

An exception occurred: TaskError: File already exists. Please choose another 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
Пояснення: Перший перехід транскодування до WebM не вдався
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.)
Пояснення: Відео транскодоване, завантажене і складене. Але публікація не відбулася.
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.
Пояснення: не вдалося завантажити відео з youtube-dl з інтернету
Failed to determine the path of the downloaded video. Is the video too large?
Пояснення: ?
An exception occurred: WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL).
Пояснення: транскодування відео було зупинено через обмежені ресурси комп'ютера, на якому працює ПЗ
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.
Пояснення: завантаження, монтаж або публікація зайняли забагато часу. Зупинено
An exception occurred: FileNotFoundError: b"[Errno 2] No such file or directory: '/data/project/video2commons/video2commons/frontend/static/uploads/73c147e0-19ea-11ed-9b40-82d0630f66a4'"
Пояснення: ?
An exception occurred: TypeError: b"'NoneType' object is not iterable"
Пояснення: ?
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.'

Сайти, які працюють

Інструмент використовує youtube-dl для аналізу вебсайтів для пошуку відеофайлів і отримання пов'язаної з ними інформації. Нові сайти можна додати шляхом додавання файлів "екстрактор" до цього інструменту. Деякі сайти працюватимуть без необхідності спеціального екстрактора.

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

Посилання

References

  1. Tool error message: "You must be an autoconfirmed Commons user with at least 50 edits to use this tool."
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