I would like to execute a command like : ffmpeg -i t.mp3 -framerate 30 -pattern_type glob -i "*.jpg" -c:v libx264 -b:v 2M -c:a aac -strict experimental -b:a 192k -shortest out.mp4
Not in command line, but rather by invoking a C function that would look like ffmpeg.execute(command) The closest answer I found so far is here http://stackoverflow.com/a/3167088 but I can't manage to implement it. (When I rename 'main' func into 'ffmpeg' I get an error when compiling ffmpeg) 2015-03-14 3:53 GMT+01:00 NITIN GOYAL <[email protected]>: > you need the sequence and the timestamps to do that for both jpeg and wav > file. > > What kind of sample you are looking for? > > On Thu, Mar 12, 2015 at 8:33 PM, Pierrick Chabi <[email protected]> > wrote: > >> Hello, >> >> Is there a recent sample that illustrates how to programmatically convert >> a sequence of jpeg files and a wav file into a video file ? >> >> I will be grateful if you can help. >> >> P >> >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
