Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a video file, which contains some error. The file is readable, but possible some blocks are wrong during some disk operation. So while playing the video, a few seconds will no be displayed correctly. Most media player will let me play this file without crash.

Now I want to use ffmpeg to encode the file into some other format. But the re-encode process is blocked by that error.

I want to know if there's anyway to let ffmpeg to ignore that error, just like the media players. It can just ignore/skip that few seconds, and continue working on the rest.

share|improve this question
1  
The player might have different error concealment methods. To my knowledge, there's no such option. If the stream is incorrectly parsed, FFmpeg will rather quit than produce garbage. Can you add the full output log of such a conversion you're trying? –  slhck Feb 23 '13 at 16:59
add comment

1 Answer

up vote 0 down vote accepted

The simple solution I found, is to use the -ss option to skip the place that have errors.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.