Detect already merged videos
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 19 Apr 2015 14:56:22 +0000 (16:56 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 19 Apr 2015 15:51:41 +0000 (17:51 +0200)
commit5b5fbc0867f0eb73416c10c9d692fceee92b5766
treeb38c6e686cdb2ed7075de4f2a27604519b88e584
parentf158799bbe72e1fe99ec057cc968d3ec874fb1dd
Detect already merged videos

Without the '--keep-video' option the two files would be downloaded again and even using the option, ffmpeg would be run again, which for some videos can take a long time.
We use a temporary file with ffmpeg so that the final file only exists if it success
youtube_dl/YoutubeDL.py
youtube_dl/postprocessor/ffmpeg.py