Most likely time info is wrong: pts values or time base. Run the file through ffmpeg.exe with acodec and vcodec set to copy.
This will remux the file and yield compliant (though not necessarily correct) timestamps. If the remuxed version plays ok, examine it to find out its time base and the pts values of a few samples from each stream the. Try to match that in your code. Cheers Rob On Wednesday, October 14, 2015, Kevin J. Brooks <[email protected]> wrote: > I am successfully recording video and audio captured from devices attached > to the computer. However, when the file is played back using Windows Media > player, the progress slider at the bottom is not updated. I do write the > trailer just before calling avformat_free_context with my output context at > the parameter. Also if you bring up the properties on the file I does not > show the length of the video in the details. Can anyone point me in the > right direction to fix this issue? > > -- > Sincerely, > Kevin J. Brooks > Senior Software Engineer > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
