vlc 1.1.2 no video remux on TS output
Posted: 23 Jul 2010 11:11
I can play smoothly a live RTMP stream with 1.1.1 (rtmp://ip_server:port/application/streamname). The stream is H.264/AAC on a FLV container, however when I try to remux it to TS, I can only hear the audio, however no video at all(black screen).
The commandline is:
The commandline is:
Here is some verbose:/usr/bin/cvlc -vvv rtmp://flashserver:1935/live/mystream --sout '#std{access=http,mux=ts,dst=0.0.0.0:8000}'
However if I play VOD files there is no problem:[0x9268274] main input debug: selecting program id=0
[0x92643ac] avformat demux debug: adding es: video codec = h264
[0x92643ac] avformat demux debug: adding es: audio codec = mp4a
[0x92643ac] avformat demux debug: AVFormat supported stream
[0x92643ac] avformat demux debug: - format = flv (FLV format)
[0x92643ac] avformat demux debug: - start time = 0
[0x92643ac] avformat demux debug: - duration = -1
[0x92643ac] main demux debug: using demux module "avformat"
[0x92643ac] main demux debug: TIMER module_need() : 1189.893 ms - Total 1189.893 ms / 1 intvls (Avg 1189.893 ms)
[0x9282a2c] main decoder debug: looking for packetizer module: 21 candidates
[0x9282a2c] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)
[0x9282a2c] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
[0x9282a2c] packetizer_h264 decoder debug: avcC length size=4, sps=1, pps=1
[0x9282a2c] main decoder debug: using packetizer module "packetizer_h264"
[0x9282a2c] main decoder debug: TIMER module_need() : 2.313 ms - Total 2.313 ms / 1 intvls (Avg 2.313 ms)
[0x9282a2c] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301)
[0x9282a2c] main decoder debug: thread started
[0xb7300bc4] main decoder debug: looking for packetizer module: 21 candidates
[0xb7300bc4] packetizer_mpeg4audio decoder debug: running MPEG4 audio packetizer
[0xb7300bc4] packetizer_mpeg4audio decoder debug: AAC 11025Hz 1024 samples/frame
[0xb7300bc4] main decoder debug: using packetizer module "packetizer_mpeg4audio"
[0xb7300bc4] main decoder debug: TIMER module_need() : 0.146 ms - Total 0.146 ms / 1 intvls (Avg 0.146 ms)
[0xb7300bc4] main decoder debug: thread (decoder) created at priority 5 (input/decoder.c:301)
[0xb7300bc4] main decoder debug: thread started
[0x9268274] main input debug: starting in async mode
[0x93549ec] main demux meta debug: looking for meta reader module: 2 candidates
[0x93549ec] lua demux meta debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/reader
[0x93549ec] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x93549ec] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x93549ec] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x93549ec] main demux meta debug: no meta reader module matching "any" could be loaded
[0x93549ec] main demux meta debug: TIMER module_need() : 0.678 ms - Total 0.678 ms / 1 intvls (Avg 0.678 ms)
[0x9268274] main input debug: `rtmp://flash.todostreaming.es:1948/live/mystream' successfully opened
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: switching to sync mode
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 0%
[0x9263704] main stream output debug: adding a new sout input (sout_input:0xb73015d0)
[0x9268274] main input debug: Buffering 0%
[0x926d3a4] main mux debug: adding a new input
[0x9268274] main input debug: Buffering 0%
[0x926d3a4] mux_ts mux debug: adding input codec=h264 pid=68
[0x9268274] main input debug: Buffering 0%
[0x926d3a4] mux_ts mux debug: new PCR PID is 68
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 9%
[0x9263704] main stream output debug: adding a new sout input (sout_input:0xb73016d0)
[0x9268274] main input debug: Buffering 22%
[0x926d3a4] main mux debug: adding a new input
[0x926d3a4] mux_ts mux debug: adding input codec=mp4a pid=69
[0x9268274] main input debug: Buffering 35%
[0x9268274] main input debug: Buffering 49%
[0x9268274] main input debug: Buffering 62%
[0x9268274] main input debug: Buffering 76%
[0x9268274] main input debug: Buffering 89%
[0x9268274] main input debug: Stream buffering done (308 ms in 0 ms)
[0x9268274] main input debug: Decoder buffering done in 0 ms
[0x9268274] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
[0x9268274] main input debug: ES_OUT_RESET_PCR called
[0x9268274] main input debug: Buffering 0%
[0x9268274] main input debug: Buffering 13%
[0x9268274] main input debug: Buffering 26%
[0x9268274] main input debug: Buffering 40%
[0x9268274] main input debug: Buffering 53%
[0x9268274] main input debug: Buffering 66%
[0x9268274] main input debug: Buffering 80%
[0x9268274] main input debug: Buffering 93%
[0x9268274] main input debug: Stream buffering done (320 ms in 0 ms)
Thanks./usr/bin/cvlc -vvv rtmp://flashserver:1935/vod/shoot.mp4 --sout '#std{access=http,mux=ts,dst=0.0.0.0:8000}'