- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using IPP sample code 6.1.0.047. I compliled all the libraries and use them in my project.
I am running on linux Ubuntu.
Here are my Aac Params:
aacParams.m_info_in.sample_frequency = 48000;
aacParams.m_info_in.channels = 2;
aacParams.m_info_in.bitPerSample = 16;
aacParams.numThreads = iThreads;
aacParams.level = NULL;
aacParams.audioObjectType = AOT_AAC_LC;
aacParams.auxAudioObjectType = AOT_UNDEF;
aacParams.stereo_mode = UMC_AAC_LR_STEREO;
aacParams.ns_mode = 1;
aacParams.outputFormat = UMC_AAC_ADTS;
aacParams.m_info_out.bitrate = bRate;
aacParams.m_info_out.stream_type = UMC::AAC_MPEG4_STREAM;
aacParams.m_info_out.stream_subtype = UMC::AAC_LC_PROFILE;
the ecoder Initializes OK, encodes the first suggested Input size (4096) ok. it returns 19-20 bytes.
I reset DataIn and DataOut for next 4096 bytes and it get a Segmentation Fault in the GetFrame() call.
I have changed the parameter settings, have changed the buffer sizes to be to big, I don't know what to try next.
I have another encoder H264 which works just fine, the code is very similar to the aac encoder.
btw- I did have this working fine in windows, not sure what changed, my code, IPP libraries, sample code, ????
has anyone run into the same problem? Any suggestions?
Thanks for your time
Phil
I am running on linux Ubuntu.
Here are my Aac Params:
aacParams.m_info_in.sample_frequency = 48000;
aacParams.m_info_in.channels = 2;
aacParams.m_info_in.bitPerSample = 16;
aacParams.numThreads = iThreads;
aacParams.level = NULL;
aacParams.audioObjectType = AOT_AAC_LC;
aacParams.auxAudioObjectType = AOT_UNDEF;
aacParams.stereo_mode = UMC_AAC_LR_STEREO;
aacParams.ns_mode = 1;
aacParams.outputFormat = UMC_AAC_ADTS;
aacParams.m_info_out.bitrate = bRate;
aacParams.m_info_out.stream_type = UMC::AAC_MPEG4_STREAM;
aacParams.m_info_out.stream_subtype = UMC::AAC_LC_PROFILE;
the ecoder Initializes OK, encodes the first suggested Input size (4096) ok. it returns 19-20 bytes.
I reset DataIn and DataOut for next 4096 bytes and it get a Segmentation Fault in the GetFrame() call.
I have changed the parameter settings, have changed the buffer sizes to be to big, I don't know what to try next.
I have another encoder H264 which works just fine, the code is very similar to the aac encoder.
btw- I did have this working fine in windows, not sure what changed, my code, IPP libraries, sample code, ????
has anyone run into the same problem? Any suggestions?
Thanks for your time
Phil
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I finally got this thing to work. I used aac_enc_int library and include files instead of aac_enc library and includes.
Not sure why one works and the other does not..
Can anyone tell me what the difference is?
Not sure why one works and the other does not..
Can anyone tell me what the difference is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Phil,
I've submitted your question to engineering. Will post a reply when it becomes available.
Regards,
Paul
I've submitted your question to engineering. Will post a reply when it becomes available.
Regards,
Paul

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page