Commandline Problem
Posted: 16 Sep 2010 19:13
Hello Guys,
i have a little Problem when i start vlc and transcode using commandline. sorry for my bad english
i have a live stream that i want to capture and transcode, if i do this with the gui everything works but
with command line i got some problems ("Encoder not found", crashes sometims and so on)
here what i do:
with GUI:
i start VLC, Open Stream, enter the stream address (rtsp:// stream) choose encoding and use the "Video - H.264 + AAC (Mp4)" profile, choose file destination,
after i press ok so the process is running.... after a few seconds, or minutes (doesnt matter) i press stop and close the window... tada i got a nice video from the live stream
that is exactly what i want, but from console. so here is the call
"rtsp://...." --sout="#transcode{vcodec=h264} :duplicate{dst=std{access=file,mux=mp4,dst='C:\temp\Output.mp4'},dst=nodisplay}"
In this case, vlc opens and a window comes (sorry dont have the english version, so the message is not exactly) "cannot open encoder"
but the file is growing too... after a while, i press stop and close the window ... sometimes i got the message that the application could not stopped (the windows message if a application crashs)
Not very important for now but next things i need to do if this thing is done, is that i want to start the window "hidden" and i dont know if this is possible different sources for video and audio.
just like a webcam, and a mp3 stream merged...
VLC is wonderful and i really want to use it for that, btw. very good community here.
could you help me please ? you need more informations ?
regards and a nice day!!!!
i have a little Problem when i start vlc and transcode using commandline. sorry for my bad english
i have a live stream that i want to capture and transcode, if i do this with the gui everything works but
with command line i got some problems ("Encoder not found", crashes sometims and so on)
here what i do:
with GUI:
i start VLC, Open Stream, enter the stream address (rtsp:// stream) choose encoding and use the "Video - H.264 + AAC (Mp4)" profile, choose file destination,
after i press ok so the process is running.... after a few seconds, or minutes (doesnt matter) i press stop and close the window... tada i got a nice video from the live stream
that is exactly what i want, but from console. so here is the call
"rtsp://...." --sout="#transcode{vcodec=h264} :duplicate{dst=std{access=file,mux=mp4,dst='C:\temp\Output.mp4'},dst=nodisplay}"
In this case, vlc opens and a window comes (sorry dont have the english version, so the message is not exactly) "cannot open encoder"
but the file is growing too... after a while, i press stop and close the window ... sometimes i got the message that the application could not stopped (the windows message if a application crashs)
Not very important for now but next things i need to do if this thing is done, is that i want to start the window "hidden" and i dont know if this is possible different sources for video and audio.
just like a webcam, and a mp3 stream merged...
VLC is wonderful and i really want to use it for that, btw. very good community here.
could you help me please ? you need more informations ?
regards and a nice day!!!!