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 25th November 2007, 03:36   #201  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
testing continues

Success! I figured out WHERE the problem is


Ok the following returns the correct frame count length wise VS audio length.
mpeg2source("D:\wholeshow.d2v")



This returns LESS frames (as you predicted) and Audio length ends up being longer
than video length.

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)



This returns MORE frames (it is running the avs 6 times and only working on 1 segment
at a time to make all the first pass video.pass files which are then merged to do the
final 2nd pass)

mpeg2source("D:\part1.d2v")

Now run avs again with change to the part*.d2v
mpeg2source("D:\part2.d2v")

repeat for remaining 4 segments in my example



each segment run ADDS 2 bogus frames to the TRUE count.

This is from projectx
50458 Frames 00:14:01.800 'C:\Demux\part1.m2v'

This is from DGindex
50458 Frames when the index is finished reading from status window.

BUT THIS is what Vdub says in the frame count when doing just this
mpeg2source("D:\part1.d2v")
50460 Frames


Since there are 6 segments and 1 or 2 frames are being added to each segment in Vdub
you can see where the problem. Anyway projectx and VRD and DGindex
all agree on the frame count BUT when the stream is sent to Vdub via an avs it adds
1 or 2 frames to the frame count per segment that is why I see 9 more frames than
I should and why the audio is out of sync and why it goes out more and more as you
watch farther along in the encode.


Now we just have to figure out WHY Vdub is getting the count wrong? is it avisynth
sending the wrong count? or is Vdub itself messing up?

My testing continues
Zep is offline  
Old 25th November 2007, 04:07   #202  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Quote:
Originally Posted by Zep View Post
This is from DGindex
50458 Frames when the index is finished reading from status window.

BUT THIS is what Vdub says in the frame count when doing just this
mpeg2source("D:\part1.d2v")
50460 Frames
That's unexpected. Can you put part1.m2v on my FTP server?
Guest is offline  
Old 25th November 2007, 13:28   #203  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Zep's problem turned out to be caused by FadeIn() and FadeOut(), which are known to add an extra frame. He thought he had commented them out at the bottom of his script but hadn't.
Guest is offline  
Old 25th November 2007, 21:45   #204  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally Posted by neuron2 View Post
Zep's problem turned out to be caused by FadeIn() and FadeOut(), which are known to add an extra frame. He thought he had commented them out at the bottom of his script but hadn't.
yup!


However, I still can't believe core calls like fadein and fadeout would
ADD frames and not just fade on the existing frames. It blows my
mind because it throws off sync even if you just use each call once
on a full d2v of the whole show. (in my case 42ms off)

since i used them for years without problems in 2.5.5 and earlier
I never even knew there was a Fadein0 and Fadeout0 added in 2.5.6.
(Until last night lol)

Which has me wondering how fadein and fadeout acted before
Fadein0 and Fadeout0 where added in 2.5.6

(me hunts for old docs)


Anyway, DGindex rocks on
Zep is offline  
Old 9th December 2007, 17:31   #205  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Version 1.5.0 release candidate 1

* Leading B frames for field structure streams were not counted correctly, causing a possibility to display bad starting frames when serving with DGDecode. Fixed.

* Fixed possible crashes when exiting DGIndex while a play/preview is in progress.

* DGIndex no longer beeps and brings its window to the foreground when a Save Project operation is complete.

* Fixed minor bugs in the MRU list handling.

* The quants displayed by DGDecode's showQ=true did not match the avg/min/max values displayed for info=1 (the showQ display was not re-ordered for display order). Fixed.

* Only half a screenful of values were shown with showQ=true for field structure streams.

* The funny transparency for the showQ display was fixed.

http://neuron2.net/dgmpgdec/dgmpgdec150rc1.zip

This is a release candidate, so this is the last call for bug reports!
Guest is offline  
Old 9th December 2007, 18:22   #206  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,497
Quote:
Originally Posted by neuron2 View Post
This is a release candidate, so this is the last call for bug reports!
Any chance for a feature request?

I have noticed in your DGAVCIndex application, you have added the ability to identify the VOP type of each coded frame (ie: I, P, B). Could this be added to DGIndex?


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline  
Old 9th December 2007, 22:27   #207  |  Link
jeffy
Registered User
 
Join Date: Jan 2007
Posts: 943
Am I doing something wrong or is this a new feature? For every file I open and select Save Project, there is a new log file created. Is this expected?

DGIndex.ini (MRU list deleted):
DGIndex_Version=DGIndex 1.5.0 RC 1
Window_Position=248,64
Info_Window_Position=577,46
iDCT_Algorithm=6
YUVRGB_Scale=1
Field_Operation=0
Output_Method=2
Track_List=
DR_Control=2
DS_Downmix=0
SRC_Precision=0
Norm_Ratio=100
Process_Priority=1
Playback_Speed=3
Force_Open_Gops=0
AVS_Template_Path=E:\Tools\AIT\template.avs
Full_Path_In_Files=1
Fusion_Audio=0
Loop_Playback=0
HD_Display=0
jeffy is offline  
Old 10th December 2007, 01:09   #208  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
What you've posted is the INI file, but yes, there is now a log file created automatically.
Guest is offline  
Old 10th December 2007, 02:42   #209  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
And that's quite useful, because it saves me having to keep opening the D2V file just to find out whether the bleeding thing's interlaced properly or not.

Kudos on RC1 BTW. When this hits release, I'll see during the holidays about inter-twining DVR-MS support into it. Just to see what could happen.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline  
Old 10th December 2007, 07:33   #210  |  Link
jeffy
Registered User
 
Join Date: Jan 2007
Posts: 943
Quote:
Originally Posted by neuron2 View Post
What you've posted is the INI file, but yes, there is now a log file created automatically.
I know I posted the INI file, since I hoped there is some option allowing me to turn the log off. Could you please make this optional?
jeffy is offline  
Old 10th December 2007, 15:45   #211  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Quote:
Originally Posted by jeffy View Post
Could you please make this optional?
Sure, no problem. Thanks for suggesting it.

Last edited by Guest; 11th December 2007 at 19:53.
Guest is offline  
Old 11th December 2007, 19:52   #212  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Quote:
Originally Posted by SeeMoreDigital View Post
I have noticed in your DGAVCIndex application, you have added the ability to identify the VOP type of each coded frame (ie: I, P, B). Could this be added to DGIndex?
Sure, no problem. [Well, there was a problem but I fixed it. ] Thanks for suggesting it.
Guest is offline  
Old 11th December 2007, 22:44   #213  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally Posted by neuron2 View Post

* DGIndex no longer beeps and brings its window to the foreground when a Save Project operation is complete.

YES!!! This one change alone is huge for me. been wanting for this one for years! :P

BTW - can you add an option to make it beep still but NOT bring the window to forground?

Huge thanks for all the awesome work you are putting into this!


Zep
Zep is offline  
Old 12th December 2007, 03:16   #214  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Quote:
Originally Posted by Zep View Post
BTW - can you add an option to make it beep still but NOT bring the window to forground?
Nah, I don't think I like that.
Guest is offline  
Old 12th December 2007, 03:20   #215  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Version 1.5.0 release candidate 2

* Fixed a regression in RC1 for field structured streams that could cause a hang in DGDecode.

* The Info display now shows the picture coding type (I/P/B).

* Added an option to enable/disable the automatic log file generation (default is enabled).

* Added a maximum bitrate field to the Info display.

http://neuron2.net/dgmpgdec/dgmpgdec150rc2.zip
Guest is offline  
Old 12th December 2007, 03:24   #216  |  Link
Terranigma
*Space Reserved*
 
Terranigma's Avatar
 
Join Date: May 2006
Posts: 953
Thanks a lot for this update. Can't say I seen it coming.
Terranigma is offline  
Old 12th December 2007, 03:35   #217  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Thank you, Terranigma, for reporting the regression in RC1.

BTW, I am deeply wounded because you are an akupenguin/Didée fan, but not a neuron2 fan.

Guest is offline  
Old 12th December 2007, 03:37   #218  |  Link
Isochroma
Registered User
 
Join Date: Mar 2005
Posts: 468
I just noticed that this latest release uses a background in the window which says "DGAVCIndex" rather than "DGIndex". It's quite confusing and made me think for a moment that I had installed the wrong executeable.
Isochroma is offline  
Old 12th December 2007, 03:40   #219  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
I never shipped a splash.bmp with the betas and RCs. Are you sure you didn't copy it over by accident from somewhere?
Guest is offline  
Old 12th December 2007, 03:47   #220  |  Link
Terranigma
*Space Reserved*
 
Terranigma's Avatar
 
Join Date: May 2006
Posts: 953
Quote:
Originally Posted by neuron2 View Post
Thank you, Terranigma, for reporting the regression in RC1.

BTW, I am deeply wounded because you are an akupenguin/Didée fan, but not a neuron2 fan.

NP, and actually I am a fan. We're only able to use 25 characters for a custom title, and when I originally wrote that, I was trying to get it to say "akupenguin/Didée/neuron2 fan" (30 characters in length), but was forced with the title I currently have. Now if the limit could be changed to 30...
Terranigma 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:48.


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