H264 elementary stream output to UDP without muxing

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sampsa
Blank Cone
Blank Cone
Posts: 42
Joined: 16 Dec 2014 13:54

H264 elementary stream output to UDP without muxing

Postby sampsa » 25 May 2015 17:40

Hello,

I am sending an (almost realtime) screencast (in linux) using H264 to an udp port with the command (btw, any tips to make it faster are appreciated):

cvlc screen:// --avcodec-hw any -vvv --live-caching 100 --sout-x264-preset veryfast --sout-x264-tune zerolatency --sout-transcode-threads 24 --sout-transcode-high-priority --sout-x264-keyint 5 --sout-x264-min-keyint 5 --sout-x264-lookahead 100 --sout-x264-vbv-maxrate 2048 --sout-x264-vbv-bufsize 4000 --sout-transcode-hurry-up --sout-x264-nf --sout-mux-caching 50 --sout '#transcode{vcodec=h264,acodec=none,vb=2048,fps=5}:standard{access=udp,late=100,raw,dst=127.0.0.1:50001}'


Now, I have another program that receives it from the port 50001 and which knows that it is H264 .. i.e. there is no need for a container format here.

Is there any way to make VLC to send just raw H264 packets into an udp port without muxing them ?

Regards,

Sampsa

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: H264 elementary stream output to UDP without muxing

Postby Rémi Denis-Courmont » 25 May 2015 18:45

Yes, it is possible. It is a very bad idea however.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sampsa
Blank Cone
Blank Cone
Posts: 42
Joined: 16 Dec 2014 13:54

Re: H264 elementary stream output to UDP without muxing

Postby sampsa » 25 May 2015 19:30

Dear Remi,

As always, thanks for your quick reply.

I have a custom program that reads the udp port (so maybe it's not that bad idea).

Could you pretty-please give me a hint on this one .. ? How to send the raw packets to udp port without any muxing..? Or is it such a bad idea that you wont help me on this one? :(

Regards,

Sampsa

sampsa
Blank Cone
Blank Cone
Posts: 42
Joined: 16 Dec 2014 13:54

Re: H264 elementary stream output to UDP without muxing

Postby sampsa » 25 May 2015 19:50

Ok, got it (from the vlc sources) !

It's the "dummy" muxer (mux=dummy).

Thx.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests