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

*nix specific usage questions
bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

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

Postby bat999 » 12 Mar 2012 18:24

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
Last edited by bat999 on 23 Mar 2012 05:22, edited 1 time in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 12 Mar 2012 18:42

KNown issue. Bug seems to be upstream.
http://git.altlinux.org/people/thresh/p ... 5b2f9c5e85
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

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

Postby bat999 » 12 Mar 2012 19:07

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?

thresh
Site Administrator
Site Administrator
Posts: 92
Joined: 22 Mar 2006 11:28
VLC version: git master
Operating System: Linux
Location: Korolev, Russian Federation

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

Postby thresh » 12 Mar 2012 19:32

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
Konstantin Pavlov

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

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

Postby bat999 » 12 Mar 2012 19:54

... or use --codec dmo with wmal files.
Thanks.

Code: Select all

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 12 Mar 2012 21:31

Even if the hack were applied to the VLC contrib repository, it would not fix VLC for Ubuntu...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mc2man
Blank Cone
Blank Cone
Posts: 51
Joined: 26 Jan 2009 03:42

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

Postby mc2man » 23 Mar 2012 00:57

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"

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

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

Postby bat999 » 23 Mar 2012 05:21

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"

thresh
Site Administrator
Site Administrator
Posts: 92
Joined: 22 Mar 2006 11:28
VLC version: git master
Operating System: Linux
Location: Korolev, Russian Federation

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

Postby thresh » 23 Mar 2012 16:20

Yep, the fix for WMAL was pushed to libav/ffmpeg lately!

Send thanks to Kostya @ libav :)
Konstantin Pavlov


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests