4

I have this ffmpeg command:

ffmpeg -i testing.m4a -acodec pcm_s16le -f rawvideo tentative.raw

I'd like to know the command to convert tentative.raw back to testing.m4a.

1 Answer 1

3

I just found a way of doing it.

ffmpeg -f s16le -sample_rate 16000 -channels 2 -i tentative.raw -c:a aac testing.m4a

If your ffmpeg is outdated you may need to add -strict experimental to encode with the native FFmpeg AAC encoder (-c:a aac).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.