Page 1 of 1

"Raw" encapsulation method

Posted: 24 Feb 2008 04:31
by nehjain
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

Re: "Raw" encapsulation method

Posted: 28 Feb 2008 22:25
by Rémi Denis-Courmont
Raw means there is no shim between MPEG-TS and UDP header, while normally you would use RTP in-between.

Re: "Raw" encapsulation method

Posted: 29 Feb 2008 18:16
by nehjain
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 ?

Re: "Raw" encapsulation method

Posted: 29 Feb 2008 18:29
by Rémi Denis-Courmont
Raw encapsulation is what #std or #standard gives you (contrary to #rtp).

Re: "Raw" encapsulation method

Posted: 29 Feb 2008 22:32
by nehjain
I am getting a bit confused now . There is an option of mux=ts or mux=raw . What is the difference between this ?

Re: "Raw" encapsulation method

Posted: 01 Mar 2008 10:21
by Rémi Denis-Courmont
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.

Re: "Raw" encapsulation method

Posted: 01 Mar 2008 18:59
by nehjain
Thanks a lot.