[postprocessor/ffmpeg] Don't let ffmpeg read from stdin (fixes #4945)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 13 Feb 2015 21:25:34 +0000 (22:25 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 13 Feb 2015 21:25:34 +0000 (22:25 +0100)
commitcffcbc02de504d84e1c2677bb525c00b03e04f53
tree1fc4c384f77c412470d66e595e1eb8cb00f47467
parent9347fddbfc81114f85fecc72e8452813ef130fdb
[postprocessor/ffmpeg] Don't let ffmpeg read from stdin (fixes #4945)

If you run 'while read aurl ; do youtube-dl --extract-audio "${aurl}"; done < path_to_batch_file'  (batch_file contains one url per line) each call to youtube-dl consumed some characters and 'read' would assing to 'aurl' a non valid url, something like 'tube.com/watch?v=<id>'.
youtube_dl/postprocessor/ffmpeg.py