[Live-devel] openRTSP TS receive as an another program input

Mr. Teddy mrteddy at citromail.hu
Tue May 5 23:03:40 PDT 2009


            Hello,
 
My application is reads TS from file (example video.ts) with this function:
 
FILE* fp = fopen("video.ts", “rb”);
 
If I use openRTSP like you wrote, and if I modify my application fopen to this:
 
FILE* fp=freopen("CONIN$", "rb", stdin);
 
In this two case, should I probably get the same result?
Or sould I change the method to read from stdin? You probably have some experience with it.
 
Very thank You, for your help!
 
Best Regards:
Peter
-- Eredeti üzenet --
Feladó: Ross Finlayson <finlayson at live555.com>
Címzett: LIVE555 Streaming Media - development & use <live-devel at ns.live555.com>
Másolat: 
Elküldve: 2009.05.05  15:51
Téma: Re: [Live-devel] openRTSP TS receive as an another program input>To pipe openRTSP don't you have a little sample code? I tried >_popen() function, but it not the best.No, you don't need to write any code for this; you can do this from the command lineopenRTSP -v etc. rtsp://url | your-application-that-reads-from-stdin-- Ross FinlaysonLive Networks, Inc.http://www.live555.com/_______________________________________________live-devel mailing listlive-devel at lists.live555.comhttp://lists.live555.com/mailman/listinfo/live-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090506/bcb13e11/attachment.html>


More information about the live-devel mailing list