View previous topic :: View next topic |
Author |
Message |
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Sat Nov 23, 2002 8:07 am Post subject: Mplayer-quicktime ebuild (now without wine!) |
|
|
[edit Tue Nov 26 10:15:55 CST 2002]
This ebuild is obsolete now... Please look here for the new cvs ebuild
[edit]
I've hacked up an ebuild for mplayer-cvs with the sorenson quicktime support based on the instructions from karl11. This ebuild parks it's self under /opt/mplayer-quicktime so it can live peacefully with any current install. It installs mplayer-quicktime and gmplayer-quicktime scripts under /usr/bin for console and gui fun respectively.
Warning!
THIS IS A COMMUNITY BUILD OF CVS SOFTWARE!
If you have any problems with it don't bug the mplayer or gentoo folks, post em here! Also, the wrapper scripts do clean up the stray wine processes upon exit, but not if mplayer crashes. Also, if you are running any other wine processes it may kill them also (tho it's not supposed to)
With all of that out of the way, please make your way in an orderly fashion to http://www.99b.org for the source and the ebuild.[/url]
Last edited by Lin_Matt on Tue Nov 26, 2002 4:16 pm; edited 2 times in total |
|
Back to top |
|
|
karl11 Guru
Joined: 25 Jun 2002 Posts: 469 Location: Raleigh, NC
|
Posted: Sat Nov 23, 2002 8:56 am Post subject: Up and Working |
|
|
I just wanted to post affirming that the ebuild and source are available at http://www.99b.org now. I have just tested this straight from the site, and it worked like a charm Quicktime on Linux....finally *bliss*
Karl |
|
Back to top |
|
|
mbhowm10 n00b
Joined: 06 Nov 2002 Posts: 13 Location: Hattiesburg MS
|
Posted: Sat Nov 23, 2002 10:08 am Post subject: |
|
|
Well everything emerged ok. It plays avi, mpeg, dvd ,etc perfect, but when I try and play a quicktime file it throws up the first frame for a millisecond and then quits. The wine part of it works find (no errors reported). Only one thing jumped out at me while looking over the mplayer log.
Here is the log:
Code: |
==========================================================================
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
win32 libquicktime loader (c) Sascha Sommer
Standard init done you may now call supported functions
loader_init DONE???
loader_init DONE!
InitializeQTML:0
SoundConverterOpen:0
SoundConverterSetInfo:0
SoundConverterGetBufferSizes:131072
WantedBufferSize = 176400
InputBufferSize = 13000
OutputBufferSize = 163848
FramesToGet = 10
FrameSize: 1300 -> 16384
SoundConverterBeginConversion:0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 13997->176400 (112.0 kbit)
Selected audio codec: [qdmc] afm:qtaudio (Quicktime QDMC/QDM2 audio decoders)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
mjpeg: JFIF header found (version: 2.1)
mjpeg: Adobe header found
VDec: vo config request - 640 x 272 (preferred csp: Planar 444P)
Couldn't find matching colorspace - retrying with -vop scale... <--- maybe this is the problem??
Opening video filter: [scale]
VDec: using Planar 444P as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: BICUBIC scaler, from Planar 444P to Planar YV12 using MMX2
VO: [xv] 640x272 => 640x272 Planar YV12
A: 0.2 V: 0.0 A-V: 0.166 ct: 0.017 1/ 1 0% 0% 0.0% 0 0 0%
SoundConverterEndConversion:0
SoundConverterClose:1112866816
TerminateQTML:1
qt dll loader uninit done
Exiting... (End of file)
|
Like i noted above, it might be the colorspace that isn't working.
BTW, the clip is the Lord of the Rings: Two Towers trailer. If anyone else can play this, then i'll know its just me.
Eventually though, I would like to see the mplayer guys make a version that is linux native. The irony is that as sorenson decoding becomes a reality on linux, apple is moving toward mpeg-4 standard (something that linux has been able to play from day one). Anyway, I'll keep plugging away and let you know if I get it running.
good job guys
Meethune |
|
Back to top |
|
|
karl11 Guru
Joined: 25 Jun 2002 Posts: 469 Location: Raleigh, NC
|
Posted: Sat Nov 23, 2002 10:32 am Post subject: fullscreen? |
|
|
The fullscreen version of LOTR trailer won't work since they have shockwave type stuff (although quicktime versions)....you need to go get the large version instead. I'm almost certain this is your problem. If you didn't just try to get the fullscreen version to run, then please inform me.
Karl |
|
Back to top |
|
|
mbhowm10 n00b
Joined: 06 Nov 2002 Posts: 13 Location: Hattiesburg MS
|
Posted: Sat Nov 23, 2002 10:47 pm Post subject: |
|
|
That was my problem. D/L large version. Worked like a charm. thanks!!
meethune |
|
Back to top |
|
|
dev Apprentice
Joined: 06 Jul 2002 Posts: 248 Location: San Antonio, TX
|
Posted: Sun Nov 24, 2002 3:08 am Post subject: |
|
|
Works absolutely great! Thank you!
Does anyone know how to get plugger to utilize this? It somewhat works except that when it tries to play a .mov, off apple.com/trailers for example, mplayer gives me an error about not being able to init my vo or vop. I'm using phoenix also. |
|
Back to top |
|
|
karl11 Guru
Joined: 25 Jun 2002 Posts: 469 Location: Raleigh, NC
|
Posted: Sun Nov 24, 2002 3:31 am Post subject: |
|
|
You will probably want to tie plugger into mplayer-quicktime with a call like:
mplayer-quicktime -vo driver
To find which drivers you have available, do:
mplayer-quicktime -vo help
btw...plugger allows the opening of embedded movies in your app of choice??
Karl |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Sun Nov 24, 2002 6:22 am Post subject: Re: fullscreen? |
|
|
karl11 wrote: | The fullscreen version of LOTR trailer won't work since they have shockwave type stuff (although quicktime versions)....you need to go get the large version instead. I'm almost certain this is your problem. If you didn't just try to get the fullscreen version to run, then please inform me.
Karl |
I had the same problem, but I found this on the mailing lists:
Arpi wrote: |
Hi,
-vid 5 -aid 6
the default video track is a single jpeg image in this silly mov file... |
It does work... And the resolution on my poor 17" at 1024x768 is pretty damn good! |
|
Back to top |
|
|
Bobbie Tux's lil' helper
Joined: 21 Jul 2002 Posts: 77
|
Posted: Sun Nov 24, 2002 6:46 pm Post subject: |
|
|
For me the mplayer-quicktime ebuild fails here:
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REEN
TRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -fexpensiv
e-optimizations -fschedule-insns2 -Wall -malign-double -I. -I../loader -I./wm -I
./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -
I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/includ
e/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DDEBUG -o mplayer/gtk
/common.o mplayer/gtk/common.c
rm -f libgui.a
ar rc libgui.a wm/ws.o wm/wsxdnd.o app.o interface.o cfg.o bitmap.o skin/skin.o
skin/font.o skin/cut.o mplayer/widgets.o mplayer/play.o mplayer/mw.o mplayer/sw.
o mplayer/menu.o mplayer/gtk/menu.o mplayer/gtk/mb.o mplayer/gtk/about.o mplayer
/gtk/pl.o mplayer/gtk/sb.o mplayer/gtk/fs.o mplayer/gtk/opts.o mplayer/gtk/url.o
mplayer/gtk/eq.o mplayer/gtk/common.o
make[1]: Leaving directory `/var/tmp/portage/mplayer-quicktime-20021122/work/mpl
ayer-quicktime-20021122/Gui'
winebuild -fPIC -o mplayer.exe.spec.c -exe mplayer.exe -mcui \
libmpcodecs/ad_qtaudio.o libmpcodecs/vd_qtvideo.o \
-L /usr/lib/wine/lib -L/usr/lib/wine/lib/wine -lkernel32
Unrecognized option 'libmpcodecs/ad_qtaudio.o'
Usage: winebuild [options] |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Mon Nov 25, 2002 5:31 am Post subject: Re: Build Problem |
|
|
Little more detail about your system, use and compiler flags would be helpful..... |
|
Back to top |
|
|
sordid n00b
Joined: 22 Nov 2002 Posts: 26 Location: Brisbane, Australia
|
Posted: Mon Nov 25, 2002 9:26 am Post subject: |
|
|
My problem:
Code: |
mplayer-quicktime TheTwoTowers_fs.l.mov
/usr/lib/wine/bin/wine: could not load 'Z:\opt\mplayer-quicktime\bin\mplayer.exe.so': /opt/mplayer-quicktime/bin/mplayer.exe.so: undefined symbol: init_freetype
|
|
|
Back to top |
|
|
kraaij n00b
Joined: 07 Aug 2002 Posts: 66 Location: Maastricht, The Netherlands
|
Posted: Mon Nov 25, 2002 1:32 pm Post subject: perfect! |
|
|
Hi,
just a short message to say that the ebuild is perfect on my system and to thank you for making it....
Greetings,
Anton. |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Mon Nov 25, 2002 8:14 pm Post subject: |
|
|
sordid wrote: | My problem:
Code: |
mplayer-quicktime TheTwoTowers_fs.l.mov
/usr/lib/wine/bin/wine: could not load 'Z:\opt\mplayer-quicktime\bin\mplayer.exe.so': /opt/mplayer-quicktime/bin/mplayer.exe.so: undefined symbol: init_freetype
|
|
Looks like a freetype error to me... Try doing an "ldd /opt/mplayer-quicktime/bin/mplayer.exe.so" and make sure you see something like this:
Code: |
libfreetype.so.6 => /usr/lib/libfreetype.so.6
|
|
|
Back to top |
|
|
sordid n00b
Joined: 22 Nov 2002 Posts: 26 Location: Brisbane, Australia
|
Posted: Tue Nov 26, 2002 1:11 am Post subject: |
|
|
root@sordid portage # ldd /opt/mplayer-quicktime/bin/mplayer.exe.so
*snip*
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x404ec000)
*snip*
I compiled it without freetype support then it bitches about a function it cant find for ggi |
|
Back to top |
|
|
Saturn Tux's lil' helper
Joined: 31 May 2002 Posts: 83
|
Posted: Tue Nov 26, 2002 12:29 pm Post subject: video ok, but no sound!!! |
|
|
Hi,
I just emerged mplayer-quicktime. Video is just fine but there is no nound.
For example, If I type mplayer-quicktime -ao alsa9 -vo xv *.mov
I get this message:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /opt/mplayer-quicktime/share/locale
MPlayer CVS-021121-22:09-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Reading /home/eric/.mplayer/codecs.conf: can't open '/home/eric/.mplayer/codecs.
conf': No such file or directory
Reading /opt/mplayer-quicktime/etc/codecs.conf: 44 audio & 112 video codecs
init_freetype
Failed to open /dev/rtc: No such file or directory (mplayer should be setuid roo
t or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/eric/.mplayer/input.conf : No such file or di
rectory
Input config file /opt/mplayer-quicktime/etc/input.conf parsed : 50 binds
Playing TheTwoTowers-tlr_320.mov
Detected QuickTime/MOV file format!
--------------
MOV track #0: 726 chunks, 2175 samples
MOV: Found unknown movie atom SMI (21)!
Image size: 320 x 136 (24 bpp)
Display size: 320 x 136
Fourcc: SVQ3 Codec: 'Sorenson Video 3'
--------------
MOV track #1: 363 chunks, 0 samples
Audio bits: 16 chans: 2 rate: 44100
Audio extra header: len=92 fcc=0x77617665
Fourcc: QDM2
--------------
Clip info:
name: Lord of The Rings: The Two Towers
copyright: �2002 New Line Cinema
comments: QuickTime 5 version encoded and delivered by www.apple.com/trailers
======================================================
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
win32 libquicktime loader (c) Sascha Sommer
Standard init done you may now call supported functions
loader_init DONE???
loader_init DONE!
InitializeQTML:0
SoundConverterOpen:0
SoundConverterSetInfo:0
SoundConverterGetBufferSizes:131072
WantedBufferSize = 176400
InputBufferSize = 6500
OutputBufferSize = 163848
FramesToGet = 10
FrameSize: 650 -> 16384
SoundConverterBeginConversion:0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 6998->176400 (56.0 kbit)
Selected audio codec: [qdmc] afm:qtaudio (Quicktime QDMC/QDM2 audio decoders)
======================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
======================================================
Opening video decoder: [qtvideo] Quicktime Video decoder
InitializeQTML returned 0
Count = 1
Found it! ID = 0x100FD
ci=0x810006
ImageCodecInitialize->(nil) size=0 (16)
Flags: compr: 0x800420 decomp: 0x400 format: 0x2060
Codec name: Sorenson Video 3
VDec: vo config request - 320 x 136 (preferred csp: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x136 => 320x136 Packed YUY2
Selected video codec: [qtsvq3] vfm:qtvideo (win32/quicktime SVQ3 decoder)
======================================================
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
ALSA lib dlmisc.c:97:(snd_dlsym_verify) unable to verify version for symbol snd_
config_hook_load
ALSA lib conf.c:2561:(snd_config_hooks_call) symbol snd_config_hook_load is not
defined inside (null)
ALSA lib conf.c:2968:(snd_config_update_r) hooks failed, removing configuration
alsa-init: playback open error: No such device or address
couldn't open/init audio device -> no sound
SoundConverterEndConversion:0
SoundConverterClose:1112211456
TerminateQTML:1
qt dll loader uninit done
Audio: no sound!!!
Start playing...
NewGWorldFromPtr returned:0
ImageCodecPreDecompress cres=0x0
V: 5.2 64 1% 2% 0.0% 0 0 0
Any idea?
Thanks
EDIT: Truncated the long lines of = by 20 characters so the post would play nice with phpbb.
- kanuslupus |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Tue Nov 26, 2002 4:14 pm Post subject: Wine-less ebuild |
|
|
The folks at mplayer have done it! Full quicktime support without wine! It's CVS, so if it breaks you get to keep both pieces... Get the ebuild here. TTT trailer is even sweeter without wine! |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Tue Nov 26, 2002 4:25 pm Post subject: Re: video ok, but no sound!!! |
|
|
Saturn wrote: | Hi,
I just emerged mplayer-quicktime. Video is just fine but there is no nound.
For example, If I type mplayer-quicktime -ao alsa9 -vo xv *.mov
I get this message:
<snip>
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
ALSA lib dlmisc.c:97:(snd_dlsym_verify) unable to verify version for symbol snd_
config_hook_load
ALSA lib conf.c:2561:(snd_config_hooks_call) symbol snd_config_hook_load is not
defined inside (null)
ALSA lib conf.c:2968:(snd_config_update_r) hooks failed, removing configuration
alsa-init: playback open error: No such device or address
couldn't open/init audio device -> no sound
Any idea?
Thanks |
Have you tried using some other audio output device? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Tue Nov 26, 2002 5:07 pm Post subject: Re: Wine-less ebuild |
|
|
Lin_Matt wrote: | The folks at mplayer have done it! Full quicktime support without wine! | Without? Code: | # emerge -p mplayer-cvs
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild N ] app-emulation/wine-20021031
[ebuild N ] media-video/mplayer-cvs-0.91 |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Tue Nov 26, 2002 5:13 pm Post subject: |
|
|
Doh!
Guess it helps if I woulda updated the dependencies here... The fixed tarball has been uploaded.
Thanks for the heads-up... |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Tue Nov 26, 2002 5:26 pm Post subject: |
|
|
No problem. Also, you might want to throw CVS in as a dependency. Code: | >>> Unpacking source...
* Running cvs -q -f -z4 update -dP -rHEAD with mplayerhq.hu:/cvsroot/mplayer for main/...
/usr/sbin/ebuild.sh: cvs: command not found
!!! ERROR: media-video/mplayer-cvs-0.91 failed.
!!! Function cvs_fetch, Line -9918, Exitcode 127
!!! died running cvs update | Installing CVS now _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Tue Nov 26, 2002 5:33 pm Post subject: |
|
|
Yea... I assumed that using "inherit cvs" would take care of the cvs dependancy. It's updated now tho... |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Tue Nov 26, 2002 5:45 pm Post subject: |
|
|
Build went fine.
Edit: Can't find codec matching selected -vo and video format 0x33.... _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
spendabuck Apprentice
Joined: 28 Apr 2002 Posts: 256
|
Posted: Tue Nov 26, 2002 6:05 pm Post subject: |
|
|
this is what I get when I try to emerge the cvs ebuild..
shape mplayer-quicktime # emerge mplayer-cvs
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mplayer-cvs-0.91 to /
>>> md5 mp-arial-iso-8859-1.zip
>>> md5 mp-arial-iso-8859-2.zip
>>> md5 mplayer-quicktime-dlls.tar.bz2
>>> md5 default-skin-0.1.tar.bz2
>>> Unpacking source...
* Running cvs -q -f -z4 update -dP -rHEAD with mplayerhq.hu:/cvsroot/mplayer for main/...
/usr/sbin/ebuild.sh: cvs: command not found
!!! ERROR: media-video/mplayer-cvs-0.91 failed.
!!! Function cvs_fetch, Line -9918, Exitcode 127
!!! died running cvs update
And this is what I get when I try to emerge the ebuild from www.99b.org...
shape mplayer-quicktime # emerge mplayer-quicktime-20021122.ebuild
Calculating dependencies \Traceback (most recent call last):
File "/usr/bin/emerge", line 1634, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 760, in select_files
if not self.create(["ebuild",portage.root,mykey],None,"--onlydeps" not in myopts):
File "/usr/bin/emerge", line 726, in create
edepend=portage.portdb.aux_get(mykey,["DEPEND","RDEPEND"])
File "/usr/lib/python2.2/site-packages/portage.py", line 2897, in aux_get
emtime=os.stat(myebuild)[ST_MTIME]
OSError: [Errno 2] No such file or directory: '/usr/portage/portage/mplayer-quicktime/mplayer-quicktime-20021122.ebuild'
I don't know where the "/usr/portage/portage" came from. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Tue Nov 26, 2002 6:06 pm Post subject: |
|
|
See my post a couple back. There was no CVS dependancy. You'll need to emerge CVS or get the newer tarball for the ebuild. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Tue Nov 26, 2002 6:10 pm Post subject: |
|
|
spendabuck wrote: | this is what I get when I try to emerge the cvs ebuild..
shape mplayer-quicktime # emerge mplayer-cvs
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mplayer-cvs-0.91 to /
>>> md5 mp-arial-iso-8859-1.zip
>>> md5 mp-arial-iso-8859-2.zip
>>> md5 mplayer-quicktime-dlls.tar.bz2
>>> md5 default-skin-0.1.tar.bz2
>>> Unpacking source...
* Running cvs -q -f -z4 update -dP -rHEAD with mplayerhq.hu:/cvsroot/mplayer for main/...
/usr/sbin/ebuild.sh: cvs: command not found
!!! ERROR: media-video/mplayer-cvs-0.91 failed.
!!! Function cvs_fetch, Line -9918, Exitcode 127
!!! died running cvs update
|
This is the problem kan reported above. Either go ahead and emerge cvs manually, or re-download the ebuild. The dependencies are fixed there...
man... who'da thought... cvs means cvs.... |
|
Back to top |
|
|
|