no audio in transcoding

About encoding, codec settings, muxers and filter usage
jockyw2001
Blank Cone
Blank Cone
Posts: 54
Joined: 24 Jun 2006 10:18

no audio in transcoding

Postby jockyw2001 » 02 Jul 2006 02:20

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?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 02 Jul 2006 14:53

You should read the part about #duplicate in the streaming howto, chapter 03. ( http://www.videolan.org/doc/ )
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

jockyw2001
Blank Cone
Blank Cone
Posts: 54
Joined: 24 Jun 2006 10:18

Postby jockyw2001 » 02 Jul 2006 16:46

Yep, it took a while before I found it. Thanks!

jockyw2001
Blank Cone
Blank Cone
Posts: 54
Joined: 24 Jun 2006 10:18

Postby jockyw2001 » 02 Jul 2006 18:35

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?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 02 Jul 2006 20:03

try --sout=#transcode{...} (= and without the quotes on windows)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

jockyw2001
Blank Cone
Blank Cone
Posts: 54
Joined: 24 Jun 2006 10:18

Postby jockyw2001 » 02 Jul 2006 20:21

Yes, deleting the quotes did the trick.

Thanks dionoea, you saved my day :)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests