Page 1 of 1

no audio in transcoding

Posted: 02 Jul 2006 02:20
by jockyw2001
I'd like to transcode a stream to a video-only h264 .avi file or a raw .264 file. I need advise on how to disable the audio transcoding.

I have something like below, but I know the syntax is not right:

Code: Select all

:sout=#transcode{vcodec=h264,vb=700,width=480,height=272,fps=25,venc=x264,acodec=noaudio}:duplicate{dst=std{access=file,mux=raw,dst="D:\Test\DISCOVERYCHANNEL.264"}}
Please help me.

EDIT:
A more general question, what is the vlc commandline to demux a .avi in two raw files for audio and video?

Posted: 02 Jul 2006 14:53
by dionoea
You should read the part about #duplicate in the streaming howto, chapter 03. ( http://www.videolan.org/doc/ )

Posted: 02 Jul 2006 16:46
by jockyw2001
Yep, it took a while before I found it. Thanks!

Posted: 02 Jul 2006 18:35
by jockyw2001
Still having trouble. I tried a few examples in ch3 and always get the error

Code: Select all

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,acodec=mpga,vb=800,ab=128}",dst="standard{access=http,mux=ogg,url=0.0.0.0:1234}'"}' main error: cannot start stream output instance, aborting
My commandline is (transcode and stream in HTTP example of p.33):

Code: Select all

"D:\Program Files\VideoLAN\VLC\vlc.exe" -vvv DISCOVERYCHANNEL.avi --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:standard{access=http,mux=ogg,url=0.0.0.0:1234}'
What am I doing wrong?

Posted: 02 Jul 2006 20:03
by dionoea
try --sout=#transcode{...} (= and without the quotes on windows)

Posted: 02 Jul 2006 20:21
by jockyw2001
Yes, deleting the quotes did the trick.

Thanks dionoea, you saved my day :)