MKV to Xvid doubles framerate!!!

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

marjamar
Amateur
Amateur
Posts: 20
Joined: Mon Jul 05, 2010 3:54 am

MKV to Xvid doubles framerate!!!

Post by marjamar » Mon Sep 05, 2011 9:15 am

Here's a strange one. Attempting to re-encode my MKV library to Xvid, for some reason the framerate shown in the AVI header is 47 frames/second instead of the 23 frames/second (both rounded down by Windows Explorer of course). So, trying to change this is a real problem as the video is actually encoded at the real framerate (23.976), so it's not too simple a matter to change it without actually slowing the movie down to half speed using some various apps I have. I actually need to change the AVI header metadata to show the correct frame rate while leaving the actual framerate untouched.

Also, Mediacoder can't fix this, as the actual framerate is correct and it doesn't modify the header metadata I guess unless it actually changes the framerate.

Any ideas on this?

-Rodger

marjamar
Amateur
Amateur
Posts: 20
Joined: Mon Jul 05, 2010 3:54 am

Re: MKV to Xvid doubles framerate!!!

Post by marjamar » Mon Sep 05, 2011 9:56 am

Looks like I've found a way around this. Using VirtualDub I can change the framerate info using the "video frame rate control > frame rate conversion > conver to fps: 23.9760". Selecting "direct stream copy" under video and audio tabs makes very quick copy without modifying any other aspects of the file. Just found this, so not 100% sure yet, but looks promising.

-Rodger

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: MKV to Xvid doubles framerate!!!

Post by meRobs » Mon Sep 05, 2011 4:56 pm

Is this similar to what is reported here:
viewtopic.php?f=28&t=10983 ?
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

ladycoder
Expert
Expert
Posts: 588
Joined: Fri Nov 24, 2006 5:29 am

Re: MKV to Xvid doubles framerate!!!

Post by ladycoder » Tue Sep 06, 2011 5:50 am

There is also an app called AVIFRATE, similar to a fourcc changer that alters framerates with out having to resave.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: MKV to Xvid doubles framerate!!!

Post by meRobs » Tue Sep 06, 2011 9:17 am

As I pointed out in the above link, where I reported this as a bug, MediaCoder writes the incorrect (double) framerate to Xvid files.
But since the file plays at the correct speed, in KMplayer and VLC it was of no concern to me.

If you wish to quickly change the value in the header without affecting the video content, try the App: 'AVI FourCC Changer'.
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

ladycoder
Expert
Expert
Posts: 588
Joined: Fri Nov 24, 2006 5:29 am

Re: MKV to Xvid doubles framerate!!!

Post by ladycoder » Tue Sep 06, 2011 12:01 pm

'AVI FourCC Changer' changes the fourCC; AVIFrate changes the framerate.

I think most players read the frame rate in the header, no idea about KMPlayer or VLC... I use MPC and MPlayer 8)

Sometimes standalones go out of sync if you change the frame rate after encoding, though.
Last edited by ladycoder on Wed Sep 07, 2011 7:25 am, edited 1 time in total.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: MKV to Xvid doubles framerate!!!

Post by meRobs » Tue Sep 06, 2011 8:18 pm

Sorry, wasn't thinking!
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

marjamar
Amateur
Amateur
Posts: 20
Joined: Mon Jul 05, 2010 3:54 am

Re: MKV to Xvid doubles framerate!!!

Post by marjamar » Sat Sep 24, 2011 11:53 am

Thanks for the replies, all.

Turns out that Veedub64 works best for me. Take all of about 2 minutes to run a 1-1/2 hour movie though it to change frame rate in the header to 23.976. I know this is still alot of time for changing what you'd think is a simple matter, but none of the other programs I tried did this right for me. Maybe if I took more time to study this issue, I'd find a more effective method, but the same time I do this final conversion, the finished file gets saved to the proper streaming directory/category, so it's an effective, low thought process I can use easily.

Thanks again.

-Rodger

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: MKV to Xvid doubles framerate!!!

Post by meRobs » Sat Sep 24, 2011 12:09 pm

In any case, it seems to me that it is a bug when converting to Xvid and should be fixed in a future build of MediaCoder.
As I noted in viewtopic.php?f=28&t=10983 there is no famerate doubling in builds 5150 to 5180!

Hence, suggest you use an earlier build or wait !
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

rekotc
Beginner
Beginner
Posts: 5
Joined: Tue Oct 04, 2011 1:58 am

Re: MKV to Xvid doubles framerate!!!

Post by rekotc » Tue Oct 04, 2011 2:44 am

im having a similar problem, im trying to convert a DX50 with AVI container to an XVID and AVI, the resulting video has a doubled framerate (from 25 to 50). I tried to change the header info using avifrate but it didnt work, if i try to play this video with the modified header on VLC the movie is laggy and the total running time is doubled too (from 1.03 hours to 2.06), it seems to me that the video is actually coded at 50fps and it's not a simple header problem.

Post Reply