Dirk Meyer wrote:

>"Florian Demmer" wrote:
>  
>
>>>>Can you give me an example? E.g. I want to play file foo.avi on the
>>>>remote machine. How do I start vlc server to stream the avi to the
>>>>client? And how do I start the client?
>>>>        
>>>>
>>>vlc uses a url style like xine.  "vlc foo.avi" or "vlc file://foo.avi".
>>>But I don't know how to control the interface from a controlling
>>>application.  Nor do I know anything about the streaming server stuff.
>>>I've only ever used the client, and even then just for testing and
>>>playing, since the union of mplayer and xine implements every feature I
>>>need.
>>>      
>>>
>>i used the graphical version to generate that commandline arguments for
>>me. at least on windows it has a very easy to use interface. i am short
>>on time now, but will send some examples for receiving and streaming
>>tomorrow.
>>    
>>
>
>That would be great.
>
>  
>
playing a local file
vlc file:///home/media/video.avi

multicast streaming from ivtv
vlc
pvr:///dev/video0:frequency=189250:norm=pal:bitrate=5000000:maxbitrate=5000000
--sout '#duplicate{dst=std{access=udp,mux=ts,url=224.1.1.1:1234}}'

multicast streaming that local file
vlc file:///home/media/video.avi --sout
'#duplicate{dst=std{access=udp,mux=ts,url=224.1.1.1:1234}}'

receiving and playing the multicast stream
vlc udp:@224.1.1.1:1234

receiving the multicast stream and writing to a file
vlc udp:@224.1.1.1:1234 --sout
'#duplicate{dst=std{access=file,mux=ts,url="/home/media/video.mpg"}}'

so basically its some source mrl and the output definition. as mentioned
i let the gui build that string for me :)
vlc --help gives a complete list of mrls it understands (http, ftp, mms,
dvd, ...)



flo




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to