Page 1 of 1

Static audio playback for wmv formatted files

Posted: 27 Mar 2013 22:59
by graysky
Much like this post, vlc v2.0.5 on Arch Linux cannot properly play wmv files. The audio is basically static although video seems fine. I understand from bug #8260 that the problem is not due to vlc.

*I compiled vlc from git and found no change.
*I have tried downgrading my ffmpeg package to the point where the video files are not recognized by vlc with no change (on Arch, the ffmpeg package provides the files that the libavcodec provides on other systems).

The Arch Bug Tracker is actually tracking this actively but has not solved it yet. I am interested in suggestions to try that will restore normal functionality.

Thank you!

Re: Static audio playback for wmv formatted files

Posted: 28 Mar 2013 02:51
by Jean-Baptiste Kempf
Use 2.0.6

Re: Static audio playback for wmv formatted files

Posted: 28 Mar 2013 20:32
by graysky
Use 2.0.6
I have compiled it from git but the audio is still messed-up. The static is gone, but there are horrible echo effects in the audio stream of wmv files. I used the example wmv file posted in my bug report as an example. Here is a video I took of my freshly compiled 2.0.6 from git playing a small clip of the wmv. You can hear the crazy echo.

Built with source from:

Code: Select all

git clone git://git.videolan.org/vlc/vlc-2.0.git

Code: Select all

% vlc --version VLC media player 2.0.6 Twoflower (revision 2.0.5-162-gc6403f5) VLC version 2.0.6 Twoflower (2.0.5-162-gc6403f5) Compiled by facade on localhost.localdomain (Mar 28 2013 18:37:39) Compiler: gcc version 4.7.2 (GCC) This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by the VideoLAN team; see the AUTHORS file.

Re: Static audio playback for wmv formatted files

Posted: 29 Mar 2013 00:04
by Jean-Baptiste Kempf
Please share a file.

Re: Static audio playback for wmv formatted files

Posted: 29 Mar 2013 00:26
by graysky
Please share a file.
Here is a non-copyrighted file that exhibits this behavior: http://www.educationalquestions.com/vid ... 5_768k.wmv

Re: Static audio playback for wmv formatted files

Posted: 29 Mar 2013 10:52
by firewalker
The problem started when the following patch was introduced to ffmpeg.
7ebfe5b44a55d7f2c510e6aaeaf767319c786b60 is the first bad commit
commit 7ebfe5b44a55d7f2c510e6aaeaf767319c786b60
Author: Justin Ruggles <justin.ruggles@gmail.com>
Date: Tue Aug 28 23:12:49 2012 -0400

wmadec: use float planar sample format output

:040000 040000 c828c1e7f0a8aa91eec2d01e37fb0e31f2592ca1 898f523b2f831eacdb3ec569178497cba474c309 M libavcodec

Re: Static audio playback for wmv formatted files

Posted: 01 Apr 2013 20:07
by Jean-Baptiste Kempf
Works with vlc.git, but not 2.0-git

Re: Static audio playback for wmv formatted files

Posted: 01 Apr 2013 21:17
by graysky
Works with vlc.git, but not 2.0-git
Yes, I too can verify this. Does that mean that we should re-open bug #8260 since the stable tree should not have this problem?

Re: Static audio playback for wmv formatted files

Posted: 01 Apr 2013 21:18
by Jean-Baptiste Kempf
You could, yes

Re: Static audio playback for wmv formatted files

Posted: 01 Apr 2013 21:31
by graysky
You could, yes
Thanks, I added comment #6 requesting it to be reopened but didn't see any formal way to do it: https://trac.videolan.org/vlc/ticket/8260#comment:6

Re: Static audio playback for wmv formatted files

Posted: 01 Apr 2013 21:34
by Jean-Baptiste Kempf
I just fixed it.

Re: Static audio playback for wmv formatted files

Posted: 01 Apr 2013 21:37
by graysky
I just fixed it.
Thank you! Building from git now and will report back.

EDIT: Yes! Worked.

Code: Select all

% vlc --version VLC media player 2.0.6 Twoflower (revision 2.0.5-165-g6355a18) VLC version 2.0.6 Twoflower (2.0.5-165-g6355a18) Compiled by graysky on localhost.localdomain (Apr 1 2013 15:44:56) Compiler: gcc version 4.7.2 (GCC) This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by the VideoLAN team; see the AUTHORS file.

Re: Static audio playback for wmv formatted files

Posted: 02 Apr 2013 00:07
by Jean-Baptiste Kempf
\o/