Bug 757577 - Prefer WebM when available
Summary: Prefer WebM when available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: youtube-dl
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Till Maas
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/rg3/youtube-dl/iss...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-27 22:59 UTC by Jan Kratochvil
Modified: 2019-11-23 21:34 UTC (History)
4 users (show)

Fixed In Version: youtube-dl-2011.12.08-3.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-15 23:57:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix. (476 bytes, patch)
2011-11-27 22:59 UTC, Jan Kratochvil
no flags Details | Diff
.spec fix. (1.48 KB, patch)
2011-12-30 10:39 UTC, Jan Kratochvil
no flags Details | Diff

Description Jan Kratochvil 2011-11-27 22:59:50 UTC
Created attachment 537267 [details]
Fix.

Description of problem:
Despite Fedora supports Free WebM codec the default behavior of youtube-dl downloads FLV/MP4 files which cannot be played in Free Fedora (without RPM Fusion).

Version-Release number of selected component (if applicable):
youtube-dl-2011.10.19-1.fc16.noarch


How reproducible:
Always.

Steps to Reproduce:
youtube-dl http://www.youtube.com/watch?v=iqCkICXWdWI

Actual results:
iqCkICXWdWI.flv

Expected results:
iqCkICXWdWI.webm

Additional info:
Upstream patch implementation:
https://github.com/rg3/youtube-dl/issues/165
Its revert:
https://github.com/rg3/youtube-dl/issues/168
My upstream declined patch:
https://github.com/rg3/youtube-dl/issues/231

This is a fork from upstream.

Comment 1 Rahul Sundaram 2011-12-30 09:48:01 UTC
@Till Mass,  any thoughts on this?

Comment 2 Jan Kratochvil 2011-12-30 09:55:07 UTC
Comment on attachment 537267 [details]
Fix.

There is now upstream --prefer-free-formats: https://github.com/rg3/youtube-dl/commit/23e6b8adc8197da4cfaa831c08f3c2e627bbabdd

Comment 3 Rahul Sundaram 2011-12-30 10:07:32 UTC
afaik,  there is a way for us to include a configuration file in /etc now rather than patching.  Wouldn't that be more preferable to a patch that can break with newer releases?  If so, a patch to add a custom configuration file by default is preferable.

Comment 4 Jan Kratochvil 2011-12-30 10:14:58 UTC
Yes, there is now /etc/youtube-dl.conf since:
commit c379c181e057491171a43228752fcb7e20c86d5f
Date:   Mon Nov 28 01:29:46 2011 +0100
    Preliminary implementation of configuration files

Comment 5 Rahul Sundaram 2011-12-30 10:20:28 UTC
I would willing to commit a patch against that.

Comment 6 Jan Kratochvil 2011-12-30 10:39:40 UTC
Created attachment 550052 [details]
.spec fix.

Comment 7 Jan Kratochvil 2012-01-25 15:14:19 UTC
ping

Comment 8 Fedora Update System 2012-01-31 17:10:30 UTC
youtube-dl-2011.12.08-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/youtube-dl-2011.12.08-3.fc15

Comment 9 Fedora Update System 2012-01-31 17:10:39 UTC
youtube-dl-2011.12.08-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/youtube-dl-2011.12.08-3.fc16

Comment 10 Fedora Update System 2012-02-01 19:23:05 UTC
Package youtube-dl-2011.12.08-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing youtube-dl-2011.12.08-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1113/youtube-dl-2011.12.08-3.fc15
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2012-02-15 23:57:06 UTC
youtube-dl-2011.12.08-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-03-19 03:23:36 UTC
youtube-dl-2011.12.08-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Jan Kratochvil 2019-11-23 21:34:11 UTC
It no longer works, there is upstream:
   --prefer-free-formats does not prefer webm to mp4
  https://github.com/ytdl-org/youtube-dl/issues/6018

Maybe Fedora could change it to some:
  -f bestvideo[ext=webm]+bestaudio[ext=webm]/best
There are many other variants of such selection.


Note You need to log in before you can comment on or make changes to this bug.