Dear Libav-Community, 

I want to create a single MP4 video from just one JPG image. Well that's 
working so far
_but_ I am not able to set the length of the mp4 video. For example let's say I 
want 
to create a video from image.jpg, the video shouls show this single image for 
about, 
let's say, one minute. 

I've tried so many stuff but just cant get this working, like 

avconv -y -r 1 -t 00:00:59 -f image2 -i image.png -vcodec libx264 -crf 18 
-preset slower -vf scale=\"trunc(oh*a/2)*2:1024\" image.mp4
avconv -y -r 1/59 -t 00:00:59 -f image2 -i image.png -vcodec libx264 -crf 18 
-preset slower -vf scale=\"trunc(oh*a/2)*2:1024\" image.mp4
... 
and so on

The Video is created but it's onle 1 sec in duration. Please, can you tell me 
what i 
am doing wrong here? This drives me nuts :)

Thanks,
Werner
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to