Using rtmpdump and VLC for RTMP->UDP multicast

About encoding, codec settings, muxers and filter usage
streampunk
Blank Cone
Blank Cone
Posts: 20
Joined: 27 Feb 2007 22:31

Using rtmpdump and VLC for RTMP->UDP multicast

Postby streampunk » 08 Jul 2011 18:04

I've been banging my head against the desk for a while now with this problem, but hopefully one of you can help me. I'm attempting to use rtmpdump and VLC to redirect/remux a couple of live RTMP streams into UDP multicasts.

When I try

Code: Select all

rtmpdump.exe -v -r rtmp://stream2.france24.yacast.net/france24_live/en -a france24_live/en -W http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/en/aef_player_popup/france24_player -y f24_liveen | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
VLC pops up and the video plays perfectly. However, when I try

Code: Select all

rtmpdump.exe -v -r rtmp://stream2.france24.yacast.net/france24_live/en -a france24_live/en -W http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/en/aef_player_popup/france24_player -y f24_liveen | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" - :sout-all :sout=#duplicate{dst=udp{mux=ts,dst=239.1.1.1:9000},dst=display} :ttl=20 :sout-keep
The audio shows up, but the video disappears on the local display. Tuning into the multicast confirms the video PID has dropped. VLC is pumping out the error "access_output_udp warning:putting two PCRs at once", so I'm guessing this is why the video is being dropped. Any ideas on how to fix this?

I'm using VLC 1.1.10 and the latest rtmpdump. I've tried this on a Linux server as well using essentially the same command, with the exception of using cvlc instead of vlc and there's no love there either.

Thanks in advance for any help.

streampunk
Blank Cone
Blank Cone
Posts: 20
Joined: 27 Feb 2007 22:31

Re: Using rtmpdump and VLC for RTMP->UDP multicast

Postby streampunk » 08 Jul 2011 23:27

I'm not sure if this is much of an improvement, but I tweaked the command line a bit and I installed the latest nightly (1.2.0-git-20110708-1642) to see if that would fix anything. Here's the command tweak...

Code: Select all

C:\rtmpdump-2.3>rtmpdump.exe -v -r rtmp://stream2.france24.yacast.net/france24_live/en -a france24_live/en -W http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/en/aef_player_popup/france24_player -y f24_liveen -o - | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" - -vvv :sout=#duplicate{dst=rtp{dst=239.3.1.1,port=9002,mux=ts},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-all :ttl=20 :sout-keep
This eliminates the PCR error, but I'm still only getting audio and no video. As before, when I just pipe the content to VLC, it plays normally. Any thoughts?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using rtmpdump and VLC for RTMP->UDP multicast

Postby Jean-Baptiste Kempf » 08 Jul 2011 23:50

You should read the logs...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

streampunk
Blank Cone
Blank Cone
Posts: 20
Joined: 27 Feb 2007 22:31

Re: Using rtmpdump and VLC for RTMP->UDP multicast

Postby streampunk » 19 Jul 2011 21:01

I've been trying to post a reply for a while now, but it seems my work IP is now blocked?!

I've gone back to using the Linux server that I started out with because it seems logging in Windows is broken. Even after looking over the logs, I can't seem to find anything that would tell me what to try next.

If I try to stream to an address UDP using the command

Code: Select all

rtmpdump -v -r rtmp://stream2.france24.yacast.net/france24_live/en -a france24_live/en -W http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/en/aef_player_popup/france24_player -y f24_liveen -o - | vlc - -vvv -I dummy --sout '#duplicate{dst=udp{dst=10.188.252.76:9002,mux=ts}}' --ttl 20
I get the following which results in nothing reaching the other end and a bunch of local duplicate PCR warnings.

Code: Select all

VLC media player 1.1.10 The Luggage (revision exported) RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL [0x79e910] main libvlc debug: VLC media player - 1.1.10 The Luggage [0x79e910] main libvlc debug: Copyright © 1996-2011 the VideoLAN team [0x79e910] main libvlc debug: revision exported [0x79e910] main libvlc debug: configured with ./configure '--enable-static' '--build=x86_64-linux-gnu' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--sysconfdir=/etc' '--with-binary-version=1ubuntu1~ppa1~lucid1' '--enable-a52' '--enable-aa' '--enable-bonjour' '--enable-caca' '--enable-dca' '--enable-dirac' '--enable-dvb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-ggi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libproxy' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mozilla' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-schroedinger' '--enable-sdl' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--with-mozilla-pkg=libxul' '--disable-dxva2' '--disable-gnomevfs' '--disable-goom' '--disable-osso_screensaver' '--disable-portaudio' '--disable-projectm' '--disable-sqlite' '--disable-telx' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv' '--enable-libva' '--enable-pvr' '--enable-udev' '--enable-v4l2' '--enable-svgalib' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [0x79e910] main libvlc debug: translation test: code is "C" [0x79e910] main libvlc debug: checking plugin modules [0x79e910] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04081e-3e8.dat Connecting ... [0x79e910] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x79e910] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04081e-3e8.dat [0x79e910] main libvlc debug: module bank initialized (394 modules) [0x79e910] main libvlc debug: opening config file (/home/******/.config/vlc/vlcrc) [0x79e910] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU [0x79e910] main libvlc debug: looking for memcpy module: 3 candidates [0x79e910] main libvlc debug: using memcpy module "memcpymmxext" [0x88e170] main input debug: Creating an input for 'Media Library' [0x88e170] main input debug: Input is a meta file: disabling unneeded options [0x88e170] main input debug: using timeshift granularity of 50 MiB [0x88e170] main input debug: using timeshift path '/tmp' [0x88e170] main input debug: `file/xspf-open:///home/******/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/******/.local/share/vlc/ml.xspf' [0x88e170] main input debug: creating demux: access='file' demux='xspf-open' path='/home/******/.local/share/vlc/ml.xspf' [0x8944f0] main demux debug: looking for access_demux module: 2 candidates [0x8944f0] main demux debug: no access_demux module matching "file" could be loaded [0x8944f0] main demux debug: TIMER module_need() : 0.503 ms - Total 0.503 ms / 1 intvls (Avg 0.503 ms) [0x88e170] main input debug: creating access 'file' path='/home/******/.local/share/vlc/ml.xspf' [0x895320] main access debug: looking for access module: 2 candidates [0x895320] filesystem access debug: opening file `/home/******/.local/share/vlc/ml.xspf' [0x895320] main access debug: using access module "filesystem" [0x895320] main access debug: TIMER module_need() : 0.252 ms - Total 0.252 ms / 1 intvls (Avg 0.252 ms) [0x895fc0] main stream debug: Using AStream*Stream [0x895fc0] main stream debug: pre buffering [0x895fc0] main stream debug: received first data after 0 ms [0x895fc0] main stream debug: pre-buffering done 296 bytes in 0s - 10706 KiB/s [0x895e20] main stream debug: looking for stream_filter module: 5 candidates [0x895e20] main stream debug: no stream_filter module matching "any" could be loaded [0x895e20] main stream debug: TIMER module_need() : 0.384 ms - Total 0.384 ms / 1 intvls (Avg 0.384 ms) [0x895e20] main stream debug: looking for stream_filter module: 1 candidate [0x895e20] main stream debug: using stream_filter module "stream_filter_record" [0x895e20] main stream debug: TIMER module_need() : 0.128 ms - Total 0.128 ms / 1 intvls (Avg 0.128 ms) [0x88e170] main input debug: creating demux: access='file' demux='xspf-open' path='/home/******/.local/share/vlc/ml.xspf' [0x8a5bc0] main demux debug: looking for demux module: 1 candidate [0x8a5bc0] playlist demux debug: using XSPF playlist reader [0x8a5bc0] main demux debug: using demux module "playlist" [0x8a5bc0] main demux debug: TIMER module_need() : 0.194 ms - Total 0.194 ms / 1 intvls (Avg 0.194 ms) [0x8a9e10] main demux meta debug: looking for meta reader module: 2 candidates [0x8a9e10] lua demux meta debug: Trying Lua scripts in /home/******/.local/share/vlc/lua/meta/reader [0x8a9e10] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x8a9e10] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x8a9e10] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x8a9e10] main demux meta debug: no meta reader module matching "any" could be loaded [0x8a9e10] main demux meta debug: TIMER module_need() : 2.902 ms - Total 2.902 ms / 1 intvls (Avg 2.902 ms) [0x88e170] main input debug: `file/xspf-open:///home/******/.local/share/vlc/ml.xspf' successfully opened [0x8a9e10] main xml debug: looking for xml module: 2 candidates [0x8a9e10] main xml debug: using xml module "xml" [0x8a9e10] main xml debug: TIMER module_need() : 0.479 ms - Total 0.479 ms / 1 intvls (Avg 0.479 ms) [0x8a5bc0] playlist demux debug: parsed 0 tracks successfully [0x8a9e10] main xml debug: removing module "xml" [0x88e170] main input debug: EOF reached [0x8a5bc0] main demux debug: removing module "playlist" [0x895e20] main stream debug: removing module "stream_filter_record" [0x895320] main access debug: removing module "filesystem" [0x88e170] main input debug: TIMER input launching for 'Media Library' : 4.807 ms - Total 4.807 ms / 1 intvls (Avg 4.807 ms) [0x8939d0] main interface debug: looking for interface module: 1 candidate [0x8939d0] main interface debug: using interface module "hotkeys" [0x8939d0] main interface debug: TIMER module_need() : 0.177 ms - Total 0.177 ms / 1 intvls (Avg 0.177 ms) [0x894290] main interface debug: looking for interface module: 1 candidate Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x894290] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. [0x894290] main interface debug: no interface module matching "inhibit,none" could be loaded [0x894290] main interface debug: TIMER module_need() : 2.151 ms - Total 2.151 ms / 1 intvls (Avg 2.151 ms) [0x894290] main interface error: no suitable interface module [0x88c320] main playlist debug: Activated [0x88c320] main playlist debug: adding item `0' ( fd://0 ) [0x88c320] main playlist debug: rebuilding array of current - root Playlist [0x88c320] main playlist debug: rebuild done - 0 items, index -1 [0x8a9e10] main input debug: Creating an input for '0' [0x88c320] main playlist debug: no fetch required for (null) (art currently (null)) [0x894290] main interface debug: looking for interface module: 1 candidate [0x894290] main interface debug: using interface module "signals" [0x894290] main interface debug: TIMER module_need() : 0.571 ms - Total 0.571 ms / 1 intvls (Avg 0.571 ms) [0x8900a0] main interface debug: looking for interface module: 1 candidate [0x8900a0] main interface debug: no interface module matching "globalhotkeys,none" could be loaded [0x8900a0] main interface debug: TIMER module_need() : 0.451 ms - Total 0.451 ms / 1 intvls (Avg 0.451 ms) [0x8900a0] main interface error: no suitable interface module [0x79e910] main libvlc error: interface "globalhotkeys,none" initialization failed [0x8900a0] main interface debug: looking for interface module: 1 candidate [0x8900a0] dummy interface: using the dummy interface module... [0x8900a0] main interface debug: using interface module "dummy" [0x8900a0] main interface debug: TIMER module_need() : 0.191 ms - Total 0.191 ms / 1 intvls (Avg 0.191 ms) [0x88c320] main playlist debug: processing request item null node Playlist skip 0 [0x88c320] main playlist debug: rebuilding array of current - root Playlist [0x88c320] main playlist debug: rebuild done - 1 items, index -1 [0x88c320] main playlist debug: starting new item [0x88c320] main playlist debug: creating new input thread [0x7ff04c000af0] main input debug: Creating an input for '0' [0x7ff04c000af0] main input debug: thread (input) created at priority 10 (input/input.c:220) [0x7ff04c000af0] main input debug: thread started [0x7ff04c000fa0] main stream output debug: using sout chain=`duplicate{dst=udp{dst=10.188.252.76:9002,mux=ts}}' [0x7ff04c000fa0] main stream output debug: stream=`duplicate' [0x7ff04c0031f0] main stream out debug: looking for sout stream module: 1 candidate [0x7ff04c0031f0] stream_out_duplicate stream out debug: creating 'duplicate' [0x7ff04c0031f0] stream_out_duplicate stream out debug: * adding `udp{dst=10.188.252.76:9002,mux=ts}' [0x7ff04c000fa0] main stream output debug: stream=`udp' [0x8b42d0] main stream out debug: looking for sout stream module: 1 candidate [0x8b42d0] main stream out debug: set config option: sout-standard-dst to 10.188.252.76:9002 [0x8b42d0] main stream out debug: set config option: sout-standard-mux to ts [0x8b42d0] stream_out_standard stream out debug: creating `udp/ts://10.188.252.76:9002' [0x8b42d0] stream_out_standard stream out debug: extension is 76:9002 [0x8b42d0] stream_out_standard stream out debug: extension -> mux=(null) [0x8b42d0] stream_out_standard stream out debug: using `udp/ts://10.188.252.76:9002' [0x8b51f0] main access out debug: looking for sout access module: 1 candidate [0x8b51f0] main access out debug: net: connecting to [10.188.252.76]:9002 [0x8b51f0] access_output_udp access out debug: source: 10.188.251.30 port 47144 [0x8b51f0] access_output_udp access out debug: destination: 10.188.252.76 port 9002 [0x8b51f0] main access out debug: using sout access module "access_output_udp" [0x8b51f0] main access out debug: TIMER module_need() : 0.373 ms - Total 0.373 ms / 1 intvls (Avg 0.373 ms) [0x8b42d0] stream_out_standard stream out debug: access opened [0x8ba2b0] main mux debug: looking for sout mux module: 1 candidate [0x8ba2b0] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [0x8ba2b0] main mux debug: using sout mux module "mux_ts" [0x8ba2b0] main mux debug: TIMER module_need() : 0.396 ms - Total 0.396 ms / 1 intvls (Avg 0.396 ms) [0x7ff04c000fa0] main stream output debug: muxer support adding stream at any time [0x7ff04c000fa0] main stream output debug: muxer prefers to wait for all ES before starting to mux [0x8b42d0] stream_out_standard stream out debug: mux opened [0x8b42d0] main stream out debug: using sout stream module "stream_out_standard" [0x8b42d0] main stream out debug: TIMER module_need() : 1.096 ms - Total 1.096 ms / 1 intvls (Avg 1.096 ms) [0x7ff04c0031f0] main stream out debug: using sout stream module "stream_out_duplicate" [0x7ff04c0031f0] main stream out debug: TIMER module_need() : 1.305 ms - Total 1.305 ms / 1 intvls (Avg 1.305 ms) [0x7ff04c000af0] main input debug: using timeshift granularity of 50 MiB [0x7ff04c000af0] main input debug: using timeshift path '/tmp' [0x7ff04c000af0] main input debug: `fd://0' gives access `fd' demux `' path `0' [0x7ff04c000af0] main input debug: creating demux: access='fd' demux='' path='0' [0x8bb060] main demux debug: looking for access_demux module: 0 candidates [0x8bb060] main demux debug: no access_demux module matched "fd" [0x8bb060] main demux debug: TIMER module_need() : 0.079 ms - Total 0.079 ms / 1 intvls (Avg 0.079 ms) [0x7ff04c000af0] main input debug: creating access 'fd' path='0' [0x8bb3c0] main access debug: looking for access module: 1 candidate [0x8bb3c0] main access debug: using access module "filesystem" [0x8bb3c0] main access debug: TIMER module_need() : 0.095 ms - Total 0.095 ms / 1 intvls (Avg 0.095 ms) [0x8bb000] main stream debug: Using AStream*Stream [0x8bb000] main stream debug: pre buffering INFO: Connected... ERROR: rtmp server sent error Starting Live Stream INFO: Metadata: INFO: width 384.00 INFO: height 216.00 INFO: framerate 25.00 INFO: videodatarate 400.00 INFO: videocodecid 128.00 INFO: audiodatarate 48.00 INFO: audiocodecid 1024.00 0.391 kB / 0.00 sec[0x8bb000] main stream debug: received first data after 669 ms [0x8bb000] main stream debug: pre-buffering done 1024 bytes in 0s - 1 KiB/s [0x8bb140] main stream debug: looking for stream_filter module: 5 candidates [0x8bb140] main stream debug: no stream_filter module matching "any" could be loaded [0x8bb140] main stream debug: TIMER module_need() : 0.120 ms - Total 0.120 ms / 1 intvls (Avg 0.120 ms) [0x8bb140] main stream debug: looking for stream_filter module: 1 candidate [0x8bb140] main stream debug: using stream_filter module "stream_filter_record" [0x8bb140] main stream debug: TIMER module_need() : 0.073 ms - Total 0.073 ms / 1 intvls (Avg 0.073 ms) [0x7ff04c000af0] main input debug: creating demux: access='fd' demux='' path='0' [0x8bb890] main demux debug: looking for demux module: 52 candidates [0x8bb890] avformat demux debug: detected format: flv 54.219 kB / 0.00 sec[aac @ 0x14fcd80]Transition from an ONLY_LONG or LONG_STOP to an EIGHT_SHORT sequence detected. If you heard an audible artifact, please submit the sample to the FFmpeg developers. 198.559 kB / 1.23 sec[flv @ 0x14fb4c0]Estimating duration from bitrate, this may be inaccurate [0x7ff04c000af0] main input debug: selecting program id=0 [0x8bb890] avformat demux debug: adding es: video codec = h264 [0x8bb890] avformat demux debug: adding es: audio codec = mp4a [0x8bb890] avformat demux debug: AVFormat supported stream [0x8bb890] avformat demux debug: - format = flv (FLV format) [0x8bb890] avformat demux debug: - start time = 0 [0x8bb890] avformat demux debug: - duration = -1 [0x8bb890] main demux debug: using demux module "avformat" [0x8bb890] main demux debug: TIMER module_need() : 1351.662 ms - Total 1351.662 ms / 1 intvls (Avg 1351.662 ms) [0x7ff04c000af0] main input debug: looking for a subtitle file in /dev/ [0x8b5be0] main decoder debug: looking for packetizer module: 21 candidates [0x8b5be0] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0) [0x8b5be0] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0) [0x8b5be0] packetizer_h264 decoder debug: avcC length size=4, sps=1, pps=1 [0x8b5be0] main decoder debug: using packetizer module "packetizer_h264" [0x8b5be0] main decoder debug: TIMER module_need() : 1.598 ms - Total 1.598 ms / 1 intvls (Avg 1.598 ms) [0x8b5be0] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301) [0x8b5be0] main decoder debug: thread started [0x7ff04c003320] main decoder debug: looking for packetizer module: 21 candidates [0x7ff04c003320] packetizer_mpeg4audio decoder debug: running MPEG4 audio packetizer [0x7ff04c003320] packetizer_mpeg4audio decoder debug: AAC 44100Hz 1024 samples/frame [0x7ff04c003320] main decoder debug: using packetizer module "packetizer_mpeg4audio" [0x7ff04c003320] main decoder debug: TIMER module_need() : 0.112 ms - Total 0.112 ms / 1 intvls (Avg 0.112 ms) [0x7ff04c003320] main decoder debug: thread (decoder) created at priority 5 (input/decoder.c:301) [0x7ff04c003320] main decoder debug: thread started [0x7ff04c000af0] main input debug: starting in async mode [0x7ff04c0022e0] main demux meta debug: looking for meta reader module: 2 candidates [0x7ff04c0022e0] lua demux meta debug: Trying Lua scripts in /home/******/.local/share/vlc/lua/meta/reader [0x7ff04c0022e0] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x7ff04c0022e0] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x7ff04c0022e0] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7ff04c0022e0] main demux meta debug: no meta reader module matching "any" could be loaded [0x7ff04c0022e0] main demux meta debug: TIMER module_need() : 0.544 ms - Total 0.544 ms / 1 intvls (Avg 0.544 ms) [0x7ff04c000af0] main input debug: `fd://0' successfully opened [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: switching to sync mode [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000af0] main input debug: Buffering 0% [0x7ff04c000fa0] main stream output debug: adding a new sout input (sout_input:0x14fef00) [0x7ff04c0031f0] stream_out_duplicate stream out debug: duplicated a new stream codec=mp4a (es=1 group=0) [0x7ff04c000af0] main input debug: Buffering 9% [0x8ba2b0] main mux debug: adding a new input [0x8ba2b0] mux_ts mux debug: adding input codec=mp4a pid=68 [0x8ba2b0] mux_ts mux debug: new PCR PID is 68 [0x7ff04c0031f0] stream_out_duplicate stream out debug: - added for output 0 [0x7ff04c000af0] main input debug: Buffering 22% [0x7ff04c000af0] main input debug: Buffering 36% [0x7ff04c000af0] main input debug: Buffering 49% [0x7ff04c000af0] main input debug: Buffering 62% [0x7ff04c000af0] main input debug: Buffering 76% [0x7ff04c000af0] main input debug: Buffering 89% [0x7ff04c000af0] main input debug: Stream buffering done (308 ms in 4 ms) [0x7ff04c000af0] main input debug: Decoder buffering done in 0 ms 252.291 kB / 2.32 sec[0x8b51f0] access_output_udp access out debug: late packet for UDP input (508166) [0x8b51f0] access_output_udp access out warning: putting two PCRs at once [0x8b51f0] access_output_udp access out debug: late packet for UDP input (395695) [0x8b51f0] access_output_udp access out debug: packet has been sent too late (508233) [0x8b51f0] access_output_udp access out debug: late packet for UDP input (280245) [0x8b51f0] access_output_udp access out debug: packet has been sent too late (395738) [0x8b51f0] access_output_udp access out warning: putting two PCRs at once [0x8b51f0] access_output_udp access out debug: late packet for UDP input (147302) [0x8b51f0] access_output_udp access out debug: packet has been sent too late (280307) [0x8b51f0] access_output_udp access out debug: late packet for UDP input (14335) [0x8b51f0] access_output_udp access out debug: packet has been sent too late (147335) [0x8b51f0] access_output_udp access out warning: putting two PCRs at once 261.228 kB / 2.55 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once 272.041 kB / 2.83 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once 297.923 kB / 3.11 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once 322.007 kB / 3.67 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once 352.025 kB / 4.11 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once 383.549 kB / 4.37 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once 400.839 kB / 4.55 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once 470.014 kB / 5.64 sec[0x8b51f0] access_output_udp access out warning: putting two PCRs at once
If I try to stream to the same address RTP using the command

Code: Select all

rtmpdump -v -r rtmp://stream2.france24.yacast.net/france24_live/en -a france24_live/en -W http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/en/aef_player_popup/france24_player -y f24_liveen -o - | vlc - -vvv -I dummy --sout '#duplicate{dst=rtp{dst=10.188.252.76,port=9002,mux=ts}}' --ttl 20
Audio shows up at the far end, but video is nowhere to be found.

Code: Select all

RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... VLC media player 1.1.10 The Luggage (revision exported) [0x12c7910] main libvlc debug: VLC media player - 1.1.10 The Luggage [0x12c7910] main libvlc debug: Copyright © 1996-2011 the VideoLAN team [0x12c7910] main libvlc debug: revision exported [0x12c7910] main libvlc debug: configured with ./configure '--enable-static' '--build=x86_64-linux-gnu' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--sysconfdir=/etc' '--with-binary-version=1ubuntu1~ppa1~lucid1' '--enable-a52' '--enable-aa' '--enable-bonjour' '--enable-caca' '--enable-dca' '--enable-dirac' '--enable-dvb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-ggi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libproxy' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mozilla' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-schroedinger' '--enable-sdl' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--with-mozilla-pkg=libxul' '--disable-dxva2' '--disable-gnomevfs' '--disable-goom' '--disable-osso_screensaver' '--disable-portaudio' '--disable-projectm' '--disable-sqlite' '--disable-telx' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv' '--enable-libva' '--enable-pvr' '--enable-udev' '--enable-v4l2' '--enable-svgalib' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [0x12c7910] main libvlc debug: translation test: code is "C" [0x12c7910] main libvlc debug: checking plugin modules [0x12c7910] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04081e-3e8.dat [0x12c7910] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x12c7910] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04081e-3e8.dat [0x12c7910] main libvlc debug: module bank initialized (394 modules) [0x12c7910] main libvlc debug: opening config file (/home/******/.config/vlc/vlcrc) [0x12c7910] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU [0x12c7910] main libvlc debug: looking for memcpy module: 3 candidates [0x12c7910] main libvlc debug: using memcpy module "memcpymmxext" [0x13b70b0] main input debug: Creating an input for 'Media Library' [0x13b70b0] main input debug: Input is a meta file: disabling unneeded options [0x13b70b0] main input debug: using timeshift granularity of 50 MiB [0x13b70b0] main input debug: using timeshift path '/tmp' [0x13b70b0] main input debug: `file/xspf-open:///home/******/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/******/.local/share/vlc/ml.xspf' [0x13b70b0] main input debug: creating demux: access='file' demux='xspf-open' path='/home/******/.local/share/vlc/ml.xspf' [0x13bd4d0] main demux debug: looking for access_demux module: 2 candidates [0x13bd4d0] main demux debug: no access_demux module matching "file" could be loaded [0x13bd4d0] main demux debug: TIMER module_need() : 0.510 ms - Total 0.510 ms / 1 intvls (Avg 0.510 ms) [0x13b70b0] main input debug: creating access 'file' path='/home/******/.local/share/vlc/ml.xspf' [0x13c0250] main access debug: looking for access module: 2 candidates [0x13c0250] filesystem access debug: opening file `/home/******/.local/share/vlc/ml.xspf' [0x13c0250] main access debug: using access module "filesystem" [0x13c0250] main access debug: TIMER module_need() : 0.266 ms - Total 0.266 ms / 1 intvls (Avg 0.266 ms) [0x13beee0] main stream debug: Using AStream*Stream [0x13beee0] main stream debug: pre buffering [0x13beee0] main stream debug: received first data after 0 ms [0x13beee0] main stream debug: pre-buffering done 296 bytes in 0s - 11117 KiB/s [0x13bed40] main stream debug: looking for stream_filter module: 5 candidates [0x13bed40] main stream debug: no stream_filter module matching "any" could be loaded [0x13bed40] main stream debug: TIMER module_need() : 0.389 ms - Total 0.389 ms / 1 intvls (Avg 0.389 ms) [0x13bed40] main stream debug: looking for stream_filter module: 1 candidate [0x13bed40] main stream debug: using stream_filter module "stream_filter_record" [0x13bed40] main stream debug: TIMER module_need() : 0.131 ms - Total 0.131 ms / 1 intvls (Avg 0.131 ms) [0x13b70b0] main input debug: creating demux: access='file' demux='xspf-open' path='/home/******/.local/share/vlc/ml.xspf' [0x13cebe0] main demux debug: looking for demux module: 1 candidate [0x13cebe0] playlist demux debug: using XSPF playlist reader [0x13cebe0] main demux debug: using demux module "playlist" [0x13cebe0] main demux debug: TIMER module_need() : 0.195 ms - Total 0.195 ms / 1 intvls (Avg 0.195 ms) [0x13d2e30] main demux meta debug: looking for meta reader module: 2 candidates [0x13d2e30] lua demux meta debug: Trying Lua scripts in /home/******/.local/share/vlc/lua/meta/reader [0x13d2e30] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x13d2e30] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x13d2e30] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x13d2e30] main demux meta debug: no meta reader module matching "any" could be loaded [0x13d2e30] main demux meta debug: TIMER module_need() : 2.923 ms - Total 2.923 ms / 1 intvls (Avg 2.923 ms) [0x13b70b0] main input debug: `file/xspf-open:///home/******/.local/share/vlc/ml.xspf' successfully opened [0x13d2e30] main xml debug: looking for xml module: 2 candidates [0x13d2e30] main xml debug: using xml module "xml" [0x13d2e30] main xml debug: TIMER module_need() : 0.488 ms - Total 0.488 ms / 1 intvls (Avg 0.488 ms) [0x13cebe0] playlist demux debug: parsed 0 tracks successfully [0x13d2e30] main xml debug: removing module "xml" [0x13b70b0] main input debug: EOF reached [0x13cebe0] main demux debug: removing module "playlist" [0x13bed40] main stream debug: removing module "stream_filter_record" [0x13c0250] main access debug: removing module "filesystem" [0x13b70b0] main input debug: TIMER input launching for 'Media Library' : 4.855 ms - Total 4.855 ms / 1 intvls (Avg 4.855 ms) [0x13bc940] main interface debug: looking for interface module: 1 candidate [0x13bc940] main interface debug: using interface module "hotkeys" [0x13bc940] main interface debug: TIMER module_need() : 0.176 ms - Total 0.176 ms / 1 intvls (Avg 0.176 ms) [0x13bd270] main interface debug: looking for interface module: 1 candidate Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x13bd270] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. [0x13bd270] main interface debug: no interface module matching "inhibit,none" could be loaded [0x13bd270] main interface debug: TIMER module_need() : 2.156 ms - Total 2.156 ms / 1 intvls (Avg 2.156 ms) [0x13bd270] main interface error: no suitable interface module [0x13b5260] main playlist debug: Activated [0x13b5260] main playlist debug: adding item `0' ( fd://0 ) [0x13b5260] main playlist debug: rebuilding array of current - root Playlist [0x13b5260] main playlist debug: rebuild done - 0 items, index -1 [0x13d2e30] main input debug: Creating an input for '0' [0x13bd270] main interface debug: looking for interface module: 1 candidate [0x13b5260] main playlist debug: no fetch required for (null) (art currently (null)) [0x13bd270] main interface debug: using interface module "signals" [0x13bd270] main interface debug: TIMER module_need() : 10.117 ms - Total 10.117 ms / 1 intvls (Avg 10.117 ms) [0x13b9730] main interface debug: looking for interface module: 1 candidate [0x13b9730] main interface debug: no interface module matching "globalhotkeys,none" could be loaded [0x13b9730] main interface debug: TIMER module_need() : 0.461 ms - Total 0.461 ms / 1 intvls (Avg 0.461 ms) [0x13b9730] main interface error: no suitable interface module [0x12c7910] main libvlc error: interface "globalhotkeys,none" initialization failed [0x13b9730] main interface debug: looking for interface module: 1 candidate [0x13b9730] dummy interface: using the dummy interface module... [0x13b9730] main interface debug: using interface module "dummy" [0x13b9730] main interface debug: TIMER module_need() : 0.204 ms - Total 0.204 ms / 1 intvls (Avg 0.204 ms) [0x13b5260] main playlist debug: processing request item null node Playlist skip 0 [0x13b5260] main playlist debug: rebuilding array of current - root Playlist [0x13b5260] main playlist debug: rebuild done - 1 items, index -1 [0x13b5260] main playlist debug: starting new item [0x13b5260] main playlist debug: creating new input thread [0x7f20dc001450] main input debug: Creating an input for '0' [0x7f20dc001450] main input debug: thread (input) created at priority 10 (input/input.c:220) [0x7f20dc001450] main input debug: thread started [0x7f20dc001960] main stream output debug: using sout chain=`duplicate{dst=rtp{dst=10.188.252.76,port=9002,mux=ts}}' [0x7f20dc001960] main stream output debug: stream=`duplicate' [0x7f20dc001c20] main stream out debug: looking for sout stream module: 1 candidate [0x7f20dc001c20] stream_out_duplicate stream out debug: creating 'duplicate' [0x7f20dc001c20] stream_out_duplicate stream out debug: * adding `rtp{dst=10.188.252.76,port=9002,mux=ts}' [0x7f20dc001960] main stream output debug: stream=`rtp' [0x13dca80] main stream out debug: looking for sout stream module: 1 candidate [0x13dca80] main stream out debug: set config option: sout-rtp-dst to 10.188.252.76 [0x13dca80] main stream out debug: set config option: sout-rtp-port to 9002 [0x13dca80] main stream out debug: set config option: sout-rtp-mux to ts [0x13e3220] main mux debug: looking for sout mux module: 1 candidate [0x13e3220] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [0x13e3220] main mux debug: using sout mux module "mux_ts" [0x13e3220] main mux debug: TIMER module_need() : 0.389 ms - Total 0.389 ms / 1 intvls (Avg 0.389 ms) [0x7f20dc001960] main stream output debug: muxer support adding stream at any time [0x7f20dc001960] main stream output debug: muxer prefers to wait for all ES before starting to mux [0x13dca80] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes [0x13dca80] main stream out debug: net: connecting to [10.188.252.76]:9002 [0x13dca80] main stream out debug: net: connecting to [10.188.252.76]:9003 from [10.188.251.30]:52613 [0x13dca80] stream_out_rtp stream out debug: sdp= v=0 o=- 15118667000948279937 15118667000948279937 IN IP4 ****** s=Unnamed i=N/A c=IN IP4 10.188.252.76 t=0 0 a=tool:vlc 1.1.10 a=recvonly a=type:broadcast a=charset:UTF-8 m=video 9002 RTP/AVP 33 b=RR:0 a=rtpmap:33 MP2T/90000 [0x13dca80] main stream out debug: using sout stream module "stream_out_rtp" [0x13dca80] main stream out debug: TIMER module_need() : 13.104 ms - Total 13.104 ms / 1 intvls (Avg 13.104 ms) [0x7f20dc001c20] main stream out debug: using sout stream module "stream_out_duplicate" [0x7f20dc001c20] main stream out debug: TIMER module_need() : 13.343 ms - Total 13.343 ms / 1 intvls (Avg 13.343 ms) [0x7f20dc001450] main input debug: using timeshift granularity of 50 MiB [0x7f20dc001450] main input debug: using timeshift path '/tmp' [0x7f20dc001450] main input debug: `fd://0' gives access `fd' demux `' path `0' [0x7f20dc001450] main input debug: creating demux: access='fd' demux='' path='0' [0x13e4d20] main demux debug: looking for access_demux module: 0 candidates [0x13e4d20] main demux debug: no access_demux module matched "fd" [0x13e4d20] main demux debug: TIMER module_need() : 0.083 ms - Total 0.083 ms / 1 intvls (Avg 0.083 ms) [0x7f20dc001450] main input debug: creating access 'fd' path='0' [0x13e4f50] main access debug: looking for access module: 1 candidate [0x13e4f50] main access debug: using access module "filesystem" [0x13e4f50] main access debug: TIMER module_need() : 0.094 ms - Total 0.094 ms / 1 intvls (Avg 0.094 ms) [0x13e4d20] main stream debug: Using AStream*Stream [0x13e4d20] main stream debug: pre buffering INFO: Connected... ERROR: rtmp server sent error Starting Live Stream INFO: Metadata: INFO: width 384.00 INFO: height 216.00 INFO: framerate 25.00 INFO: videodatarate 400.00 INFO: videocodecid 128.00 INFO: audiodatarate 48.00 INFO: audiocodecid 1024.00 0.391 kB / 0.00 sec[0x13e4d20] main stream debug: received first data after 540 ms [0x13e4d20] main stream debug: pre-buffering done 1024 bytes in 0s - 1 KiB/s [0x13e5250] main stream debug: looking for stream_filter module: 5 candidates [0x13e5250] main stream debug: no stream_filter module matching "any" could be loaded [0x13e5250] main stream debug: TIMER module_need() : 0.087 ms - Total 0.087 ms / 1 intvls (Avg 0.087 ms) [0x13e5250] main stream debug: looking for stream_filter module: 1 candidate [0x13e5250] main stream debug: using stream_filter module "stream_filter_record" [0x13e5250] main stream debug: TIMER module_need() : 0.071 ms - Total 0.071 ms / 1 intvls (Avg 0.071 ms) [0x7f20dc001450] main input debug: creating demux: access='fd' demux='' path='0' [0x13e55e0] main demux debug: looking for demux module: 52 candidates [0x13e55e0] avformat demux debug: detected format: flv 222.021 kB / 1.28 sec[flv @ 0x2024740]Estimating duration from bitrate, this may be inaccurate [0x7f20dc001450] main input debug: selecting program id=0 [0x13e55e0] avformat demux debug: adding es: video codec = h264 [0x13e55e0] avformat demux debug: adding es: audio codec = mp4a [0x13e55e0] avformat demux debug: AVFormat supported stream [0x13e55e0] avformat demux debug: - format = flv (FLV format) [0x13e55e0] avformat demux debug: - start time = 0 [0x13e55e0] avformat demux debug: - duration = -1 [0x13e55e0] main demux debug: using demux module "avformat" [0x13e55e0] main demux debug: TIMER module_need() : 1324.694 ms - Total 1324.694 ms / 1 intvls (Avg 1324.694 ms) [0x7f20dc001450] main input debug: looking for a subtitle file in /dev/ [0x13df850] main decoder debug: looking for packetizer module: 21 candidates [0x13df850] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0) [0x13df850] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0) [0x13df850] packetizer_h264 decoder debug: avcC length size=4, sps=1, pps=1 [0x13df850] main decoder debug: using packetizer module "packetizer_h264" [0x13df850] main decoder debug: TIMER module_need() : 1.681 ms - Total 1.681 ms / 1 intvls (Avg 1.681 ms) [0x13df850] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301) [0x13df850] main decoder debug: thread started [0x7f20dc001d50] main decoder debug: looking for packetizer module: 21 candidates [0x7f20dc001d50] packetizer_mpeg4audio decoder debug: running MPEG4 audio packetizer [0x7f20dc001d50] packetizer_mpeg4audio decoder debug: AAC 44100Hz 1024 samples/frame [0x7f20dc001d50] main decoder debug: using packetizer module "packetizer_mpeg4audio" [0x7f20dc001d50] main decoder debug: TIMER module_need() : 0.115 ms - Total 0.115 ms / 1 intvls (Avg 0.115 ms) [0x7f20dc001d50] main decoder debug: thread (decoder) created at priority 5 (input/decoder.c:301) [0x7f20dc001d50] main decoder debug: thread started [0x7f20dc001450] main input debug: starting in async mode [0x7f20dc002870] main demux meta debug: looking for meta reader module: 2 candidates [0x7f20dc002870] lua demux meta debug: Trying Lua scripts in /home/******/.local/share/vlc/lua/meta/reader [0x7f20dc002870] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x7f20dc002870] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x7f20dc002870] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7f20dc002870] main demux meta debug: no meta reader module matching "any" could be loaded [0x7f20dc002870] main demux meta debug: TIMER module_need() : 0.545 ms - Total 0.545 ms / 1 intvls (Avg 0.545 ms) [0x7f20dc001450] main input debug: `fd://0' successfully opened [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: switching to sync mode [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001450] main input debug: Buffering 0% [0x7f20dc001960] main stream output debug: adding a new sout input (sout_input:0x219e780) [0x7f20dc001c20] stream_out_duplicate stream out debug: duplicated a new stream codec=mp4a (es=1 group=0) [0x7f20dc001450] main input debug: Buffering 10% [0x13e3220] main mux debug: adding a new input [0x13e3220] mux_ts mux debug: adding input codec=mp4a pid=68 [0x13e3220] mux_ts mux debug: new PCR PID is 68 [0x7f20dc001c20] stream_out_duplicate stream out debug: - added for output 0 [0x7f20dc001450] main input debug: Buffering 24% [0x7f20dc001450] main input debug: Buffering 37% [0x7f20dc001450] main input debug: Buffering 50% [0x7f20dc001450] main input debug: Buffering 64% [0x7f20dc001450] main input debug: Buffering 77% [0x7f20dc001450] main input debug: Buffering 90% [0x7f20dc001450] main input debug: Stream buffering done (312 ms in 9 ms) [0x7f20dc001450] main input debug: Decoder buffering done in 0 ms 5908.224 kB / 103.40 sec
Can anyone see where I'm going wrong here?

hyc
New Cone
New Cone
Posts: 2
Joined: 02 Jul 2010 02:34

Re: Using rtmpdump and VLC for RTMP->UDP multicast

Postby hyc » 23 Jul 2011 12:58

Seems to me like you're using the wrong tool for the job here. ffmpeg can be built with rtmpdump's librtmp, you could just use that.

ffmpeg "rtmp://stream2.france24.yacast.net/france24_live/en app=france24_live/en swfUrl=http://www.france24.com/en/sites/all/mo ... player.swf pageUrl=http://www.france24.com/en/aef_player_p ... e24_player playpath=f24_liveen" -an -vcodec copy -f rtp rtp://10.188.252.76:9002 -vn -acodec copy -f rtp rtp://10.188.252.76:9004 -newaudio

Whatever happened to the patch to integrate librtmp into VLC? http://trac.videolan.org/vlc/ticket/4342

streampunk
Blank Cone
Blank Cone
Posts: 20
Joined: 27 Feb 2007 22:31

Re: Using rtmpdump and VLC for RTMP->UDP multicast

Postby streampunk » 25 Jul 2011 19:30

Seems to me like you're using the wrong tool for the job here. ffmpeg can be built with rtmpdump's librtmp, you could just use that.

ffmpeg "rtmp://stream2.france24.yacast.net/france24_live/en app=france24_live/en swfUrl=http://www.france24.com/en/sites/all/mo ... player.swf pageUrl=http://www.france24.com/en/aef_player_p ... e24_player playpath=f24_liveen" -an -vcodec copy -f rtp rtp://10.188.252.76:9002 -vn -acodec copy -f rtp rtp://10.188.252.76:9004 -newaudio

Whatever happened to the patch to integrate librtmp into VLC? http://trac.videolan.org/vlc/ticket/4342
This seems like a good idea, so I compiled FFMPEG with librtmp, tried the command you suggested and got...

Code: Select all

ffmpeg version N-31637-g158eb85, Copyright (c) 2000-2011 the FFmpeg developers built on Jul 25 2011 12:48:59 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libvpx libavutil 51. 11. 0 / 51. 11. 0 libavcodec 53. 9. 0 / 53. 9. 0 libavformat 53. 6. 0 / 53. 6. 0 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 2. 27. 3 / 2. 27. 3 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [NULL @ 0x24e2400] Unable to find a suitable output format for 'rtmp://stream2.france24.yacast.net/france24_live/en app=france24_live/en swfUrl=http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf pageUrl=http://www.france24.com/en/aef_player_popup/france24_player playpath=f24_liveen' rtmp://stream2.france24.yacast.net/france24_live/en app=france24_live/en swfUrl=http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf pageUrl=http://www.france24.com/en/aef_player_popup/france24_player playpath=f24_liveen: Invalid argument
I double checked to make sure I compiled with librtmp correctly with "ffmpeg -protocols" and

Code: Select all

ffmpeg version N-31637-g158eb85, Copyright (c) 2000-2011 the FFmpeg developers built on Jul 25 2011 12:48:59 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libvpx libavutil 51. 11. 0 / 51. 11. 0 libavcodec 53. 9. 0 / 53. 9. 0 libavformat 53. 6. 0 / 53. 6. 0 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 2. 27. 3 / 2. 27. 3 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 Supported file protocols: I.. = Input supported .O. = Output supported ..S = Seek supported FLAGS NAME ----- I.. applehttp I.S concat I.. crypto IOS file IO. gopher IOS http I.. mmsh I.. mmst .O. md5 IO. pipe IO. rtmp IO. rtmpt IO. rtmpe IO. rtmpte IO. rtmps IO. rtp IO. tcp IO. udp
So it would appear I did it right, but there's something ffmpeg doesn't like about the command? I'll play with the formatting and switches to see if it makes a difference.

In any case, I appreciate your suggestion!

kodar
New Cone
New Cone
Posts: 1
Joined: 29 Apr 2012 17:46

Re: Using rtmpdump and VLC for RTMP->UDP multicast

Postby kodar » 29 Apr 2012 17:51

C:\rtmpdump-2.3\rtmpdump.exe -v -r rtmp://194.63.143.117:80/live/_definst_/HDtravelCDN | "C:\VLC\vlc.exe" - -vvv :sout=#udp{dst=238.1.1.13:1234} :no-sout-rtp-sap :no-sout-standard-sap :ttl=30 :sout-keep


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests