Commons talk:Video2commons

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 90 days. For the archive overview, see Special:PrefixIndex/Commons talk:Video2commons/Archive.

Before you file a report, please check whether the following list already includes the problem you have.

Known bugs and common errors

  1. Subtitles are not imported https://github.com/toolforge/video2commons/issues/148
    Since circa 2020, subtitles have not been automatically imported even if the option is selected. Unknown cause, possibly bug in codes. Previous discussions: Commons_talk:Video2commons/Archive_2#Youtube_subtitle_not_imported Commons_talk:Video2commons/Archive_2#Not_importing_subtitles_from_youtube.--RZuo (talk) 17:04, 1 January 2023 (UTC)[reply]

MaybeEncodingError: PicklingError

[edit]

Bug report: https://github.com/toolforge/video2commons/issues/184

Hi, Another error now :((( while trying to upload [1]. Yann (talk) 07:57, 11 January 2024 (UTC)[reply]

An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'\\\'(1, <ExceptionInfo: TaskError(b"pywikibot.Error: UploadError: exists-normalized: File exists with different extension as \\\\\\\'Z\\\\\\\\xc3\\\\\\\\xa9ro_de_conduite_(1933)_par_Jean_Vigo.jpg\\\\\\\'.")>, None)\\\'\')'

@Yann: this is coming from mediawiki itself pywikibot.Error: UploadError: exists-normalized . Changing the title so it doesn't match the image should let the upload through. ps: I wish these mediawiki errors were properly documented somewhere. Chico Venancio (talk) 13:18, 11 January 2024 (UTC)[reply]
The main problem is that comes after 8 hours running... :((( I renamed the file, it is much easier than starting the video process allover. Yann (talk) 16:12, 11 January 2024 (UTC)[reply]
@Yann: I was able to upload File:Zero De Conduite AKA Zero for Conduct (1933) (1080p) Jean Vigo.webm for you, please attend to the licensing.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 11:26, 13 February 2024 (UTC)[reply]
Never mind, we already have File:Zéro de conduite (1933) par Jean Vigo.webm, which is of higher resolution. Tagged for G7.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 12:43, 13 February 2024 (UTC)[reply]

Again while uploading https://archive.org/details/dixiana-4-k This is a big file (3.5 GB), but... Yann (talk) 14:39, 17 January 2024 (UTC) An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/bcd9bb16ad0148a1/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/bcd9bb16ad0148a1/dl.mp4.vp9.webm.log /srv/v2c/output/bcd9bb16ad0148a1/dl.mp4.vp9.webm\\\\\\\\nExitcode: 153\\\')>, None)"\')'[reply]

@Yann: For me too with the same file. Also, the tool appears not to be live updating the downloading percentages in my browser any more.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 08:20, 26 February 2024 (UTC) An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/e84f7ad87ff2e4f7/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/e84f7ad87ff2e4f7/dl.mp4.vp9.webm.log /srv/v2c/output/e84f7ad87ff2e4f7/dl.mp4.vp9.webm\\\\\\\\nExitcode: 153\\\')>, None)"\')'[reply]
@Yann And again. Live updating the downloading percentages in my browser is back.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 02:05, 29 February 2024 (UTC) An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/6cc7c2aa9169da83/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/6cc7c2aa9169da83/dl.mp4.vp9.webm.log /srv/v2c/output/6cc7c2aa9169da83/dl.mp4.vp9.webm\\\\\\\\nExitcode: 153\\\')>, None)"\')'[reply]
Now Running... Running cmd: /mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/7c576f571bca1cd4/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/7c576f571bca1cd4/dl.mp4.vp9.webm.log /srv/v2c/output/7c576f571bca1cd4/dl.mp4.vp9.webm   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:55, 2 March 2024 (UTC)[reply]
Still running at 4%.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 11:53, 6 March 2024 (UTC)[reply]
That task disappeared. Now running again with "z", up to 27%, but I kept getting spinners and needing to refresh.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 09:15, 14 March 2024 (UTC)[reply]
Ack, failed with An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/16b2b10195cac7a8/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/16b2b10195cac7a8/dl.mp4.vp9.webm.log /srv/v2c/output/16b2b10195cac7a8/dl.mp4.vp9.webm\\\\\\\\nExitcode: 153\\\')>, None)"\')'.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 20:20, 17 March 2024 (UTC)[reply]
Next, I got "An exception occurred: FileNotFoundError: b'[Errno 2] No such file or directory'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 01:51, 4 May 2024 (UTC)[reply]
Next, I got "An exception occurred: DownloadError: b"ERROR: \r[download] Got error: (<urllib3.connection.HTTPSConnection object at 0x7f63f2c41cc0>, 'Connection to ia803406.us.archive.org timed out. (connect timeout=20.0)'). Giving up after 10 retries"".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:27, 4 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/17ffa43b61bc9d42/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/17ffa43b61bc9d42/dl.mp4.vp9.webm.log /srv/v2c/output/17ffa43b61bc9d42/dl.mp4.vp9.webm\\\\\\\\nExitcode: 153\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 13:21, 6 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/0b7f8be23d00ce8b/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/0b7f8be23d00ce8b/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 13:38, 6 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/81aaf84973b719e5/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/81aaf84973b719e5/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 13:53, 6 May 2024 (UTC)[reply]
Next, retrying "Running cmd: /mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/419677851a73618d/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/419677851a73618d/dl.mp4.vp9.webm.log /dev/null".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:08, 6 May 2024 (UTC)[reply]
And "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/419677851a73618d/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/419677851a73618d/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:10, 6 May 2024 (UTC)[reply]
Yes, I keep retrying because I want to get this done. No, I don't like taking "no" for an answer without a good reason.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:12, 6 May 2024 (UTC)[reply]
And "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/0f238e4cf09bd37b/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/0f238e4cf09bd37b/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:29, 6 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/306e1a5dc54566e6/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/306e1a5dc54566e6/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'". Should I keep reporting the 137 exitcodes?   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:43, 6 May 2024 (UTC)[reply]
What are these exitcodes 137 and 153 codes for? Where are they documented?   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:51, 19 July 2024 (UTC)[reply]
@Yann, Chicocvenancio: Any ideas?   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 03:09, 9 August 2024 (UTC)[reply]
Continuing, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/a03ccdab663183d2/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/a03ccdab663183d2/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 15:03, 6 May 2024 (UTC)[reply]
And "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/a03ccdab663183d2/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/a03ccdab663183d2/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 15:05, 6 May 2024 (UTC)[reply]
And "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/046f694e4d6de266/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/046f694e4d6de266/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 15:20, 6 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/a645ccb91a631ccb/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/a645ccb91a631ccb/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 00:54, 7 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/313c581e31dc5f7a/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/313c581e31dc5f7a/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:34, 8 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/44e5d44e7a6f1cce/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/44e5d44e7a6f1cce/dl.mp4.vp9.webm.log /srv/v2c/output/44e5d44e7a6f1cce/dl.mp4.vp9.webm\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 18:53, 8 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/83c36f7ad441545d/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 -an -pass 1 -passlogfile /srv/v2c/output/83c36f7ad441545d/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 21:51, 8 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/659500380e96aed6/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/659500380e96aed6/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 02:36, 9 May 2024 (UTC)[reply]
By "z", I mean again attempting to upload with filename File:Dixiana 1930 (colorized, 4k, 60FPS).webm to prefer Yann's ability to retry. We seem not to be getting progress percentages for ffmpeg pass 1.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 13:25, 6 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/d8157e1b3dc74b94/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 -f webm -ss 0 -b:a 128000 -ar 48000 -acodec libopus -pass 2 -passlogfile /srv/v2c/output/d8157e1b3dc74b94/dl.mp4.vp9.webm.log /srv/v2c/output/d8157e1b3dc74b94/dl.mp4.vp9.webm\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 12:07, 9 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/d26e801ae20fa92f/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 -an -pass 1 -passlogfile /srv/v2c/output/d26e801ae20fa92f/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 13:45, 9 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/83a058bf994772d3/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/83a058bf994772d3/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 13:01, 11 May 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/83b8445a1656056e/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/83b8445a1656056e/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 13:54, 16 May 2024 (UTC)[reply]
Now pending...   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 17:23, 16 May 2024 (UTC)[reply]
@Yann: Still pending, 7 days later...   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 09:55, 25 May 2024 (UTC)[reply]
@Yann: The task disappeared again.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 16:01, 4 June 2024 (UTC)[reply]
More tasks disappeared.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 12:54, 3 August 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/83e1ecbb9782d922/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 -an -pass 1 -passlogfile /srv/v2c/output/83e1ecbb9782d922/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 137\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 01:23, 23 June 2024 (UTC)[reply]
Next, I got "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'/mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/6834a39ded6616ab/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 -an -pass 1 -passlogfile /srv/v2c/output/6834a39ded6616ab/dl.mp4.vp9.webm.log /dev/null\\\\\\\\nExitcode: 1\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 02:26, 23 June 2024 (UTC)[reply]

One more. This is a very big file (3.37 GB), but the error message is completely useless. Yann (talk) 12:21, 8 March 2024 (UTC)[reply]

An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(b\\\'pywikibot.Error: APIError: missingresult: No result in status data.\\\\\\\\n[param: action=upload&filekey=1arh87f67h6o.i89yyb.1.webm&checkstatus=&assert=user&maxlag=5&format=json&token=ef04052bdfe31ebba854fd7011e5796165e8902f%2B%5C;\\\\\\\\n servedby: mw2306;\\\\\\\\n 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/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.]\\\')>, None)"\')'
@Yann: I was able to upload https://www.youtube.com/watch?v=DRJEAVxY43w to File:D W Griffith - "True Heart Susie" - (1919) starring Lillian Gish, Robert Harron.webm for you, please attend to the licensing.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 08:53, 14 March 2024 (UTC)[reply]
@Jeff G.: Thanks, but I managed to upload it directly with Chunked Uploads: File:True Heart Susie (1919) by D. W. Griffith.webm. Please ask or check before uploading files. Yann (talk) 11:22, 14 March 2024 (UTC)[reply]
@Yann: You're welcome. I copied info from mine to yours and tagged mine g7.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 05:02, 15 March 2024 (UTC)[reply]

Large uploads smoother

[edit]

https://phabricator.wikimedia.org/T358308

thanks to User:CGoubert-WMF, User:HNowlan (WMF) and User:Bawolff, large uploads are now probably smoother. maybe v2c also benefits from this? how's your experience recently? RZuo (talk) 21:13, 27 April 2024 (UTC)[reply]

I should mention that I'm still aware of at least two issues that might affect big uploads (interuption during deployments, and false positives when scanning for bad files) however both should happen a lot less then the previous issue that was recently fixed, so hopefully things are working smoother now even if not perfect. Bawolff (talk) 22:53, 27 April 2024 (UTC)[reply]
File:Discovering Tenggol- Aerial Views and Submerged Delights in 4K.webm 3.28 gb, successful in 1 try. RZuo (talk) 11:51, 28 April 2024 (UTC)[reply]
File:Data Center Tour & Technical Deep Dive into the Power, Data and Cooling Infrastructure!.webm 3.31 gb success in 1 try. RZuo (talk) 14:42, 28 April 2024 (UTC)[reply]
@Bawolff: Hi, I got a message An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'Sorry, but files larger than 4GB can not be uploaded even with server-side uploading. This task may need manual intervention.\\\')>, None)"\')'. However the MP4 file is only 1.252 GB. So how is it possible to get larger than 4 GB here? Thanks, Yann (talk) 10:45, 14 May 2024 (UTC)[reply]
Its hard to know without looking at the file (and possibly knowing more about mp4 internals then i do), but for some files there can be transcoding options that well normally work well might work terribly for some specific file. As an aside as far as 4gb limit goes on video2commons, i submitted [2] but its waiting on one of the video2commons maintainers to review it (i think that is @Zhuyifei1999 ) Bawolff (talk) 20:43, 14 May 2024 (UTC)[reply]
@Bawolff: Thanks for your answer. It is not the only problem. See the screenshot I posted below. Yann (talk) 22:10, 14 May 2024 (UTC)[reply]
The problems below all sound like variations on out-of-memory errors (the cannot allocate memory error very obviously looks like OOM, but the errors related about processes being killed sound like they could also be OOM related errors). I don't know enough how video2commons works to say more than that. Perhaps the tool in question needs to be modified to do less things in parallel. Bawolff (talk) 00:19, 15 May 2024 (UTC)[reply]
@Bawolff: I wonder if I should open bug reports, and with what information? Yann (talk) 08:15, 15 May 2024 (UTC)[reply]
I got the following while trying to upload https://archive.org/details/where-the-north-begins-1923-by-chester-m.-franklin to File:Where the North Begins (1923, 1080p) by Chester M. Franklin.webm: "An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(\\\'Sorry, but files larger than 4GB can not be uploaded even with server-side uploading. This task may need manual intervention.\\\')>, None)"\')'".   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 17:25, 7 July 2024 (UTC)[reply]

It does not import subtitles!

[edit]
Example that has subtitles at source and when downloaded

When having subtitles checked it usually does not import subtitles, or at least often.

For example, try turning on subtitles for the video on the right which has subtitles at the source. Here is another example since I think the uploader had import subtitles checked (note that in this case the subtitles are set on a wrong language at the source which is rare). Could this please be fixed as soon as possible so people don't need to upload many videos again to have the subtitles working? It would be best if one could easily add subtitles to the video file itself so that they are embedded in the video but for now this is only about the subtitles existing at the source.

There also is an issue that subtitles are not shown for videos where the subtitle was successfully imported using the tool (you can download the video and watch the video with subtitles); create an issue about that here: phab:T368298. Prototyperspective (talk) 17:22, 24 June 2024 (UTC)[reply]

#top "Before you file a report, please check whether the following list already includes the problem you have." RZuo (talk) 19:40, 24 June 2024 (UTC)[reply]
Ups, missed that part. Was about to delete this section but seeing how this is still an issue after ca 4 years, the issue has been created over 2 years ago, and there not being much details in the github issue maybe it should stay. Getting the subtitle downloaded is just making sure the right yt-dlp command is used so if that is the problem it should be quick and simple to fix. Also maybe it has to do with the phab issue about VTT subtitles, should there also be a phabricator issue about it? From the code issue it seems like it could have to do with language codes, could somebody take a look at it? Prototyperspective (talk) 21:17, 24 June 2024 (UTC)[reply]

Cannot upload age-restricted videos

[edit]

I get the following error when I try to upload videos that are age-restricted:

An exception occurred: DownloadError: b'ERROR: unable to download video data: HTTP Error 403: Forbidden'

Is there a work-around? FunnyMath (talk) 17:58, 11 July 2024 (UTC)[reply]

@FunnyMath: I don't suppose we could wait til the bot is 18.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 08:00, 13 July 2024 (UTC)[reply]
@Jeff G.: Maybe the bot can be accompanied by another bot that is 18 or older ;)
Anyways, it's not an urgent issue. I'm using yt-dlp to bypass the age-restriction. I'm uploading some public domain Korean War videos that are not child-friendly, so that's why. My issue might be too niche to merit a fix; I would guess not too many public domain or CC-BY videos are age-restricted. FunnyMath (talk) 09:11, 13 July 2024 (UTC)[reply]
I've got the same problem too. – Illegitimate Barrister (talkcontribs), 17:41, 17 July 2024 (UTC)[reply]

AV1 encoding feature request

[edit]

I think that video2commons should keep up with the times and have the option to convert videos to the AV1 format. Also, v2c should have the option to transcode only a specified section of a source video if, for example, the video contains something copyrightable like an intro animation. prospectprospekt (talk) 04:02, 23 July 2024 (UTC)[reply]

+1. phab:T209437. Yann (talk) 16:34, 23 July 2024 (UTC)[reply]