vlc 1.1.2 no video remux on TS output

About encoding, codec settings, muxers and filter usage
natanael
Blank Cone
Blank Cone
Posts: 14
Joined: 30 Mar 2010 16:25

vlc 1.1.2 no video remux on TS output

Postby natanael » 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:
/usr/bin/cvlc -vvv rtmp://flashserver:1935/live/mystream --sout '#std{access=http,mux=ts,dst=0.0.0.0:8000}'
Here is some verbose:
[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)
However if I play VOD files there is no problem:
/usr/bin/cvlc -vvv rtmp://flashserver:1935/vod/shoot.mp4 --sout '#std{access=http,mux=ts,dst=0.0.0.0:8000}'
Thanks.
Last edited by natanael on 30 Jul 2010 17:39, edited 1 time in total.

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: vlc 1.1.1 no video remux on TS output

Postby vel_tins » 28 Jul 2010 12:41

same here.. :(
My VLC1.1.1 receives a h264/mp3 stream from my tv-server.
I can watch this stream without any problems, but failing to distribute it to my local network via rtp or http.
The clients have only a black window, but no video..
I tried:

Code: Select all

:sout=#rtp{dst=239.255.2.2,port=5004,mux=ts}
and

Code: Select all

:sout=#std{access=http,mux=ts,dst=0.0.0.0:8080}

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: vlc 1.1.1 no video remux on TS output

Postby vel_tins » 30 Jul 2010 12:04

issue not solved in 1.1.2 :cry:
but this workaround is for the moment ok.....
:sout=#std{access=http,mux=asf,dst=0.0.0.0:8080}
wait for a fix

natanael
Blank Cone
Blank Cone
Posts: 14
Joined: 30 Mar 2010 16:25

Re: vlc 1.1.1 no video remux on TS output

Postby natanael » 30 Jul 2010 16:38

Yes you are right, the problem is always with Live Video input, and TS mux as output (works ok if ASF muxed out). I tried even remux the ASF to TS with another VLC session but also the same problem, no video at all. And the problem is still in version 1.1.2
I hope some developper may read about this bug ;-)

Regards


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 17 guests