We are trying a develop a media player and have gone through tutorials from dranger mentioned [Dranger tutorial for ffmpeg1. The api mentioned here talks about seeking and playing container formats.What we want is player for raw/elementary video streams(M2v in what we are using). The av_seek_frame does not work on these streams as there is no PTS or DTS value in elementary streams.
Any help regarding the seeking the elementary streams would be of great help,I have the timecode of the desired position to be seeked.