HD video - fast playback problem

Stefan Sauer ensonic at hora-obscura.de
Tue Jun 12 07:56:25 PDT 2012


On 05/28/2012 08:12 AM, cumaniok wrote:
> 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?  
Can you use a profiler to see where the CPU is spend?

Stefan
>
>
> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list