Open GoogleCodeExporter opened 8 years ago
If I add a last dummy frame to the video (for example the first frame's
duration is 2 sec, the last dummy frame's pts is 2000 and its duration is 1)
the video seems to be ok in chrome and firefox but in vlc I can't play it
correctly (just one window resize for a moment and after that the video is
over).
By the way, is this last dummy frame method correct?
Original comment by Peter.Ko...@gmail.com
on 16 May 2013 at 10:34
Original comment by tnakam...@google.com
on 23 May 2013 at 10:09
I've tried AddMetaData instead of AddFrame:
if (!m_Segment->AddMetadata(encodedFrame, encodedSize, 1, pts *
TIMESCALE_DEFAULT, packet->data.frame.duration * TIMESCALE_DEFAULT))
Log("Cannot add frame to webm.");
VLC is the same :(
And I can't seek in the video in firefox and chrome :(
Original comment by Peter.Ko...@gmail.com
on 30 May 2013 at 12:25
I'm also running into this issue, where I'm creating a video from frames (using
custom code and the ffmpeg and vpx libraries), and the duration is only that of
a single frame and won't play properly in vlc.
Original comment by mant...@gmail.com
on 24 Sep 2014 at 12:52
Update: I was able to fix my duration problem by manually setting the
AVFrame->pts to the frame number.
Original comment by mant...@gmail.com
on 24 Sep 2014 at 8:11
Original issue reported on code.google.com by
Peter.Ko...@gmail.com
on 15 May 2013 at 3:47