Hello,
In VLC, one can encapsulate H264 packets into MPEG2-ts (mux=ts) packets which are encapsulated into RTP packets, i.e. schematically:
(RTP packet (MPEG2-ts packet (H264 packet)))
In VLC, is it possible to do simply?
(RTP packet (H264 packet))
i.e. skip the ts/ps muxing when sending H264 over RTP ?
That is a totally valid and standard way of sending H264, employed by all IP cameras, for example.
In the following command ..
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}:rtp{dst=127.0.0.1,raw,late=100,mux=ts,port=50001}
.. I tried to skip the ts/ps muxing with "mux=dummy" but that did not work out.
Regards,
Sampsa