Using something like:
with mainconcept sometimes returns video 1 frame short.Code:LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll") mpeg2Source("goods-prog.d2v") trim(5500,7000)
I've tried with 2 diff sources and tried diff ranges but can't find a pattern to it.
Does anybody know about this?
I can't find the missing frame.
How would I find it?
What would be the best way to re-insert it, or the best/fastest/easiest way to faux fix it?
I want the exact range I've selected with the exact no of frames.
+ Reply to Thread
Results 1 to 5 of 5
-
-
That script of yours returns 1501 frames. Are you saying that MainConcept sometimes returns 1500 frames? I don't use it, so I don't know. Maybe it's related somehow to the fact that AviSynth begins with frame number 0. I don't know how you'd find it, except to suspect it's at the very beginning or very end. To add another frame to get the number you like, you can repeat one of the frames using the Loop command:
http://avisynth.org/index.php?page=Loop -
Originally Posted by manono
Originally Posted by manono
I've tried
Code:LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll") mpeg2Source("goods-prog.d2v") trim(500,3800)+trim(5500,7000) loop(2,7000,7000)
and
Code:LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll") mpeg2Source("goods-prog.d2v") trim(500,3800)+trim(5500,7001) deleteframe(7001)
I just can't seem to get 4802...
[/quote] -
Hi-
According to File-File Information of VDubMod, the first script gives 4803 frames, and without the Loop Command, it gives 4802. I don't know what MainConcept gives.
The second script gives 4802 frames, and without the DeleteFrame command, 4803. Again, I don't know what MainConcept gives.
Which gives 4803 frames
which again gives 4801
Those are the framecounts from your MainConcept encode? So it gives you the right count for the first script, and is one short for the 2nd script? Strange, eh? How are you getting the encoded frame count? Have you made a D2V from the encoded MPV or M2V, and an AviSynth script using the new D2V to then open in VDubMod to get the framecount? I'm not sure I'd trust any framecount that wasn't from a script. -
hi
Originally Posted by manono
The thought was to up to 4803 and hope it cuts a frame, which it doesn't, or try
a diff script that outputs 4802, and hope mainconcept likes it.
Originally Posted by manono
Originally Posted by manono
The first time at least.
Then I'd just input the mpv into vdub-mpeg2 to get framecount.
The problem is at the origin where mainconcept interprets the avs script to contain 4801 frames instead of 4802. And what it interprets it outputs. It's not faulty encoding, mainconcept is not handling the avs script correctly in the first place.
Maybe it just doesn't like trim.
Not encouraging at all.
Similar Threads
-
Help please with Aiseesoft trim function,
By cromwell in forum Newbie / General discussionsReplies: 10Last Post: 16th May 2013, 06:50 -
About TRIM and Subtitle
By DruidCtba in forum SubtitleReplies: 1Last Post: 3rd Feb 2011, 10:52 -
AVI Trim
By drgt in forum Newbie / General discussionsReplies: 6Last Post: 13th Nov 2010, 04:36 -
Batch trim a .MOV?
By romfre in forum Newbie / General discussionsReplies: 2Last Post: 20th May 2010, 06:21 -
How to trim wmv-hd?
By daz2712 in forum Blu-ray RippingReplies: 2Last Post: 26th Aug 2009, 09:55