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. |
|
|
#101 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Here's the next beta with MPEG1 program stream audio
Here is the next beta. It now can get MPEG audio out of an MPEG1 program stream. I addressed the window problem with tiny MPEG1 files by implementing a minimum window display size for DGIndex of 320x240. I was able to make it size correctly for (e.g.) 160x120, but the trackbar becomes a joke. So this seems like a reasonable solution to always have a usable trackbar.
Note that the chroma siting issue affects only conversion to RGB so it affects only the built-in conversion filter YV12toRGB24 and VFAPI. I would like to remove the built-in conversion filters (YV12toYUY2 and YV12toRGB24) because Avisynth has better ones. Any objections? I will modify VFAPI in a next beta. Still, there is an interesting issue raised. If you can decode MPEG1 or MPEG2 and send it to Avisynth and then somewhere later a conversion to RGB is done, how does that conversion know whether to use MPEG1 or MPEG2 chroma siting??? Fortunately, the difference is very small and perhaps not of practical significance. http://neuron2.net/dgmpgdec/dgmpgdec140b2.zip Your feedback on this beta will be greatly appreciated. Last edited by neuron2; 4th June 2005 at 17:45. |
|
|
|
|
|
#102 | Link | |||
|
Life looks better in HDTV
Join Date: Jun 2003
Location: UK
Posts: 10,009
|
Quote:
Quote:
Quote:
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear | |
|||
|
|
|
|
|
#103 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Thank you for that useful information, SeeMoreDigital! It does not, however, appear relevant.
You said that you demuxed the video from a DVD. It must therefore have DVD-compliant GOPs. Can you please make that point to mpucoder? Can you please upload a chunk of the VOB to my server so that I can analyse it? Thank you. Last edited by neuron2; 4th June 2005 at 19:51. |
|
|
|
|
|
#104 | Link |
|
I'm afraid we've to stop
![]() Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,402
|
Aspect ratio doesn't seem to be right for mpeg1 sources. For instance for 352x288 PAL source DGIndex displayed 4:3,625 when its clearly should have been 4:3...
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
|
|
|
|
|
#105 | Link |
|
I'm afraid we've to stop
![]() Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,402
|
More about AR in mpeg1 sources: I've got a few very weird ones - AR is displayed as 0.6735 (30fps 320x240) which is strange coz it doesn't have usual x:y notation at all. Its probably wrongly mastered (its still should have been 4:3) but it would be nice to see format of AR line in d2v file in generic form. Also what is the decimal separator used for AR values? It seems that sometimes its comma (3,625) and sometimes its dot (0.6735)...
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
|
|
|
|
|
#106 | Link |
|
Life looks better in HDTV
Join Date: Jun 2003
Location: UK
Posts: 10,009
|
Hi len0x,
I have a couple of PAL sources, that are both described as being 4:3, 625 even though they have been professionally encoded using different resolutions: - ![]() ![]() And my NTSC sources are described as being 4:3, 525: - ![]() It seems as though the 625 and 525 expressions are with regard to the analogue vertical line count. Cheers
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear | |
|
|
|
|
|
#107 | Link |
|
I'm afraid we've to stop
![]() Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,402
|
ah, that explains it! I think that vertical line count could be removed from AR line as its not really needed and just messes up parsers
Still wondering about AR of 0.6735 though...
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
|
|
|
|
|
#108 | Link | |
|
Life looks better in HDTV
Join Date: Jun 2003
Location: UK
Posts: 10,009
|
Quote:
I've tried ReStream, which although the developer says only works with Mpeg2 streams, it does seem to be able to change the PAR/DAR codes of Mpeg1 streams to either 1:1 and 16:9... but not 4:3. Cheers
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear | |
|
|
|
|
|
|
#109 | Link |
|
Registered User
Join Date: May 2004
Posts: 59
|
it looks to me as if 4:3,625 means 4:3 PAL (625 being the scan lines of a 50Hz PAL tv) and 4:3,525 means 4:3 NTSC (525 being the NTSC counterpart of 625 as explained above)
__________________
Sorry I had to go see about a girl Last edited by midnightsun; 5th June 2005 at 00:05. |
|
|
|
|
|
#110 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
The Aspect Ratio field just reports the value from the ISO spec as I mentioned in an earlier posting. You can look at the table in the spec for details. Yes, ",625" means 625 lines, etc. That is the way it is described in the spec. There are oddball values without X:Y counterparts. That's why you see the funny decimal. Why it was used by the encoder I cannot tell you.
Last edited by neuron2; 5th June 2005 at 00:21. |
|
|
|
|
|
#111 | Link |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Beta 3 has some great stuff from 'tritical'
Beta 3 adds multiple instantiation for DGVfapi. Also, DGVfapi can now convert AVS scripts in addition to D2V files! Sort of a bundled AVS2AVI, if you will. Please give a hearty round of applause to tritical for contributing these enhancements.
![]() http://neuron2.net/dgmpgdec/dgmpgdec140b3.zip This is close to my release feature set. I want to integrate DGParse and DGFix and add GOP structure printout in DGParse output. Is there anything else that should be considered before drawing the line on the 1.4.0 release? |
|
|
|
|
|
#112 | Link | |
|
Registered User
Join Date: Apr 2005
Posts: 118
|
Quote:
|
|
|
|
|
|
|
#113 | Link | |
|
Registered User
Join Date: Jan 2003
Location: France
Posts: 41
|
Quote:
4/3 is 1.3333 but 352/288 is 1.2222 (PAL) and 352/240 is 1.4666 (NTSC) Professionaly encoded VideoCD complies to standards, so we have to deal with that, sorry...
|
|
|
|
|
|
|
#114 | Link | |
|
I'm afraid we've to stop
![]() Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,402
|
Quote:
*Edit* I found the document on your website (mpgvideo.doc), but the table for pel_aspect_ratio seems to have mostly decimal values without corresponding AR like 4:3 for instance. How do you get values like 4:3,525 from it?
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ Last edited by len0x; 5th June 2005 at 11:38. |
|
|
|
|
|
|
#116 | Link | |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Quote:
Code:
pel_aspect_ratio height/width example 0000 forbidden 0001 1.0000 VGA etc. 0010 0.6735 0011 0.7031 16:9, 625line 0100 0.7615 0101 0.8055 0110 0.8437 16:9, 525line 0111 0.8935 1000 0.9375 CCIR601, 625line 1001 0.9815 1010 1.0255 1011 1.0695 1100 1.1250 CCIR601, 525line 1101 1.1575 1110 1.2015 1111 reserved |
|
|
|
|
|
|
#117 | Link |
|
brainless
Join Date: Mar 2003
Location: Germany
Posts: 3,484
|
are you sure, that those values are really the correct ones?
they all seem to be generic PAR, which is not recommended by ITU...
__________________
Don't forget the 'c'! Don't PM me for technical support, please. |
|
|
|
|
|
#118 | Link |
|
Life looks better in HDTV
Join Date: Jun 2003
Location: UK
Posts: 10,009
|
The 4:3 and 16:9 (NTSC/PAL) values are exactly the same settings I use when adding DAR signalling to my Mpeg4 streams.... nice!
__________________
Still confused about anamorphic images? Then look here! | Main Encoding Interests: Hardware device playback | My Gear | |
|
|
|
|
|
#119 | Link | |
|
I'm afraid we've to stop
![]() Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,402
|
Quote:
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
|
|
|
|
|
|
#120 | Link | |
|
_
![]() Join Date: Jan 2002
Posts: 16,636
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|