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. |
30th March 2003, 15:45 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
What is SimpleIDCT?
This is only sort of an Xvid question but this forum is probably where the related knowledge is, so I guess I'll dare to pose it here.
I heard Xvid now optionally uses a different SimpleIDCT function that is faster or nicer than the old IDCT for some reason. Can anyone tell me if that would also be true if I ported it to my copy of MPEG2DEC2.dll (or MPEG2DEC3) for Avisynth frame serving? Anyone know the advantages for MPEG-2? (speed?, quality?, would even work?) Prior to this the IDCT for DVD2AVI's, MPEGDEC's, and Xvid appeared to have mostly the same lineage. - Tom |
30th March 2003, 16:49 | #2 | Link |
Moderator
Join Date: Oct 2001
Location: England
Posts: 3,285
|
Simple iDCT is just a very accurate version of iDCT, the iDCT we were using (and the one most use i.e. intel mmx code with peter gubanov's modifications) was just a little inaccurate which emerged as smearing in QPel.
It could very easily be put into dvd2avi, but the difference in quality (if any) would be minute I'd guess. Hope that helps, -Nic |
30th March 2003, 16:59 | #3 | Link | |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Quote:
Do you know if SimpleIDCT is any faster or slower? - Tom |
|
30th March 2003, 18:31 | #5 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Naw, heck with it.
If I wanted a very very slightly more accurate and slightly slower IDCT then I could just use float. I guess it was a dumb idea. And I don't even think MPEG-2 uses qpel. - Tom |
31st March 2003, 01:30 | #9 | Link |
Registered User
Join Date: Oct 2001
Location: Italia
Posts: 412
|
Interesting thread
@Nic, so we can say that smearing problem is basically a rounding problem...? Talking about ffdshow (I'm using 20030103), Is that "simple" default iDCT profile equivalent to simple-iDCT? Thanx! |
31st March 2003, 03:27 | #10 | Link |
noise is all around us...
Join Date: Nov 2001
Location: - deep within -
Posts: 466
|
@nic: the smearing got a lot better, but it is still noticeable, at least with a small clip i kept for testing purposes.
the clip itself is a bit old and i will try to find the time and re-rip and -encode the scene the next days so i could tell for sure. btw is that broken b-frame / missing ref-frame problem familiar to anybody? i always get that message on top of my movie (wich plays awfully jerky) when i want to use ffdshow with xvid-decoder.
__________________
((( atom ))) |
31st March 2003, 08:13 | #11 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Quote:
If I put all comments (dropped here, there, and somewhere) together correctly, then some older builds used qpel without actually using simple-idct. Those builds produced "burnt-in" smearing, I fear. Me myself found some older clips that show heavy smearing even with the newest filters or DLLs, whereas the smearing has gotten minor in encodes produced with the latest builds.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
31st March 2003, 08:37 | #12 | Link |
Moderator
Join Date: Oct 2001
Location: England
Posts: 3,285
|
As far as I know, (I got GomGom to clue me in a little while back) The QPel smearing actually occured while encoding, rather than necessarily when decoding. So your old QPel clips that have that smearing may well always have it. Re-Encoding should remove all smearing with QPel.
Feedback always appreciated Cheers, -Nic |
31st March 2003, 12:03 | #13 | Link |
noise is all around us...
Join Date: Nov 2001
Location: - deep within -
Posts: 466
|
so i reencoded that little testclip and beeing decoded with nic's the smearing is gone, totally. using ffdshow it is there as it always was.
so there seems to be a fix now, great. that clip i have is really nasty in producing that smearing, so there are very good chances, no one else will find any smearing again. so nic, as i understand you are able to tell what exactly caused the problem, right? please go and tell the libavcodec/ffdshow developpers (i have actually switched to linux for watching movies, so i can`t actually benefit from you decoder..).
__________________
((( atom ))) |
31st March 2003, 13:27 | #15 | Link |
just me
Join Date: Sep 2002
Posts: 158
|
AFAIK there is already a new "libav". I'm not using linux for watching movies, but I think an upgrade of mplayer could do the trick. For all windows people: we have to wait until milan compiles a new ffdshow for us where he'll use the new libav. He said he'll do so this week.
Best regards, JimiK |
31st March 2003, 21:06 | #18 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
@ Nic
better use fdct_mmx even if sse2 is detected i tested it here on my P4 1.8 (williamete core) and it gives better results psnr wise http://forum.doom9.org/showthread.php?s=&threadid=49874 and it's only a tad slowerand the best filesize is decreased |
Thread Tools | Search this Thread |
Display Modes | |
|
|