Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193085 - media-video/ffmpeg-0.4.9 with "encode" and "x264" flags does not install h264 encoder
Summary: media-video/ffmpeg-0.4.9 with "encode" and "x264" flags does not install h264...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 16:22 UTC by Boyan Ivanov
Modified: 2007-09-19 17:35 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 Boyan Ivanov 2007-09-19 16:22:23 UTC
When emerging ffmpeg-0.4.9_p20070616-r1 with these flags in /etc/portage/package.use : media-video/ffmpeg x264 theora encode,  I get a message from the x264 package saying :
 * Please note that this package now only installs
 * x264-svn libraries. In order to have the encoder,
 * please emerge media-video/x264-svn-encoder
I believe ffmpeg should emerge x264-svn-encoder when I have set the encode flag.

Reproducible: Always

Steps to Reproduce:
1.emerge ffmpeg with these flags : x264 theora encode
2.
3.

Actual Results:  
The x264 encoder is not installed

Expected Results:  
The x264 encoder should be installed
Comment 1 Alexis Ballier gentoo-dev 2007-09-19 17:00:39 UTC
hu ? this message is not from ffmpeg but media-libs/x264-svn.
ffmpeg can use x264 lib to encode, but of course does not provide 'x264' binary that is in x264-svn-encoder.

In fact those packages have been split due to circular deps with ffmpeg... so no way we add a dep.
Comment 2 Boyan Ivanov 2007-09-19 17:15:33 UTC
Well, I think that when I set the "encode" flag I should be able to encode files. Am I wrong ?
And is it so difficult to add a dependency just like an ordinary if(flagX264.isSet() && flagEncode.isSet())?
I'm not into ebuilds, but I think it's realy easy to implement.
Comment 3 Alexis Ballier gentoo-dev 2007-09-19 17:22:48 UTC
(In reply to comment #2)
> Well, I think that when I set the "encode" flag I should be able to encode
> files. Am I wrong ?
> And is it so difficult to add a dependency just like an ordinary
> if(flagX264.isSet() && flagEncode.isSet())?
> I'm not into ebuilds, but I think it's realy easy to implement.
> 

you can encode with ffmpeg, that's what your useflags mean, don't they ?

see bug #142854 why I don't want to add a dep, regardless whether it makes sense or not.
Comment 4 Boyan Ivanov 2007-09-19 17:35:31 UTC
Well, I see your reasons, but you could at least add a message saying the reason this flag installs just a decoder, and no coder. This way, your ebuild does not depend on the message from the x264 ebuild.