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

About encoding, codec settings, muxers and filter usage
David Bertrand
New Cone
New Cone
Posts: 2
Joined: 04 Jun 2010 10:31

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

Postby David Bertrand » 24 Jun 2010 14:29

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.

asik
New Cone
New Cone
Posts: 1
Joined: 24 Jun 2010 21:59

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

Postby asik » 25 Jun 2010 00:26

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 :(

thomasferre
Blank Cone
Blank Cone
Posts: 38
Joined: 08 Dec 2007 19:01

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

Postby thomasferre » 25 Jun 2010 23:23

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 ...

thomasferre
Blank Cone
Blank Cone
Posts: 38
Joined: 08 Dec 2007 19:01

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

Postby thomasferre » 25 Jun 2010 23:38

The RTP broadcast is working fine with the MPEG2 video codec (mp2v).

The pbs seems to be h264 + rtp ...

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: [v1.1] No video with MPEG-TS/h264/mp4a during RTP broadc

Postby Jean-Baptiste Kempf » 26 Jun 2010 14:30

The problem is in h264 inside ts.
And it should be fixed in 1.1.1
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.

thomasferre
Blank Cone
Blank Cone
Posts: 38
Joined: 08 Dec 2007 19:01

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

Postby thomasferre » 06 Jul 2010 10:00

Hi

I have just installed the 1.1.1 version.

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

David Bertrand
New Cone
New Cone
Posts: 2
Joined: 04 Jun 2010 10:31

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

Postby David Bertrand » 06 Jul 2010 16:04

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests