problem solving code
Posted: 28 Jul 2010 12:56
Good morning,
I would like to stream files in multicast way using rtsp, I will try to explain it the most clearly I can:
The purpose of my work is that a client could reach a multicast stream(no released to the client) via rtsp/sdp (release to client).
So the client iniciate the session by the correct rtsp/sdp wich contain the path to open the multicast session stream.
So I tryed his code, but It didn´t work:
I tryed also:
and It don´t works...
Could anyone help me? where is the problem?
I have vlc 1.0.4
I would like to stream files in multicast way using rtsp, I will try to explain it the most clearly I can:
The purpose of my work is that a client could reach a multicast stream(no released to the client) via rtsp/sdp (release to client).
So the client iniciate the session by the correct rtsp/sdp wich contain the path to open the multicast session stream.
So I tryed his code, but It didn´t work:
Code: Select all
new teste vod enabled
setup teste input "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\Portal_de_Video\videos\BeyBoy.mpg"
#setup teste output #transcode{venc=x264{keyint=2,idrint=2},vcodec=h264,vb=300,width=320,height=240,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=239.255.1.1,port=1234,sdp=file://C:\Program Files\VideoLAN\VLC\BeyBoyvod.sdp}" :sout-all :sout-keep"
#setup teste enabled
#save teste
Code: Select all
#"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv -I rc --reset-config "file:///D:\aulas\tese\LAB\Videos\BeyBoy.mpg" --sout="#transcode{venc=x264{keyint=2,idrint=2},vcodec=h264,vb=300,width=320,height=240,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=239.255.1.1,port=1234,sdp=//rtsp://localhost:554/testevod}"
Could anyone help me? where is the problem?
I have vlc 1.0.4