Sound and Video with VLC fine, no sound with WMP

About encoding, codec settings, muxers and filter usage
normen
New Cone
New Cone
Posts: 2
Joined: 07 Sep 2006 10:56

Sound and Video with VLC fine, no sound with WMP

Postby normen » 07 Sep 2006 11:03

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

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

Postby dionoea » 07 Sep 2006 17:13

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.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

normen
New Cone
New Cone
Posts: 2
Joined: 07 Sep 2006 10:56

Postby normen » 08 Sep 2006 09:08

Hi,
you are right!

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

Thanks! :-)

Normen

raden
Blank Cone
Blank Cone
Posts: 20
Joined: 09 Jul 2006 14:55
Location: Indonesia
Contact:

Postby raden » 08 Sep 2006 10:22

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]

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

Postby dionoea » 08 Sep 2006 23:05

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.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests