Seek and playback of multiple low resolution videos

Sebastian Dröge sebastian at centricular.com
Wed Nov 2 08:09:35 UTC 2016


On Tue, 2016-11-01 at 13:46 -0700, Jack D wrote:
> Greetings,
> 
> I have two applications. One will create a long command string to
> capture 9 videos simultaneously using ffmpeg, encoding with vp9..
> Five of the videos are 800x480 and the other four are 1280x960. My
> other application is a greatly modified version of the tutorial https
> ://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-
> sdk/tutorials/basic-tutorial-5.c. I have modified it to play all nine
> videos at once. They all play well together except when I drag the
> seek bar. When I drag the seek bar, it takes a very long time for all
> the videos to be updated to the same position, and when it is
> finished, the videos are out of sync. I have timestamps embedded in
> the videos to observe this detail. Also, by observing the system
> monitor resources, all the cpus are at 100% while the seek is being
> performed.
> Now, I can do the same thing with nine 1920x1080 videos that are
> encoded with h264 and the resources are not totally consumed nor does
> it take a long time to update.
> Is this a problem with using these low resolution videos encoded with
> vp9?

Are all videos inside the same pipeline? If so, synchronization should
at least be kept intact, independent of everything else. Can you
provide a testcase for this (including videos) to reproduce the
problem?

For the performance problem, please check with a tool like perf where
the actual bottleneck here is.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161102/9d0b3023/attachment.sig>


More information about the gstreamer-devel mailing list