This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Avi index repairing via mencoder

Tags: None
(comma "," separated)
User avatar
Rbitch
Registered Member
Posts
7
Karma
0
OS

Avi index repairing via mencoder

Tue May 15, 2012 3:07 pm
Hello everyone, I have a movie .avi and vlc tells me that it has a corrupted index... then I run
Code: Select all
mencoder movie.avi -idx -oac copy -ovc copy -o output.avi

The thing is successful but it is as if it stops halfway through the film, the original file is 1.2 GB and output.avi is 720 MB. Furthermore, the first is encoded in divx while the new one in DX50. Since the exact same thing happens to me using ffmpeg
Code: Select all
ffmpeg-i movie.avi-vcodec copy-acodec copy output.avi

I suppose there is something that escapes me .... Thanks in advance
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Avi index repairing via mencoder

Wed May 16, 2012 11:18 am
I'd suggest trying the mencoder (mPlayer) or ffmpeg mailing lists or irc channels http://www.mplayerhq.hu/design7/mailing_lists.html http://ffmpeg.org/contact.html


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Avi index repairing via mencoder

Wed May 16, 2012 11:33 am
It is probable that the timestamp data included in the video file is corrupted. You need to instruct ffmpeg to ignore the included timestamp data, and base the encoding on the number of frames/sec - unfortunately I cannot recall the exact switches at this time.

Be aware that these switches in my experience can cause audio resynchronisation unfortunately.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]