aac This ffmpeg function is being ran whilst the recording is still. Helpful information: A moov atom is data about the file (e.g timescale,duration) I know the inPath exists because I check that before executing ffmpeg command The outPath is also format. 5 years, 5 months ago Yes, It is possible to move the moov atom at beginning of the file refer : /a/44282151/6180077 4 years, 6 months ago command: ffmpeg -i input.mp4 -vcodec copy -acodec copy -movflags faststart output.mp4 Mentions siliconpi Salman A M. FFmpeg exited with rc: 1 mov,mp4,m4a,3gp,3g2,mj2 0x748964ea00 moov atom not found. how is that possible ? 6 years, 2 months ago It probably uses the HTTP Range header to request bytes from the end of the file. 6 years, 10 months ago android's video element can start playing video via http streaming even if the moov atom is at the end. To support this, I had to configure ffmpeg with the -enable-gpl -enable-libx264 options. Cheers! 9 years ago This worked for me only when I had the -codec:v libx264 arguments.
What you could do, prior to uploading, is move the moov file to the start of the video, it's more likely that the software only checks for the moov atom at the start of the file. It does a second pass and then the moov atom is moved to beginning. If the software only looks at the first part of the file, and the moov atom is at the end, it will not know how to deal with that file until the file upload is completed. 2 1 year, 12 months ago Related Topics ffmpeg mp4 video-streaming video-processing video-conversion Comments 10 years, 1 month ago This i more aptly a comment rather an answer.