On Tue, 27 Aug 2013 22:18:51 +0200, Werner Detter <[email protected]> 
wrote:
> Hi Folks :) 
> 
> it just doesn't work to create a video with avconv with multiple input jpg 
> images. I've
> tried several things - but the result is always something different then a 
> mp4 with the
> given images :( Maybe you have a hint. The Images I want are named like:
> 
> 0.jpg
> 1.jpg
> 2.jpg
> 
> *) avconv -y -r 1 -f image2 -i %d.jpg -vcodec libx264 -crf 18 -preset slower 
> out.mp4 
> Result: a 3 seconds mp4 video that only shows one image
> 
> *) avconv -y -r 1 -f image2 -i 0.jpg 1.jpg 2.jpg -vcodec libx264 -crf 18 
> -preset slower out.mp4 
> Result: a 1 seconds mp4 video that only shows one image

This command overwrites 1.jpg and 2.jpg with 0.jpg.
The lesson to learn here is to not use -y in vain =p

I suppose this is the reason the first command you listed "didn't work" -- it
actually did work, but the other two images were identical to the first one.

-- 
Anton Khirnov
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to