Hi Guys
I'm using the output_example.c code to try and generate a h264 file with
correct timestamping information. It seems to generate the file as
expected but when playing back through ffplay it runs faster than I
would expect. I have posted the code here: http://pastebin.com/nL9xRsWB
I have also tried to probe the file after it's created and ffprobe comes
back with:
libavutil 50.16. 0 / 50.16. 0
libavcodec 52.73. 0 / 52.73. 0
libavformat 52.67. 0 / 52.67. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
[h264 @ 00ae8060]max_analyze_duration reached
[h264 @ 00ae8060]Estimating duration from bitrate, this may be inaccurate
Input #0, h264, from 'test.h264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 352x288, 20 fps, 20 tbr, 1200k
tbn, 40 tbc
I was thinking that maybe my output output AVCodecContext parameters
were incorrect?
Thanks guys,
Mark.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user