Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298428 - media-video/ffmpeg-0.5_p20373 incorrect audio rate output
Summary: media-video/ffmpeg-0.5_p20373 incorrect audio rate output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-26 11:56 UTC by Nick White
Modified: 2010-10-09 13:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick White 2009-12-26 11:56:19 UTC
After upgrading from 0.5-r1 to 0.5_p20373, the -ar audio rate option doesn't appear to be working correctly. It seems to be outputting at half the audio rate that I specify. I'm not positive of this, as I don't have good tools to check what's coming out, but here's what's happening.

I have a tospeex command, which does the following:

ffmpeg -i - -vn -f s16le -ar 32000 - \
< "$1" \
| speexenc --stereo --le --16bit --rate 32000 - - \
> "$speexout" || exit 1

With the previous version of ffmpeg (0.5-r1), this worked great. However now the audio is 2   times too fast, so I have to change the speexenc --rate to 16000, which then works fine.

I wanted to try with the latest svn, but due to x264 version problems gave up.
Comment 1 Alexis Ballier gentoo-dev 2010-10-09 13:52:32 UTC
it appears to be working fine with ffmpeg-0.6_p25423, closing