[FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer
george at nsup.org
Wed Apr 8 22:22:42 CEST 2015
Le nonidi 19 germinal, an CCXXIII, Gilles Chanteperdrix a écrit :
> So, when you just need to run exec, it is stupid
Exactly what I wrote: not your problem / premature optimization.
> I do not follow you here. youtube-dl -J has a uselessly verbose
> output, much harder to parse than youtube-dl -g which gives you just
> one URL. But you still need to run youtube-dl. So, I do not see the
Scratch "uselessly" and you will get it right: -J gives you everything you
may need to download the video correctly. -g only gives you one piece of
information, which is sometimes sufficient (but not not enough that you do
not feel the need to call a second time for -e) but only for a few sites.
So here is the upside of -J: it works.
Second upside: it works with a single call.
Third upside: since the information is completely self-contained, you can
pass it around easily. People here whine about "ffmpeg -f youtubedl", and
they have valid arguments. This:
youtube-dl -J $url | ffmpeg -f youtubedl -i -
is just as easy, and nobody will whine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel