I want to decode some audio streams in the format aac. I already found an example of MP3 and MP2 decoding here: http://ffmpeg.org/doxygen/trunk/decoding__encoding_8c-source.html at line 236. But this code doesn't work for files in the format aac. I only want the raw data, so the decoding from aac into raw data, but i don't find anything. Anyone here with help? With the demuxing.c code: http://www.ffmpeg.org/doxygen/trunk/doc_2examples_2demuxing_8c-example.html the aac data decodes, but I can't play it. I often read that it don't decode in the pcm s16le format?
2
There are 2 answers
Related Questions in FFMPEG
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Converting MP3/MP4 to WAV in the Frontend Using ffmpegwasm with Next.js Results in Module Not Found Error
- Get remote MKV file metadata using nodejs
- After using ffmpeg to remove some streams in mkv file, it takes much longer to open the media file in potplayer in Windows
- Implementing trim and fade filters with ffmpeg - MP3
- Merge Azure mp4 blobs via API (Preferred Azure)
- Overlaying frame number with ffmpeg
- Merge (concat) all video file present in '43. DP (Part1)' and put it into '43. DP (Part1)' and give name merged (concat) file to folder name
- I get an error when republishing the image I shot with ros2 run ffmpeg
- libav audio latency / cannot set audio_buffer_size
- An error occurred after encoding with h264_nvenc
- ffmpeg - excerpt from a large video file, preserving its additional streams
- Babel Loader error when using ffmpeg.wasm in CRA react app
- define the input FPS of a stream using ffmpeg-python
- NodeJS stream MKV as MP4 video
Related Questions in DECODE
- I get an error when republishing the image I shot with ros2 run ffmpeg
- Best way to create a conditional SQL query? CASE, DECODE, or IF/THEN?
- How to convert n most significant bits in a hexadecimal byte string in Python 3
- abinitio cant decode encoded sha256 value
- Swift decoding error types inconsistency with `Bool` type
- Receiving play integrity token, trouble decrypting on compactjws step
- Challenge flow 3ds Secure 2 cRes decode
- How to properly decode the image from encoded image text from a live ANPR Camera stream?
- How can WSL Python correctly decode Unicode characters coming from the output of a PowerShell subprocess?
- PHP Get value from Json decode Response
- Base 64 : Illegal base64 character 3 Exception
- NextJS decode google auth id_token
- Decode h264 frame using android hardware accelerated decoder in gstreamer
- Why can't read the correct data in python with modbus?
- Why is my python code (extract below) not decoding base64?
Related Questions in PCM
- Convert AMRWB IO Raw speech data to wav file
- Using MAX 9814 PCM data to create a .WAV file
- RPi Linux Audio driver for 8 channels Codec
- Clicking/distortion noise at start of mixed audio in java
- BlueALSA loopback - PCM write
- Pcm to decibel conversion in esp-idf using pdm microphone
- Playing AAC stream in AVAudioEngine
- How to convert Float32Array PCM data into Uint8Array?
- Identify and Decode Opus stream to PCM
- I can't seem to play an audio file in my C# .NET Windows Form programm
- How to save to disk as audio/PCMA
- Web and C# realtime audio via ws
- Clarification about μ-law companding
- I'm trying to convert ulaw PCM to Linear PCM in Java
- Calculate audio time from RecordRTC blob
Related Questions in AAC
- How to re-encode an audio to match another one, to avoid re-encoding the whole audio
- moviepy introducing weird audio artifacts at end of audio files, when creating videos via Python. Why?
- What are some correct settings to encode an audio byte stream (from mic) into AAC in an android app
- How to convert or play AAC-LC file in windows forms, with C#?
- iOS AudioConverter exceeds maximum packet size (2048) for input format
- .aac audio doesn't continue playing in mediasource
- How can I convert an aac encoded octet-stream into a wav in swift
- ExtAudioFileOpenURL & AVAudioFile unable to read .aac file
- unable to upload .aac file
- Encode and stream raw audio over RTP/RTSP using FDK-AAC
- How do you convert AAC_ADTS files to WAV files in Kotlin for Android Studio?
- Android MediaExtractor not removing ADTS headers from AAC stream. Or is it not its responsibility?
- libav audio transcoding producing noise
- ERROR "Application provided invalid, non monotonically increasing dts to muxer in stream 1: 6874 >= 6874" while writing encoded output to an mp4 file
- Some Queries on HLS Independent Segments and AAC codec?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It would probably be easier to use libavformat to configure your codecContext for you rather than manually.
If it decodes to something than s16le, you can use swresample to change the sample format to anything you want.
If you are struggling with libav*, you should probably now be looking at the examples you provided. They assume you know a lot about media decoding already. The http://dranger.com/ffmpeg tutorial may be better for you.