1

my mkv file was originally encoded using following encoder:

Lavf57.57.100

is it possible to reencode the same file without using it? Because I can't convert it to mp4, I get following error when I trying to encode mkv to mp4:

[matroska,webm @ 0x3125100] Read error at pos. 2241497 (0x2233d9)
2
0

If you need to re-encode certain video file, you doesn't need the previous encoder used to encode the file you have now.

You can either use FFmpeg or similar converter or use online services that'll provide conversion when you upload your file to their service.

Regarding the error message you get, it shows that file is corrupted in the time frame pos. 2241497 . It isn't a problem with FFmpeg.

You can either search for FFmpeg option that'll let you skip certain frames while converting or there are some other converter programs which has the ability to skip error-some frames.

To verify this, try encoding different file.

P.S

If you just need to change the container from mkv to mp4, you should try mp4 Muxer / Re-Muxer program. no need to re-encode. re-Muxer program will extract video data and audio data from your mkv file, then put it inside mp4 container. It'll only take few seconds (depending on your system's resources)

7
  • I've tried to use -err_detect ignore_err, but the size of the generated file is too low and it doesn't play....i'e tried ffmpeg and avconv, but no luck, i get the same error, cause I've noticed that mkv files without this encode: Lavf57.57.100 - are converted successfully, I just can't find information about how it is doing – Blurry Script Jan 11 '18 at 10:14
  • @BlurryScript Lavf is basically libavcodec which is part of ffmpeg project. Have you tried MeGUI or handbrake? those two provides nice GUI and it's easy to use them – Vishwa Jan 11 '18 at 10:41
  • but I need a converter for linux, just from a command line convertor without gui, is there any? but again how it will solve this error? – Blurry Script Jan 11 '18 at 10:45
  • above both are available for linux. From the error message you posted, it seems it was a Read error. That means video file has some corrupt frames. Do you really need to convert? What is you trying to do here? Do you just need to convert the file for handheld device like ipod? – Vishwa Jan 11 '18 at 10:57
  • if i ignore these corrupted frames, the file size gets too low, almost empty, but the original file itself is playable, i mean why this happens? what exactly makes it corrupted? should I skip the files that are corrupted? or can be there a solution to convert it? cause it is working by itlsef – Blurry Script Jan 11 '18 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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