I want to be able to listen to the content already recorded. The file contains Opus stream in MP4 container and it is recorded from Internet using ffmpeg (4.4.2).
$ ffprobe -hide_banner file.m4a
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa9000800] moov atom not found
file.m4a: Invalid data found when processing input
ffmpeg -i source.mp4 -vn audio.wav && ffmpeg -i audio.wav audio.m4a
That should recover the audio. Video must be re-encoded to fix a missing moov.ffmpeg -i source.mp4 -c:v libx264 -c:a aac -crf 10 -preset ultrafast -shortest -movflags +faststart re-encode.mkv