Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Multimedia] ac3 -> aac o altro formato 5.1 compresso
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Tue Jul 26, 2005 7:58 am    Post subject: [Multimedia] ac3 -> aac o altro formato 5.1 compresso Reply with quote

Qualcuno ha provato a comprimere un file ac3 (5.1/6 canali)?
Ho installatro tutti i codec necessari, faad, faac, la parte per gstreamer, ma non riesco a comprimerlo o non riesco a leggerlo :(

oggenc da ac3 a ogg (specificando i 6 canali)
oggenc audio.ac3 -r -C6 -o audio.ogg

--> restituisce un file di solo rumore

faac
faac -q 100 -I 5,6 -P -R 48000 -C 6 -X audio.ac3 -o audio.aac

--> lo fa ma non riesco a leggerlo
totem dice:
Audio codec 'Advanced Audio Coding (MPEG-4 AAC)' is not handled.
mplayer fa solo rumore e se specifico -a hwac3
Code:

In riproduzione audio.aac
Cache fill:  3.16% (265031 bytes)    ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Rilevato formato file QuickTime/MOV!
--------------
MOV track #0: 5 chunks, 212 samples
Audio bits: 16  chans: 2  rate: 48000
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: mp4a
--------------
MOV: longest streams: A: #0 (212 samples)  V: #-1 (0 samples)
==========================================================================
Codec audio forzato: hwac3
Impossibile trovare il codec per il formato audio 0x6134706D!
Leggi DOCS/it/codecs.html!
==========================================================================
Audio: nessun suono!!!
Video: no video!!!


Qualcuno ha avuto più fortuna di me a comprimere/leggere un file audio 5.1?
_________________
Blog
E8400, 4850, P5q
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Tue Jul 26, 2005 11:52 am    Post subject: Re: [Multimedia] ac3 -> aac o altro formato 5.1 compresso Reply with quote

assente wrote:
oggenc audio.ac3 -r -C6 -o audio.ogg
faac -q 100 -I 5,6 -P -R 48000 -C 6 -X audio.ac3 -o audio.aac

Sicuro che agli encoder puoi passare direttamente un ac3?
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Tue Jul 26, 2005 12:36 pm    Post subject: Reply with quote

Tutti i dubbi che avevo sono stati chiariti qui
_________________
Blog
E8400, 4850, P5q
Back to top
View user's profile Send private message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Tue Jul 26, 2005 8:53 pm    Post subject: Reply with quote

direi che bisogna mettersi il cuore in pace per adesso:
Quote:
Q: What is the best way to create the Ogg Vorbis audio streams from my AC3 ?

A: Use HeadAC3he (http://www.doom9.org/Soft21/Audio/headac3he-0.22b.rar) or BeSweet (http://www.doom9.org/Soft21/Audio/BeSweetv1.3b9.zip) & OggMachine (http://www.doom9.org/Soft21/Audio/OggMachinev0.16.zip) .
It will allow you to transcode AC3 directly to Vorbis, even in multichannel ( 5.1 channel surround ).
Also, Tobias now has multichannel playback supported in the latest OggDS (http://www.doom9.org/Soft21/Filters/OggDS.exe), same goes for Peter's in_vorbis (http://www.blorp.com/~peter/in_vorbis.dll) plugin for winamp.
* BeSweet can also transcode WAV/MPx into Vorbis.


http://forum.doom9.org/archive/index.php/t-16964.html

:evil: Il bello e il brutto dell'Open Source, ci sono tanti framework gstreamer, vlc, mplayer, xine, ma uno deve sclerare tantissimo o rassegnarsi, speriamo che le cose cambino :evil:
_________________
Blog
E8400, 4850, P5q
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Wed Jul 27, 2005 12:54 pm    Post subject: Reply with quote

fammi capire, il metodo descritto nel thread che hai postato non funziona?

Code:
$ mplayer -vc dummy -vo null -ao pcm -nowaveheader -channels 6 -rawaudio on:format=0x2000 ac3_48k_diatonis_io_anfos.ac3
$ oggenc -q 4 -C 6 -R 48000 audiodump.pcm

_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Wed Jul 27, 2005 7:48 pm    Post subject: Reply with quote

Mi dice che "pcm -nowaveheader" è deprecato e non me lo fa, comunque anche se lo facesse non riuscirei a leggerlo.. su http://www.gordonmonro.com/download.html#surround ci sono degli ogg a 6 canali, ma mi legge solo il sinistro e il destro.

Riassumendo:
Come comprimere un AC3 a 6 canali (mantenendo tutti e 6 i canali per il sintoampli via SPDIF)?

AC3 -> OGG 6ch
- Non sono riuscito a farlo (mplayer, mencoder,..)
- Provando quelli già fatti mi legge solo sx e dx, niente 5.1
- Si risparmia praticamente nulla rispetto l'ac3 originale

AC3 -> AAC(MP4)
- Dovrebbe essere la via migliore x comprimere un AC3
- Sono riuscito a farlo, ma sento solo fruscio (faad faac)
- Provando quelli già fatti li sento solo in stereo

AC3 -> AC3(con bitrate diminuito)
- E' la via più semplice, cercate sul forum lo script "nrip"
- mantiene i 6 canali, quasi senza problemi
(guardate la sintassi dallo script, può capitare che vengano invertiti dei canali)

Questa è la mia conclusione provvisoria di una settimana di ricerche, se riuscite a fare/leggere AAC a 6 canali su linux fatemelo sapere.
_________________
Blog
E8400, 4850, P5q
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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