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 > New and alternative video codecs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th January 2009, 09:09   #1  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
Leak. Can you please modify this codec again?

link

Quote:
Originally Posted by Leak View Post
It's only reporting that the script requested a frame that's two frames ahead vs. the current frame - it doesn't matter if buffering is on or off, it just shows the script's behaviour.

Anyway, yeah, static menus *will not work* if you don't use ffdshow's built in MPEG2 decoder set to "libmpeg2" to decode MPEG2 video. Period.

When playback hits a static menu, decoding just stops, but of course the menu image is then only buffered ahead and never requested. I've modified the libmpeg2 codec so it'll signal the end of an MPEG2 sequence so the AviSynth filter can return those 2 frames at the end, but this plain doesn't work with external decoders - there's nothing I can do about that, I'm afraid. If you want to watch DVDs and get working static menus, use ffdshow for decoding them.

@haruhiko: I'll look into it.

np: The Black Dog - Seers & Sages (Book Of Dogma)
The person who made the libmpeg2 codec updated it and the ffdshow developers used it and got rid of the one you modified.
Now I'm getting a promlem and need you to retweak the codec again and include it in ffdshow.

That would be very nice.
Jeremy Duncan is offline   Reply With Quote
Old 29th January 2009, 19:09   #2  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
I don't really have time for this currently, but I've found one tiny difference that could well be it - single frames with both sequence start and stop set on them weren't treated specially at all, whereas earlier on I treated them as sequence ends.

I've committed an update to SVN to fix it, but it is totally untested as I've just reinstalled Windows XP on a new hard drive and haven't even installed Visual Studio yet...

np: The Orb - Alles Ist Schoen (Pomme Fritz Remastered)
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 31st January 2009, 19:58   #3  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
link to ffdshow version

I got to try a new ffdshow build that included your codec modification, and it now shows root menu properly!

Thank you very much kind sir.
Jeremy Duncan is offline   Reply With Quote
Old 1st March 2009, 11:32   #4  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
I am using ffdshow version 2693, clsid.

I am playing the ntsc widescreen movie ' hero' , starring Mr.Li.

I have been ghosting my pc back to previous times and have found a bug with the mpeg2 codec you modified.

When I started the movie, there was the fbi warning screen, then the movie studio screen where it says the company name.
But when it ot to the root menu the player crashed.
I found that if I disabled the ffdhow video codec, the libmpeg2 codec, and used media player classics m[eg2 codec.
The root menu showed fine and the movie did not crash.

After doing this I then tried the modified libmpeg2 codec you made and the root menu did not crash.

So it seems the using the media player classic video codec changed ffdshow somehow and this change repeated itself when the libmpeg2 codec was used again.
Like there is a memory of what worked with the mpc codec and this got transfered to the fdshow libmpeg2 codec.

When I tried mpc codec no filters were used, and when I went back to the libmpeg2 codec no filters were used.

Prior to this before using mpc video codec it did not matter if ffdshow video filters were used or not, the libmpeg2 video codec would crash on the root menu.

Edit,

The libmpeg2 codec crashed again when I reinstalled reclock.
It was not installed for the above text I wrote.
here are the settings I used:



Edit,

I just tried two movies that have twro root menus.
One root menu shows the play movie option, the other root menu shows two options: extended and regular.

Before I had to use leaks libmpeg2 ffdshow codec to see the second root menu.
But for some reason I can use the cyberlink powerdvd ultra video codec and the ffdhow audio codec and the ffdshow video filter codec, and the second root menu is visable.

Something is bufferng besides the libmpeg2 codec somewhere in the chain.

And I'm wondering if you know why the libmpeg2 has terrible terring?
Jeremy Duncan is offline   Reply With Quote
Old 1st March 2009, 15:37   #5  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Does it make any sense to apply the working patch upstream to libmpg itself?
tetsuo55 is offline   Reply With Quote
Old 1st March 2009, 19:58   #6  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by tetsuo55 View Post
Does it make any sense to apply the working patch upstream to libmpg itself?
No, as it's not a patch to libmpeg2 directly but rather to the interface code used by ffdshow, i.e. it's in code that is part of ffdshow, but not libmpeg2.
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 3rd March 2009, 12:49   #7  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
ffdshow 2734 seems to have fixed all my problems. :-)
Jeremy Duncan is offline   Reply With Quote
Reply


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 00:38.


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