[MPlayer-users] 2vuy codec?

Brian D. Winters brianw-mplr at pteranodon.org
Mon Aug 9 23:42:07 CEST 2004


On Mon, Aug 09, 2004 at 09:47:31PM +0200, Reimar D?ffinger wrote:
> >I have access to a video capture setup which produces QuickTime files
> >using 2vuy encoding.  (I found documentation of 2vuy encoding here:
> >http://developer.apple.com/quicktime/icefloe/dispatch019.html)  I
> >would like to use mencoder on these files, but they are unsupported.
> 
> That isn't very specific. How do you know that they are unsupported? 

Not to sound like a smartass, but I fed it as input to mencoder, and
it choked. :)  Ditto mplayer.  They both say "Cannot find codec..."
Details below.

Also, I checked out the latest mplayer CVS, including
ffmpeg/libavcodec, ran "find . -type f -exec grep -Hi 2vuy {} \;" from
the root, and found only one instance of the string "2vuy".  It is in
loader/qtx/qtxsdk/components.h.  "k2vuyPixelFormat" is set to a Fourcc
of "2vuy".  "k2vuyPixelFormat" is never used.  Now admittedly that's
not 100% conclusive evidence, but it suggests to me that 2vuy might be
unsupported.

Anyway, to cover some of the obvious bases, I'm 99.9% sure I have the
QT DLLs installed properly.  I have some Sorenson-encoded files that
require QT 6.3 for their audio:

[...]
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
External func COMCTL32.dll:16
External func COMCTL32.dll:17
QuickTime6.3 DLLs found
QuickTime.qts patched!!! old entry=0x6693c3e0
theQuickTimeDispatcher catched -> 0x6693c3e0
WARNING! Invalid Ptr handle!

### Searching for QuickTime plugins (*.qtx) at /usr/lib/win32...
### FindNext: AvidQTAVUICodec.qtx
### FindNext: BeHereiVideo.qtx
### FindNext: QuickTimeEssentials.qtx
### FindNext: QuickTimeInternetExtras.qtx
theQuickTimeDispatcher catched -> 0x6693c3e0
theQuickTimeDispatcher catched -> 0x6693c3e0
[...]

Aside from the fact that the past tense of "catch" is "caught" :),
everything there looks good to me.  What I don't know is whether the
supported QT DLLs include all of the standard QT codecs.  (The
descriptions I've seen of 2vuy suggest that it is a pretty standard
format in Apple's world.  The only instances of 2vuy I found in the
mplayer mailing list archives were wrt playback performance in the OSX
port; apparently 2vuy is used heavily by the video layers in OSX.)  On
the 'doze machine to which I have access, 2vuy files are played using
a codec from a file named "qt5plug.dll", which is not a filename in
the /usr/lib/win32 directory.

> What did you try? What were the results (log!)?

I've tried mplayer and mencoder, with this as a good example from
mencoder:

% mencoder -ovc lavc -oac pcm -o out.avi in.mov
[skipping a screenful of not finding various optional config files]
success: format: 0  data: 0x0 - 0xAB5BE054
QuickTime/MOV file format detected.
--------------
MOV track #0: 162019 chunks, 0 samples
Image size: 720 x 486 (24 bpp)
Display size: 720 x 486
Fourcc: 2vuy  Codec: '8-bit 4:2:2 Component Y'CbCr'
--------------
MOV track #1: 32404 chunks, 0 samples
Audio bits: 16  chans: 2  rate: 48000
Fourcc: sowt
--------------
MOV: longest streams: A: #1 (32404 samples)  V: #0 (162019 samples)
[V] filefmt:7  fourcc:0x79757632  size:720x486  fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 192000->192000 (1536.0 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Cannot find codec matching selected -vo and video format 0x79757632.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Exiting...

> Did you try -rawvideo format=uyvy ?

Yup.  It doesn't change the output at all.

Where should I go from here?

Brian




More information about the MPlayer-users mailing list