Page 1 of 1

encoding with wma codec in linux?

Posted: 08 Feb 2007 20:45
by ac251404
I found a batch script that someone created for converting videos to WMV using vlc. The batch script was used on a windows box but I am trying to run almost the exact same command and my videos are coming out with no audio. I believe this has to do with using the wma codec which is closed source, but how can vlc on windows make use of it? If I try encoding in any other audio format the video works fine on my PC but will not play on my xbox360. Also I cannot get any audio from videos which I encoded with other programs in linux (but they work fine in windows). Does VLC on linux not have wma support? If not is there some way I can use this codec?

For reference here is the command:

Code: Select all

"vlc -vvv #{ARGV[0]} --sout-ffmpeg-qscale 1 :sout=#transcode{vcodec=WMV2,scale=1,acodec=wma,ab=96,channels=2}:duplicate{dst=std{access=file,mux=asf,dst=#{ARGV[1]}}} vlc:quit"

Posted: 06 Apr 2007 18:57
by tipok
the newest version of ffmpeg can encode to wma (on linux machines - too), but WM player can not play this stream yet.

Re: encoding with wma codec in linux?

Posted: 02 Aug 2007 14:15
by tipok
Even VLC can't play this files (or streams)...