Page 1 of 1

[SOLVED] VLC won't play WMA lossless any more.

Posted: 12 Mar 2012 18:24
by bat999
Hi
I'm running 32-bit Ubuntu 11.04 and VLC 2.1.0-git Rincewind (revision 1.3.0-git-1636-gc5d8645).

Previously I could play WMA lossless files (wmal) with VLC from git using the "MPlayer binary codecs". :)
VLC configured with "--enable-loader".

When I played luckynight.wma with -vvv I could see a message:-
"DMO codec for WMAL may work with dll=wma9dmod.ll".

Recently there's been a VLC git commit "Support WMA Lossless with recent enough libavcodec".
Here ---> http://git.videolan.org/?p=vlc.git;a=co ... d3fbf00acf

Now when I play luckynight.wma with -vvv I see the message:-
"avcodec decoder debug: ffmpeg codec (Windows Media Audio Lossless) started"

But VLC won't play it. :(
VLC crashes with "Segmentation fault".

FFplay will play the file OK. :)
This has the same version of libavcodec that my VLC was built with.

And mPlayer still plays the file OK using binary codecs as before. :)

The luckynight.wma sample is here ---> http://samples.mplayerhq.hu/A-codecs/lossless/

The VLC log is here ---> http://pastebin.com/ruqyFAaP

The FFplay output is here ---> http://pastebin.com/KQieNb8D

Re: VLC won't play WMA lossless any more.

Posted: 12 Mar 2012 18:42
by Jean-Baptiste Kempf
KNown issue. Bug seems to be upstream.
http://git.altlinux.org/people/thresh/p ... 5b2f9c5e85

Re: VLC won't play WMA lossless any more.

Posted: 12 Mar 2012 19:07
by bat999
KNown issue. Bug seems to be upstream.
Thanks.
I can see that Konstantin has applied the hack to git.altlinux.

Will somebody apply the hack to our git.videolan too?
(Or reverse the "Support WMA Lossless with recent enough libavcodec" commit).

Or should I raise a trac?

Re: VLC won't play WMA lossless any more.

Posted: 12 Mar 2012 19:32
by thresh
no, I won't push it to main videolan git: this hack doesnt fix the playback problem of luckynight anyway, just prevents VLC from crashing...

just revert bc368cb418feb3c5ce8a1afd1699cad3fbf00acf in your local tree for now, or use --codec dmo with wmal files.

at the moment we're waiting on that bug to be fixed in ffmpeg/libav

Re: VLC won't play WMA lossless any more.

Posted: 12 Mar 2012 19:54
by bat999
... or use --codec dmo with wmal files.
Thanks.

Code: Select all

vlc --codec dmo luckynight.wma
plays OK.
:D

Re: VLC won't play WMA lossless any more.

Posted: 12 Mar 2012 21:31
by RĂ©mi Denis-Courmont
Even if the hack were applied to the VLC contrib repository, it would not fix VLC for Ubuntu...

Re: VLC won't play WMA lossless any more.

Posted: 23 Mar 2012 00:57
by mc2man
Working fine here now with latest ffmpeg-git & vlc-git
0x9707f68] avcodec decoder debug: libavcodec initialized (interface 0x360c64)
[0x9707f68] avcodec decoder debug: ffmpeg codec (Windows Media Audio Lossless) started
[0x9707f68] avcodec decoder debug: Using 192000 bytes output buffer
[0x9707f68] main decoder debug: using decoder module "avcodec"

Re: VLC won't play WMA lossless any more.

Posted: 23 Mar 2012 05:21
by bat999
Yep, working for me too. :D
Also FFmpeg doesn't need 'strict' now. 8)

Code: Select all

ffmpeg -i luckynight.wma luckynight.flac
ffmpeg version N-39163-g01fd1aa
VLC media player 2.1.0-git Rincewind (revision 1.3.0-git-1879-g831d5b0)
[0x97fa518] avcodec decoder debug: libavcodec initialized (interface 0x360c64)
[0x97fa518] avcodec decoder debug: ffmpeg codec (Windows Media Audio Lossless) started
[0x97fa518] avcodec decoder debug: Using 192000 bytes output buffer
[0x97fa518] main decoder debug: using decoder module "avcodec"

Re: [SOLVED] VLC won't play WMA lossless any more.

Posted: 23 Mar 2012 16:20
by thresh
Yep, the fix for WMAL was pushed to libav/ffmpeg lately!

Send thanks to Kostya @ libav :)