Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
23rd November 2007, 14:57 | #183 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Looong standing bug to report in dgdecode: If there's a problem opening the avisynth script (for example the source mpeg file has been moved/deleted or a version mismatch is reported) and an error is thrown, the .d2v file isn't closed and can't be deleted or modified until the host application is closed.
|
23rd November 2007, 17:44 | #185 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
|
|
24th November 2007, 05:51 | #186 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
If I had to guess, I'd say the code in CMPEG2Decoder::Close() is wrong:
Code:
void CMPEG2Decoder::Close() { int i; CMPEG2Decoder* in = this; if (in != NULL) fclose(in->VF_File); |
24th November 2007, 08:52 | #187 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Actually now that I'm back from voting and have some time to sit down, I see a better way - change CMPEG2Decoder::Close to CMPEG2Decoder::~CMPEG2Decoder. This requires a few other changes, I've zipped the modified source code files and they're at http://216.75.63.164/andrew/dgdecode_mods.zip (Based on 1.4.9)
|
24th November 2007, 08:55 | #188 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
@squid_80
while you are in modifying.. how about ifo parsing (of decrypted dvd) with pgc selection for demuxing.. ? (i hope Neuron2 don't be angry) BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
24th November 2007, 09:42 | #190 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
something could be in vstrip source or pgcdemux source
(i want help.. but don't know a single fprint of c/c++) BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
24th November 2007, 14:42 | #193 | Link | |
Registered User
Join Date: Sep 2005
Posts: 50
|
Quote:
EDIT: I don't need many information, a timestamp only would e enough. |
|
24th November 2007, 17:13 | #196 | Link |
Registered User
Join Date: Jul 2002
Posts: 587
|
Did I find a bug? (1.5.0 beta 13)
I capped a HDTV show in 6 segments stopping recording at each ad break etc... then editing lead in and lead out ads. basic stuff. if I choose all 6 edited final segments in DGindex then output to 1 d2v file it is 59997 frames. mpeg2source("D:\wholeshow.d2v") and the audio is in perfect sync. If I index each segment separately then do this v1=mpeg2source("D:\part1.d2v") v2=mpeg2source("D:\part2.d2v") v3=mpeg2source("D:\part3.d2v") v4=mpeg2source("D:\part4.d2v") v5=mpeg2source("D:\part5.d2v") v6=mpeg2source("D:\part6.d2v") return(v1+v2+v3+v4+v5+v6) OR If I encode each section to xvid first pass then merge the first pass video.pass files then run a second pass well.... both of these ways give me exactly 60006 frames and the audio is off more and more as the encode reaches the end. in fact the audio is BEHIND by just about 320ms (give or take) in this example as the audio is shorter in each segment by 1 or 2 frames than the video. (about 41ms per frame the audio falls behind and it adds up more and more over the length of the encode as more segments are hit) is there something I am missing as to why the video frame count would be so different? They should match right? Can this be fixed? |
24th November 2007, 20:21 | #197 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
@Zep
If the frame count was less when doing them separately, I could understand it. But you say it is more that way. You won't like this answer, but you're going to have to give me at least two sections so that I can duplicate your result. |
25th November 2007, 00:18 | #200 | Link | |
Registered User
Join Date: Jul 2002
Posts: 587
|
Quote:
is adding frames but only subtracting frames like you said you thought it would do. After a avisynth fresh install I now only see LESS frames when I do this v1=mpeg2source("D:\part1.d2v") v2=mpeg2source("D:\part2.d2v") v3=mpeg2source("D:\part3.d2v") v4=mpeg2source("D:\part4.d2v") v5=mpeg2source("D:\part5.d2v") v6=mpeg2source("D:\part6.d2v") video=v1+v2+v3+v4+v5+v6 video=video.Selecteven() video=video.Crop(8,8,-8,-8) video=video.Decimate(5) return(video) compared to this mpeg2source("D:\wholeshow.d2v") Selecteven() Crop(8,8,-8,-8) Decimate(5) same test chunks the first way returns 2 less frames. I have now done it over a dozen times and always returns 2 less frames. I am curious as to why less frames are returned and why above you thought that would be? it makes me wonder WHERE the 2 frames are cut from. (note I use projextx and VRD and edit at the GOP level) If at the very end then no big deal but if somewhere in the middle then the audio would be about 84ms longer than the video after it hits those 2 frame cuts) Anyway, I am still seeing 9 frames added to the final encode. So I will continue to drive on as it now appears Vdub/Xvid are adding frames and not sticking to what DGindex ---> avs is sending to them. (I did a fresh install of both Vdub and Xvid also and it didn't help) I'll post here what I do find in hopes it helps others. Thanks Last edited by Zep; 25th November 2007 at 01:44. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|