- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hello,
My device delivers raw AAC frames. They are not packed into ATDS or MP4. Can I decode them using UMC::AACDecoder from IPP 5.2 ?
My device delivers raw AAC frames. They are not packed into ATDS or MP4. Can I decode them using UMC::AACDecoder from IPP 5.2 ?
Link kopiert
2 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hello,
there is comment from our expert:
Intel IPPAAC decoder supports 3 packed formats ADIF, ADTS and MP4. For decoder initialization it is necessary to know sampling frequency and Audio Object Type so at least one frame (the first) should has header. If you know sampling frequency and Audio Object Type you can add one ADIF header to the first frame or ADTS header to all frames.
Regards,
Vladimir
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks,
I found the previous post on AAC on this forum and that solution worked for me. I couldn't understand it on first time, so I'll repeat codec initialization steps below :
MediaData *m_in;
AudioData *m_out;
...
AACDecoderParams cParams;
cParams.m_info_in.stream_type = AAC_MPEG4_STREAM;
...
m_pDecoder->Init( &cParams );
BYTE AudioSpecificConfig[2] = { 0x14, 0x10 }; // profile, sampling rate, channels
m_in->SetBufferPointer( AudioSpecificConfig, 2 );
m_in->SetDataSize( 2 );
m_pDecoder->GetFrame( m_in, m_out /*unused*/ ); // returns UMC_ERR_SYNC
If several frames are packed into single chunk decoder sources have to be modified as in previous post.
I found the previous post on AAC on this forum and that solution worked for me. I couldn't understand it on first time, so I'll repeat codec initialization steps below :
MediaData *m_in;
AudioData *m_out;
...
AACDecoderParams cParams;
cParams.m_info_in.stream_type = AAC_MPEG4_STREAM;
...
m_pDecoder->Init( &cParams );
BYTE AudioSpecificConfig[2] = { 0x14, 0x10 }; // profile, sampling rate, channels
m_in->SetBufferPointer( AudioSpecificConfig, 2 );
m_in->SetDataSize( 2 );
m_pDecoder->GetFrame( m_in, m_out /*unused*/ ); // returns UMC_ERR_SYNC
If several frames are packed into single chunk decoder sources have to be modified as in previous post.
Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite