[Live-devel] How to manipulate MPEG2 TS

Francesco Matassoni tubo.catodico at gmail.com
Wed May 14 02:00:28 PDT 2008


In data 14 maggio 2008 alle ore 10:37:40, Ross Finlayson  
<finlayson at live555.com> ha scritto:

>> Hello, i must take a rtp stream of a MPEG2 TS file coming from vlc and  
>> save it into file. To do this i want to use the MPEG1or2VideoRTPSource  
>> (to take the frame from the rtp) and FileSink (to save to file). Will  
>> it work?
>
> No, because "MPEG1or2VideoRTPSource" is for receiving a MPEG Video  
> *Elementary Stream*, not a program stream.
>
> To receive a MPEG Transport Stream (over RTP), use a "SimpleRTPSource".   
> See, for example, line 751 of "liveMedia/MediaSession.cpp".
>
> HOWEVER, if you instead just use the existing "openRTSP" application,  
> you won't need to write any new code.

Ok; another question, the same SimpleRTPSource will work even for a  
MPEG4TS (an H.264 put in a TS)? By the way thank you for your job and your  
patience, i really appreciate.

-- 
Creato con il rivoluzionario client e-mail di Opera:  
http://www.opera.com/mail/


More information about the live-devel mailing list