Questions tagged [adts]

This tag is for questions about playback of, creation of, and programmatic interaction with, Audio Data Transport Stream (*.adts) files.

Audio Data Transport Stream (ADTS) is a audio streaming format, consisting of a series of AAC audio frames, each frame having a header followed by the AAC audio data.

More details at http://en.wikipedia.org/wiki/Advanced_Audio_Coding#Container_formats

26 questions
1
vote
0 answers

Android MediaExtractor fails to add track for a valid AAC file

Using MediaExtractor with AAC-LC file obtained from MediaRecorder : `val mediaExtractor = MediaExtractor() mediaExtractor.setDataSource(filePath) val trackCount = mediaExtractor.trackCount` The track count is 0 for some of the files…
1
vote
1 answer

ffmpeg: How to convert AAC audio packets to ADTS format

I am trying to write a C program that demuxes audio from an MP4 file and write demuxed AVPacket data to a file. But the resulting dump is missing ADTS headers. Any pointers on what is the best way to add ADTS headers. I see that ffmpeg has…
Malik
  • 87
  • 3
  • 11
1
vote
1 answer

AVAudioPlayer M4A file converted from AIFF produces different latency than M4A converted from ADTS AAC

While working on a rhythm music game, I noticed that AVAudioPlayer has a latency between the reported .currentTime and the actual location within an audio file, that varies according to the file format. For instance, playing an .m4a file will…
yonix
  • 11,665
  • 7
  • 34
  • 52
0
votes
1 answer

Can anyone tell me how to perform audio recording in adts raw aac format in ice cream sandwich

Ice cream sandwich has new feature of supporting audio recording in adts raw aac format but i am not able to find the api for it on developer.android.com? Can anyone tell me how i can develop an application for recording audio in adts raw aac format…
0
votes
0 answers

How do you convert AAC_ADTS files to WAV files in Kotlin for Android Studio?

I have a few files from MediaRecorder() that I want to convert into WAV files (or preferably into CSV files), but I can't find any library on github that can convert between the two for Kotlin. WAV is also not a supported type of Audio file for…
0
votes
0 answers

Calculating duration of AAC file in seconds

I am trying to parse an AAC file programatically, without external media libraries, and I can't figure out how to calculate the duration in seconds of the whole audio sample. I have parsed the ADTS header based on its specifications, so I have the…
Costin_T
  • 786
  • 1
  • 8
  • 27
0
votes
0 answers

Problem understanding audio stream number of samples when decoded with ffmpeg

The two streams I am decoding are an audio stream (adts AAC, 1 channel, 44100, 8-bit, 128bps) and a video stream (H264) which are received in an Mpeg-Ts stream, but I noticed something that doesn't make sense to me when I decode the AAC audio frames…
Michael Brown
  • 1,585
  • 1
  • 22
  • 36
0
votes
0 answers

recording ADTS AAC Audio using AudioRecord and MediaCodec on Android but no sound when playback

i am trying to record audio in ADTS AAC but when recording all things going good (file is correctly create with good format an data are showing fill inside) but no sound are playing when try to open with player like VLC . can anyone please help me…
Sandy
  • 1
  • 3
0
votes
0 answers

AAC extradata and extradata_size is not sent over UDP

I am using below command to transcode audio from static file which contains extradata. ./ffmpeg -re -y -loglevel info -loglevel verbose -err_detect careful -f mpegts -i -c:v copy -c:a aac -f mpegts "udp://127.0.0.1:2567" When I run…
diS
  • 81
  • 2
  • 9
0
votes
2 answers

OpenJDK7: What essential ADTs are not Implemented in OpenJDK7?

What Abstract Datatypes should be added to OpenJDK7 ?
Ande Turner
  • 7,096
  • 19
  • 80
  • 107
0
votes
1 answer

MPEG ADTS format identification

I need detect whether file is MPEG ADTS file. I've searched for it around but whether I seek badly or something else but I can't find signature using which I could have said surely that certain file has MPEG ADTS format. E.g. we can say for sure…
Tebe
  • 3,176
  • 8
  • 40
  • 60
1
2