Settings to stop XviD dropping frames?

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

ZappoB
Amateur
Amateur
Posts: 11
Joined: Tue Jan 08, 2008 1:51 pm

Settings to stop XviD dropping frames?

Post by ZappoB » Tue Mar 04, 2008 8:25 pm

I use MC to encode my H264 video-streams, already stripped and separated from the Audio Stream of my TS-Files (which MC can't handle).

I use XviD to encode the video-stream into an AVI container, the encoding runs flawless, although MC reports, that no file was outputted (but the file IS there and it is ok!).

The only problem is, that in the console windows are some (or more) messages, that duplicate frames where dropped - which MAY be correct, but leads to a major problem: The dropped frames shorten the video and when I remux the Audio file, it gets more and more asynchrony to the end - about half a second I would say.

So is there a possibility to keep XviD of from dropping these frames?

BrunoReX
Amateur
Amateur
Posts: 10
Joined: Wed Jan 23, 2008 10:40 pm

Post by BrunoReX » Fri Mar 07, 2008 3:17 am

I think you have to set -noskip parameter in "aditional parameters" in XviD on advanced options (Menu File -> Options).
Maybe i'm work, but you can try.

ZappoB
Amateur
Amateur
Posts: 11
Joined: Tue Jan 08, 2008 1:51 pm

Post by ZappoB » Fri Mar 07, 2008 3:54 am

Thank you for that tip, but I'm not sure, where to set this parameter at.

In MC at the "XviD" tab, then button "Advanced" and then at the "Extra Options" settings?

If I do so, I get in the MC console window the failure
Option xvidencopts: Unknown suboption -noskip
Error parsing option on the command line: -xvidencopts
Or is it the wrong place?

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Fri Mar 07, 2008 10:49 am

I believe -noskip command is used in MEncoder. Go to Video Tab, untick auto-select box next to encoder and select MEncoder. Then click encoder button. Put -noskip under Extra MEncoder Options.

Can't say for sure if this will work.

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Fri Mar 07, 2008 5:26 pm

Forgot MediaCoder has no skip option under video filter settings.

Go to File Menu --> Settings.

MediaCoder Preferences Window
  • Video Filters
    |-----Frame Rate
Do not skip any frame = True (click "Yes" radio button below)

ZappoB
Amateur
Amateur
Posts: 11
Joined: Tue Jan 08, 2008 1:51 pm

Post by ZappoB » Fri Mar 07, 2008 8:50 pm

Aaah - ok, found that, sounds nice and seems to work without failure.

I now try an encoding and will post what happened...

Thanks for now!

ZappoB
Amateur
Amateur
Posts: 11
Joined: Tue Jan 08, 2008 1:51 pm

Post by ZappoB » Sun Mar 09, 2008 10:32 pm

Too bad, it didn't work...

Ok, the frames are not dropped, but after the encoding to XviD and remuxing the movie the audio gets asynchrony at the end again.

Any other tips, what this may be?

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

Post by ladycoder » Tue Mar 11, 2008 7:32 pm

Did you change the frame rate of original or do inverse telecine?

ZappoB
Amateur
Amateur
Posts: 11
Joined: Tue Jan 08, 2008 1:51 pm

Post by ZappoB » Wed Mar 12, 2008 3:43 am

Nope, nothing!

gm
Beginner
Beginner
Posts: 4
Joined: Thu Mar 27, 2008 7:25 am

decoder sync

Post by gm » Thu Mar 27, 2008 7:28 am

The source might already be out of sync.

Many DVDs (VOB files) now have gaps in the audio, so a simple, dumb demux of audio from a VOB sometimes results in two files that can never be remuxed with the audio in sync. A smarter demuxer is needed.

Post Reply