[gstreamer-bugs] [Bug 609055] [qtmux - mp4mux] crash when setting
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Feb 5 03:34:35 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=609055
GStreamer | gst-plugins-bad | 0.10.14
--- Comment #2 from Miguel Angel Cabrera <mad_aluche at hotmail.com> 2010-02-05 11:34:31 UTC ---
This goes in the constructor of a custom Bin
self.muxer = gst.element_factory_make('ffmux_mp4') # mp4mux ffmux_mp4
self.file_sink = gst.element_factory_make('filesink')
self.add(self.muxer)
self.add(self.file_sink)
self.muxer.link(self.file_sink)
self.video_pad_sink = self.muxer.get_request_pad('video_%d')
ghost_pad = gst.GhostPad('sink', self.video_pad_sink)
ghost_pad.set_active(True)
self.add_pad(ghost_pad)
For linking i do this, self.source is a bin containing rtspsrc and
rtph264depay. This is called when rtspsrc notifies that it creates a new pad.
self.source.link(self.tee, 'video/x-h264, width=640, height=480,
framerate=25/1')
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list