Hi everyone :) I'm trying to create .mp4 files with uncompressed, linear PCM for audio in it. I know for quite a while already that FFmpeg doesn't allow that:
[mp4 @ 0x50cc780] Could not find tag for codec pcm_s16le in stream #0, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
In my research a few years ago I stumbled over a few sources saying that MP4 specs didn't allow LPCM for audio [1,2,3]. However, I know that some (Sony) video cameras do produce PCM in .mp4 container, and Wikipedia also lists LPCM as supported audio codec [4] in MP4. Experience has shown that "if FFmpeg can't/won't do it - there's a good reason" :) May I ask what that reason is? Thank you very much in advance for any insights, Peter B. # Links [1] https://stackoverflow.com/questions/17651975/unable-to-store-pcm-audio-in-mp... [2] https://forum.doom9.org/archive/index.php/t-140877.html [3] https://stackoverflow.com/questions/38309120/ffmpeg-mov-to-mp4-error-could-n... [4] https://en.wikipedia.org/wiki/Comparison_of_video_container_formats#Audio_fo...
On 7/4/19, Peter B. <pb@das-werkstatt.com> wrote:
Hi everyone :)
I'm trying to create .mp4 files with uncompressed, linear PCM for audio in it.
I know for quite a while already that FFmpeg doesn't allow that:
[mp4 @ 0x50cc780] Could not find tag for codec pcm_s16le in stream #0, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
In my research a few years ago I stumbled over a few sources saying that MP4 specs didn't allow LPCM for audio [1,2,3]. However, I know that some (Sony) video cameras do produce PCM in .mp4 container, and Wikipedia also lists LPCM as supported audio codec [4] in MP4.
Experience has shown that "if FFmpeg can't/won't do it - there's a good reason" :) May I ask what that reason is?
To follow papers. Use NUT container for storing raw audio and video.
Thank you very much in advance for any insights, Peter B.
# Links
[1] https://stackoverflow.com/questions/17651975/unable-to-store-pcm-audio-in-mp... [2] https://forum.doom9.org/archive/index.php/t-140877.html [3] https://stackoverflow.com/questions/38309120/ffmpeg-mov-to-mp4-error-could-n... [4] https://en.wikipedia.org/wiki/Comparison_of_video_container_formats#Audio_fo...
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Can you embed wav audio? I seem to remember doing that myself. On Thu, Jul 4, 2019 at 2:30 AM Peter B. <pb@das-werkstatt.com> wrote:
Hi everyone :)
I'm trying to create .mp4 files with uncompressed, linear PCM for audio in it.
I know for quite a while already that FFmpeg doesn't allow that:
[mp4 @ 0x50cc780] Could not find tag for codec pcm_s16le in stream #0, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
In my research a few years ago I stumbled over a few sources saying that MP4 specs didn't allow LPCM for audio [1,2,3]. However, I know that some (Sony) video cameras do produce PCM in .mp4 container, and Wikipedia also lists LPCM as supported audio codec [4] in MP4.
Experience has shown that "if FFmpeg can't/won't do it - there's a good reason" :) May I ask what that reason is?
Thank you very much in advance for any insights, Peter B.
# Links
[1]
https://stackoverflow.com/questions/17651975/unable-to-store-pcm-audio-in-mp... [2] https://forum.doom9.org/archive/index.php/t-140877.html [3]
https://stackoverflow.com/questions/38309120/ffmpeg-mov-to-mp4-error-could-n... [4]
https://en.wikipedia.org/wiki/Comparison_of_video_container_formats#Audio_fo...
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am Do., 4. Juli 2019 um 11:30 Uhr schrieb Peter B. <pb@das-werkstatt.com>:
I'm trying to create .mp4 files with uncompressed, linear PCM for audio in it.
It's allowed in mj2 which FFmpeg does not (currently) write. Carl Eugen
participants (4)
-
Carl Eugen Hoyos -
Le Chiffre -
Paul B Mahol -
Peter B.