[MPlayer-users] flac files not showing bitrates, throwing off timing in statusline etc.
SciFi
sci-fi at hush.ai
Sun Jul 22 21:07:57 CEST 2007
Ok... the -identify report is showing useful info including a
decently valued bitrate. But that value is not being inserted into
the DECAUDIO fields -- instead we see
IDENTIFY: ID_AUDIO_BITRATE=blah
printed _twice_, the 2nd time with the offending 64000 value, which
obviously is what's being used elsewhere.
I ran mplayer this way (same file as in my earlier reply):
$ mplayer -msglevel
all=8:demux=9:demuxer=9:header=9:avsync=9:decaudio=6 -identify *.flac
CPLAYER: MPlayer
dev-SVNr23840-cc4.0.1-Darwin8.10.1-i386-iMac6,1-"Intel(R) Core(TM)2 CPU
T7400 @ 2.16GHz" (C) 2000-2007 MPlayer Team
CPUDETECT: CPU: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
(Family: 6, Model: 15, Stepping: 6)
CPLAYER: CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
CPLAYER: Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
CFGPARSER: this_opt = option: identify
CFGPARSER: Setting identify=01 - Space Shuffle , Chaos.flac
CFGPARSER: Adding file 01 - Space Shuffle , Chaos.flac
CFGPARSER: Adding file 02 - Antonio Montana , La Movida Pt. 1.flac
CFGPARSER: Adding file 03 - Pablo Gargano , Mornington Crescent.flac
CFGPARSER: Adding file 04 - Wild Bunch , Return Of Groove Lounge.flac
CFGPARSER: Adding file 05 - Control Freaks , Subspace Interference (Jan
Drivers' Stompin'Mix).flac
CFGPARSER: Adding file 06 - R.S.P. , Funkanoid (Huntemann Remix).flac
CFGPARSER: Adding file 07 - A3 , Imperial Forces.flac
CFGPARSER: Adding file 08 - Kobayashi , Release (Dub Mix).flac
CFGPARSER: Adding file 09 - Fluid Inc. , Unit 2.flac
CFGPARSER: Adding file 10 - Transa , Behind The Sun.flac
CFGPARSER: Adding file 11 - Canyon , Purple Phaze.flac
CFGPARSER: Adding file 12 - Gouryella , Gorella.flac
CFGPARSER: Adding file 13 - Arrakis , The Spice (Silent Breed Mix).flac
CFGPARSER: Adding file 14 - Mario Piu' & Mauro Picotto , Spectra (Mas Mix).flac
CFGPARSER: Adding file 15 - Tiësto, Montana & Storm , Bleckentrommel.flac
CFGPARSER: Adding file 16 - Aquaplex , Celebrating People.flac
CFGPARSER: Config pushed level is now 2
CFGPARSER: Config pushed level is now 3
GLOBAL: get_path('codecs.conf') -> '/Users/scifi/.mplayer/codecs.conf'
CODECCFG: Reading /Users/scifi/.mplayer/codecs.conf: Can't open
'/Users/scifi/.mplayer/codecs.conf': No such file or directory
CODECCFG: Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
CPLAYER: Using built-in default codecs.conf.
CPLAYER: Configuration: --prefix=/usr/local --enable-largefiles
--enable-menu --disable-rpath --enable-dynamic-plugins
--with-freetype-config=/usr/X11R6/bin/freetype-config
--with-sdl-config=/usr/bin/sdl-config --disable-cddb
--enable-color-console
CPLAYER: CommandLine: '-msglevel'
'all=8:demux=9:demuxer=9:header=9:avsync=9:decaudio=6' '-identify' '01
- Space Shuffle , Chaos.flac' '02 - Antonio Montana , La Movida Pt.
1.flac' '03 - Pablo Gargano , Mornington Crescent.flac' '04 - Wild
Bunch , Return Of Groove Lounge.flac' '05 - Control Freaks , Subspace
Interference (Jan Drivers' Stompin'Mix).flac' '06 - R.S.P. , Funkanoid
(Huntemann Remix).flac' '07 - A3 , Imperial Forces.flac' '08 -
Kobayashi , Release (Dub Mix).flac' '09 - Fluid Inc. , Unit 2.flac' '10
- Transa , Behind The Sun.flac' '11 - Canyon , Purple Phaze.flac' '12 -
Gouryella , Gorella.flac' '13 - Arrakis , The Spice (Silent Breed
Mix).flac' '14 - Mario Piu' & Mauro Picotto , Spectra (Mas Mix).flac'
'15 - Tiësto, Montana & Storm , Bleckentrommel.flac' '16 - Aquaplex ,
Celebrating People.flac'
OSD: init_freetype
GLOBAL: get_path('font/font.desc') -> '/Users/scifi/.mplayer/font/font.desc'
OSD: font: can't open file: /Users/scifi/.mplayer/font/font.desc
OSD: font: can't open file: /usr/local/share/mplayer/font/font.desc
OSD: Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
GLOBAL: get_path('fonts') -> '/Users/scifi/.mplayer/fonts'
CPLAYER: Using Darwin accurate timing
GLOBAL: get_path('input.conf') -> '/Users/scifi/.mplayer/input.conf'
INPUT: Can't open input config file
/Users/scifi/.mplayer/input.conf: No such file or directory
INPUT: Can't open input config file
/usr/local/etc/mplayer/input.conf: No such file or directory
INPUT: Falling back on default (hardcoded) input config
GLOBAL: get_path('01 - Space Shuffle , Chaos.flac.conf') ->
'/Users/scifi/.mplayer/01 - Space Shuffle , Chaos.flac.conf'
CPLAYER:
[[[init getch2]]]
CPLAYER:
Playing 01 - Space Shuffle , Chaos.flac.
GLOBAL: get_path('sub/') -> '/Users/scifi/.mplayer/sub/'
OPEN: [file] File size is 32976520 bytes
OPEN: STREAM: [file] 01 - Space Shuffle , Chaos.flac
OPEN: STREAM: Description: File
OPEN: STREAM: Author: Albeu
OPEN: STREAM: Comment: based on the code from ??? (probably Arpi)
STREAM: s->pos=0 newpos=0 new_bufpos=0 buflen=0
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUX: Checking for YUV4MPEG2
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
HEADER: ASF_check: not ASF guid!
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUX: Checking for NuppelVideo
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUX: Checking for REAL
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUX: Checking for SMJPEG
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUX: [mkv] no head found
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
DEMUX: Ogg demuxer : Bad page sync
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
STREAM: s->pos=1000 newpos=0 new_bufpos=0 buflen=0
DEMUXER: DEMUXER: freeing demuxer at 0x600d000
OPEN: Searching demuxer type for filename 01 - Space Shuffle ,
Chaos.flac ext: .flac
OPEN: Trying demuxer 17 based on filename extension
STREAM: s->pos=800 newpos=1000 new_bufpos=1248 buflen=0
DEMUXER: head_check failed
DEMUXER: ==> Found audio stream: 0
IDENTIFY: ID_AUDIO_ID=0
STREAM: s->pos=1800 newpos=0 new_bufpos=4 buflen=0
DEMUX: demux_audio: seeking from 0x8 to start pos 0x1248
STREAM: s->pos=800 newpos=1000 new_bufpos=1248 buflen=0
DEMUX: demux_audio: audio data 0x1248 - 0x1F72E88
DEMUXER: Audio file file format detected.
IDENTIFY: ID_FILENAME=01 - Space Shuffle , Chaos.flac
IDENTIFY: ID_DEMUXER=audio
IDENTIFY: ID_AUDIO_FORMAT=fLaC
IDENTIFY: ID_AUDIO_BITRATE=804056
IDENTIFY: ID_AUDIO_RATE=0
IDENTIFY: ID_AUDIO_NCH=0
IDENTIFY: ID_LENGTH=328.00
CPLAYER:
==========================================================================
DECAUDIO: Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
DECAUDIO: dec_audio: Allocating 192000 + 65536 = 257536 bytes for
output buffer.
DECAUDIO: FFmpeg's libavcodec audio codec
DECAUDIO: INFO: libavcodec init OK!
DECAUDIO: AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
IDENTIFY: ID_AUDIO_BITRATE=64000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
DECAUDIO: Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC
audio decoder)
CPLAYER:
==========================================================================
DECAUDIO: Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
AFILTER: [libaf] Adding filter pan
AFILTER: [pan] Pan level from channel 0 to channel 0 = 0.500000
AFILTER: [pan] Pan level from channel 1 to channel 0 = 0.500000
AFILTER: [libaf] Adding filter volnorm
AFILTER: [libaf] Adding filter format
AFILTER: [format] Changing sample format from little-endian 16-bit
signed int to little-endian 32-bit float
AFILTER: [format] Accelerated little-endian 16-bit signed int to
little-endian 32-bit float conversion
AFILTER: [format] Changing sample format from little-endian 16-bit
signed int to little-endian 32-bit float
AFILTER: [format] Accelerated little-endian 16-bit signed int to
little-endian 32-bit float conversion
AUDIOOUT: AO: [macosx] source: 44100.0Hz 32bit [lpcm] float LE U packed
AUDIOOUT: AO: [macosx] 4 mBytesPerPacket
AUDIOOUT: AO: [macosx] 1 mFramesPerPacket
AUDIOOUT: AO: [macosx] 4 mBytesPerFrame
AUDIOOUT: AO: [macosx] 1 mChannelsPerFrame
AUDIOOUT: AO: [macosx] using 44 chunks of 4096 bytes (buffer len
184320 bytes)
CPLAYER: AO: [macosx] 44100Hz 1ch floatle (4 bytes per sample)
CPLAYER: AO: Description: Darwin/Mac OS X native audio output
AO: Author: Timothy J. Wood & Dan Christiansen & Chris Roccati
DECAUDIO: Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/1ch/floatle...
AFILTER: [format] Changing sample format from little-endian 16-bit
signed int to little-endian 32-bit float
AFILTER: [format] Accelerated little-endian 16-bit signed int to
little-endian 32-bit float conversion
AFILTER: [format] Changing sample format from little-endian 16-bit
signed int to little-endian 32-bit float
AFILTER: [format] Accelerated little-endian 16-bit signed int to
little-endian 32-bit float conversion
IDENTIFY: ID_AUDIO_CODEC=ffflac
CPLAYER: Video: no video
CPLAYER: Freeing 0 unused video chunks.
CPLAYER: Starting playback...
AFILTER: [libaf] Reallocating memory in module format, old len = 0,
new len = 131076
AFILTER: [libaf] Reallocating memory in module pan, old len = 0, new
len = 65544
STATUSLINE: A: 16.2 (16.1) of 4122.0 ( 1:08:42.0) 0.6%
(btw I use monaural mixdowns to help my bad ears get equal
treatment. ;) these lines are in my ~/.mplayer/config :
noframedrop=yes
bandwidth=4194304
af-adv=force=5
af=pan=1:0.5:0.5,volnorm=2:1
ipv4-only-proxy=yes
prefer-ipv4=yes
... nothing that should bother this flac bitrate problem.)
Still poking around to see where that infernal 64000 (8000) is
coming from. This is really frustrating but keeps your brain
exercised. <g>
Thanks...
More information about the MPlayer-users
mailing list