[SOLVED] mplayer -current cant play "some" flac files
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Playing /root/Qbittorrent/Completados/Fleetwood Mac - The Very Best Of (2009) FLAC Soup/Disc 1/01. Monday Morning.flac.
libavformat version 56.40.101 (internal)
Audio only file format detected.
Load subtitles in /root/Qbittorrent/Completados/Fleetwood Mac - The Very Best Of (2009) FLAC Soup/Disc 1/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 56.60.100 (internal)
ADecoder init failed
ADecoder init failed
Cannot find codec for audio format 0x43614C66.
Audio: no sound
Video: no video
Exiting... (End of file)
mplayer -v
Quote:
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
in the other hand , have audacity , build against ffmpeg 3.0 , can play this file.
Last edited by USUARIONUEVO; 03-10-2016 at 04:58 PM.
Updating , mplayer to 1.3 build against ffmpeg-3.0 ...and .... voila!
Quote:
AC Soup/Disc 1/01. Monday Morning.flac'
MPlayer 1.3.0-5.3.0 (C) 2000-2016 MPlayer Team
Playing /root/Qbittorrent/Completados/Fleetwood Mac - The Very Best Of (2009) FLAC Soup/Disc 1/01. Monday Morning.flac.
libavformat version 57.25.100 (internal)
Audio only file format detected.
Load subtitles in /root/Qbittorrent/Completados/Fleetwood Mac - The Very Best Of (2009) FLAC Soup/Disc 1/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 57.24.102 (internal)
AUDIO: 44100 Hz, 2 ch, s16le, 1022.7 kbit/72.47% (ratio: 127840->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [sndio] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video Starting playback...
A: 12.3 (12.2) of 150.0 (02:30.0) 0.6%
mplayer -v
Quote:
MPlayer 1.3.0-5.3.0 (C) 2000-2016 MPlayer Team
Last edited by USUARIONUEVO; 03-10-2016 at 07:54 PM.
The weird thing is that this particular flac file plays fine with ffplay v2.8.6. And MPlayer v1.2.1 is built with ffmpeg v2.8.5. So I don't understand why mplayer is choking on this file.
Code:
bash $ ffplay -vf "scale=640x480" test-01.flac
ffplay version 2.8.6 Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 4.7.1 (GCC)
...
Input #0, flac, from 'test-01.flac':
Metadata:
TRACKTOTAL : 17
track : 1
TITLE : Monday Morning
ALBUM : The Very Best of Fleetwood Mac
ARTIST : Fleetwood Mac
GENRE : Rock
DISCTOTAL : 2
disc : 1
COMMENT : Soup
RELEASE DATE : 2009
...
Duration: 00:02:45.19, start: 0.000000, bitrate: 1022 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 3351x2923 [SAR 1:1 DAR 3351:2923], 90k tbr, 90k tbn, 90k tbc
...
So upgrading ffmpeg to v3.0 is not necessarily the right solution. Maybe there is problem with the way the internal ffmpeg is built in MPlayer v1.2.1.
xap/MPlayer-1.2_20160125-i586-2.txz: Rebuilt.
Rebuilt against ffmpeg-2.8.6.
Force lavf for flac because the native demuxer can't handle embedded album
art. As a bonus (or a regression) you'll also get album art if it exists.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.