[Libav-user] WMV File shows no progress on playback.

Robin Stevens rdstevens at gmail.com
Wed Oct 14 21:48:28 CEST 2015

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.


On Wednesday, October 14, 2015, Kevin J. Brooks <kbrooks at r2c-ss.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20151014/1db9f897/attachment.html>

More information about the Libav-user mailing list