View previous topic :: View next topic |
Author |
Message |
Malakin Veteran


Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Sat Apr 12, 2003 8:22 pm Post subject: |
|
|
Quote: | It DOES works try this :
mplayer -zoom -vo x11 -aspect 16:9 movie.avi | I'm not at that computer at the moment, but I suppose you're forced to use x11 output for this, I prefer xv since it has much lower cpu utilization.
Quote: | The audio is out of sync and i can not fix it ??? This is the one i am refering to : "THE_SECOND_RENAISSANCE_1_large.mov" maybe it is the version i am using? Quote: | This is xine (X11 gui) - a free video player v0.9.20 |
| I'm using the latest one in portage, v1-beta10.
Thanks for all the info on controlling mplayer but I've used it for several years and I'm quite familiar with the controls ;) I've probably read over the manul 10 times by now trying to get it to do what I want.
I see you have a bunch of empty posts for some reason, you can delete them for a short while after posting them with the "X" button that appears next to the edit button. |
|
Back to top |
|
 |
mikepb78 Apprentice


Joined: 27 Feb 2003 Posts: 171 Location: London
|
Posted: Sat Apr 12, 2003 9:39 pm Post subject: Xvidix or vidix or mga_vid driver ... next will be XV : |
|
|
Malakin wrote: | I'm not at that computer at the moment, but I suppose you're forced to use x11 output for this, I prefer xv since it has much lower cpu utilization. |
You are not "forced" to use the x11 driver. You can also use the xvidix driver used by mplayer. And the vidix driver perform better than xv.
Malakin wrote: | I'm using the latest one in portage, v1-beta10. |
Does it ??? I am using :
media-libs/xine-lib-1_beta10
media-video/xine-ui-0.9.20
And it does not work for Quicktime movies with multiple audio tracks like this one :
http://progressive1.stream.aol.com/wb/gl/wbonline/progressive/thematrix/us/med/animatrixlgfinal_dl.mov
Please tell me what i am doing wrong, out of interest. |
|
Back to top |
|
 |
mikepb78 Apprentice


Joined: 27 Feb 2003 Posts: 171 Location: London
|
Posted: Sat Apr 12, 2003 9:43 pm Post subject: What do you want to do? |
|
|
Malakin wrote: | Thanks for all the info on controlling mplayer but I've used it for several years and I'm quite familiar with the controls I've probably read over the manul 10 times by now trying to get it to do what I want. |
What do you want to do? |
|
Back to top |
|
 |
mikepb78 Apprentice


Joined: 27 Feb 2003 Posts: 171 Location: London
|
Posted: Sat Apr 12, 2003 10:24 pm Post subject: Well Done : |
|
|
spinez wrote: | Well, it looks like I had post processing set to 6 in my config.. I tirned it off (0) and now am able to play the matrix trailer just fine. CPU is about 70-75% used and peaks at 95%. I get no warnings though and I don't have to use -framedrop anymore |
That is good to hear  |
|
Back to top |
|
 |
Malakin Veteran


Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Sun Apr 13, 2003 5:38 am Post subject: |
|
|
Quote: | You are not "forced" to use the x11 driver. You can also use the xvidix driver used by mplayer. And the vidix driver perform better than xv. | I'll give that a try next time I'm at my system.
Quote: | What do you want to do? | Well there aren't many things I can't do with it these days but here are a few examples:
Is there a way to have mplayer remember the size of your video window between sessions? Without locking it to a certain size in your config file, I'd like to manually adjust it sometimes and have the size be remembered between sessions. I'd also like it to remember the position of the window.
Is there a way to force mplayer to a single session. I'd like to click on one video and have it play, then click on another video and have it open in the same mplayer session. By default it keeps opening new sessions. |
|
Back to top |
|
 |
mikepb78 Apprentice


Joined: 27 Feb 2003 Posts: 171 Location: London
|
Posted: Sun Apr 13, 2003 12:34 pm Post subject: Mplayer Hacking |
|
|
Malakin wrote: | Is there a way to have mplayer remember the size of your video window between sessions? Without locking it to a certain size in your config file, I'd like to manually adjust it sometimes and have the size be remembered between sessions. I'd also like it to remember the position of the window. |
Use KDE. It can do that for you. Just right click on the window and say "Store window behaviour". Or if you want a specific movie to play in a certain res every time. ie the matrix trailer calle matrix.mov. :
Code: | #~/.mplayer/matrix.mov.conf
x=800
y=600
pp=0
vo=vidix
aspect=16:9
nofs=1
fstype=stays_on_top
#etc..
|
Quote: | Is there a way to force mplayer to a single session. I'd like to click on one video and have it play, then click on another video and have it open in the same mplayer session. By default it keeps opening new sessions. |
Note really. Not at the moment. Some of the commands for mplayer have not been implemented ie :
Code: | hide [Integer]
run String |
The tricky part then would be to have the video and audio drivers switch if the movie you want to play next is configured to use an alternative driver, guess you would have to sacrifice that.
Untested
Here is a small hack of a shell script that might give you the same behaviour :
Code: | #Tell the other mplayer to quit :
FILE="$@"
#mkfifo ~/controller
echo "quit" > ~/controller
echo "" > ~/controller
mplayer "$@"
#mplayer -input file=~/controller "$@" |
and then have the following in the mplayer config:
Code: | #hack
input="file=~/controller" |
Well as you are using xine there is a python binding for it called "pyxine" with that you can do alot of hacking. One then i like able xine is the seperation of the ui from the lib. This is going have to happen for mplayer. And is on a wishlist. |
|
Back to top |
|
 |
Malakin Veteran


Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Sun Apr 13, 2003 8:22 pm Post subject: |
|
|
Quote: | Use KDE. It can do that for you. Just right click on the window and say "Store window behaviour". | wow this seems to work, thanks ;)
Quote: | Or if you want a specific movie to play in a certain res every time. ie the matrix trailer calle matrix.mov. : | Yea that's what I've been doing, I'd prefer that it just remember whatever size I last dragged the window to though.
Quote: | Here is a small hack of a shell script that might give you the same behaviour: | There's too much delay closing it and reopening it between videos, I think I'll stick with drag'n'drop or pornview until one of the players does this properly. |
|
Back to top |
|
 |
mikepb78 Apprentice


Joined: 27 Feb 2003 Posts: 171 Location: London
|
Posted: Mon Apr 14, 2003 5:00 am Post subject: Pornview : |
|
|
Malakin wrote: | There's too much delay closing it and reopening it between videos, I think I'll stick with drag'n'drop or pornview until one of the players does this properly. |
Pornview now does mplayer. That is cool.
I think that "feh" should be the default image viewer as well |
|
Back to top |
|
 |
Malakin Veteran


Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Mon Apr 14, 2003 6:22 pm Post subject: |
|
|
Quote: | Pornview now does mplayer. That is cool. | Yea I noticed that, more choice is always better :) I hope they get out a working 0.2.0 release soon. |
|
Back to top |
|
 |
ryan83vt Guru


Joined: 28 Oct 2002 Posts: 370 Location: Blacksburg, VA
|
Posted: Fri Apr 18, 2003 6:45 am Post subject: |
|
|
Anyone have any idea why I can't watch .mov movies? I tried the matrix trailer and got this. It will actually play the audio but no video. I did the emerge faad2 thing, and reemerged mplayer (before I couldnt do anything, now I at least have audio)
Code: |
MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/ryan/.mplayer/config
Reading /home/ryan/.mplayer/codecs.conf: this codecs.conf is too old, incompatible with this mplayer release! at line 6
Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/ryan/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Failed to open /dev/rtc: No such file or directory (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/ryan/.mplayer/input.conf : No such file or directory
Input config file /usr/share/mplayer/input.conf parsed : 52 binds
Playing ../dl/trailer_final_1000_dl.mov
Cache fill: 0.00% (0 bytes) QuickTime/MOV file format detected.
--------------
MOV track #0: 596 chunks, 3635 samples
MOV: Found unknown movie atom SMI (21)!
Image size: 1000 x 540 (24 bpp)
Display size: 1000 x 540
Fourcc: SVQ3 Codec: 'Sorenson Video 3'
--------------
MOV track #1: 751 chunks, 6523 samples
Audio bits: 16 chans: 2 rate: 44100
Audio extra header: len=111 fcc=0x77617665
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: mp4a
--------------
MOV: longest streams: A: #1 (6523 samples) V: #0 (3635 samples)
Clip info:
name: Matrix Reloaded Trailer
author: www.thematrix.com
copyright: 2003 Warner Bros. All rights reserved.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [faad] afm:faad (AAC MPEG2/MPEG4 Audio)
==========================================================================
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
*** Try to upgrade /home/ryan/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec matching selected -vo and video format 0x33515653.
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
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
alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A: 5.8 3.4% 92%
MPlayer interrupted by signal 2 in module: play_audio
alsa-uninit: pcm closed
|
|
|
Back to top |
|
 |
mikepb78 Apprentice


Joined: 27 Feb 2003 Posts: 171 Location: London
|
Posted: Fri Apr 18, 2003 9:57 am Post subject: |
|
|
ryan83vt wrote: | It will actually play the audio but no video. I did the emerge faad2 thing, and reemerged mplayer (before I couldnt do anything, now I at least have audio)
Code: | Fourcc: SVQ3 Codec: 'Sorenson Video 3' |
|
Ok well you are missing the video codec. So you need to install the win32codecs and then mplayer
Code: | emerge win32codecs mplayer |
Tips : Look in your output for the Fourcc of the missing codec, in this case it is "SVQ3" then look on the codec look up table on mplayers site to see what codec you need :
http://www.mplayerhq.hu/DOCS/codecs-status.html
This is the needed codec :
Code: | win32/quicktime SVQ3 decoder SVQ3 QuickTimeEssentials.qtx YUY2 |
So for this movie you need to have the win32 codecs installed. |
|
Back to top |
|
 |
ryan83vt Guru


Joined: 28 Oct 2002 Posts: 370 Location: Blacksburg, VA
|
Posted: Fri Apr 18, 2003 2:41 pm Post subject: |
|
|
thanks so much! it worked! |
|
Back to top |
|
 |
|