Possible to seek outside keyframes?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sampsa
Blank Cone
Blank Cone
Posts: 42
Joined: 16 Dec 2014 13:54

Possible to seek outside keyframes?

Postby sampsa » 19 Nov 2015 17:29

Hello,

I have a h264 video stream in a Matroska container.

The container has cue information for each cluster. Cluster are organized in such a way, that there is only one I frame per cluster and the rest are P frames.

Now, is it possible to seek the video outside I frames..?

When seeking, I get this kind of things into the console:

[0x7f3e4cc2ead8] mkv demux debug: seek request to -1 (0.146000%)
[0x7f3e4cc2ead8] mkv demux debug: seek got 1600000 (3%)

.. so it did not seek where requested.

Is there any way to achieve between-I-frames-seeking? (input parameter for the player or some special structure in the matroska container)

Regards,

Sampsa

sampsa
Blank Cone
Blank Cone
Posts: 42
Joined: 16 Dec 2014 13:54

Re: Possible to seek outside keyframes?

Postby sampsa » 20 Nov 2015 15:51

I guess it was because I had forgotten the "DefaultDuration" ebml tag from the matroska file that defines the framerate.

Now it seems to seek far better ..


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests