[Live-devel] Re: Problem about on-demand unicast live streaming

Ross Finlayson finlayson at live.com
Fri Jul 1 14:19:31 PDT 2005


> > If you're still having problems with this, then try the following:
> > 1/ Create a data file with output from your encoder.
> > 2/ Rename this file as "test.<whatever>" (e.g., "test.m4v" for MPEG-4
> > Elementary Stream video).
> > 3/ Run the (original, unmodified) "testOnDemandRTSPServer", and see if you
> > can play a stream from your file.  If you can't, then your file is probably
> > in the wrong format, and you'll need to check the settings on your encoder.
>
>Actually, it works well if I save the output of the encoder as
>test.m4v and run the testOnDemandRTSPServer. However, I cannot figure
>out why the behavior is abnormal if the output file serves as the
>stdin of the program

That's strange.  The following two things should behave identically (if 
you've set
"reuseFirstSource" to "True"):
1/ Setting
         inputFileName = "test.m4v";
     and running
         testOnDemandRTSPServer
     and
2/ Setting
         inputFileName = "stdin";
     and running
         testOnDemandRTSPServer < test.m4v

What operating system are you running?


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list