Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 310321

Summary: faac and faad USE flags don't work with media-video/ffmpeg-0.5_p21602
Product: Gentoo Linux Reporter: MATSUU Takuto (RETIRED) <matsuu>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.butsu-yoku.com/craving_explorer_bbs/bbs/read.cgi?no=2586
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ffmpeg-0.5_p21602-r1.patch

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