bridge between rtmp source
Marco Micheletti
marco.micheletti at gmail.com
Wed Apr 24 09:08:12 PDT 2013
I have a small problem.
I would like to create a command that allows me to read two RTMP
stream from a wowza server and send it to another server after swapping
some traces of the flows.
With ffmpeg I did something like this:
ffmpeg -i rtmp://x.y.z.w/vod/a.flv -i rtmp://x.y.z.w/vod/b.flv -map 0:0
-map 1:1 -f flv rtmp://x.y.z.w/application/1
the first attempt with gstreamer is this:
gst-launch-1.0 rtmpsrc location = 'rtmp ://x.y.z.w/vod/aflv' ! rtmpsink
location = 'rtmp://x.y.z.w/application/1'
But after a few instances a SIGSEGV is generated:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Caught SIGSEGV accessing address 0x827f000
#0 0xb773c424 in __kernel_vsyscall ()
#1 0xb744b9a6 in poll () from /lib/i686/cmov/libc.so.6
#2 0xb7550d9b in g_poll (fds=0xb6600688, nfds=2, timeout=250) at
gpoll.c:132
#3 0xb754346c in g_main_context_poll (context=0xb6600488,
#4 g_main_context_iterate (context=0xb6600488, block=<value optimized out>,
#5 0xb754477f in g_main_loop_run (loop=0xb6600588) at gmain.c:3484
#6 0xb7694240 in gst_bus_poll (bus=0x8234180, events=GST_MESSAGE_ANY,
#7 0x0804a925 in event_loop (pipeline=<value optimized out>, blocking=0,
#8 0x0804bec5 in main (argc=6, argv=0xbfccd704) at gst-launch.c:1114
Spinning. Please run 'gdb gst-launch- 1.0 29050' to continue debugging,
Ctrl-C to quit, or Ctrl-\ to dump core
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The version of gstreamer is 1.0.6.
any ideas?
Thanks!
Marco
More information about the gstreamer-devel
mailing list