Hi David, loop was the trick :) Thank you :)
Am 26.08.13 21:41, schrieb David Fire: > hi > i think the trick is -loop 1 > i just tryed this and worked... > avconv -y -loop 1 -i snapshoot8.png -t 30 video.mp4 > the result is a 30 seconds long video with the same image... not very > funny :P > > > > 2013/8/26 Werner Detter <[email protected] > <mailto:[email protected]>> > > 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] <mailto:[email protected]> > https://lists.libav.org/mailman/listinfo/libav-tools > > > > > -- > (\__/) > (='.'=)This is Bunny. Copy and paste bunny into your > (")_(")signature to help him gain world domination. > > > _______________________________________________ > libav-tools mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-tools > _______________________________________________ libav-tools mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-tools
