Page 1 of 1

Streaming and transcoded

Posted: 08 Sep 2006 13:59
by faina
dear all

I want to stream on internet a local file and transcode it. Reading the manual (I'm using windows XP) the right sintax should be


vlc -vvv c:\s.avi --sout '#transcode{vcodec=mp4v,vb=128,scale=1,acodec=mp4a,ab=32,channels=1}:standard{access=http,mux=ts,dst=localhost:1234}


if I want to stream from my localhost the file s.avi and transcoding it using the MPEG4 codec at lower bit-rate and the HTTP protocol. However the vlc windows message shows the following report

main debug: thread 3696 (manager) created at priority 0 (interface/interface.c:216)
wxwidgets debug: Using last windows config '(-1,0,0,1024,768)(0,66,87,355,102)(2,539,147,418,587)(6,0,0,-1,150)'
wxwidgets debug: id=0 p=(66,87) s=(355,102)
wxwidgets debug: id=2 p=(539,147) s=(418,587)
wxwidgets debug: id=6 p=(0,0) s=(-1,150)
main debug: nothing requested, starting
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: thread 3856 (input) created at priority 1 (input/input.c:261)
main debug: using sout chain=`std{mux="",access="'#transcode{vcodec=mp4v,vb=128,scale=1,acodec=mp4a,ab=32,channels=1}",dst="standard{access=http,mux=ts,dst=localhost:1234}'"}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main warning: missing value for option mux
main debug: set sout option: sout-standard-access to '#transcode{vcodec=mp4v,vb=128,scale=1,acodec=mp4a,ab=32,channels=1}
main debug: set sout option: sout-standard-dst to standard{access=http,mux=ts,dst=localhost:1234}'
stream_out_standard debug: creating `'#transcode{vcodec=mp4v,vb=128,scale=1,acodec=mp4a,ab=32,channels=1}/(null)://standard{access=http,mux=ts,dst=localhost:1234}''
stream_out_standard error: no mux specified or found by extension
main warning: no sout stream module matching "std" could be loaded
main debug: destroying chain... (name=std)
main debug: destroying chain done
main error: stream chain failed for `std{mux="",access="'#transcode{vcodec=mp4v,vb=128,scale=1,acodec=mp4a,ab=32,channels=1}",dst="standard{access=http,mux=ts,dst=localhost:1234}'"}'
main error: cannot start stream output instance, aborting
main debug: thread times: real 0m0.110169s, kernel 0m0.010014s, user 0m0.000000s
main debug: thread 3856 joined (input/input.c:399)
main: nothing to play

1) Anybody can tell me the reason way of this error ?
2) I want to stream the file using rtsp protocol because it is supported by my company firewall. Can anyboti write me the exact sintax for the client and for the server side ?

Regards
Paolo

Posted: 08 Sep 2006 23:07
by dionoea
remove the quotes arround the sout chain. You need those on linux, you shouldn't use them on windows.