Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310321 - faac and faad USE flags don't work with media-video/ffmpeg-0.5_p21602
Summary: faac and faad USE flags don't work with media-video/ffmpeg-0.5_p21602
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: http://www.butsu-yoku.com/craving_exp...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 07:15 UTC by MATSUU Takuto (RETIRED)
Modified: 2011-12-16 21:07 UTC (History)
0 users

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


Attachments
ffmpeg-0.5_p21602-r1.patch (ffmpeg-0.5_p21602-r1.patch,868 bytes, patch)
2010-03-20 07:16 UTC, MATSUU Takuto (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUU Takuto (RETIRED) gentoo-dev 2010-03-20 07:15:43 UTC
To enable faac(faad), --disable-encoder=aac(--disable-decoder=aac) are required for disable internal aac codec.


Reproducible: Always

Steps to Reproduce:
1. USE="-faac -faad" emerge ffmpeg && ffmpeg -y -i input.aac -f adts output.aac 2>&1 | grep channels
2. USE="faac faad" emerge ffmpeg && ffmpeg -y -i input.aac -f adts output.aac 2>&1 | grep channels
3. (patch applied) USE="faac faad" emerge ffmpeg && ffmpeg -y -i input.aac -f adts output.aac 2>&1 | grep channels
Actual Results:  
1.
    Stream #0.0: Audio: aac, 48000 Hz, 2 channels, s16, 83 kb/s
    Stream #0.0: Audio: aac, 48000 Hz, 2 channels, s16, 64 kb/s
2.
    Stream #0.0: Audio: aac, 48000 Hz, 2 channels, s16, 83 kb/s
    Stream #0.0: Audio: aac, 48000 Hz, 2 channels, s16, 64 kb/s
3.
    Stream #0.0: Audio: libfaad, 48000 Hz, 2 channels, s16, 83 kb/s
    Stream #0.0: Audio: libfaac, 48000 Hz, 2 channels, s16, 64 kb/s
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2010-03-20 07:16:38 UTC
Created attachment 224339 [details, diff]
ffmpeg-0.5_p21602-r1.patch
Comment 2 Luca Barbato gentoo-dev 2010-03-20 17:56:53 UTC
The patch is correct, from the bbs post seems that faad doesn't coexists nicely on purpose, I'm not sure if would be worth fixing it upstream.
Comment 3 Alexis Ballier gentoo-dev 2011-12-16 21:07:30 UTC
actually, you can force the codec you want with -acodec. no need to disable internal codecs for this, its just a matter of what default is used upstream -> worksforme