Problems encoding stills to video after v.5 to v.7 upgrade
|Reported by:||Danoham||Owned by:||michael|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I am trying to encode image stills into a video.
I have had success with encoding both PNG and JPEG stills to mpeg-1 with ffmpeg v.5.
I upgraded to v.7 with the intent of experimenting WEBM when things started to get strange.
The mpg output has an image that is mangled and colors that are wrong when viewed in WMP.
The mp4 output has a correct image but the quality is very low in QT.
I modeled these two command strings from your FAQ suggestion. Only the '-f image2' is new to what I used before.
I applied the FAQ suggestions regarding increasing MPEG4 quality and the output actually got smaller.
ffmpeg -y -f image2 -i sxi_%04d.jpg noaa_dcw_imageMangled_colorsWrong.mpg
ffmpeg -y -f image2 -i sxi_%04d.jpg -vcodec libx264 noaa_dcw_imageCorrect_veryLowQuality.mp4
All input and output files can be found here: http://satdat.ngdc.noaa.gov/sxi/dataexport/xComboOut/
I can also upload them to your site if you wish.
Change History (8)
comment:1 follow-up: ↓ 2 Changed 6 years ago by cehoyos
- Component changed from FFmpeg to undetermined
- Status changed from new to open
- Version changed from 0.7.1 to unspecified