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 Display Modes
Old 12th January 2005, 02:54   #1  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
DGMPEGDec 1.0.13 beta 11

I'm releasing a beta for feedback. Here is the link:

http://neuron2.net/fixd2v/dgmpgdec1013b11.zip

EDIT: Link updated to latest beta version.

Please refer to the Changes text file for details.

Last edited by neuron2; 17th January 2005 at 00:17.
neuron2 is offline   Reply With Quote
Old 12th January 2005, 14:00   #2  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 3,462
Re: DGMPEGDec 1.0.13 beta 4

Quote:
Originally posted by neuron2
4. When quantizer matrix changes occur in a stream, random access would fail
in some cases, producing a corrupted frame. This has been repaired with the caveat
that any file that changes quantizer matrices on the fly must send a sequence
header with every GOP. I have never seen any file that does not do this. Please
notify me if you find one (i.e., one that does not have a sequence header for
every GOP *and* changes quantizer matrices).
If you're interested in checking this behaviour just for the hell of it, the latest CCE SP trial has the option for adaptive quantization, which I assume means changing the matrix in the stream. I don't know if using it will also force inserting the sequence header to every GOP.

Good to see you again
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 12th January 2005, 23:52   #3  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
Re: DGMPEGDec 1.0.13 beta 4

Quote:
Originally posted by neuron2
1. A new CLI option for loading input files from a file list contained in a text file
was added as follows:

-Batch-Files -BF ([filelist]) Load batch of files.
The filelist file contains the list of files to load,
one file per line with no extra white space.
There is a very easy way to automatically generate an error-free file list:
Code:
dir *.vob /b > filelist.txt
Especially great for long lists.
Cyberia is offline   Reply With Quote
Old 13th January 2005, 00:16   #4  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
It just occurred to me that the GUI should be able to load from the file list too. Then we would finesse the autoload issues. Users could use your trick to make a list, edit it as they like, and then load it through the GUI.
neuron2 is offline   Reply With Quote
Old 13th January 2005, 02:12   #5  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
The GUI could even make the file list...
Cyberia is offline   Reply With Quote
Old 13th January 2005, 03:32   #6  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
To be consistent, then I'd have to give an editing capability.
neuron2 is offline   Reply With Quote
Old 13th January 2005, 03:35   #7  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
Here is DGMPGDec 1.0.13b5:

http://neuron2.net/fixd2v/dgmpgdec1013b5.zip

This version adds tritical's changes as follows (I really like the info overlay!):

A) added info option to mpeg2source() to display info on frames
- example usage: mpeg2source(info=true)

B) iPP is a bool again. If it is not explicitly set to true or false then it
defaults to auto which switches between field/frame based pp based on the
progressive_frame flag

C) 4:2:2 input support
- can now correctly decode 4:2:2 input sources and correctly output it
to AviSynth as YUY2

*NOTE: mpeg2source() now throws an error on 4:4:4 input, it could handle it
but AviSynth 2.5 does not have internal YUV 4:4:4 support

3a.) 4:2:2 PLANAR post-processing support

D) Upsampling to 4:2:2 from 4:2:0 based on progressive_frame flag. Uses new
upConv parameter of mpeg2source().

- example mpeg2source(upConv=true)

*NOTES: it will only work if input is 4:2:0, if input is anything else
then the upConv parameter is ignored

E) BlindPP now supports YUY2 colorspace

F) other stuff:

- fixed blindPP syntax bug (x and X)
- fixed a small bug with showQ option
- fixed small memory leak with FrameList/GOPList not being free'd
- fixed a bug in the vertical chroma deblocking postprocessing
QP pointer being passed was incorrect for 4:2:0
- faster mmx 4:2:2 to packed YUY2 and YUY2 to planar 4:2:2 conversions
- info output would not work correctly if temporal_reference was not zero
based at the beginning of gops, it does now
neuron2 is offline   Reply With Quote
Old 13th January 2005, 11:53   #8  |  Link
zettai
Fascinated Lurker
 
zettai's Avatar
 
Join Date: Feb 2002
Location: Durham, UK
Posts: 237
These changes are excellent! Everything is working fine for me so far.

I was wondering if it is possible to include the color matrix used by the vob in the info list?
zettai is offline   Reply With Quote
Old 13th January 2005, 13:56   #9  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
Quote:
Originally posted by zettai
I was wondering if it is possible to include the color matrix used by the vob in the info list?
DGDecode is of course not limited to VOBs. But what is the "color matrix used by the vob"?

Thank you for your feedback.
neuron2 is offline   Reply With Quote
Old 13th January 2005, 14:07   #10  |  Link
zettai
Fascinated Lurker
 
zettai's Avatar
 
Join Date: Feb 2002
Location: Durham, UK
Posts: 237
Ah sorry, yes I mean the mpeg2 coefficients - i.e. Rec.709 vs Rec.601. Gspot can identify these in mpeg2 headers. The reason I mention it is because it's useful to know when converting to RGB in avisynth as by default avisynth uses rec.601.

All mpeg2 files should be decoded rec.709 unless specified in the header and it's that header info that I'd find handy in dgindex or dgdecode.

There is a little discussion of this in the colormatrix filter thread:

http://forum.doom9.org/showthread.php?s=&threadid=82217


(Note this is really low priority :P)
zettai is offline   Reply With Quote
Old 13th January 2005, 14:15   #11  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
Can you make it easy for me by specifying the specific syntax element in MPEG2, so that I may look it up in the ISO 13818 spec? Thank you.
neuron2 is offline   Reply With Quote
Old 13th January 2005, 14:50   #12  |  Link
Inc
Squeeze it!
 
Inc's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 472
Quote:
BlindPP now supports YUY2 colorspace
NICE!

Thanx a lot!
Inc is offline   Reply With Quote
Old 13th January 2005, 15:06   #13  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
Neuron, I'm looking at iso138182.

It's the matrix_coefficients in the sequence_display_extension() in table 6-9 (of section 6.3.6), page 56.
Wilbert is offline   Reply With Quote
Old 13th January 2005, 15:08   #14  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
Quote:
Originally posted by incredible
NICE!

Thanx a lot!
Be sure to thank tritical for that!
neuron2 is offline   Reply With Quote
Old 13th January 2005, 15:09   #15  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
Quote:
Originally posted by Wilbert
Neuron, I'm looking at iso138182.

It's the matrix_coefficients in the sequence_display_extension() in table 6-9 (of section 6.3.6), page 56.
Perfect. Thank you, Wilbert.
neuron2 is offline   Reply With Quote
Old 13th January 2005, 15:16   #16  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
Quote:
Originally posted by Wilbert
Neuron, I'm looking at iso138182.

It's the matrix_coefficients in the sequence_display_extension() in table 6-9 (of section 6.3.6), page 56.
Wilbert, I have never seen a stream with a sequence display extension in it. Are you saying such things are out there? How can I report this field if it is never present? Is there some other way?

EDIT: Can you send me a stream that you think uses something other than 709 so I can check if it has the extension?

Last edited by neuron2; 13th January 2005 at 15:21.
neuron2 is offline   Reply With Quote
Old 13th January 2005, 15:35   #17  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
Many mpeg2s from dvd don't have it, although some do. I will look them up.

Many transport streams have it though (can also be seen with GSpot). I can send you a few samples, but I assume you have enough of those on your hdd
Wilbert is offline   Reply With Quote
Old 13th January 2005, 15:58   #18  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
Quote:
Originally posted by neuron2
To be consistent, then I'd have to give an editing capability.
I wasn't trying to lump work upon work. It just seemed like we could use the auto-loading feature of the GUI to get the filelist and save it for the CLI version.

However, typing: "dir *.vob /b > list.txt" is pretty darn fast, certainly faster that a GUI would be. Plus, if you are already using the CLI then you're not shy at the DOS prompt.

Typical of me... suggest a feature and then play devil's advocate against it!
Cyberia is offline   Reply With Quote
Old 13th January 2005, 16:14   #19  |  Link
neuron2
_
 
neuron2's Avatar
 
Join Date: Jan 2002
Posts: 16,660
Quote:
Originally posted by Wilbert
Many mpeg2s from dvd don't have it, although some do. I will look them up.

Many transport streams have it though (can also be seen with GSpot). I can send you a few samples, but I assume you have enough of those on your hdd
I'll have a look. But, sure, I can display the matrix coefficients type, and if there is no extension, I have to report 709, per ISO spec.
neuron2 is offline   Reply With Quote
Old 13th January 2005, 16:15   #20  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 3,462
Quote:
Originally posted by neuron2

EDIT: Can you send me a stream that you think uses something other than 709 so I can check if it has the extension?
This clip shows I470 (MPEG-1 coeffs) when opened in GSpot:

http://www.saunalahti.fi/sam08/adapt.mpv
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Reply

Thread Tools
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 08:28.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.