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.
@Till Mass, any thoughts on this?
Comment on attachment 537267 [details] Fix. There is now upstream --prefer-free-formats: https://github.com/rg3/youtube-dl/commit/23e6b8adc8197da4cfaa831c08f3c2e627bbabdd
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.
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
I would willing to commit a patch against that.
Created attachment 550052 [details] .spec fix.
ping
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
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
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).
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.
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.
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.