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.

 

Go Back   Doom9's Forum > General > DVD2AVI / DGIndex

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 22nd November 2007, 03:57   #181  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by remiche View Post
Number 13 is fatal without doubt-that!

I riping 3 DVDs for 6min!!!
Log file say: no find audio!
HoHoHooo...
I install 1.45 Stable... and all OK (successful RIPs OK)
Please post a link to a portion of the source stream that fails. My guess is that you aren't doing something right.
Guest is offline  
Old 23rd November 2007, 08:49   #182  |  Link
ilhyfe
Registered User
 
Join Date: Sep 2005
Posts: 50
@neuron2:

I have a feature request:

Sometimes it would be nice if the information window wouldn't close it self so that I can see the timeline while I'm scrolling through the video. Just like dvd2avi.
ilhyfe is offline  
Old 23rd November 2007, 14:57   #183  |  Link
squid_80
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.
squid_80 is offline  
Old 23rd November 2007, 17:20   #184  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by ilhyfe View Post
Sometimes it would be nice if the information window wouldn't close it self so that I can see the timeline while I'm scrolling through the video. Just like dvd2avi.
You can set single step and then step through with the info window. The problem for jumping around is that some of the fields are not valid unless decoding linearly.
Guest is offline  
Old 23rd November 2007, 17:44   #185  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by squid_80 View Post
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.
When I close the D2V and then call ThrowError(), Avisynth takes a system exception. I'd have to trace through Avisynth to find out why and I'm not motivated to do that right now.
Guest is offline  
Old 24th November 2007, 05:51   #186  |  Link
squid_80
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);
Of course in is not going to be NULL. I think the check should be if (VF_File != NULL) and NULL should be assigned to VF_File after it is fclosed.
squid_80 is offline  
Old 24th November 2007, 08:52   #187  |  Link
squid_80
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)
squid_80 is offline  
Old 24th November 2007, 08:55   #188  |  Link
buzzqw
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
buzzqw is offline  
Old 24th November 2007, 09:22   #189  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
I don't know the first thing about IFO parsing.
squid_80 is offline  
Old 24th November 2007, 09:42   #190  |  Link
buzzqw
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
buzzqw is offline  
Old 24th November 2007, 14:18   #191  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
No IFO parsing. It's been discussed before.
Guest is offline  
Old 24th November 2007, 14:28   #192  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by squid_80 View Post
I think the check should be if (VF_File != NULL) and NULL should be assigned to VF_File after it is fclosed.
I did it that way. Thanks.
Guest is offline  
Old 24th November 2007, 14:42   #193  |  Link
ilhyfe
Registered User
 
Join Date: Sep 2005
Posts: 50
Quote:
Originally Posted by neuron2 View Post
You can set single step and then step through with the info window. The problem for jumping around is that some of the fields are not valid unless decoding linearly.
I tried. but when I scroll through the video the info window closes itself.

EDIT: I don't need many information, a timestamp only would e enough.
ilhyfe is offline  
Old 24th November 2007, 14:55   #194  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
You didn't follow me.

Position on the timeline to the area of interest. Then set Options/Playback Speed to Single Step. Then hit F6 to play. Now you use the > button to single step. The Info window will stay open.
Guest is offline  
Old 24th November 2007, 16:23   #195  |  Link
ilhyfe
Registered User
 
Join Date: Sep 2005
Posts: 50
Quote:
Originally Posted by neuron2 View Post
You didn't follow me.

Position on the timeline to the area of interest. Then set Options/Playback Speed to Single Step. Then hit F6 to play. Now you use the > button to single step. The Info window will stay open.
Hm yeah but I don't want to use the single step function. I want to scroll fast through the video to time xyz.
ilhyfe is offline  
Old 24th November 2007, 17:13   #196  |  Link
Zep
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?
Zep is offline  
Old 24th November 2007, 20:21   #197  |  Link
Guest
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.
Guest is offline  
Old 24th November 2007, 20:25   #198  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by ilhyfe View Post
Hm yeah but I don't want to use the single step function. I want to scroll fast through the video to time xyz.
You can't always get what you want. I'm sure that with a little creativity, perhaps with the F6 key and different playback speeds, you can find your desired location without too much difficulty.
Guest is offline  
Old 24th November 2007, 21:44   #199  |  Link
ilhyfe
Registered User
 
Join Date: Sep 2005
Posts: 50
Quote:
Originally Posted by neuron2 View Post
You can't always get what you want.
I know but since xmas is near and it worked fine in *old* dvd2avi it should be possible to add :P
ilhyfe is offline  
Old 25th November 2007, 00:18   #200  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally Posted by neuron2 View Post
@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.
Ok I have been doing a ton of tests and I am narrowing it down. I no longer think DGindex
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.
Zep is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.