Page 1 of 1

Is libvlc_media_player_next_frame jump to next I-frame?

Posted: 13 Aug 2013 08:32
by oelkabat
Hi,

Is libvlc_media_player_next_frame jump to next I-frame or any-frame (P-frame, I-frame or next frame in stream)?

Thanks!

Re: Is libvlc_media_player_next_frame jump to next I-frame?

Posted: 13 Aug 2013 11:14
by Jean-Baptiste Kempf
any-frame.

Re: Is libvlc_media_player_next_frame jump to next I-frame?

Posted: 13 Aug 2013 16:14
by oelkabat
Thanks!
Do you know if there is any way (in libVLC API) to jump to the next I-Frame?

Re: Is libvlc_media_player_next_frame jump to next I-frame?

Posted: 13 Aug 2013 16:47
by Jean-Baptiste Kempf
There is not.

Re: Is libvlc_media_player_next_frame jump to next I-frame?

Posted: 17 Aug 2013 21:03
by maitrepiet
And is there any chance there will be a way in the near future?
Even better would be to jump to the previous I-frame. This is needed if you want to jump to a specific frame or time in h264 files. If you jump to any frame that is not an I-frame, you get a lot of artifacts.

Re: Is libvlc_media_player_next_frame jump to next I-frame?

Posted: 17 Aug 2013 21:24
by RĂ©mi Denis-Courmont
Patch welcome and patch welcome. (Although in the latter case, I doubt it's really feasible.)