Is it possible to store a pcm audio file into .mp4 file?
I used ffmpeg command "ffmpeg -i tempA.wav -acodec copy temp.mp4" but unable to store it in mp4 container file.
Input #0, wav, from 'tempA.wav':
Duration: 00:01:36.51, bitrate: 128 kb/s
Stream #0.0: Audio: pcm_s16le, 8000 Hz, 1 channels, s16, 128 kb/s
[mp4 @ 0x7d70e0] Tag [1][0][0][0]/0x00000001 incompatible with output codec id '65536'
Output #0, mp4, to 'temp.mp4':
Stream #0.0: Audio: pcm_s16le, 8000 Hz, 1 channels, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Could not write header for output file #0 (incorrect codec parameters ?)
Where in converting to .AVI (ffmpeg -i tempA.wav -acodec copy temp.avi) & .MOV (ffmpeg -i tempA.wav -acodec copy temp.mov) file formats works perfectly fine.