Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[resolu][ffmpeg] support mp3 - comment l'ajouter ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
thibotus01
n00b
n00b


Joined: 13 Feb 2007
Posts: 44

PostPosted: Sun Dec 02, 2007 10:49 am    Post subject: [resolu][ffmpeg] support mp3 - comment l'ajouter ? Reply with quote

Bonjour,

Je n'arrive pas à installer le support mp3 pour ffmpeg, donc impossible d'encoder avec le codec MP3 (Unsupported codec for output stream #0.1)

Code:
ffmpeg -formats | grep mp3


FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-static --enable-shared --cc=i686-pc-linux-gnu-gcc --disable-altivec --disable-debug --disable-audio-oss --disable-v4l --disable-v4l2 --disable-dv1394 --disable-network --disable-ffplay --disable-opts --enable-libxvid --enable-gpl --enable-pp --disable-strip
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Dec 2 2007 11:40:07, gcc: 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
DE mp3 MPEG audio layer 3
D A mp3
D A mp3adu
D A mp3on4


Je devrais avoir : DEA mp3


J'ai essayé en faisant
Code:
emerge lame

Et en mettant -acodec libmp3lame, mais il ne reconnait pas le codec...

Comment faire ? je suis à bout...


Last edited by thibotus01 on Sun Dec 02, 2007 3:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Deusexodus
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2005
Posts: 124
Location: Paris

PostPosted: Sun Dec 02, 2007 11:32 am    Post subject: Reply with quote

Ajout de mp3 dans le USE du /etc/make.conf ?
_________________
Lenovo x220 | Lenovo S12 | Hp mini 2133 | Via VB8001
Back to top
View user's profile Send private message
thibotus01
n00b
n00b


Joined: 13 Feb 2007
Posts: 44

PostPosted: Sun Dec 02, 2007 11:48 am    Post subject: Reply with quote

Code:
USE="-curl -X mmx sse sse2 mp3 -gtk -sdl -nptl -xpm"


Comme ca ? J'ai déjà fait, jai unmerge et emerge ffmpeg, ca ne change rien...
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sun Dec 02, 2007 1:34 pm    Post subject: Re: [ffmpeg] support mp3 - comment l'ajouter ? Reply with quote

thibotus01 wrote:
J'ai essayé en faisant
Code:
emerge lame

Et en mettant -acodec libmp3lame, mais il ne reconnait pas le codec...

A mon avis, il faudrait recompiler ffmpeg après avoir emergé lame
Back to top
View user's profile Send private message
thibotus01
n00b
n00b


Joined: 13 Feb 2007
Posts: 44

PostPosted: Sun Dec 02, 2007 1:39 pm    Post subject: Reply with quote

J'avais refais unmerge et emerge de ffmpeg après lame, mais pareil...
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sun Dec 02, 2007 1:47 pm    Post subject: Reply with quote

As-tu activé le useflag "encode" pour ffmpeg ? (emerge -pv ffmpeg ...)
Back to top
View user's profile Send private message
thibotus01
n00b
n00b


Joined: 13 Feb 2007
Posts: 44

PostPosted: Sun Dec 02, 2007 2:32 pm    Post subject: Reply with quote

Non c'est à dire ? Je ne comprend pas bien
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Sun Dec 02, 2007 2:36 pm    Post subject: Reply with quote

Be careful, il me semble avoir lu Alexis récemment : la version instable de ffmpeg ne serait pas compatible avec je sais plus quoi, tout le tralala.
Bref, je sais pas quelle version tu compiles, mais tente la stable.
_________________
Full Gentoo powered.
Back to top
View user's profile Send private message
thibotus01
n00b
n00b


Joined: 13 Feb 2007
Posts: 44

PostPosted: Sun Dec 02, 2007 2:39 pm    Post subject: Reply with quote

Code:
USE="encode" emerge ffmpeg


Ca marche maintenant :) Ca encode bien... Merci !

Ca a installé la ffmpeg-0.4.9_p20070616
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sun Dec 02, 2007 2:50 pm    Post subject: Reply with quote

@Temet : pourrais-tu retrouver ce message d'Alexis ?
Perso, j'ai la dernière version testing et, jusqu'ici, je n'ai constaté aucun problème particulier.
thibotus01 wrote:
Non c'est à dire ? Je ne comprend pas bien

Dans l'ebuild de ffmpeg, je vois ceci :
Quote:
# disabled by default
if use encode
then

myconf="${myconf} --enable-libmp3lame"
use vorbis && myconf="${myconf} --enable-libvorbis --enable-libogg"
use theora && myconf="${myconf} --enable-libtheora --enable-libogg"
fi

Si tu veux que libmp3lame soit pris en compte, il faut que tu actives le USE "encode", soit globalement dans /etc/make.conf, soit uniquement au niveau ffmpeg dans /etc/portage/package.use ;)
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sun Dec 02, 2007 3:22 pm    Post subject: Reply with quote

thibotus01 wrote:
Code:
USE="encode" emerge ffmpeg


Ca marche maintenant :) Ca encode bien... Merci !

Oups, j'avais zappé ta réponse :oops:

Ta méthode marche, c'est sûr ... sauf qu'elle est fortement déconseillée vu qu'à la prochaine mise à jour de ffmpeg, le USE sera à nouveau désactivé. Utilise plutôt les fichiers /etc/make.conf ou /etc/portage/package.use ! ;)
Back to top
View user's profile Send private message
thibotus01
n00b
n00b


Joined: 13 Feb 2007
Posts: 44

PostPosted: Sun Dec 02, 2007 3:25 pm    Post subject: Reply with quote

oki merci :)
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772

PostPosted: Sun Dec 02, 2007 3:26 pm    Post subject: Reply with quote

N'oublie pas le (résolu) ;)
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Sun Dec 02, 2007 5:04 pm    Post subject: Reply with quote

Pour ghoti : https://forums.gentoo.org/viewtopic-t-618323-highlight-ffmpeg.html
(en fait, c'est pour le xvid... je me rappelais juste de l'histoire arch/~arch)
_________________
Full Gentoo powered.
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sun Dec 02, 2007 5:23 pm    Post subject: Reply with quote

@Temet : ok, merci : même si je suis en full ~ARCH, c'est toujours bon à savoir !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum