Sound Issues with some .flv

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
joaoalt
New Cone
New Cone
Posts: 3
Joined: 02 Dec 2013 20:49

Sound Issues with some .flv

Postby joaoalt » 07 Feb 2014 11:32

Hello.

I use RTMPDump to grab sports videos, but VLC doesn't play the sound correctly (sound volume is messy). Other software play it OK but I prefer to use VLC. Here is a sample of a video with that problem:

http://www60.zippyshare.com/v/33051220/file.html

Any Ideas?

Lotesdelere
Cone Master
Cone Master
Posts: 9943
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Sound Issues with some .flv

Postby Lotesdelere » 07 Feb 2014 12:33

That's an interesting sample, 3-channel AAC is quite unsual.

However I'm getting the same volume pumping up and down problem with every player I've tried.
What player is playing it fine ?

joaoalt
New Cone
New Cone
Posts: 3
Joined: 02 Dec 2013 20:49

Re: Sound Issues with some .flv

Postby joaoalt » 07 Feb 2014 13:34

Hi Lotesdelere, thanks for your reply.

The third channel might be the game commentary which sometimes is optional. I suspect that the third channel might be the issue origin.
Both MPC-HC and SMPlayer can handle the audio fine.

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

Re: Sound Issues with some .flv

Postby bat999 » 08 Feb 2014 17:32

Hi
Maybe it's because VLC uses faad, and faad doesn't seem to decode 3 channel aac well.

MPlayer uses:-
'Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))'
VLC uses:-
'main decoder debug: using decoder module "faad"'
*******************************
Note.
My installed MPlayer is configured with faad support.
'Checking for FAAD2 support ... yes'
It chooses to use FFmpeg's native aac decoder instead of faad with the sample file provided, but maybe it still needs to use faad for 'difficult' aac that FFmpeg can't decode (yet).
*******************************

This is what I did...
Extract the 3 channel aac audio track from testfile.flv:-

Code: Select all

cvlc testfile.flv --sout="#transcode{vcodec=none}:std{access=file,mux=mp4,dst='testfile.m4a'}" vlc://quit
Result, testfile.m4a plays OK with MPlayer, but sounds bad with VLC.

Convert the m4a file to wav using FFmpeg and faad:-

Code: Select all

ffmpeg -i testfile.m4a outfile1.wav

Code: Select all

faad -o outfile2.wav testfile.m4a
Result, outfile1.wav plays OK with both MPlayer and VLC but outfile2.wav sounds bad with both MPlayer and VLC.
*******************************
Programs used:-
VLC media player 2.0.9 Twoflower (revision 2.0.8+git20131210+r49167+4+5~ubuntu12.04.1)
MPlayer SVN-r36766-4.6
ffmpeg version git-2014-02-04-c93e691
faad Ahead Software MPEG-4 AAC Decoder V2.7 Build: Nov 7 2013
*******************************
Results are here ---> http://www.mediafire.com/download/m2l54 ... les.tar.xz

joaoalt
New Cone
New Cone
Posts: 3
Joined: 02 Dec 2013 20:49

Re: Sound Issues with some .flv

Postby joaoalt » 08 Feb 2014 20:41

u're a genius, I tried to delete libfaad_plugin.dll from vlc codec folder and it works like a charm. perfect, thanks a lot for your help!

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

Re: Sound Issues with some .flv

Postby bat999 » 09 Feb 2014 03:38

... delete libfaad_plugin.dll from vlc codec folder...
Good thinking. :lol:
It's a workaround for Windows users. 8)
Probably it would be OK to re-name the file XXXlibfaad_plugin.dll in case you need it again some time. :?

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: Sound Issues with some .flv

Postby Jean-Baptiste Kempf » 09 Feb 2014 11:42

You can also force it with --codec avcodec
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: Sound Issues with some .flv

Postby bat999 » 09 Feb 2014 15:49

You can also force it with --codec avcodec
And with the GUI...
Tools > Preferences > All > Input/Codecs > Preferred decoders list

Image


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 92 guests