Open florianpasteur opened 4 years ago
I think this is simply a libav/avconv bug, by not porting ffmpeg fixes.
I've searched the source codes from the error input is not MJPEG/AVI1
when I ran avconv manually.
libav seems to miss this fix specifically: https://github.com/FFmpeg/FFmpeg/commit/d3fe2e0dc991720bab723e6bc467976e0b14709a#diff-e249fd2ae0deb110c8165a3711a700c09b2e514aa57748d3ac1453d4a2414ddf
Checklist
Verbose log
Description
Hello,
When I use the option
--embed-thumbnail
the download fails because of converting the thumbnail tojpg
image. Actually the error comes from the command:avconv -y -i 'file:Ne me ramène pas-P2IxGppZhxo.webp' -bsf:v mjpeg2jpeg 'file:Ne me ramène pas-P2IxGppZhxo.jpg'
, apparentlyavconv
is not able to convertwebp
images tojpg
. I couldn't find a way to to do it in the manual ofavconv
Here the dependencies version:
No
ffmpeg
installed.Workaroung
As workaround, I installed
ffmpeg
and the command succeed.Possible solutions
Instead of using
avconv
to convert the image maybe an explicit error can be thrown to invite installingffmpeg
or maybeyoutube-dl
can try to download a lower resolutionjpg
image.