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 Display Modes
Old 1st June 2004, 14:45   #1  |  Link
lordadmira
Registered User
 
lordadmira's Avatar
 
Join Date: Mar 2004
Location: Zinzinnati
Posts: 281
if 2 p-frames are more than 1 s apart, b-frames in between are not decoded

Syskin, concerning the bug listed in ur sig, (core) if two p-frames are more than one second apart, b-frames in between are not decoded. Could u give some more info on this? Are u saying that P frames up to and including 1 second apart are ok or that only up to and not including 1 second apart are ok. I did an encode with Bmax=30 and 29.97 fps and I experienced the bug with ffdshow. So is it really an encoding bug and not a decoding bug? I ask since I'm trying to decide if a max of 29 or 28 is needed to avoid the bug.
__________________
Anata wa baka da! REPENT!
lordadmira is offline   Reply With Quote
Old 1st June 2004, 15:48   #2  |  Link
sysKin
Registered User
 
sysKin's Avatar
 
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,166
There was a thread about this, but it seems to be gone now. I think it happens for two p-frames which are exactly 1 second apart as well.

In that thread, someone actually posted a file (called bframe.avi, that's all I know now) that used many b-frames. I remember it didn't have any problems with ffdshow, but who knows....

If you want a good encode, you'll set max b-frames to 3. If you don't want that... oh well

Radek
__________________
Visit #xvid or #x264 at irc.freenode.net
sysKin is offline   Reply With Quote
Old 2nd June 2004, 05:54   #3  |  Link
lordadmira
Registered User
 
lordadmira's Avatar
 
Join Date: Mar 2004
Location: Zinzinnati
Posts: 281
I forgot to mention that it was RC4 I did this with. Bmax 3?! Egads! That's cutting Xvid's potential off at the knees. Bthres 80 at 8/1/0 gives me spectacular results. And I think mass B frame usage is the direction H264 is going.
__________________
Anata wa baka da! REPENT!

Last edited by lordadmira; 2nd June 2004 at 06:04.
lordadmira is offline   Reply With Quote
Old 2nd June 2004, 06:43   #4  |  Link
sysKin
Registered User
 
sysKin's Avatar
 
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,166
Quote:
Originally posted by lordadmira
And I think mass B frame usage is the direction H264 is going.
Sure, but this is because b-frames are almost identical to p-frames there. The only difference is that they have direct mode, which is extra motion prediction mode.

Nothing comparable to mpeg-4, where b-frames are almost just as lame as in mpeg-1.
sysKin is offline   Reply With Quote
Old 2nd June 2004, 07:13   #5  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 2,698
lordadmira let me guess you encode Anime ?
who else could rape XviD like that then Anime Encoder
__________________
all my compares are riddles so please try to decipher them yourselves :)
current Main XviD PSNRLab version 1.1
current XviD PSNRLab update 1.1.3
MT1389xx Player Infos
XviD EDP Build CVS (CruNchers Visual System ©) V 1.4 new with predefined profiles ;)
Code:
Olivera: "We're expendable assets"
         "and we've just been expended"
"It's not a trick it's a Sony Rootkit" pwnz :devil: :angry: :rolleyes:
CruNcher is offline   Reply With Quote
Old 2nd June 2004, 07:55   #6  |  Link
lordadmira
Registered User
 
lordadmira's Avatar
 
Join Date: Mar 2004
Location: Zinzinnati
Posts: 281
%-) Anime? What other reason is there?

Syskin I think ur vastly underestimating the power of the B frame. I don't know if u read it but a while back I was in a thread discussing B frame theory. If u ask me an encode should consist almost entirely of B frames. P frames are only good for motion anchors. And I frames.. heh well the video has to be seekable.

LA
__________________
Anata wa baka da! REPENT!
lordadmira is offline   Reply With Quote
Old 2nd June 2004, 08:03   #7  |  Link
sysKin
Registered User
 
sysKin's Avatar
 
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,166
Quote:
Originally posted by lordadmira
I don't know if u read it but a while back I was in a thread discussing B frame theory. If u ask me an encode should consist almost entirely of B frames. P frames are only good for motion anchors. And I frames.. heh well the video has to be seekable.
Yes that is true - BUT b-frames don't reference each other in mpeg-4. If you have two p-frame "anchors" that are 100 frames apart, you encode quite a bit on information to encode frame 50. Then, frame 51 is similar to frame 50 so you encode *the same information* again. Then, frame 52 is similar to the other two but you encode the same information for the 3rd time. Then, frame 54 encodes the same information for the 4th time.

Repeat that for all b-frames.

B-frames cannot have their references more then 2 frames away, just cannot.

Last edited by sysKin; 2nd June 2004 at 08:05.
sysKin is offline   Reply With Quote
Old 2nd June 2004, 08:04   #8  |  Link
virus
Senior n00b
 
Join Date: Jan 2004
Location: Italy
Posts: 446
Quote:
Originally posted by lordadmira
Syskin I think ur vastly underestimating the power of the B frame.
Personally, I think you're vastly underestimating the power of sysKin
virus is offline   Reply With Quote
Old 2nd June 2004, 08:18   #9  |  Link
lordadmira
Registered User
 
lordadmira's Avatar
 
Join Date: Mar 2004
Location: Zinzinnati
Posts: 281
Whoa dude. I said P frames should be motion anchors. Arbitrarily sticking two P frames 100 frames apart isn't going to help anything. You have to analyze the video to find the best spots for P frames, and those are end points of motions. The B frames then come in to handle the motion based off the end points.
__________________
Anata wa baka da! REPENT!
lordadmira is offline   Reply With Quote
Old 2nd June 2004, 11:09   #10  |  Link
lordadmira
Registered User
 
lordadmira's Avatar
 
Join Date: Mar 2004
Location: Zinzinnati
Posts: 281
Quote:
Originally posted by sysKin
B-frames cannot have their references more then 2 frames away, just cannot.
Why.
__________________
Anata wa baka da! REPENT!
lordadmira 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 11:46.


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