Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2013 16:09:22 GMT
From:      Dimitri Semitsoglou-Tsiapos <kmhzsem@lavabit.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175800: mplayer2-2.0.20121103 cannot play .flac files.
Message-ID:  <201302031609.r13G9Mun003057@red.freebsd.org>
Resent-Message-ID: <201302031610.r13GA0Ba052984@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175800
>Category:       ports
>Synopsis:       mplayer2-2.0.20121103 cannot play .flac files.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 03 16:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dimitri Semitsoglou-Tsiapos
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD fbsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
mplayer2-2.0.20121103 is not able to play .flac files or embedded flac audio.

#mplayer -v "01 - filename.flac"
Reading config file /usr/local/etc/mplayer/mplayer.conf
: No such file or directory
get_path('') -> '/home/username/.mplayer/'
get_path('config') -> '/home/username/.mplayer/config'
Reading config file /home/username/.mplayer/config
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Athlon(tm) II X4 640 Processor (Family: 16, Model: 5, Stepping: 3)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
Compiled against libavutil version 51.73.101
Compiled against libavcodec version 54.59.100
Compiled against libavformat version 54.29.104
Compiled against libswscale version 2.1.101
get_path('codecs.conf') -> '/home/username/.mplayer/codecs.conf'
No optional codecs config file: /home/username/.mplayer/codecs.conf
No optional codecs config file: /usr/local/etc/mplayer/codecs.conf
163 audio & 362 video codecs
Using built-in default codecs.conf.
Configuration: --cc=cc --extra-cflags=-I/usr/local/include/ffmpeg1  -I/usr/local/include/portaudio2 --extra-ldflags=-L/usr/local/lib/ffmpeg1  -L/usr/local/lib/portaudio2 --mandir=/usr/local/man --disable-alsa --disable-liba52 --disable-directfb --disable-faad --disable-mng --disable-libdca --disable-xvid --disable-mpg123 --disable-musepack --disable-gif --disable-mad --disable-libdv --disable-speex --disable-jack --disable-pulse --disable-portaudio --disable-bluray --enable-dvdread --disable-smb --disable-libcdio --disable-ladspa --disable-win32dll --disable-qtx --disable-real --disable-tv-v4l1 --disable-tv-v4l2 --disable-gl --disable-xinerama --disable-vdpau --disable-rtc --disable-caca --disable-lirc --disable-joystick
CommandLine: '-v' '01 - filename.flac'
get_path('fonts') -> '/home/username/.mplayer/fonts'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/username/.mplayer/fonts'
[ass] Raster: FreeType 2.4.11
[ass] Shaper: FriBidi 0.19.2 (SIMPLE)
[ass] Initialized
get_path('fonts') -> '/home/username/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/username/.mplayer/subfont.ttf'
[ass] Updating font cache
Using nanosleep() timing
get_path('input.conf') -> '/home/username/.mplayer/input.conf'
[file] File size is 27 bytes
STREAM: [file] /home/username/.mplayer/input.conf
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Parsing input config file /home/username/.mplayer/input.conf
Input config file /home/username/.mplayer/input.conf parsed: 2 binds
get_path('01 - filename.flac.conf') -> '/home/username/.mplayer/01 - filename.flac.conf'

Playing 01 - filename.flac.
get_path('sub/') -> '/home/username/.mplayer/sub/'
[file] File size is 23341933 bytes
STREAM: [file] 01 - filename.flac
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: raw FLAC
Detected file format: raw FLAC (libavformat)
[flac @ 0x8038beda0]max_analyze_duration 5000000 reached at 5015510
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 61868 (0xF1AC)
Channels: 2
Samplerate: 44100
avg byte/sec: 0
Block align: 1
bits/sample: 0
cbSize: 34
Unknown extra header dump: [10] [0] [10] [0] [0] [0] [10] [0] [30] [b1] [a] [c4] [42] [f0] [0] [b0] [f2] [f8] [96] [7d] [4e] [1a] [57] [72] [b5] [c8] [e9] [7d] [c2] [de] [51] [a9] [13] [67] 
==========================================================================
[lavf] stream 0: audio (flac), -aid 0
LAVF: 1 audio and 0 video streams found
[ass] Raster: FreeType 2.4.11
[ass] Shaper: FriBidi 0.19.2 (SIMPLE)
[ass] Initialized
get_path('fonts') -> '/home/username/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/username/.mplayer/subfont.ttf'
[ass] Updating font cache
Clip info:
 ARTIST: artistname
 TITLE: filename
 ALBUM: albumname
 DATE: 2004
 track: 01
 GENRE: genrename
Load subtitles in .
get_path('sub/') -> '/home/username/.mplayer/sub/'
Opening audio decoder: [ffmpeg] libavcodec audio decoders
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
INFO: libavcodec "flac" init OK!
Unsupported sample format
Unsupported sample format
#<Few thousand lines of this message>
Unsupported sample format
Unsupported sample format
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ad_ffmpeg: initial decode failed
ADecoder init failed :(
Audio decoder init failed for codecs.conf entry "ffflac".
Opening audio decoder: [ffmpeg] libavcodec audio decoders
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
INFO: libavcodec "flac" init OK!
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ad_ffmpeg: initial decode failed
ADecoder init failed :(
Audio decoder init failed for codecs.conf entry "lavc".
Cannot find codec for audio format 0xF1AC.
Audio: no sound
Freeing 0 unused audio chunks.
Video: no video
Freeing 0 unused video chunks.


Exiting... (End of file)
>How-To-Repeat:
Attempt to play any .flac file.
>Fix:
An mplayer2 developer informed me that releases from that timeframe contained a bug which prevented mplayer2 from playing flac without libavresample.
Although this is no longer neccessary, he suggested that it is recommended to
have it built.

A version bump should fix the issue.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302031609.r13G9Mun003057>