Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
ffmpeg sometimes get called unnecessarily #4846
Comments
|
I just tested, this solves it, will update my script, still think there should be an option to prevent youtube-dl being too smart for it's own good: PATH='' ~/bin/youtube-dl -f 141 ... It gives a warning though then: ... writing DASH m4a. Only some players support this container. Install ffmpeg or avconv to fix this automatically. |
|
Oh you might want the version: 2015.02.02 |
|
You can add |
|
Thank you Jaime, I did not know the option and really appreciate it. |
|
It started doing it again even though I use --fixup never for example in this case 2015.05.20: youtube-dl -F 'https://www.youtube.com/watch?v=Q-6_DrPT9OU' -f 22 is marked best, I expect that one to get pulled down. Instead -f 137 and -f 141 get downloaded in that order and then merged with ffmpeg. Is there some option or configuration I am missing to prevent commands outside of youtube-dl from being called? --fixup never had restored the behavior I liked for some time now. Thanks |
|
Read the last two paragraphs in the FORMATS SELECTION section |
|
Thank you again Jaime, I had noticed that but the problem is that I have scripts that use an unwieldy -f ../../../.. parameter, but some don't. If I add now -f best or -f ../../../best to all of them, what happens if I pass another -f on the commandline to my script? That's a lot of smarts to add to bourne shell :( Maybe multiple -f options are honored in order? I really do think there should simply be an option to never under any circumstance call an external program such as ffmpeg or AtomicParsley like I requested originally in this issue. |
|
The last
If |
|
I just tried this and it works: PATH='' ~/bin/youtube-dl 'https://www.youtube.com/watch?v=Q-6_DrPT9OU' I'll adjust my scripts to unset PATH. It seems in this way it'll work long term. Thank you again for your time and quick reply. |
|
Hi. How do I choose a resolution or the best of all with the -F command? Only resolutions are listed for me, but I do not know how to choose. c:>youtube-dl.exe -F -u user@gmail.com -p password -o "C:\Users\Adm\Videos%(playlist_index)s - %(title)s.%(ext)s" --fixup never --all-subs --external-downloader aria2c.exe https://globoplay.globo.com/v/6670684/programa/ |
|
With |
|
Don't work |
|
With a small "F".... And mind your account credentials please.. |
|
THANKS! Work now! :D c:>youtube-dl.exe -f hls-2165-3 -u user@gmail.com -p password -o "C:\Users\Adm\Videos%(playlist_index)s - %(title)s.%(ext)s" --fixup never --all-subs --external-downloader aria2c.exe https://globoplay.globo.com/v/6670684/programa/ |
Essentially I use -f 141 in a script but now youtube-dl does this:
[download] 100% of 24.61MiB in 00:00
[ffmpeg] Correcting container in
It's a waste of time cause my script then calls ffmpeg two more times piping the output into sox before then calling ffmpeg a final time where I fix it anyway.
There should be an option so youtube-dl never calls anything like ffmpeg or AtomicParsley. Maybe there already is? The first one in my PATH is not always the right one anyway. For example I had a version of ffmpeg recently that would crash unless I passed the fix_iods option as well.