[FFmpeg-user] Ffmpeg Concat Images failure

Vivek Jain vivek.jain at mindtickle.com
Sat Jul 9 07:43:15 EEST 2016


Hello,

I am trying to create video from images using concat option. It fails for
some images, below is the detail. I have tried exploring a lot on this but
no luck..

*Command: *

ffmpeg -y -safe 0 -i input_orig.txt -i song.mp3 -c:a copy -pix_fmt yuv444p
-shortest mashup.mp4

*Couple of points:*

1.  In the below example, I have kept the duration as 1 second for
simplicity. However, in real scenarios each will have different duration,
hence I guess above method is the only way to create video for variable
duration images.

2. On including "out_10.png" (10th image below)  I get below error:

      [mjpeg @ 0x7fbc0b008a00] invalid id 2306kB time=00:00:05.72
bitrate=1440.1kbits/s dup=192 drop=0 speed=0.793x

      Error while decoding stream #0:0: Invalid data found when processing
input

3. If 10th image is kept at the start or only it is used to create video,
it works fine. So I guess the issue is not actually with the image..

4. On including  "out_15.png" (15th image below) I get below error:

     [mjpeg @ 0x7fe5ac022200] bits 204 is invalid time=00:00:10.72
bitrate=1286.0kbits/s dup=313 drop=0 speed=1.05x

     Error while decoding stream #0:0: Invalid data found when processing
input

Please let me know if entire output or actual images are needed.. Much
thanks...

*Contents of input_orig.txt:*

ffconcat version 1.0

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_1.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_2.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_3.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_4.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_5.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_6.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_7.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_8.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_9.png

duration 1

##file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_10.png

##duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_11.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_12.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_13.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_14.png

duration 1

##file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_15.png

##duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_16.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_17.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_18.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_19.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_20.png

duration 1

file
/Users/Vivek/Desktop/MY_THING/572702262753189307/1446116853251Introtomgt.pptx/imagified/out_20.png

duration 6


-- 
Thanks,
Vivek


More information about the ffmpeg-user mailing list