[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenDivX digest, Vol 1 #40 - 9 msgs



Send OpenDivX mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.projectmayo.com/mailman/listinfo/opendivx
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of OpenDivX digest..."


Today's Topics:

   1. OpenDivX Decoder ->OpenDivX Daily Forums Digest (Darrius "Junto" Thompson)
   2. OpenDivX Encoder -> OpenDivX (Darrius "Junto" Thompson)
   3. General Development Discussion - All Projects -> OpenDivX Daily Forums Digest (Darrius "Junto" Thompson)
   4. OpenDivX Decoder ->OpenDivX Daily Forums Digest (Darrius "Junto" Thompson)
   5. OpenDivX Encoder -> OpenDivX Daily Forums Digest (Darrius "Junto" Thompson)
   6. General Development Discussion - All Projects -> OpenDivX Daily Forums Digest (Darrius "Junto" Thompson)
   7. Fw: kernel32.dll error (Cafer Ozturk)
   8. Hi (test message, notxt) ([email protected])
   9. disable B Vop in momusys (Arnaud Zanetti)

--__--__--

Message: 1
Date: Wed, 14 Mar 2001 09:59:51 -0800
From: "Darrius \"Junto\" Thompson" <[email protected]>
To: <[email protected]>
Subject: [OpenDivX] OpenDivX Decoder ->OpenDivX Daily Forums Digest






Topic:		How to force graphedt or WMP to automatically select the
DirectShow filter (DivXDec.ax)
Author:		benjamin
Posted:		 2001-03-13 00:24
------------------------------------------------------------------------
--------
I'm trying to make graphedit or WMP to automatically select DivXdec.ax
for playing back AVI files. They work well when the driver DivX.dll is
installed. But in this case, DirectShow seems always choose AVI
Decompressor to play using the driver. I can manually replace the
Decmpressor by the filter and playback is fine.

I'm wondering if there is a way to force graphedit to automatically use
the filter instead of the driver. I tried to register the filter only
without installing whole DivX for windows. I also tried to change the
name of DivX.dll after installation. In either case, the graphedt or WMP
just can not find the decompressor.

Thanks!


Topic:		Save "postprocessing level" in Registry! or Auto-adjust?
Author:		Michael R. Brumm
Posted:		 2001-03-13 01:56
------------------------------------------------------------------------
--------
Not sure where to save it: HKLM or HKCU...

But it would be nice if I didn't have to adjust the postprocessing level
back to zero every time I play a video ([email protected]) on my slower
dual-PII 450MHz. Note that on my PIII 1GHz it plays fine at the default
setting.

Also, the setting is an out-of-the way place (which I'm sure a lot of
nubies don't even know about; which is why there are so many complaints
from the peanut gallery), so it would be even nicer if the decoder could
sense the CPU strain and auto-adjust.

Maybe a check-box (checked by default installation) for "Auto Adjust
Postprocessing Level", and then allow power users to uncheck it and move
the slider manually?


Topic:		OpenDivX and support for 3dnow! in decoder
Author:		Socrates
Posted:		 2001-03-13 12:21
------------------------------------------------------------------------
--------
Or maybe it is because your posts (in this thread and the &quot;faster
code thread) are of such a high technical substance that people just
love reading them.

Your posts are very good, your ideas even better, I applaud you.

Now I only wish you could spend 40 hours a week on programming the
OpenDivX source :)

greetings,

Eelco Jepkema


Topic:		DivX 3.11Alpha......
Author:		westkoast
Posted:		 2001-03-13 12:26
------------------------------------------------------------------------
--------
Ok, well I installed Divx 4.0 or whatever, and wasn't able to view
movies, so I re-installed 3.11alpha and the movie works but it's very
choppy, why is this? and how do I fix it?

thanks


Topic:		OpenDivX and support for 3dnow! in decoder
Author:		Brians256
Posted:		 2001-03-13 14:11
------------------------------------------------------------------------
--------
If you know assembly, there are some spectacular improvements to be
made.  That's got to be exciting.

For instance, Martin (nickname mcmab)has written some hand-optimized
routines for basic_prediction.c that should really speed things up.

Speaking of which, the copy that I got has some odd features in it.
<pre>
void CopyBlock(unsigned char * Src, unsigned char * Dst, int Stride)
{
	int dy//;

	long *lpSrc =3D (long *) Src;
	long *lpDst =3D (long *) Dst;
	int lpStride =3D Stride >> 2;

	for (dy =3D 0//; dy < 8; dy++) {
		lpDst[0] =3D lpSrc[0];
		lpDst[1] =3D lpSrc[1];
		lpSrc +=3D lpStride;
		lpDst +=3D lpStride;
	}
}
</pre>

Why is there a comment delimiter in the middle of the for loop and the
declaration of the dy variable?[ This message was edited by: Brians256
on 2001-03-13 14:11 ]


Topic:		OpenDivX and support for 3dnow! in decoder
Author:		Brians256
Posted:		 2001-03-13 15:04
------------------------------------------------------------------------
--------
I can think of two things that should be done.  First, create multiple
assembly versions (CPU-specific versions) of these functions.  Second,
inline them!  Why make a function call to work with 64 bytes?!

3DNow! example without inlining.
<pre>
// Purpose: Copy a memory block from Src to Dst=20
void CopyMemBlock(
	unsigned char * Src,=20
	unsigned char * Dst,=20
	int BlockHeight,=20
	int BlockWidth,=20
	int Stride)
{
	_asm {
			mov		eax, dword ptr [Src]
			mov		ebx, Stride
			mov		edx, dword Ptr [Dst]
		=09
			// Copy=20
			movq	mm0, qword ptr[eax]
			movq	mm1, qword ptr[eax+ebx]
			movq	qword ptr [edx], mm0
			movq	qword ptr [edx+ebx], mm1
		=09
			lea		ecx, [ebx + ebx]
// set ecx to Stride*2
			movq	mm2, qword ptr[eax+ecx]
			movq	mm3, qword ptr[eax+ecx*2]
			movq	qword ptr [edx+ecx], mm2
			movq	qword ptr [edx+ecx*2], mm3

			lea		ecx, [ebx*4]
// set ecx to Stride*4
			movq	mm4, qword ptr[eax+ecx]
			movq	mm5, qword ptr[eax+ecx*2]
			movq	qword ptr [edx+ecx], mm4
			movq	qword ptr [edx+ecx*2], mm5

			lea		ecx, [ecx + ebx*2]
// set ecx to Stride*6
			movq	mm6, qword ptr[eax+ecx]
			movq	mm7, qword ptr[eax+ecx*2]
			movq	qword ptr [edx+ecx], mm6
			movq	qword ptr [edx+ecx*2], mm7
	}
}
</pre>

The reason that this is optimized in this fashion, is because we know
that BlockHeight and BlockWidth is going to be 8.  Actually, this
function is never called.[ This message was edited by: Brians256 on
2001-03-13 15:07 ]


Topic:		Stop Bug and Windows Media Player 7 ?
Author:		e7abe7a
Posted:		 2001-03-13 17:19
------------------------------------------------------------------------
--------
The new binaries on the web sites include the fix to this problem.=20


Topic:		win2k hangs when using opendivX ?
Author:		e7abe7a
Posted:		 2001-03-13 17:22
------------------------------------------------------------------------
--------
It could be a problem with the first release of the filter. Someone else
had his computer rebooted here  . The new binaries on the web site
include a fix to this problem.

http://www.projectmayo.com/projects/subproject.php?projectID=3D2&subproje=
c
tID=3D2


[ This message was edited by: e7abe7a on 2001-03-13 17:23 ][ This
message was edited by: e7abe7a on 2001-03-13 17:24 ]


Topic:		Save "postprocessing level" in Registry! or Auto-adjust?
Author:		e7abe7a
Posted:		 2001-03-13 17:31
------------------------------------------------------------------------
--------
Also Junto will probably like it! I can add it in next binary release.



--__--__--

Message: 2
Date: Wed, 14 Mar 2001 10:00:13 -0800
From: "Darrius \"Junto\" Thompson" <[email protected]>
To: <[email protected]>
Subject: [OpenDivX] OpenDivX Encoder -> OpenDivX





Topic:		Is it possible to have a test app for encoder and
decoder ?
Author:		gruel
Posted:		 2001-03-13 04:34
------------------------------------------------------------------------
--------
MPlayer now uses the 48-version, so it
might be a good reference for encoding/decoding.=20

http://thot.banki.hu/esp-team/MPlayer.html



--__--__--

Message: 3
Date: Wed, 14 Mar 2001 10:00:34 -0800
From: "Darrius \"Junto\" Thompson" <[email protected]>
To: <[email protected]>
Subject: [OpenDivX] General Development Discussion - All Projects -> OpenDivX Daily Forums Digest






Topic:		Postprocessing - howzabout you enable SMP to do PP on
the 2nd CPU?
Author:		Michael R. Brumm
Posted:		 2001-03-13 01:39
------------------------------------------------------------------------
--------
Why not just do this:

Part 1) When the request comes in for the nth frame, and there are no
threads decoding the nth frame, create a future_thread to decode the
[n+1]th frame. The current_thread obviously decodes the nth frame (as
usual). Return the results of the current_thread, but keep future_thread
going.

Part 2) When the next frame request comes in, check to see if
future_thread is processing it. If it is, make the current_thread =3D
future_thread, and create a new future_thread to process the [n+1]th
frame. Return the results of current_thread, and again keep
future_thread going.

Part 3) If a frame request comes in, and future_thread is not processing
it (for example, when someone skips or fastforward/rewinds), just kill
the future_thread (deallocating the memory, too), and perform the same
steps outlined in "Part 1".

Obviously this should only be done on dual-processor (or EXTREMELY fast
single-CPU) machines. Also, I only gave a 2 thread example for a
dual-CPU. This method could scale up to 4 threads for a quad-CPU... or 8
threads for a octa-CPU....


Topic:		Postprocessing - howzabout you enable SMP to do PP on
the 2nd CPU?
Author:		eagle
Posted:		 2001-03-13 03:09
------------------------------------------------------------------------
--------
Problem is that to decode DivX frame n, you most often need to have the
previous frame n-1, already decoded in memory.  Actually, you could the
overlap postprocessing and yuv2rgb of frame n-1 with the decode of frame
n, but it might not be worth the effort.

Decoding's not <!-- BBCode Start --><I>too</I><!-- BBCode End --> tough,
unless you have a pair of older processors, you shouldn't need SMP.
Encoding using SMP has exactly the same problem that I described for
decoding.

On a related note, does anyone have any experience with using the
pthread library in Windows?  I've written some stuff that uses pthread's
but it locks up under Win2k (using the pthreadw32 LGPL'd library.  Any
ideas or alternative solutions?

eagle[ This message was edited by: eagle on 2001-03-13 03:09 ]


Topic:		Postprocessing - howzabout you enable SMP to do PP on
the 2nd CPU?
Author:		genthons
Posted:		 2001-03-13 08:27
------------------------------------------------------------------------
--------
<!-- BBCode Start --><I> Encoding using SMP has exactly the same problem
that I described for decoding.</I><!-- BBCode End -->


For encoding, why not starting to decode two (or N) groups of images
following an I-frame, for which you do not need to know about the
previous frames ?=20
Each group would be decoded by a different processor. I guess this is a
memory consuming method, but I think someone who can afford a bi-proc
can buy the necessary amount of RAM.[ This message was edited by:
genthons on 2001-03-13 08:28 ]



--__--__--

Message: 4
Date: Wed, 14 Mar 2001 19:07:04 -0800
From: "Darrius \"Junto\" Thompson" <[email protected]>
To: <[email protected]>
Subject: [OpenDivX] OpenDivX Decoder ->OpenDivX Daily Forums Digest





Topic:		Save "postprocessing level" in Registry! or Auto-adjust?
Author:		milkman.dan
Posted:		 2001-03-14 07:58
------------------------------------------------------------------------
--------
Yes, please do. that "feature" drives me nuts.

Also, why was the min. Quantizer of 1 removed?


Topic:		DivX transcoding to VCD - colors messed up
Author:		victorvanacht
Posted:		 2001-03-14 11:10
------------------------------------------------------------------------
--------
I'm trying to transcode a DivX file to a (S)VCD file (to play it on
standalone DVD-players) using TMPEG (versions beta 12a...d) or LSX MPEG
suite 2.0.

Problem is that during the playback of the MPG file one can see that the
colors slowly go towards red/pink. Then after 3...5 seconds the colors
are suddenly back to normal but then start to fade to red/pink agian.
This continueus throughout the complete MPG-file.

While transcoding I can see that the colors of the source file (DivX)
indeed are slowly fading towards red/pink.

Strange thing is that playing the DivX file using the media player goes
without any problem(!!!)


My set-up:
Athlon TB 800
Win2K
Matrox Marvel G400. Driver version 5.33.006


Hope you can help!


Topic:		How to force graphedt or WMP to automatically select the
DirectShow filter (DivXDec.ax)
Author:		benjamin
Posted:		 2001-03-14 12:03
------------------------------------------------------------------------
--------
Let me rephrase my question.
I want to try the filter using WMP, but I'm not sure if WMP is really
using the filter or just the decoder driver.=20

I assume Graph Edit should have the same graph building process as WMP.
However, I can not successfully make Graph Edit to select the OpenDivX
filter (can't find decompressor, same in WMP) when I intend to make the
driver not available.

Based on some discussion in this forum, the people seem to use the
filter with WMP without problem. Am I missing or misunderstanding
something?

I'm using win2k and dx8.

Thanks!


Topic:		Great Job!
Author:		avbers
Posted:		 2001-03-14 16:53
------------------------------------------------------------------------
--------
Hi Guys...

I think you've done a great job improving DivX..

On my Pentium MMX 292 it almost runs smoothly.. I just need a minor
speed increase so I do not get anymore hic-ups..

The speed-improvement of the alpha 48 in comparison with the 3.11 source
is so huge on my system!

Many thanks, and try to squeeze the last bit of performance out of it,
so I do not have to upgrade my machine...

Keep up the good work,
Arnoud van Bers



--__--__--

Message: 5
Date: Wed, 14 Mar 2001 19:07:33 -0800
From: "Darrius \"Junto\" Thompson" <[email protected]>
To: <[email protected]>
Subject: [OpenDivX] OpenDivX Encoder -> OpenDivX Daily Forums Digest






Topic:		MPEG4 scalability and object segmentation
Author:		puremood
Posted:		 2001-03-14 07:26
------------------------------------------------------------------------
--------
Hi all. Object-oriented and scalability is the centerpiece of MPEG4.
Does OpenDivX codec support any of these functions as it's originally
based on MOMUSYS implementation? It would be great if these features can
be implemented on OpenDivX.


Topic:		Why AVI and not MPG?
Author:		Who cares
Posted:		 2001-03-14 16:13
------------------------------------------------------------------------
--------
Is it possible to make a DiVX-encoded MPG file and not an AVI


Topic:		Use the power of GPU's??
Author:		MiX
Posted:		 2001-03-14 16:41
------------------------------------------------------------------------
--------
One of my thoughts that I would like to tell is... Couldn't the immense
power of the newest 3d-cards be used to do some of the encoding tasks?

I know that GPU's are specialized for a tasks like 3d-gaming... But it
must be some power there to use, and when u brake down the 3d games it
is just a stream of data that needs to be processed... right=20

Just an idea to think about.

Regards
/MiX


Topic:		Use the power of GPU's??
Author:		Brians256
Posted:		 2001-03-14 18:02
------------------------------------------------------------------------
--------
Short answer: no.  GPU's are designed to flood-fill triangles and/or
paste textures onto them.  All those GFLOP's shown on the marketing page
are used in texture lookups and coordinate transforms.

The MPEG-4 algorithm could use help with IDCT, YUV->RGB, motion
compensation, and H.263 decoding.  IDCT is supported on ATI chipsets,
but is not supported (yet?).  YUV->RGB is supported on many new video
cards, but may not be supported.  That should be fairly easy to add to
the Playa app.  H.263 decoding would be fairly difficult to accelerate
with any coprocessor.


Topic:		Low bitrate encoder test results
Author:		sanhan
Posted:		 2001-03-14 20:45
------------------------------------------------------------------------
--------
It's said that the OpenDivX encore pays
much more attention to higher bitrate
videos than lower ones. This is a good
idea if users of OpenDivX only need DVD
like films.=20

But I would like guys of DARC pay a little
more attention to low bitrate video encoding
if they really want to follow MPEG-4 exactly.
By so, we can expand the usage of OpenDivX
code greatly.

Just my five cents.



--__--__--

Message: 6
Date: Wed, 14 Mar 2001 19:07:48 -0800
From: "Darrius \"Junto\" Thompson" <[email protected]>
To: <[email protected]>
Subject: [OpenDivX] General Development Discussion - All Projects -> OpenDivX Daily Forums Digest





Topic:		DivxVideo 3.11 alpha (But for Mac)
Author:		ausonia
Posted:		 2001-03-14 05:36
------------------------------------------------------------------------
--------
Hello, i=B4m a 3.11 alpha user and i need a compatible version for mac.

Is this codec in exist?  where to download?


thank


Topic:		THEPLAYA - http stream
Author:		Panzer
Posted:		 2001-03-14 05:59
------------------------------------------------------------------------
--------
I can't play http from playa. I have win95.
Did anybody play avis from http ?


Topic:		DivxVideo 3.11 alpha (But for Mac)
Author:		BetaBoy
Posted:		 2001-03-14 10:34
------------------------------------------------------------------------
--------
support for the original DivX  codec under MAC can be had at
www.mac.st[addsig]


Topic:		DivX for Dreamcast
Author:		BetaBoy
Posted:		 2001-03-14 10:50
------------------------------------------------------------------------
--------
What Andrew did was a start! http://dcload.julesdcdev.com/
-----------------
Dan Marlin
<!-- BBCode Start --><IMG
SRC=3D"http://www.mydivx.com/images/news/divxvideo.gif";><!-- BBCode End
-->
<!-- BBCode Start --><A HREF=3D"http://www.mydivx.com";
TARGET=3D"_blank">www.mydivx.com</A><!-- BBCode End -->
'We are the Music Makers and the Dreamers of the Dreams.' WW

[ This message was edited by: BetaBoy on 2001-03-14 10:53 ][ This
message was edited by: BetaBoy on 2001-03-14 10:54 ]


Topic:		Hardware encoder for Divx
Author:		Eftychios
Posted:		 2001-03-14 17:09
------------------------------------------------------------------------
--------
I am wondering how feasible it would be to actually build a hardware
encoder for DIVX. I assume that the hardware could be pluged in the PCI
slot and a driver could be used to drive it by redirecting the various
calls to the processor on the card.=20

My questions are:

1. Is there currently a stand allone processor that speciallizes in
multimedia instructions that would suit the needs of the encoder?
2. If there is such a processor, would it actually encode significantly
faster than the cpu and how much faster. I would guess that at least the
card should ne able to cut in half the time required to encode a typical
dvd movie.
3. If there is such a processor, how much it costs? Economic feasibility
is a must, not only for commercial reasons.


Well I cannot think of anythign else right now so I will wait for your
answers and see.

Regards

Eftychios Eftychiou


Topic:		Hardware encoder for Divx
Author:		Brians256
Posted:		 2001-03-14 17:56
------------------------------------------------------------------------
--------
The Philips Trimedia chip is designed for this kind of task, and there
is a fellow porting DivX Deux to a prototype.

However, don't bug him for status reports.  Let him get something done.
He has been kind enough to send status reports onto the mayo development
mailing list.


Topic:		Hardware encoder for Divx
Author:		eagle
Posted:		 2001-03-14 18:13
------------------------------------------------------------------------
--------
Probably the best way to do this would be to use a PCI card with an
FPGA.  If you want to know how to build this then mail me.

eagle


Topic:		ogg as paket format?
Author:		wmf
Posted:		 2001-03-14 20:49
------------------------------------------------------------------------
--------
Ogg is also a container format. So when comparing Ogg and QuickTime, I
don't think there's any reason to use Ogg.



--__--__--

Message: 7
From: "Cafer Ozturk" <[email protected]>
To: <[email protected]>
Date: Thu, 15 Mar 2001 06:12:22 +0200
Subject: [OpenDivX] Fw: kernel32.dll error

This is a multi-part message in MIME format.

------=_NextPart_000_0017_01C0AD16.E5ED6500
Content-Type: text/plain;
	charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable


----- Original Message -----=20
From: Cafer Ozturk=20
To: [email protected]=20
Sent: Monday, March 12, 2001 8:43 PM
Subject: kernel32.dll error


I am using WinME and mpeg2v12.exe(Mpeg2Avi/Ac3dec/vstrip Gui v0.20g =
(win9x mode) 18.02.2001)

------=_NextPart_000_0017_01C0AD16.E5ED6500
Content-Type: text/html;
	charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-9">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
[email protected] =
href=3D"mailto:[email protected]";>Cafer Ozturk</A>=20
</DIV>
<DIV><B>To:</B> <A [email protected]=20
href=3D"mailto:[email protected]";>[email protected]</A> </DIV>
<DIV><B>Sent:</B> Monday, March 12, 2001 8:43 PM</DIV>
<DIV><B>Subject:</B> kernel32.dll error</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>I am using WinME and=20
mpeg2v12.exe(Mpeg2Avi/Ac3dec/vstrip Gui v0.20g (win9x mode)=20
18.02.2001)</FONT></DIV></BODY></HTML>

------=_NextPart_000_0017_01C0AD16.E5ED6500--


--__--__--

Message: 8
From: [email protected]
To: [email protected]
Date: Thu, 15 Mar 2001 11:50:07 +0100
Subject: [OpenDivX] Hi (test message, notxt)




--__--__--

Message: 9
Date: Thu, 15 Mar 2001 15:58:29 +0100
From: Arnaud Zanetti <[email protected]>
To: mailing list opendivx <[email protected]>
Subject: [OpenDivX] disable B Vop in momusys

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello !
<br>Having read the code of encore and decore, I realized I wasn't take
into account the new VO &amp; VOL headers stuff.
<br>Now, the bistream encoded with Momusys (MPEG4 V2) are well decoded
except that B Vop aren't yet supported by OpenDivX. So my question is :
<br>does someone knows how to disable B Vop in Momusys ?
<p>By the way, forget every mail telling that decore isn't MPEG4 V2 compliant.
<p>thanks !</html>




--__--__--

_______________________________________________
OpenDivX mailing list
[email protected]
http://lists.projectmayo.com/mailman/listinfo/opendivx


End of OpenDivX Digest


Reply To Poster

Local References / HOW-TO / FAQs