Page 1 of 1

Sound and Video with VLC fine, no sound with WMP

Posted: 07 Sep 2006 11:03
by normen
Hi,
I want to transcode a file to a mms-stream with following command:

Code: Select all

vlc -vvv /root/streamtest.avi --sout '#transcode{vcodec=WMV2,acodec=mpga,vb=1024,ab=128} :std{access=mmsh,mux=asfh,url=:8080}'
With vlc as a client it works fine, but with the Windows Media Player I don't hear anything. :?

Thanks for help.

Normen

Posted: 07 Sep 2006 17:13
by dionoea
you need to use acodec=mp3 . WMP doesn't know how to decode mpeg audio layer 1 or 2 by default i think, only layer 3.

Posted: 08 Sep 2006 09:08
by normen
Hi,
you are right!

I had to recompile vlc with ffmpeg lame support and now it works.

Thanks! :-)

Normen

Posted: 08 Sep 2006 10:22
by raden
I try install vlc with ffmpeg mp3lame support with succes configure, this is my command
alideb:/home/alifaiq/vlc-0.8.5/vlc-0.8.5# ./configure --with-ffmpeg-mp3lame --enable-x11 --disable-mad --disable-libmpeg2 --disable-wxwidgets --disable-skins2
but get error in compile like this :
ffmpeg.c:49:44: libpostproc/postprocess.h: No such file or directory
make: *** [all] Error 2
please help me[/quote]

Posted: 08 Sep 2006 23:05
by dionoea
you need ffmpeg with configure flags --enable-gpl --enable-pp . Search the http://developers.videolan.org/vlc/ page and this forum for exhaustive help about that issue.