Skip to content

Always pick bestvideo, ignore extension#225

Merged
don-vip merged 1 commit intotoolforge:masterfrom
royjor2016:patch-5
Oct 4, 2024
Merged

Always pick bestvideo, ignore extension#225
don-vip merged 1 commit intotoolforge:masterfrom
royjor2016:patch-5

Conversation

@royjor2016
Copy link
Copy Markdown
Contributor

to fix https://commons.wikimedia.org/wiki/Commons_talk:Video2commons#c-Prototyperspective-20240930164100-Suddenly_imports_at_low_quality

theoretically we can design a more complicated selection, by prioritising filesize then pick extension if there exists, but beyond my ability, so now just remove the "pick by extension" method for video tracks.

to fix https://commons.wikimedia.org/wiki/Commons_talk:Video2commons#c-Prototyperspective-20240930164100-Suddenly_imports_at_low_quality

theoretically we can design a more complicated selection, by prioritising filesize then pick extension if there exists, but beyond my ability,
so now just remove the "pick by extension" method for video tracks.
@don-vip don-vip merged commit c7a8333 into toolforge:master Oct 4, 2024
@don-vip
Copy link
Copy Markdown
Collaborator

don-vip commented Oct 4, 2024

change deployed on encoding01/02/05/06

Still ongoing heavy jobs on encoding03/04, I wait for their completion.

@prototyperspective
Copy link
Copy Markdown

Great, thanks for the fix. I guess it gets converted to webm elsewhere in the code if the filetype is a WMC-incompatible one like mp4.

@don-vip
Copy link
Copy Markdown
Collaborator

don-vip commented Oct 4, 2024

yes, that's the whole point of v2c

@prototyperspective
Copy link
Copy Markdown

I find its copying of the video description and license at least as useful. If that wasn't the yt-dlp command that was changed (didn't check thoroughly) then vext could also have been the specified final filetype where only WMC-compatible filetype values are possible.

@don-vip
Copy link
Copy Markdown
Collaborator

don-vip commented Oct 5, 2024

change deployed on encoding03/04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants