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

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
What's the option you're using to bypass the restriction? We can simply include the option in video2commons as well. vip (talk) 16:20, 19 August 2024 (UTC)Reply
I've got the same problem too. – Illegitimate Barrister (talk β€’ contribs), 17:41, 17 July 2024 (UTC)Reply

I just tried using this code directly from video2commons download wrapper, and it worked for me locally but on video2commons it failed as: DownloadError: b'ERROR: [youtube] fYH8eSiOf5I: Sign in to confirm your age. This video may be inappropriate for some users.'

import yt_dlp

params = {
    'writedescription': True,
    'writeinfojson': True,
    'writesubtitles': True,
    'writeautomaticsub': False,
    'subtitleslangs': ['all', '-live_chat'],
    'subtitlesformat': 'srt/ass/vtt/best',
    'cachedir': '/tmp/',
    'noplaylist': True,  # not implemented in video2commons
    'postprocessors': [{
        'key': 'FFmpegSubtitlesConvertor',
        'format': 'srt',
    }],
    'max_filesize': 5 * (1 << 30),
    'retries': 10,
    'fragment_retries': 10,
    'prefer_ffmpeg': True,  # avconv do not have srt encoder
    'prefer_free_formats': True,
}

dl = yt_dlp.YoutubeDL(params)
url = 'https://www.youtube.com/watch?v=fYH8eSiOf5I'
info = dl.extract_info(url, download=True, ie_key=None)
info

-- DaxServer (talk) 09:26, 26 August 2024 (UTC)Reply

It seems a plugin like https://github.com/pukkandan/yt-dlp-YTAgegateBypass is required, I'll give it a try. vip (talk) 14:34, 26 August 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
Agreed. I'll check into that after the ffmpeg/gentoo update (see below). vip (talk) 16:15, 19 August 2024 (UTC)Reply

API for this tool

edit

Hi. Would it be possible to document the API so that I can send task jobs from my workflow? -- DaxServer (talk) 18:59, 14 August 2024 (UTC)Reply

Hello @DaxServer the API is implemented here: https://github.com/toolforge/video2commons/blob/master/video2commons/frontend/api.py
There is no documentation AFAIK but it's quite easy to understand, I managed to do it in my own tool: https://gitlab.wikimedia.org/toolforge-repos/spacemedia/-/blob/main/src/main/java/org/wikimedia/commons/donvip/spacemedia/service/wikimedia/Video2CommonsService.java vip (talk) 16:10, 19 August 2024 (UTC)Reply
Thanks for the info @Don-vip I'll look into it! -- DaxServer (talk) 16:39, 19 August 2024 (UTC)Reply
I tried to automate it in Python to no avail. I keep getting errored out. In the end, I used Puppeteer to render and authenticate. I wish there's a simpler way! -- DaxServer (talk) 14:44, 26 August 2024 (UTC)Reply
This could be useful to build a tool to for example upload all CCBY videos from a channel. This could be useful to for example upload all free audio files of a musician channel. Please link such tools in the V2C documentation. Prototyperspective (talk) 12:17, 20 August 2024 (UTC)Reply
This is what I'm doing in Commons:Spacemedia and why I step up to repair video2commons when it was completely broken. vip (talk) 18:16, 22 August 2024 (UTC)Reply
Great tool, if you already use V2C this way maybe a tool could be created from its code or you could add some documentation how this was done. There is this tool to see all CCBY videos by a channel but I think it's dysfunctional and it can't be used for uploading all of these videos (except for videos already uploaded and videos the user manually unchecks). Prototyperspective (talk) 21:45, 22 August 2024 (UTC)Reply
Now this page has info on how to download all videos from a channel that are CCBY thanks to @Dhx1: Commons:YouTube files/Downloading#Bulk video download – the thing missing is integration with V2C so one can use the web interface to e.g. select whether subtitles/audio/video should be imported for the files and alter the descriptions etc after entering the channel url. Prototyperspective (talk) 20:28, 30 August 2024 (UTC)Reply

How long to wait?

edit

I uploaded a 1 min .mov about 4 hours ago. I'm still getting "Your task is pending".

How long to wait before aborting and starting over? Nowa (talk) 19:22, 27 August 2024 (UTC)Reply

P.S. aborted after waiting 24 hours. Any recommendations for an MOV to MP4 converter app? Nowa (talk) 12:39, 28 August 2024 (UTC)Reply
I've encountered the same problem. It seems that the tool is once again unusable. - THV | β™‚ | U | T - 13:16, 28 August 2024 (UTC)Reply
@Nowa @The Harvett Vault Everything is fine. The queue is just executing my jobs. Your tasks would come next since you created the jobs after me. -- DaxServer (talk) 16:14, 28 August 2024 (UTC)Reply
@DaxServer
  1. can you have some consideration for other users and not stuff the tool with your tasks?
  2. if you are batch uploading, you should apply for a bot account?
RZuo (talk) 17:16, 28 August 2024 (UTC)Reply
Thanks for the notes @RZuo. I didn't know it would clog up. -- DaxServer (talk) 17:42, 28 August 2024 (UTC)Reply
OK, so I restarted and it looks like it's making progress. Thanks for the input. Nowa (talk) 21:41, 28 August 2024 (UTC)Reply
Hello @DaxServer, @Momiji-Penguin, thank you for using this tool, 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 first graph ("Total 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 (which is currently the case for three days now).
Thanks. vip (talk) 21:54, 2 September 2024 (UTC)Reply
OK, I aborted all my pending and running tasks. I reduce the tasks (at most two) at a time, based on your comment and the resource monitor. Momiji-Penguin (talk) 00:23, 3 September 2024 (UTC)Reply
Thanks for the Grafana link. I've been looking at the wrong one all this time -- DaxServer (talk) 06:30, 3 September 2024 (UTC)Reply
@Don-vip: Thanks a lot for that information. I added it to inform people about the limited capacity. Please correct if necessary. Yann (talk) 08:09, 3 September 2024 (UTC)Reply
@Don-vip: Thanks. Which of mine (if any) have run afoul of the 48 hours timeout? Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 10:30, 5 September 2024 (UTC)Reply

Age-restricted content

edit

I was hoping to upload My Life as a Porn Star - Sophie Anderson Tells Her Story, but it keeps giving me "Error: An exception occurred: DownloadError: b'ERROR: [youtube] qTyBoU1Xw2w: Sign in to confirm your age. This video may be inappropriate for some users.'" What can I do to get round this?--Launchballer (talk) 00:04, 29 August 2024 (UTC)Reply

If you have an Android device or emulator, there's NewPipe and SkyTube. It can download age-restricted videos by bypassing the error message. - THV | β™‚ | U | T - 01:20, 29 August 2024 (UTC); edited: 05:18, 29 August 2024 (UTC)Reply
Thanks, got anything for desktop?--Launchballer (talk) 08:03, 29 August 2024 (UTC)Reply
https://github.com/yt-dlp/yt-dlp same as what v2c uses. RZuo (talk) 03:57, 3 September 2024 (UTC)Reply

Please enable importing lossless flac (+a bandcamp importer?)

edit

In Category:Audio files created by Stellardrone (composer) from Bandcamp and Category:Audio files of music by Raspberrymusic most files are ogg or opus files despite that lossless / higher-quality FLAC files are available. In V2C one can only choose between ogg and opus. Could you please enable FLAC file imports and additionally configure that to be the default? It seems like all files are transcoded to MP3 and OGG files anyway (at the bottom of the page) so the default should probably be the lossless filetype and it can make a big difference in audio quality.

One can download the flac files with yt-dlp as described in Commons:YouTube files/Downloading but with adding --audio-format flac to the command.

Secondly and relevant to #API for this tool above and the Bulk video download section, it would be great if there was a Bandcamp Importer tool (maybe using V2C via API).

I think a or the problem would be that yt-dlp currently can't read the license of the audio file like it can for videos on YouTube so the part of the bulk video download (to be used with artist pages or album pages) "license=Creative Commons Attribution license (reuse allowed)" or some equivalent doesn't work. One can see the metadata that it can parse with yt-dlp --write-annotations --write-info-json --skip-download url and the license info is not among it. This leads me to conclude that the next step, alongside the thread about V2C API above as well as this thread, would be to create an issue in the yt-dlp GitHub repo requesting the license metadata from tracks on bandcamp to be read. @Dhx1: maybe you know more? Prototyperspective (talk) 18:22, 4 September 2024 (UTC)Reply

I looked into this @Prototyperspective and the yt-dlp bandcamp extractor needs a fair bit of work. There is an ld+json script in each bandcamp page that contains license information (CC-BY-3.0 vs. all rights reserved) but the yt-dlp bandcamp extractor currently doesn't care about this ld+json script, and only extracts a limited amount of metadata. I can give it a go rewriting the yt-dlp bandcamp extractor but it'll take me a little while to figure out the project's conventions and code structure. Once that is ready from a yt-dlp perspective, it seemingly is then easy for the "bulk audio" section of the YouTube downloading help page to duplicated for bandcamp, allowing filtering of only CC-BY-3.0 tracks. Dhx1 (talk) 07:56, 5 September 2024 (UTC)Reply
@Dhx1: Thanks for replying and being willing to give it a go. Can yt-dlp also download from YouTube Red, Music Premium, YouTube Premium, and Google Play Music? I am looking at https://m.youtube.com/premium/restrictions . Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 10:40, 5 September 2024 (UTC)Reply
Seemingly yes, as a general answer. See the --cookies-from-browser BROWSER[+KEYRING][:PROFILE][::CONTAINER] command line argument for yt-dlp (and any other articles you can find about using cookies with yt-dlp). The idea is you login with a usual web browser session and then yt-dlp will reuse the session cookies. Results will probably depend on the "premium" service you're trying to access with yt-dlp, whether DRM is used (won't work with DRM), etc. Dhx1 (talk) 23:12, 5 September 2024 (UTC)Reply
Thanks a lot for looking into this and these insights! Would be great if you could do that and if it requires getting familiar with the yt-dlp code that could be useful for several other very useful tools and/or code changes (for example bulk importers for some other sites of the resources pages). Please comment here if you got something working or if you have links to the required issues. A separate bandcamp page is a good idea and such pages could also linked to cats like Category:Audio files from Bandcamp/Soundcloud (if you don't implement them people could learn from your change and implement it in a similar way). Prototyperspective (talk) 23:01, 5 September 2024 (UTC)Reply
@Prototyperspective yt-dlp's Soundcloud extractor already captures the license and therefore should be ready to use with:
yt-dlp -o "%(title)s-%(id)s.%(ext)s" --match-filters "license=cc-by" --embed-metadata --parse-metadata "CC-BY-3.0:%(meta_license)s" --parse-metadata "%(uploader_url)s:%(meta_artist_url)s" -f bestaudio -x --audio-format opus --continue --retries 4 --download-archive example_user_archive.txt https://soundcloud.com/wearecc/sets/open-minds-from-creative
Obviously change the example URL I've supplied to whatever user account/playlist you're wanting to download CC-BY-3.0 content from. Dhx1 (talk) 23:26, 5 September 2024 (UTC)Reply
@Dhx1: Please see the issue Soundcloud and Bandcamp audio files' license is not read. Prototyperspective (talk) 17:48, 9 October 2024 (UTC)Reply

Batch upload

edit

Hi! as explained in the Village pump, there are channels who upload interesting CC content. I asked if there was any way to upload various CC-licenced videos from the same Youtube channel in a fast way?

Thx. TaronjaSatsuma (talk) 15:37, 17 September 2024 (UTC)Reply

An exception occurred: UnpickleableExceptionWrapper: b"TaskError('Upload failed!')"

edit

I get this error in some videos. I try to reupload, but always fails.--TaronjaSatsuma (talk) 19:55, 22 September 2024 (UTC)Reply

@TaronjaSatsuma: Are you attempting to overwrite? Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 21:00, 22 September 2024 (UTC)Reply
It shouldn't overwrite, those files theorically don't exist in Commons (or I'm not able to find those).--TaronjaSatsuma (talk) 21:16, 22 September 2024 (UTC)Reply
@TaronjaSatsuma: Can you reveal the sources, or are they your own work? Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 21:21, 22 September 2024 (UTC)Reply
Are videos from Youtube, such as https://www.youtube.com/watch?v=kSgATvZxZm4 TaronjaSatsuma (talk) 21:30, 22 September 2024 (UTC)Reply
@TaronjaSatsuma and @Don-vip: I got the same error, even with a substitute for the bitly link, then cropped the description and added "See the rest of the description on YouTube." The error recurred. Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 21:44, 22 September 2024 (UTC)Reply

No such file or directory

edit

I got "An exception occurred: FileNotFoundError: b'[Errno 2] No such file or directory'" when trying to upload https://archive.org/details/dixiana-4-k to File:Dixiana 1930 (colorized, 4k, 60FPS) 2.webm. Restarted. Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 07:23, 23 September 2024 (UTC)Reply

I also got "An exception occurred: OSError: b'[Errno 24] Too many open files'" twice while trying to upload the same file. Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 15:38, 25 September 2024 (UTC)Reply
and "An exception occurred: WorkerLostError: b'Worker exited prematurely: signal 15 (SIGTERM)" with three different files. Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 14:48, 27 September 2024 (UTC)Reply

What do you mean by "abuse"???

edit

Just let me use the tool, what did I do wrong?? And I'm not doing 50 edits to Wikimedia Commons, that's too much. Susbush (talk) 11:13, 25 September 2024 (UTC)Reply

@Susbush sorry, can you please explain a bit more about what problems you had while using the tool? what happended and where? RZuo (talk) 11:37, 25 September 2024 (UTC)Reply
When I try to use the tool it says: "Due to ongoing abuse, you must have 50 edits to use this tool" Susbush (talk) 12:36, 25 September 2024 (UTC)Reply
@Susbush sorry to tell you that 50 edits is a compulsory requirement for v2c.
it's a default message. it doesnt mean your edits are abuse. sorry about the misunderstanding. the message will be changed soon.
also take a look at Help:Converting video, which includes many alternative video upload methods that dont have 50 edits requirement. RZuo (talk) 14:00, 25 September 2024 (UTC)Reply
Why is 50 edits "compulsory"?? (IP adress redacted. Raymond (talk) 06:03, 30 September 2024 (UTC)) 15:36, 25 September 2024 (UTC)Reply
it's a default setting of this tool. it's designed this way so that only users with some experience and familiar with the website can use it. RZuo (talk) 17:43, 25 September 2024 (UTC)Reply
Wdym "some experience"??? Susbush (talk) 01:53, 26 September 2024 (UTC)Reply

Suddenly imports at low quality

edit

Since recently, V2C in many cases imports files at low resolution. Did something change at YouTube, yt-dlp, or video2commons? I suspect the latter was changed somehow but it's also possible YouTube did something to the video formats which causes V2C to not download and convert the highest-quality video. In some cases, not importing the highest resolution files may be reasonable but not in these cases which are too useful and too low-resolution.

Examples:

As a workaround one can download the video with yt-dlp and then convert it using ffmpeg and upload it as a new version. I think the command is (example if it downloaded an mp4 as best quality) ffmpeg -i ./input.mp4 -vcodec libvpx-vp9 -acodec libvorbis "./output.webm". It's possible the yt-dlp command that video2commons uses to download the video from youtube should be changed to the one at: Help:Converting video#yt-dlp which would recode to webm if no webm is available at source. Prototyperspective (talk) 16:41, 30 September 2024 (UTC)Reply

It seems the vp09.00.21.08 version was uploaded. I remember there was a similar bug last year. V2C only uploaded 144p versions. THROTTLED versions can't be retrieved without special permission. Yann (talk) 17:36, 30 September 2024 (UTC)Reply
Well now the tool is half useless for uploading videos. It uploads some very low quality version of videos instead for every second video or so (another example). I'll submit a bug report at the GitHub repo along with some other issues like issues with importing audio files from soundcloud. It really needs some developers for that repo. Prototyperspective (talk) 15:42, 4 October 2024 (UTC)Reply
$ ./yt-dlp -F https://www.youtube.com/watch?v=7DfSDCFgINE
[youtube] Extracting URL: https://www.youtube.com/watch?v=7DfSDCFgINE
[youtube] 7DfSDCFgINE: Downloading webpage
[youtube] 7DfSDCFgINE: Downloading ios player API JSON
[youtube] 7DfSDCFgINE: Downloading android player API JSON
[youtube] 7DfSDCFgINE: Downloading player 26636eff
WARNING: [youtube] 7DfSDCFgINE: nsig extraction failed: You may experience throttling for some formats
         n = 6GWRSI6cKA6W2Hk8JwΒ ; player = https://www.youtube.com/s/player/26636eff/player_ias.vflset/en_US/base.js
WARNING: [youtube] 7DfSDCFgINE: nsig extraction failed: You may experience throttling for some formats
         n = SBuXj8Wa65D2NZ8h4eΒ ; player = https://www.youtube.com/s/player/26636eff/player_ias.vflset/en_US/base.js
[youtube] 7DfSDCFgINE: Downloading m3u8 information
[info] Available formats for 7DfSDCFgINE:
ID      EXT   RESOLUTION FPS CH β”‚   FILESIZE   TBR PROTO β”‚ VCODEC          VBR ACODEC      ABR ASR MORE INFO
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2     mhtml 48x27        0    β”‚                  mhtml β”‚ images                                  storyboard
sb1     mhtml 80x45        0    β”‚                  mhtml β”‚ images                                  storyboard
sb0     mhtml 160x90       0    β”‚                  mhtml β”‚ images                                  storyboard
233     mp4   audio only        β”‚                  m3u8  β”‚ audio only          unknown             [en] Default
234     mp4   audio only        β”‚                  m3u8  β”‚ audio only          unknown             [en] Default
139-drc m4a   audio only      2 β”‚    2.23MiB   49k https β”‚ audio only          mp4a.40.5   49k 22k [en] low, DRC, m4a_dash
139     m4a   audio only      2 β”‚    2.23MiB   49k https β”‚ audio only          mp4a.40.5   49k 22k [en] low, m4a_dash
251-drc webm  audio only      2 β”‚    4.42MiB   97k https β”‚ audio only          opus        97k 48k [en] medium, DRC, THROTTLED, webm_dash
140-drc m4a   audio only      2 β”‚    5.92MiB  129k https β”‚ audio only          mp4a.40.2  129k 44k [en] medium, DRC, m4a_dash
251     webm  audio only      2 β”‚    4.36MiB   96k https β”‚ audio only          opus        96k 48k [en] medium, THROTTLED, webm_dash
140     m4a   audio only      2 β”‚    5.92MiB  129k https β”‚ audio only          mp4a.40.2  129k 44k [en] medium, m4a_dash
394     mp4   256x144     30    β”‚    2.55MiB   56k https β”‚ av01.0.00M.08   56k video only          144p, THROTTLED, mp4_dash
269     mp4   256x144     30    β”‚ ~  7.03MiB  154k m3u8  β”‚ avc1.4D400C    154k video only
160     mp4   256x144     30    β”‚    2.45MiB   54k https β”‚ avc1.4D400C     54k video only          144p, mp4_dash
395     mp4   426x240     30    β”‚    3.00MiB   66k https β”‚ av01.0.00M.08   66k video only          240p, THROTTLED, mp4_dash
396     mp4   640x360     30    β”‚    5.72MiB  125k https β”‚ av01.0.01M.08  125k video only          360p, THROTTLED, mp4_dash
18      mp4   640x360     30  2 β”‚ β‰ˆ 15.81MiB  346k https β”‚ avc1.42001E         mp4a.40.2       44k [en] 360p, THROTTLED
243     webm  640x360     30    β”‚    6.38MiB  140k https β”‚ vp9            140k video only          360p, THROTTLED, webm_dash
230     mp4   640x360     30    β”‚ ~ 27.11MiB  594k m3u8  β”‚ avc1.4D401E    594k video only
134     mp4   640x360     30    β”‚    9.96MiB  218k https β”‚ avc1.4D401E    218k video only          360p, mp4_dash
605     mp4   640x360     30    β”‚ ~ 22.50MiB  493k m3u8  β”‚ vp09.00.21.08  493k video only
397     mp4   854x480     30    β”‚   10.36MiB  227k https β”‚ av01.0.04M.08  227k video only          480p, THROTTLED, mp4_dash
398     mp4   1280x720    30    β”‚   24.88MiB  545k https β”‚ av01.0.05M.08  545k video only          720p, THROTTLED, mp4_dash
232     mp4   1280x720    30    β”‚ ~ 89.12MiB 1952k m3u8  β”‚ avc1.64001F   1952k video only
136     mp4   1280x720    30    β”‚   33.63MiB  736k https β”‚ avc1.64001F    736k video only          720p, mp4_dash
399     mp4   1920x1080   30    β”‚   49.43MiB 1082k https β”‚ av01.0.08M.08 1082k video only          1080p, THROTTLED, mp4_dash
270     mp4   1920x1080   30    β”‚ ~162.86MiB 3567k m3u8  β”‚ avc1.640028   3567k video only
137     mp4   1920x1080   30    β”‚   57.71MiB 1263k https β”‚ avc1.640028   1263k video only          1080p, mp4_dash
https://github.com/toolforge/video2commons/pull/225 .--RoyZuo (talk) 17:03, 4 October 2024 (UTC)Reply
check these files https://commons.wikimedia.org/w/index.php?sort=create_timestamp_desc&search=deepcategory%3A%22Uploaded_with_video2commons%22+filewidth%3A640+filetype%3Avideo for lower-than-usual imports. RoyZuo (talk) 17:26, 4 October 2024 (UTC)Reply
Thanks RuyZuo! @Don-vip has this not been deployed 3 days ago? Because the tool still uploads low-quality videos. Example.
The link showing low-resolution imports is also useful, too bad there's so many files of that kind now. I think those that are in used should be prioritized for checking and get a higher resolution upload asap. Prototyperspective (talk) 16:48, 8 October 2024 (UTC)Reply
Some videos are really 480p max. RoyZuo (talk) 09:33, 12 October 2024 (UTC)Reply
Sure, I did not mean to suggest otherwise. It would be great if there was some script that compared the highest resolution at source (e.g. using yt-dlp) and the resolution here. There also is Category:Videos imported from YouTube with lower resolution than at source which contains almost none of the files and it could be that more than half of the videos in your link are of that type (and many of them used or useful). Prototyperspective (talk) 11:06, 12 October 2024 (UTC)Reply

More exceptions uploading File:Fragment of an Empire (1929, 1080p, silent) by Fridrikh Ermler.webm

edit

I got "An exception occurred: DownloadError: b'ERROR: [archive.org] fragment-of-an-empire-1929-by-fridrikh-ermler: Unable to download webpage: (<urllib3.connection.HTTPSConnection object at 0x7fef7a9e5490>, \'Connection to archive.org timed out. (connect timeout=20.0)\') (caused by TransportError("(<urllib3.connection.HTTPSConnection object at 0x7fef7a9e5490>, \'Connection to archive.org timed out. (connect timeout=20.0)\')"))'" and then "An exception occurred: DownloadError: b"ERROR: [archive.org] fragment-of-an-empire-1929-by-fridrikh-ermler: Unable to download webpage: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992) (caused by CertificateVerifyError('[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U"". I also got that second exception trying to upload storm-over-asia-1928-by-vsevolod-pudovkin to File:Storm Over Asia (1928, 1080p, silent) by Vsevolod Pudovkin.webm. Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 02:38, 11 October 2024 (UTC)Reply

Probably related to Commons:Village pump#Internet Archive attacked and the change needed would be to not cause it to fail when IA is unavailable but just log the URL somewhere for later archival. Prototyperspective (talk) 10:06, 11 October 2024 (UTC)Reply
The setup should be more fault-tolerant (with queues and graceful backing off), but then so should yt-dlp and IA. Β  β€” πŸ‡ΊπŸ‡¦Jeff G. ツ please ping or talk to meπŸ‡ΊπŸ‡¦ 13:37, 12 October 2024 (UTC)Reply
Return to the project page "Video2commons".