Attached is a simple program (a mix of output_example.c and the tutorial
decoder) which attempts to read a video file (mp4) and convert it to
another format (flv).  I know that ffmpeg.c can do exactly what I want
but I need to add some minor functionality to log additional details as
the file is converted.  Rather than attempt to modify ffmpeg (a monster
piece of code) I thought I would generate a small test case to work
with.

 

When it runs, it prints out endless error messages "Invalid
timestamp=blah, last=blah".  I believe I am not updating the pts
somewhere along the lines.  Can anyone help? 

 

Gary

 

Attachment: writer.c++
Description: writer.c++

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to