View previous topic :: View next topic |
Author |
Message |
neon l33t
Joined: 04 Aug 2003 Posts: 759 Location: Catania, Italy, Europe
|
Posted: Sat Feb 25, 2006 1:22 pm Post subject: MPlayer ed AAC [RISOLTO] (era faac) |
|
|
Ho alcuni file m4a (aac) che vorrei poter ascoltare con mplayer, l'ho compilato quindi con il supporto per aac (aggiungendo la use aac) ma quando cerco di aprire i file ecco cosa succede:
Code: | $ mplayer track01.cdda.m4a
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
AltiVec found
CPU: PowerPC
85 audio & 196 video codecs
Playing track01.cdda.m4a.
Cache fill: 16.46% (0 bytes)
Exiting... (End of file) |
Il tutto in qualche decimo di secondo... niente errori, sembra che non riconosca il file audio.
i file non sono corrotti perche' usando faad -w pippo.m4a > pippo.wav ottengo un file wav perfetto.
ricordo che in passato (vecchie installazioni) riuscivo tranquillamente a leggere aac con mplayer
Queste sono le mie USE
Code: | [ebuild R ] media-video/mplayer-1.0_pre7-r1 (-3dfx) (-3dnow) (-3dnowext) +X +aac -aalib +alsa +altivec -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb +dvd -dvdread -edl -encode -esd -fbcon -ggi +gif +gtk (-i8x0) +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo -mad -matroska -matrox (-mmx) (-mmxext) -mythtv -nas +nls (-nvidia) +opengl -oss +png (-real) -rtc +samba -sdl (-sse) (-sse2) (-svga) -tga -theora +truetype -v4l -v4l2 +vorbis (-win32codecs) -xanim -xinerama -xmms +xv -xvid (-xvmc) |
_________________ Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson
LINEE GUIDA DEL FORUM
Last edited by neon on Sat Feb 25, 2006 8:00 pm; edited 1 time in total |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Sat Feb 25, 2006 2:52 pm Post subject: |
|
|
Guarda nel man; dovrebbe esserci un'opzione per aumentare i messaggi, tipo --verbose. Inoltre potresti provare a specificare manualmente il driver audio (opzione oac?). Vado a tentoni perché non uso mplayer da qualche anno.
Ciao _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
neon l33t
Joined: 04 Aug 2003 Posts: 759 Location: Catania, Italy, Europe
|
Posted: Sat Feb 25, 2006 3:29 pm Post subject: |
|
|
Ok, il man dice:
Code: | -ac <[-]codec1,[-]codec2,...[,]>
Specify a priority list of audio codecs to be used, according to their codec
name in codecs.conf |
Credo intendessi questa dato che -oac funziona solo con mencoder.
Code: | $ mplayer -ac help | grep AAC
faad faad working FAAD AAC (MPEG2/MPEG4 Audio) decoder [libfaad2] |
Ok la lib c'e' e dovrebbe funzionare.
Code: | $ mplayer -v -ac faad track01.cdda.m4a
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
AltiVec found
CPU: PowerPC
85 audio & 196 video codecs
CommandLine: '-v' '-ac' 'faad' 'track01.cdda.m4a'
init_freetype
get_path('font/font.desc') -> '/home/neon/.mplayer/font/font.desc'
font: can't open file: /home/neon/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Unoptimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/neon/.mplayer/input.conf'
Can't open input config file /home/neon/.mplayer/input.conf: No such file or directory
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 59 binds
get_path('track01.cdda.m4a.conf') -> '/home/neon/.mplayer/track01.cdda.m4a.conf'
Playing track01.cdda.m4a.
[file] File size is 1380456 bytes
STREAM: [file] track01.cdda.m4a
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 9.28% (0 bytes)
Cache fill: 16.46% (0 bytes) Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename track01.cdda.m4a ext: .m4a
Checking for MOV
Checking for VIVO
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 69406, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=65529 size=155188438
LMLM4 Stream Format not found
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 1 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 2 MP3: 3
Not MPEG System Stream format... (maybe Transport Stream?)
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: no clue about this gibberish!
vo: x11 uninit called but X11 not inited..
Exiting... (End of file) |
Sembra che mplayer non trovi nessun tipo di audio nel file... ricordo che faad (l'eseguibile non le lib) decomprime tranquillamente i file.
Gli aac sono stati generati usando faac -b 192 input.wav -o output.m4a ed in passato non ricordo di aver dovuto passare parametri particolari _________________ Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson
LINEE GUIDA DEL FORUM |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Sat Feb 25, 2006 3:38 pm Post subject: |
|
|
neon wrote: | Code: | Not MPEG System Stream format... (maybe Transport Stream?)
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: no clue about this gibberish! |
Sembra che mplayer non trovi nessun tipo di audio nel file... |
A me sembra che si lamenti del video... anzi che si è fissato a trovare uno stream video; forse per qualche strano motivo nella conversione c'è finito uno stream video di lunghezza nulla. Probabilmente prima avevo preso l'approccio sbagliato: occorre dirgli di non provare ad aprire lo stream video... immagino qualcosa tipo '-vc null', ma come ti dicevo consulta il man perché io non ce l'ho.
Ciao _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
neon l33t
Joined: 04 Aug 2003 Posts: 759 Location: Catania, Italy, Europe
|
Posted: Sat Feb 25, 2006 7:59 pm Post subject: |
|
|
Risolto. MPlayer non c'entrava nulla, era il container che era sbagliato.
Non so per quale motivo ma faac era compilato senza supporto per gli mp4 (il pacchetto non ha use) quindi infilava lo stream dentro ADTS invece che in MP4, cosa che a quanto pare ad mplayer non garba molto.
L'ho riemerso e si e' sistemato da solo (ora ricordo di aver avuto lo stesso identico problema in passato)
Grazie Ferdinando _________________ Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson
LINEE GUIDA DEL FORUM |
|
Back to top |
|
|
|
|
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
|
|