L'octidi 8 vendémiaire, an CCXXIII, Bradley O'Hearne a écrit : > As soon as an actual working code sample emerges which proves that you can > feed varying FPS to the encoder
There is no need for it to emerge, it already exists. Look at ffmpeg.c. You can see for yourself: ffmpeg -lavfi \ 'testsrc=r=1:d=60,settb=1/1000,setpts=N*1000+400*cos(PI*N)-400,showinfo' \ -avoid_negative_ts 0 -r 1000 -y test.mkv You can see the variable timestamps using ffprobe on the output file, and you can see that MPlayer and ffplay both respect it. You just did something wrong in your program. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
