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 > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th September 2004, 16:28   #61  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,648
Nice one Moitah, looks good...

Thanks
__________________
| 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   Reply With Quote
Old 14th September 2004, 16:40   #62  |  Link
minolta
Registered User
 
Join Date: Feb 2004
Posts: 103
Whoa, everything I ever wanted and more! My new dvd/mpeg4 player does obey field-order, and my old interlaced videos were 'juddery'. When changed to 'tff' with your tool, they become smooth again. Also, knowing gmc or qpel is important, since the dvd/mpeg4 player can't handle these. Many thanks for a fantastic tool.
-Minolta
minolta is offline   Reply With Quote
Old 16th September 2004, 21:14   #63  |  Link
Moitah
Registered User
 
Join Date: Feb 2004
Location: Virginia, USA
Posts: 334
Quote:
Originally posted by SeeMoreDigital
Would it be possible to make a version of this tool that can support different containers... such as MKV and (my personal favourite) .MP4?
Matroska: Yeah it should be possible, and I would like Matroska support as well. But I don't think it's going to happen, just because I don't really feel like doing it .

MP4: I can't say I'm really interested in MP4, not because I don't like it, but I've never had a reason to use it. To answer your question, though, I don't see why it wouldn't be possible (though I haven't seen the specs for it).
__________________
moitah.net
Moitah is offline   Reply With Quote
Old 16th September 2004, 21:32   #64  |  Link
Moitah
Registered User
 
Join Date: Feb 2004
Location: Virginia, USA
Posts: 334
Some information about the stats in 1.2.0:

"Dummy N-VOPs" are N-VOPs used as placeholders for real VOPs when packed bitstream is used. These show up in the frame list as "N-VOP(D)", and they are not used in the stats for calculating the amount of N-VOPs in the video.

The calculation method for consecutive B-VOPs... I will give an example:
I B B P B
This would be shown as "1 consec: 50%, 2 consec: 50%" (as opposed to "1 consec: 33%, 2 consec: 67%").


Here's an example of what the stats shows, for those who haven't tried it:
Code:
Packed bitstream: Yes
QPel:             Yes
GMC:              Yes (3 warp points)
Interlaced:       Yes (top field first)
Aspect ratio:     Custom pixel shape (141:80 = 1.7625)
Quant type:       MPEG Custom

Custom intra matrix:
      8   9  10  11  12  14  16  18
      9  11  12  13  15  16  18  20
     10  12  14  16  17  19  21  22
     11  13  16  18  20  22  24  26
     12  15  17  20  23  25  28  30
     14  16  19  22  25  29  34  38
     16  18  21  24  28  34  46  52
     18  20  22  26  30  38  52  72

Custom inter matrix:
     16  16  17  17  18  19  21  23
     16  17  17  18  19  20  22  24
     17  17  19  20  21  23  24  27
     17  18  20  22  24  25  28  32
     18  19  21  24  26  29  36  40
     19  20  23  25  29  40  48  52
     21  22  24  28  36  48  60  64
     23  24  27  32  40  52  64 106

I-VOPs: 3 (0.42%)
P-VOPs: 52 (7.29%)
B-VOPs: 460 (64.52%)
S-VOPs: 198 (27.77%)
N-VOPs: 0 (0.00%)

Max consecutive B-VOPs:   2
    1 consec: 15.26%
    2 consec: 84.74%
And the frame list:
Code:
     0: I-VOP    (0:00:00.000)
     1: P-VOP    (0:00:00.066)
        B-VOP    (0:00:00.033)
     2: N-VOP(D) (0:00:00.066)
     3: P-VOP    (0:00:00.166)
        B-VOP    (0:00:00.100)
     4: B-VOP    (0:00:00.133)
     5: N-VOP(D) (0:00:00.166)
     6: P-VOP    (0:00:00.233)
        B-VOP    (0:00:00.200)
     7: N-VOP(D) (0:00:00.233)
     8: P-VOP    (0:00:00.333)
        B-VOP    (0:00:00.266)
     9: B-VOP    (0:00:00.300)
    10: N-VOP(D) (0:00:00.333)
__________________
moitah.net
Moitah is offline   Reply With Quote
Old 16th September 2004, 21:45   #65  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,648
Quote:
Originally posted by Moitah
...MP4: I can't say I'm really interested in MP4, not because I don't like it, but I've never had a reason to use it. To answer your question, though, I don't see why it wouldn't be possible (though I haven't seen the specs for it).
I think it's a real shame that there are so many people on the forum who don't like the MP4 container

What us MP4 enthusiasts need are people like your good self creating tools to help raise the profile of the container (so more people use it) because it really is rather flexible!

As you know, there's quite a buzz on the forum regarding Ahead's proposed h.264 (AVC) implementation. Which sufficed to say is in MP4


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   Reply With Quote
Old 17th September 2004, 19:28   #66  |  Link
pogo stick
I have sawdust in my head
 
pogo stick's Avatar
 
Join Date: Aug 2003
Location: Russia
Posts: 305
Quote:
Originally posted by Moitah
New feature: modification of field order for interlaced videos
Great! New feature helped me also.
Quote:
Originally posted by minolta
My new dvd/mpeg4 player does obey field-order...
Interesting, how about anamorphic video decoding? Did you try it on your dvd/mpeg4 player?
Quote:
Originally posted by Moitah
MP4: I can't say I'm really interested in MP4, not because I don't like it, but I've never had a reason to use it. To answer your question, though, I don't see why it wouldn't be possible (though I haven't seen the specs for it).
SeeMoreDigital is absolutely right. MP4 is missing people like you.
Maybe new Ateme's H.264 codec will change your mind in time.
People will definitely be needing tools for it.
pogo stick is offline   Reply With Quote
Old 25th October 2004, 02:12   #67  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,263
I'm getting 'Invalid VOL.' when trying to open an XviD movie. Here is a 1.78MB sample of the offending movie which gives the same error.

=http://www.deadman3000.plus.com/test.avi

Oops! It's not XviD it's DiVX 5.02 or so Nandub says. Nevermind then.

Last edited by oddball; 26th October 2004 at 01:30.
oddball is offline   Reply With Quote
Old 25th October 2004, 02:25   #68  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
test.avi link points to the wrong URL...
Sharktooth is offline   Reply With Quote
Old 25th October 2004, 17:29   #69  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,648
Hi Moitah,

I noticed the other day that the current version does not put a little "dot" in DAR section, even if DAR has been set using Mpeg4 Modifier: -



Can this be fixed?


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   Reply With Quote
Old 25th October 2004, 18:09   #70  |  Link
Moitah
Registered User
 
Join Date: Feb 2004
Location: Virginia, USA
Posts: 334
Quote:
Originally posted by SeeMoreDigital
I noticed the other day that the current version does not put a little "dot" in DAR section, even if DAR has been set using Mpeg4 Modifier
DAR isn't stored in the MPEG 4 bitstream. When you choose one of the DAR options, the PAR is calculated based on the resolution of the video.

EDIT: I want to clarify the way aspect ratio is stored in MPEG 4. It is a 4 bit number, here are the possible values:

1: Square pixels
2: 4:3 PAL pixel shape
3: 4:3 NTSC pixel shape
4: 16:9 PAL pixel shape
5: 16:9 NTSC pixel shape
15: Custom pixel shape

If the value is 15, two 8-bit integers follow, which specify the width and height of a pixel, respectively.
__________________
moitah.net

Last edited by Moitah; 25th October 2004 at 18:21.
Moitah is offline   Reply With Quote
Old 25th October 2004, 19:07   #71  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,648
Quote:
Originally posted by Moitah
DAR isn't stored in the MPEG 4 bitstream. When you choose one of the DAR options, the PAR is calculated based on the resolution of the video.
I see... this explains a lot!

Strange then, that ESS chip-sets b0rk when playing encodes with 4:3, 16:9 and 2.35:1 "DAR" settings... maybe these setting are too accurate!

I notice XviD list their 4:3, 16:9 and 2.35:1 settings as "Picture Aspect Ratio". In hindsight, this terminology might prove less confusing than describing it as being DAR, since it's not DAR in it's truest sense... What do you think?

Now given that DAR information can't be stored in the Mpeg4 bit-stream. Do you know if it can it be stored in the AVI or MP4 container?

And do you know where the DAR information is stored with Mpeg2 streams. Is it in the stream or in the container?


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   Reply With Quote
Old 26th October 2004, 01:31   #72  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,263
Fixed link

test.avi
oddball is offline   Reply With Quote
Old 26th October 2004, 01:37   #73  |  Link
minolta
Registered User
 
Join Date: Feb 2004
Posts: 103
well, my dvp-642 b0rks on custom par settings also. in fact, i doubt the player reads AR flags at all, instead simply skipping ahead 8 bits. of course, a custom par is 24 bits! it becomes confused and dies...poor guy.
minolta is offline   Reply With Quote
Old 26th October 2004, 08:45   #74  |  Link
MrBunny
Registered User
 
Join Date: Oct 2002
Posts: 82
Hey oddball, what XviD build are you using on that? No version number (a la XviD0036) comes up for me when I try to check it out. I've seen that same VOL error before, only on things encoded with older builds from what I recall. They might have changed the header format somewhere along the way.

BTW Thanks Moitah for the great app! It's so useful to be able to pull up so much information about an encode so quickly.
MrBunny is offline   Reply With Quote
Old 26th October 2004, 11:35   #75  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,648
Moitah,

I've just made a suggestion to sysKin. How about renaming the "Display AR" section to... "Pseudo DAR"?



Just a thought


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   Reply With Quote
Old 26th October 2004, 17:19   #76  |  Link
frank
Registered User
 
Join Date: Oct 2001
Location: Germany
Posts: 769
Deleted!

Last edited by frank; 27th October 2004 at 22:58.
frank is offline   Reply With Quote
Old 26th October 2004, 17:34   #77  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,648
Re: Hangs on files > 2GB

Quote:
Originally posted by frank
MPEG-4 Modifier hangs on MP4 files > 2 GB.
I take it you mean "Mpeg4" and not "MP4"?

As you know MP4 is a container and just happens to be the generic container for Mpeg4

The 2GB limit is a problem with AVI files and is one of the reasons why I prefer to keep my Mpeg4 streams in the MP4 container.

But I'm lucky I can play MP4 contained files in hardware and view them on my TV...

What stand-alone player do you have?


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   Reply With Quote
Old 27th October 2004, 02:18   #78  |  Link
Moitah
Registered User
 
Join Date: Feb 2004
Location: Virginia, USA
Posts: 334
Quote:
Originally posted by oddball
I'm getting 'Invalid VOL.' when trying to open an XviD movie.
I think this was encoded with a very old version of XviD. At the end of the VOL, padding bits are supposed to be added until a byte boundary is reached. What if the VOL already ends on a byte boundary? Well, it should be padded anyway (with 8 bits).

The VOL in this file ends on a byte boundary, but there is no padding following. If you really want to modify this video, send me a PM and I will make you a compile with the pad checking removed... I don't feel like making an offical release just for this .
__________________
moitah.net
Moitah is offline   Reply With Quote
Old 27th October 2004, 14:32   #79  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,648
Hi Moitah,

I think it might be worth mentioning that when you use mp4UI to de-mux Mpeg4 streams to AVI, MPEG4 Modifier v1.2.0 also reports "Invalid VOL".... And that MPEG4 Modifier v1.1.0 reports no such problems!


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   Reply With Quote
Old 27th October 2004, 21:38   #80  |  Link
frank
Registered User
 
Join Date: Oct 2001
Location: Germany
Posts: 769
Sorry, wrong thread...

No, it was MP4, encoded with Nero Recode 2. It produces files with MPEG-4 encoded video and muxed AAC. The quality is very good.

Because my new Daytek DVD PX 351 (ESS chipset) only can play AVIs with AC3 or MP3 I wanted to demux the 4 GB MP4 video (and mux with AC3). But MP4UI cannot open such big files.

Yes, AVI has the 2 GB limit, but not MP4. I'm wondering why VirtualDub doesn't have that problem.

Last edited by frank; 27th October 2004 at 22:59.
frank is offline   Reply With Quote
Reply

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 07:03.


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