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

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th August 2008, 21:20   #1  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Green frame on second frame of d2v?

Hey, neuron2, I just noticed this recently.

I am using the version of DGindex that ships with MeGUI's autoupdate (1.5.2)

When I load the m2v file from this thread:
http://forum.doom9.org/showthread.ph...10#post1174310

And load a simple script like this:
Quote:
DGDecode_mpeg2source("C:\Documents and Settings\****\Desktop\VTS_01_1.demuxed.d2v",info=3)
If I load that script into virtual dub and step through the first couple frames, I get a green frame with a black dot in the right hand corner. Can you replicate this?

The rest of the clip is fine, but the 2nd frame is just...green.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 25th August 2008, 23:07   #2  |  Link
HymnToLife
Ubuntu French Roast
 
HymnToLife's Avatar
 
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
The M2V seems corrupted, DGIndex throws me a warning near the end of the process (and I have the green franme too).
__________________
Code:
Copy Protection:  A clever method of preventing incompetent pirates from
		   stealing software and legitimate customers from using it.
From http://www.gnu.org/fun/jokes/software.terms.html
HymnToLife is offline   Reply With Quote
Old 25th August 2008, 23:12   #3  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Yes, I get that to. However, is that what is causing the green frame? I wish I knew where the field order transition took place.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 27th August 2008, 23:15   #4  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
It's a bad stream. What's to explain?

When you correct the field order transition it shows you the location.
Guest is offline   Reply With Quote
Old 27th August 2008, 23:20   #5  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Ah, okay. I thought that was the case, it's just that I had seen this somewhere else recently, but that was a corrupted stream as well.

But is this okay? Chances are that he created that stream using the cutting mechanism of DGindex and demux. Shouldn't this produce a valid file? Or am I wrong?
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 27th August 2008, 23:23   #6  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Chances are?!

If you can produce a problem doing it, please make a thread about it. You're right, cutting with DGIndex should not produce a stream like that.

Don't get me wrong, I really appreciate your trouble reports and the useful feedback you've given me in the past!

Last edited by Guest; 27th August 2008 at 23:25.
Guest is offline   Reply With Quote
Old 27th August 2008, 23:26   #7  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Okay, I will try and make some tests of my own. I haven't seen any problems except for other peoples files, so it could be just their fault.

Edit:

Okay, I can confirm the green frame bug. At least, for what I understand it to be.

To reproduce, take a vob. Any will do, I used the same vob available in my "Really messed up Anime source. CHALLENGE!!" thread.

Use the selectors to create a region in the middle somewhere, doesn't matter.

Save and demux. Now, the d2v created here works fine. So delete this.

Load the newly created example.demuxed.m2v into dgindex and save a new d2v.

Load using just this:
Quote:
DGDecode_Mpeg2source("example.demuxed.d2v")
Drop the script into Vdub, and you should encounter a green frame on one of the first couple frames.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo

Last edited by Adub; 27th August 2008 at 23:38.
Adub is offline   Reply With Quote
Old 27th October 2008, 20:58   #8  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Okay, i just encountered this again today. neuron2, can you confirm?
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 27th October 2008, 21:04   #9  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
I just ran into it myself today. I'll try to figure out what's happening this evening.

My workaround: freezeframe(1,1,0)
Guest is offline   Reply With Quote
Old 27th October 2008, 21:07   #10  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Great! I am glad that it at least has been confirmed.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 27th October 2008, 22:07   #11  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
I never doubted you.

I had a copy of the source laying around at work, so I had a look. I found and fixed the problem and will release the fix tonight. I want to add a few other things as well as long as I'm making a release.

The problem was that I start processing the file once to count the number of leading B frames and then again to start the main indexing. But I started demuxing at the start of the first processing, so I ended up demuxing an extra partial copy of the first GOP. Now I start the demuxing before the main indexing pass begins.

Thank you for pointing this out.
Guest is offline   Reply With Quote
Old 27th October 2008, 22:41   #12  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Good to know that you were able to pinpoint the bug so fast! I look forward to the next version with eagerness then!
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 28th October 2008, 01:59   #13  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Version 1.5.3

See here:

http://forum.doom9.org/showthread.ph...67#post1207367
Guest is offline   Reply With Quote
Old 29th October 2008, 01:41   #14  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Great, thank you very much. I am updating as we speak.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Reply

Tags
1.5.2, dgindex, green frame

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 09:49.


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