Page 1 of 1

[v1.1] No video with MPEG-TS/h264/mp4a during RTP broadcast

Posted: 24 Jun 2010 14:29
by David Bertrand
Hello everyone

I have a problem with the VLC's 1.1 version in order to broadcast an RTP stream.

The video comes from a capture card "Extreme EX1" and the sound of a standard audio chipset.

I have no video when I send a transcoded stream h264 aac encapsulated in MPEG-TS.
The file recorded during the broadcast is transcoded with mux=mp4 and everything is ok.

I suspect the mux=ts not work well with h264 in this version of VLC
or maybe the libstream_out_rtp_plugin.dll

I hope i'm wrong.

The sound is here but not the vidéo.

Here the batch i'm using

/*********************************************/

taskkill /f /im vlc.exe

set nomfichier=%DATE:~0,2%_%DATE:~3,2%_%DATE:~6,4%_a_%TIME:~0,2%h%TIME:~3,2%mn%TIME:~6,2%s.mp4

start vlc --config vlcrc dshow:// --sout=#transcode{vcodec=h264,vb=1024,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{
dst=rtp{dst=239.172.21.2,port=2234,mux=ts}, <= doesn't work (no vidéo, only audio)
dst=std{access=file,mux=mp4,dst="C:\%nomfichier%"} <= work very well
}
exit

/*********************************************/

Thank you for helping.

Re: [v1.1] No video with MPEG-TS/h264/mp4a during RTP broadc

Posted: 25 Jun 2010 00:26
by asik
Hi.

I have that problem too.

When i trying stream MPEG-TS/h264/mp3 via RTP from Windows XP to FreeBSD (vlc 1.0.6) or Ubuntu (vlc 1.1.0) then on restreaming server vlc shows:

Code: Select all

cvlc rtp://@192.168.1.53:8081 --sout-mux-caching=5000 --sout '#transcode{vcodec=h264,acodec=mp3}:std{access=http,dst=192.168.1.53:8080/stream.flv}' (...) libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 66 [0x7fd6bc000a00] ts demux error: MPEG-4 descriptor not found [0xd01280] packetizer_mpeg4audio decoder: AAC channels: 2 samplerate: 44100
On source (WinXP):

Code: Select all

:sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{dst=192.168.1.53,port=8081,mux=ts} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
Audio is ok, but there isn't video :(

Re: [v1.1] No video with MPEG-TS/h264/mp4a during RTP broadc

Posted: 25 Jun 2010 23:23
by thomasferre
Hi

Same thing for me when trying to do RTP broadcast with H264 to another client : audio and no video

Same thing with UDP.

But I found something "funny" :

when you do RTP broadcast to yourself (127.0.0.1) on 2 differents VLC instances on the same machine, it is working fine (at least with win XP) .

The client can see h264 video et hear mp4a audio.

Try this :

On the server instance of vlc :
:sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{dst=127.0.0.1,port=5004,mux=ts} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep

On the client instance of vlc :
rtp://127.0.0.1:5004

We'd better post on vlc 1.1 testing forum but it's locked ...

Re: [v1.1] No video with MPEG-TS/h264/mp4a during RTP broadc

Posted: 25 Jun 2010 23:38
by thomasferre
The RTP broadcast is working fine with the MPEG2 video codec (mp2v).

The pbs seems to be h264 + rtp ...

Re: [v1.1] No video with MPEG-TS/h264/mp4a during RTP broadc

Posted: 26 Jun 2010 14:30
by Jean-Baptiste Kempf
The problem is in h264 inside ts.
And it should be fixed in 1.1.1

Re: [v1.1] No video with MPEG-TS/h264/mp4a during RTP broadc

Posted: 06 Jul 2010 10:00
by thomasferre
Hi

I have just installed the 1.1.1 version.

VLC crashes when trying to do RTP / TS H264 streaming ...

Re: [v1.1] No video with MPEG-TS/h264/mp4a during RTP broadc

Posted: 06 Jul 2010 16:04
by David Bertrand
Hi,

I have the seem problem here too.

I think it's normal because this is a nightly version, we will see in the final 1.1.1