GNOME Bugzilla – Bug 626048
[videomixer] needs mode that syncs streams based on timestamps
Last modified: 2010-09-04 13:07:51 UTC
Currently it only looks at durations, it seems, try: gst-launch-0.10 videomixer name=mix ! ffmpegcolorspace ! timeoverlay ! xvimagesink \ videotestsrc pattern=circular timestamp-offset=10000000000 ! alpha alpha=0.5 ! mix. \ videotestsrc ! alpha alpha=0.5 ! mix. The circular pattern should only show up after 10 seconds have passed, but it shows up immediately with the current video mixer.
I'm working on this... but you probably want running time and not stream time, right?
Syncing on stream time doesn't make much sense I guess because you have different streams which could have absolutely different stream times... Also it would probably require to select some kind of master sinkpad again, which defines the output segment.
Created attachment 167207 [details] [review] videomixer2: Add videomixer2 element This is based on collectpads2 and is synchronizing all streams based on the running time. Fixes bug #626048, #624905.
This "works" but I'm not 100% sure if it's completely correct everywhere yet. Works fine in pitivi too. I'll commit it after next -good release and some more work :)
Created attachment 169331 [details] [review] videomixer2: Add videomixer2 element This is based on collectpads2 and is synchronizing all streams based on the running time. New features compared to old videomixer: * Synchronizing frames on the running time * Improved and simplified negotiation * Full QoS support * Variable framerate support Fixes bug #626048, #624905.
commit bcfd60a8d200e3f18d6260e1a6d71835d76036fb Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Mon Jul 26 16:07:15 2010 +0200 videomixer2: Add videomixer2 element This is based on collectpads2 and is synchronizing all streams based on the running time. New features compared to old videomixer: * Synchronizing frames on the running time * Improved and simplified negotiation * Full QoS support * Variable framerate support Fixes bug #626048, #624905.