

But VLC media player was able to play this video without skipping these frames. This command copies the video stream from input.webm into output.mkv and encodes the Vorbis audio stream into a FLAC. FFmpeg can help with this situation: ffmpeg -i input.webm -c:v copy -c:a flac output.mkv. How to make ffmpeg only decode video file without. Moreover, most media players also skip these frames in playback (like quicktime player, etc). It can be very time consuming to re-encode the correct stream. If ffmpeg can do it, wrong video file can be detected quickly with the option of -errdetect explode. The output MP4 has these frames dropped out and I have my output with it's start about 1 to 2 seconds delayed from original video, thus resulting in overall less time duration in output video.

On transcoding using : ffmpeg -i orig.mp4 -c:v libx264 -crf 25 -vf scale="-2:min(ih\,720)" -b:v 600K -g 90 -c:a libfdk_aac output.mp4 I have a video which has some supposedly corrupt frame(s) within it's initial 1-2 seconds. I am using h264 for optimising MP4 for web.
