"Raw" encapsulation method

About encoding, codec settings, muxers and filter usage
nehjain
Blank Cone
Blank Cone
Posts: 17
Joined: 16 Feb 2008 06:09

"Raw" encapsulation method

Postby nehjain » 24 Feb 2008 04:31

Hi
Could anyone explain me what is "raw" encapsulation method . I am actually trying to stream a MJPEG video over UDP . Even though, I have selected the bitrate as 64 kbps in the transcoding options and the encapsulation method as TS , the VLC statistics show the streaming bitrate around 1100 kbps . I need to stream over a very low bandwidth channel ( around 100 kbps) , can anyone suggest how can i do this ?

Thanks

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

Re: "Raw" encapsulation method

Postby Rémi Denis-Courmont » 28 Feb 2008 22:25

Raw means there is no shim between MPEG-TS and UDP header, while normally you would use RTP in-between.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nehjain
Blank Cone
Blank Cone
Posts: 17
Joined: 16 Feb 2008 06:09

Re: "Raw" encapsulation method

Postby nehjain » 29 Feb 2008 18:16

Thanks for replying .. But could you explain it a but more in detail . At presenet mpeg-ts over udp packs 7 packets of the Ts-stream into one UDP packet ( assuming MTU=1500 bytes) . How would this change using "Raw" method , and how can i use the "raw" method for streaming ?

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

Re: "Raw" encapsulation method

Postby Rémi Denis-Courmont » 29 Feb 2008 18:29

Raw encapsulation is what #std or #standard gives you (contrary to #rtp).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nehjain
Blank Cone
Blank Cone
Posts: 17
Joined: 16 Feb 2008 06:09

Re: "Raw" encapsulation method

Postby nehjain » 29 Feb 2008 22:32

I am getting a bit confused now . There is an option of mux=ts or mux=raw . What is the difference between this ?

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

Re: "Raw" encapsulation method

Postby Rémi Denis-Courmont » 01 Mar 2008 10:21

If you're talking about RTP, then raw means emitting each ES as a separate RTP session (on a separate port), whereby TS means everything is multiplexed with TS over a single RTP session.

However, raw usually refers to not using RTP at all.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nehjain
Blank Cone
Blank Cone
Posts: 17
Joined: 16 Feb 2008 06:09

Re: "Raw" encapsulation method

Postby nehjain » 01 Mar 2008 18:59

Thanks a lot.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests