HD video - fast playback problem

cumaniok cumaniok at yandex.ru
Sun May 27 23:12:44 PDT 2012


I've tried this, but it didn't help much, I still got a frame updated in one
or two seconds for playback rate x16. 
My file has high resolution: 1920x1080, with h264 codec. I'm developing my
application in C#, using .NET bindings, may this be the reason for bad
performance when playing with high rate?  


Emile Semmes wrote
> 
> Before I assume too much, ie demuxers, etc, make sure your seek type 
> parameter in either your gst_element_seek() or gst_event_seek_new() call 
> is GST_SEEK_FLAG_SKIP. Also try or'ing that with GST_SEEK_FLAG_KEY_UNIT 
> to seek by keyframes. I haven't tried the KEY_UNIT with a rate change, 
> so test that out first. A GST_SEEK_FLAG_FLUSH may help your slower 
> computers as well. I typically flush the pipeline on seeks by default.
> 
> Your call may look like this:
> 
> gst_element_seek( (GstElement *) pipeline, 16.0, GST_FORMAT_TIME, 
> GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_SKIP, .... );
> 
> HTH,
> Emile
> 


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/HD-video-fast-playback-problem-tp4651582p4655117.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list