Hot answers tagged ffmpeg
As per a comment here, removing the -r flag ought to do this properly. You have another -r flag for the input, also. Remove both of them, and it should properly copy the stream as it is into a new container; you may need to remove that -an (disable audio) switch, too. I'm not sure on that: ffmpeg -y -i full-ts.ts -c:v copy full.mp4 If that fails, also per ...
There is a space missing in -tune fastdecode-c:a libfdk_aac, so FFmpeg thinks the value of tune is fastdecode-c:a and thus the next word is the output filename. Insert space after fastdecode.
Based on all info, it looks like the difference occurs with FFmpeg's internal MPEG-4 part 2 encoder, whose use can be identified by the string mpeg4 (native) after the 2nd arrow in Stream #0:0 -> #0:0 (mpeg4 (native) -> mpeg4 (native)). If you use libxvid which is a third-party MPEG-4 part 2 encoder, the error does not occur. My guess is that the ...
Looks like MP4 won't skip the edts boxes when creating MP4s. You should transcode to MPEG-TS and feed that into mediafilesegmenter ffmpeg -i in.mp4 -<transcoding options> -vbsf h264_mp4toannexb out.ts
Untrunc may be able to help. It's a Linux based command line utility that will restore lost MOOV sections. Using it currently requires libav and a C++ build environment, though instructions are provided to do the build. After it is built, you call it via the command line and just provide the path to a working video from the same phone, the broken video ...
Only top voted, non community-wiki answers of a minimum length are eligible