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. |
24th February 2005, 02:21 | #1 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
x264 and b-frames flushing
since r137 x264 includes a fix for flushing frames when using b-frames at the end of encodes
am i right that this doesnt affect the behaviour of the vfw encoder? at least here it seems as if the behaviour is still the same (number of delay frames in the stream is the number of the chosen consecutive b-frames)
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
24th February 2005, 04:08 | #2 | Link |
Registered User
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,167
|
I think it will never affect vfw encoder - there is no way for VfW to know if encoding has finished and there is a need to flush - and even if there was, encoder has no way of transmitting the flushed frames to encoding application.
Like in Xvid. |
24th February 2005, 04:14 | #3 | Link |
Senior n00b
Join Date: Jan 2004
Location: Italy
Posts: 446
|
Seems to work perfectly in mencoder. You end up with an AVI without dummy frames at the start, and without missing frames at the end. Virtualdub(mod) doesn't support this kind of flushing.
BTW I'm having some problems both seeking and with the framenumber shown in ffdshow's OSD when decoding properly flushed mencoder clips; ffdshow seems to have troubles at the start and at the end of the clip. For example, it displays both the frames 0 and 1 as I-frames (and they aren't). It also doesn't display the last frame (it ends up with a B). Opening the clip in Vdub gives no problems at all. Someone has seen the same? Maybe I should update ffdshow to a very recent build? (mine is Jan 17 I think) |
24th February 2005, 10:57 | #5 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
virus, do you also now have the same framenumber in the output as in the input with mencoder? in vfw you loose the number of b-frames you set
also search for "b-frame decoder lag" with xvid
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
24th February 2005, 11:16 | #6 | Link | |
Senior n00b
Join Date: Jan 2004
Location: Italy
Posts: 446
|
Quote:
But yes, I can confirm what I wrote above: no dummies, no frame loss... mencoder produces an AVI with the same framenumber as the source. You don't lose anything. Unfortunately there's that duplicated first frame when opening it (either in VfW or DShow). I wonder if using a different container resolves this glitch or not. Anyway seeking in this build of ffdshow I'm using seems somewhat b0rked and may not be related to these particular (non-vfw) AVIs. I can't see the last frame in MPC, but Vdub definitely shows it. |
|
24th February 2005, 11:21 | #7 | Link | |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
Quote:
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|
24th February 2005, 11:22 | #8 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|