Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189697 - media-video/ffmpeg doesn't read small flac files (below ~70k)
Summary: media-video/ffmpeg doesn't read small flac files (below ~70k)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 12:40 UTC by Pierre "LiLo" Gaxatte
Modified: 2009-07-09 16:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,3.42 KB, text/plain)
2007-08-21 12:40 UTC, Pierre "LiLo" Gaxatte
Details
bad1.flac: Not working with ffmpeg and mplayer, but with flac123, no problem (bad1.flac,20.05 KB, audio/x-flac)
2007-08-21 12:41 UTC, Pierre "LiLo" Gaxatte
Details
good1.flac: Works with ffmpeg (ffplay), mplayer and flac123 (good1.flac,72.62 KB, audio/x-flac)
2007-08-21 12:42 UTC, Pierre "LiLo" Gaxatte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre "LiLo" Gaxatte 2007-08-21 12:40:12 UTC
ffplay and mplayer both report an error when trying to read the small flac file included but flac123 and xine (without gst) can read.

The test files come from a drum kit in hydrogen and hydrogen is able to play them all too.

Reproducible: Always

Steps to Reproduce:
1. Read a flac sound file smaller than 70k with ffplay

Actual Results:  
For any of the files below 70k I included, no sound is played and:

* ffplay reports:
[flac @ 0xb7eca130]Could not find codec parameters (Audio: flac)
bad3.flac: could not find codec parameters

* mplayer reports:
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.86GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing bad3.flac.
Audio file file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Cannot find codec for audio format 0x43614C66.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video


Exiting... (End of file)

Expected Results:  
Play the files.

Same results have been noticed with:
media-video/ffmpeg-0.4.9_p20070616-r1
media-video/ffmpeg-0.4.9_p20070330
media-video/ffmpeg-0.4.9_p20070330

and using media-video/mplayer-1.0.20070622-r1
Comment 1 Pierre "LiLo" Gaxatte 2007-08-21 12:40:31 UTC
Created attachment 128770 [details]
emerge --info
Comment 2 Pierre "LiLo" Gaxatte 2007-08-21 12:41:32 UTC
Created attachment 128772 [details]
bad1.flac:
Not working with ffmpeg and mplayer, but with flac123, no problem
Comment 3 Pierre "LiLo" Gaxatte 2007-08-21 12:42:09 UTC
Created attachment 128773 [details]
good1.flac:
Works with ffmpeg (ffplay), mplayer and flac123
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-09 16:21:05 UTC
I was able to play your bad1.flac with recent FFmpeg..

If this is still a problem with up-to-date system, please reopen