Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 11136

Summary: Mplayer CVS Quicktime ebuild
Product: Gentoo Linux Reporter: Matthew Schick <matt>
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: normal CC: craig, davidsoft, gentoo-bugs, mavos, mholzer, rizzo, Take.Vos
Priority: High    
Version: 1.4_rc1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The ebuild
New cvs ebuild... Quicktime without Wine!!!
MPlayer-CVS ebuild which does not install it's own QT support.
-r1 of mplayer-cvs ebuild
-r1 fixed!

Description Matthew Schick 2002-11-23 15:54:19 UTC
This ebuild is for the new (CVS) version of mplayer with sorenson support.  It's 
made to install in parallel with the regular version due to it's lack of support for 
the win32 dlls.
Comment 1 Matthew Schick 2002-11-23 15:55:34 UTC
Created attachment 5900 [details]
The ebuild
Comment 2 Matthew Schick 2002-11-23 15:58:47 UTC
You will have to get the source from the url above.  
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-24 14:20:56 UTC
Same as folloing ?  If so, guess we should wait for official support:

-----
From: 	Arpi <arpi@thot.banki.hu>
Reply-To: 	mplayer-dev-eng@mplayerhq.hu
To: 	mplayer-dev-eng@mplayerhq.hu
Subject: 	[MPlayer-dev-eng] quicktime news - we did it again? :)
Date: 	Sun, 24 Nov 2002 21:38:39 +0100	
Hi,

Ok some good news is coming: i'm playing svq3+qdm2 mov without(!) libwine
right now :)
using the builtin loader (with lots of uncommited modifications, mostly done
by Alex) and a hacked quicktime.qts (actually some init calls replaced with
NOPs so we don't have to emulate directx, windows font manager and some
other messy things we don't need anyway)

it'll take ages to cleanup this hack but it will be done soon.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
Comment 4 Matthew Schick 2002-11-25 15:50:08 UTC
yup...  pretty much the same, only better... hold off by all means...  :D 
Comment 5 Matthew Schick 2002-11-26 09:48:52 UTC
Created attachment 5963 [details]
New cvs ebuild...  Quicktime without Wine!!!

This obsoletes the previous ebuild.  Has full win32 dll support, seems to work
great.
Comment 6 Herbie Hopkins (RETIRED) gentoo-dev 2002-12-03 13:12:11 UTC
Seems that quicktime support is finished, and we do have official support, at
least  with the cvs version.

from http://www.mplayerhq.hu/homepage/

Sorenson playback complete:
A'rpi and Al3x marvelously hacked the built-in Win32 loader to load the
QuickTime codecs (Sorenson 3, QDesign Music Audio). You don't need the libwine
hack, mentioned in the previous news entry. Just follow the New QT Howto,
download the codecs and start MPlayer.

Also I noted that this ebuild disables dvd support even with USE="dvd". other
than that it works great.
Comment 7 foser (RETIRED) gentoo-dev 2002-12-09 08:41:08 UTC
i think this can be closed now rc1 is in (with the qt support).
Comment 8 foser (RETIRED) gentoo-dev 2002-12-09 08:55:30 UTC
hmm not sure if our ebuild has the qt support just yet. it seems to be missing
the right codecs
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-09 13:28:18 UTC
nosferatu root # mplayer -vc help | grep quicktime
can't open '/root/.mplayer/codecs.conf': No such file or directory
qt3ivx      qtvideo   working   win32/quicktime 3IV1 (3ivx) decoder  [3ivx Delta
3.5.qtx]
qth263      qtvideo   crashing  win32/quicktime H.263 decoder  [QuickTime.qts]
qtrlerpza   qtvideo   crashing  win32/quicktime RLE/RPZA decoder  [QuickTime.qts]
qtvp3       qtvideo   crashing  win32/quicktime VP3 decoder  [On2_VP3.qtx]
qtzygo      qtvideo   problems  win32/quicktime ZyGo decoder  [ZyGoVideo.qtx]
qtbhiv      qtvideo   untested  win32/quicktime BeHereiVideo decoder 
[BeHereiVideo.qtx]
qtsvq3      qtvideo   working   win32/quicktime SVQ3 decoder 
[QuickTimeEssentials.qtx]
qtsvq1      qtvideo   problems  win32/quicktime SVQ1 decoder  [QuickTime.qts]
nosferatu root # 
---------------------

Support is there ... you will just have to install required codecs ... (not
sure if latest win32 codecs include ... ).  Not sure about QT in general
though, as I dont have/use quicktime ....
Comment 10 Craig Callender 2002-12-10 00:43:23 UTC
Created attachment 6362 [details]
MPlayer-CVS ebuild which does not install it's own QT support.

This CVS ebuild relies on codecs installed by win32codec.ebuild rather than
installing it's own Quicktime DLLs.  The benifit is that the DLLs can be
updated independantly of MPlayer.

-- Corith Malin
Comment 11 Thomas R. (TRauMa) 2002-12-14 15:17:40 UTC
Perhaps OT as I refer to the official mplayer cvs ebuild:
I added --with-qtx-support to mplayer-0.90_rc1-r1.ebuild and it built fine. But
I'm still unable to play sorenson3 movs. At least I think so.

Here's output of mplayer -vc help |grep quicktime
can't open '/home/trauma/.mplayer/codecs.conf': No such file or directory
qt3ivx      qtvideo   working   win32/quicktime 3IV1 (3ivx) decoder  [3ivx Delta
3.5.qtx]
qth263      qtvideo   crashing  win32/quicktime H.263 decoder  [QuickTime.qts]
qtrlerpza   qtvideo   crashing  win32/quicktime RLE/RPZA decoder  [QuickTime.qts]
qtvp3       qtvideo   crashing  win32/quicktime VP3 decoder  [On2_VP3.qtx]
qtzygo      qtvideo   problems  win32/quicktime ZyGo decoder  [ZyGoVideo.qtx]
qtbhiv      qtvideo   untested  win32/quicktime BeHereiVideo decoder 
[BeHereiVideo.qtx]
qtsvq3      qtvideo   working   win32/quicktime SVQ3 decoder 
[QuickTimeEssentials.qtx]
qtsvq1      qtvideo   problems  win32/quicktime SVQ1 decoder  [QuickTime.qts]
Comment 12 Craig Callender 2002-12-14 15:21:46 UTC
well, what you need to do it you installed the one dated 12/10, is download the
new win32codecs from bugzilla.  Bug number 11882.  Install that, then remerge
MPlayer.
Comment 13 Thomas R. (TRauMa) 2002-12-14 15:38:59 UTC
Hm, manually downloaded the quicktime dlls etc. and added them to
/usr/lib/win32, tried both quicktime5 and 6 and remerged mplayer. Here is a
sample output I get:
mplayer -vid 4 -aid 5 Lotr-Fullscreen-Trailer.mov

[snipped blah blah]

MOV track #4: 470 chunks, 2819 samples
MOV: Found unknown movie atom SMI  (21)!
Image size: 640 x 272 (24 bpp)
Display size: 640 x 272
Fourcc: SVQ3  Codec: 'Sorenson Video 3'
--------------
MOV track #5: 235 chunks, 0 samples
Audio bits: 16  chans: 2  rate: 44100
Fourcc: ima4
--------------
MOV track #6: 1 chunks, 0 samples
Generic track - not completly understood! (id: 6)
--------------
MOV track #7: 1 chunks, 0 samples
Generic track - not completly understood! (id: 7)
--------------
MOV: best streams: A: #-1 (0 samples)  V: #-1 (0 samples)
Clip info: 
 comments: QuickTime 5 version by RDW & GG,  Apple
 copyright: 
Comment 14 Thomas R. (TRauMa) 2002-12-14 15:38:59 UTC
Hm, manually downloaded the quicktime dlls etc. and added them to
/usr/lib/win32, tried both quicktime5 and 6 and remerged mplayer. Here is a
sample output I get:
mplayer -vid 4 -aid 5 Lotr-Fullscreen-Trailer.mov

[snipped blah blah]

MOV track #4: 470 chunks, 2819 samples
MOV: Found unknown movie atom SMI  (21)!
Image size: 640 x 272 (24 bpp)
Display size: 640 x 272
Fourcc: SVQ3  Codec: 'Sorenson Video 3'
--------------
MOV track #5: 235 chunks, 0 samples
Audio bits: 16  chans: 2  rate: 44100
Fourcc: ima4
--------------
MOV track #6: 1 chunks, 0 samples
Generic track - not completly understood! (id: 6)
--------------
MOV track #7: 1 chunks, 0 samples
Generic track - not completly understood! (id: 7)
--------------
MOV: best streams: A: #-1 (0 samples)  V: #-1 (0 samples)
Clip info: 
 comments: QuickTime 5 version by RDW & GG,  Apple
 copyright: ©2002 Newline Cinema, All rights reserved.
 name: Lord of the Rings: The Two Towers
 encoder: Made with LiveStage Pro
==========================================================================
Opening audio decoder: [imaadpcm] IMA ADPCM audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 46856->176400 (374,8 kbit)
Selected audio codec: [imaadpcm] afm:imaadpcm (IMA ADPCM)
==========================================================================
Opening video filter: [pp]
==========================================================================
Opening video decoder: [qtvideo] Quicktime Video decoder
Error no 12
VirtualAlloc(0x0x62800000, 3997696) failed
External func COMCTL32.dll:17
External func COMCTL32.dll:16
Unsupported QuickTime version (0x17835c30)
InitializeQTML returned 268498899
Count = 128977
Found it! ID = 0x1F7D1
ci=0x1f7d1
ImageCodecInitialize->0x1f7d1  size=0 (0)
Flags: compr: 0x0  decomp: 0x0 format: 0x0
Codec name: 
ImageDescription size: 111


MPlayer interrupted by signal 11 in module: init_video_codec 
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-d
ebug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreport
s.html section 5.b.
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _o
r_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, 
please read DOCS/bugreports.html and follow instructions there. We can't and won
't help unless you provide these informations when reporting a possible bug.
Comment 15 Matthew Schick 2002-12-14 17:21:37 UTC
http://forums.gentoo.org/viewtopic.php?t=23782
Comment 16 Martin Holzer (RETIRED) gentoo-dev 2002-12-16 13:32:55 UTC
*** Bug 12239 has been marked as a duplicate of this bug. ***
Comment 17 Don Seiler (RETIRED) gentoo-dev 2002-12-16 13:36:00 UTC
I've edited the win32codecs ebuild to get the quicktime dlls and install them. 
Do you want it?  It's really nothing special.
Comment 18 Martin Holzer (RETIRED) gentoo-dev 2002-12-16 13:39:48 UTC
a new win32codes ebuild (win32codes-0.90.1) has been added to cvs (watch #11882 
for details)

Comment 19 Don Seiler (RETIRED) gentoo-dev 2002-12-16 13:46:42 UTC
Hmm I had installed that version of win32codecs and it didn't give me the QT6
dlls.  And looking in win32codecs-0.90.1.tar.bz2 they aren't there.  Are my eyes
or brain failing me?
Comment 20 Don Seiler (RETIRED) gentoo-dev 2002-12-16 13:57:41 UTC
Confirming that the existing mplayer-0.90_rc1-r1 ebuild has Quicktime support. 
Just need to add the Quicktime DLLs to win32codecs (they are not in win32codecs
0.90.1).
Comment 21 Martin Holzer (RETIRED) gentoo-dev 2002-12-16 14:07:25 UTC
so where to get the quicktime dll's from a official site ?
Comment 22 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-16 14:11:21 UTC
This was my fault, as I did not verify it.  I am in the process of adding it ...
Comment 23 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-16 15:36:00 UTC
Ok, win32codecs-0.90.1-r1 have quicktime codecs if 'quicktime' in USE.
Comment 24 John Davis (zhen) (RETIRED) gentoo-dev 2002-12-19 18:16:25 UTC
*** Bug 2910 has been marked as a duplicate of this bug. ***
Comment 25 Matthew Schick 2002-12-19 18:27:10 UTC
John did you mean to mark 2910 as a dup of this one?  I don't really see how the
two are related.... 
Comment 26 Matthew Schick 2002-12-19 19:56:46 UTC
Created attachment 6614 [details]
-r1 of mplayer-cvs ebuild

Updated all sorts of use flags from Martin's ebuild.  Also removed the seperate
quicktime dep in favor of the new win32codecs.	And last but not least. I added
a "menu" use flag for the new OSD menu.

This does obsolete all the other files described here.	Could someone with
sufficiant access please take care of this?
Comment 27 Matthew Schick 2002-12-19 19:58:11 UTC
Removed the url as it's no longer needed.  Also re-opened in hopes that it might
make it into portage....  ;)
Comment 28 Matthew Schick 2002-12-19 20:18:01 UTC
Created attachment 6615 [details]
-r1 fixed!

Repeat after me:  "Ebuilding while smoking crack is bad!"  :(

Fixes a really stupid error in the ebuild regarding the menu flag..
Comment 29 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-20 11:50:26 UTC
Repeat after me:  I am not going to add any cvs ebuilds to portage, as they at
no time what so ever contain any stability in relevance to trying to resolve
bugs, etc.  I also have more than 200 open bugs at any time, and will NOT take
care of something so unstable as a CVS ebuild.  If they take really long to 
update, I might think about adding a snapshot tarball on ibiblio, and add that
to cvs, but personally I do not favour CVS ebuilds for anything else than
testing, or personal use.

If you want, add it to your homepage, or whatever, and do support on it if
need be.

NOTE: CVS ebuild = ebuilds that use the cvs.eclass ...