MplayerFAQ V1.4 Guide - Main

Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

REF: followed by a web address is the reference to where the info came from so you can read it in context if you desire.
NOTE: Not all info has a reference included.

Contents
========

General Info 4 new [new] General Info 4 (Dirty Preview 4 released 24-March-2005)
General Info 3 General Info 3 (Dirty Preview 3 released) - a snippet from 2...
GUI update [updated] GUI related questions...
Screensize What is the best screensize?
LHA LHA file from http://www.amigasoft.net site the new version of mplayer does not download...
getbuskey45 Error getbuskey45
Altivec Is altivec always on, or should I enable it witha paramenter ?
Overlay Overlay crashes my system...
DVplayer Where can I find DVplayer?
AHI AHI -ahi -ahi_dev...
Subtitles & Fonts How do I get subtitles to work?
cgx_vmem -vo cgx_vmem
cgx_wpa wpa not as good as vmem
Vcore values DANGER Vcore values DANGER

Amiga Mplayer is a port from: < http://www.mplayerhq.hu >
The Amiga port of Mplayer is downloadable from < http://www.amigasoft.net >

MPlayer Features

MPlayer is a movie player for Linux (runs on many other Unices, and non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies, too (without the avifile library).

Most of the information regarding Amiga Mplayer was found in this AmigaWorld thread.
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=40&viewmode=flat&order=0

Contact
=======

Amiga version of Mplayer ported by Andrea Palmatè
email: andrea@amigasoft.net
amigaworld.net handle: afxgroup

Credits
=======

AUTHORS
MPlayer was initially written by Arpad Gereöffy. It is now developed by the Mplayer team. < http://www.mplayerhq.hu >

This info/FAQ of AmigaMplayer put together by Robert Goodlett
email: goody@eskimo.com
amigaworld.net handle: goody


MplayerFAQ V1.4 Guide - General Info 4 [new]

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

General Info 4 [new]
============

REF: http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=11316&forum=14

On AmigaSoft site http://www.amigasoft.net it is possible to download the new mplayer version.
This is a major version and it is base on original mplayer CVS downloaded yesterday.

These are the major improvements:

*** First of all the speed. You can notice speed increased of a 25-30%. And if you think that the video drivers works in software mode.. This thanks to new Olaf Barthel's clib2-thread safe.

*** New video drivers and audio drivers:

-vo sdl
-ao sdl
-vo jpg
-vo png

The SDL video drivers allow to see video at full screen without problems. The only problem is that the video driver starts in fullscreen mode. If you press 'f' key it switches on Window Mode. This driver allow to cycle the WB screen modes pressing 'c' key. So when in fullscreen you wanna change the screen resolution just press the key.
The SDL driver in full screen resolution (the first resolution) is slow because there is no hardware acceleration (no overlay, you know? ;) ). So switch to window mode or change resolution
The SDL audio drivers works like ahi driver. You can mix video and audio drivers as you want.

f.e.
-vo cgx_vmem -ao sdl
-vo sdl -ao ahi

and so on..

The jpg and png drivers write the selected video on single frames in the video directory. So you can save the video in single frames. They cannot be used with other video and audio drivers. Just:

mplayer -vo png Drive:video.avi

*** The network streaming
Now it is possible to use the audio and (i think..) video streaming simply using this syntax:

mplayer http://www.mystreamingsite.com[:port]

or better:

mplayer -playlist http://www.mystreamingsite.com[:port]/mylist.pls

look that many site has other extension than pls. Even asp or php (with parameters included) pages can be viewed with -playlist option.

*** Playlist support
the -playlist option is useful when you want to use a playlist file. Just edit a files wth songs or videos filename

example:
list >ram:myplaylist.txt Video: LFORMAT %f%s
mplayer -playlist ram:myplaylist.txt -vo sdl

*** New codecs supported

and many other things.

The known bugs:
*** When you use SDL video driver and in the system is not present a large enough resolution, the video driver doesn't start. So it is recommended to create in the Picasso 96 a large resolution.
***If you wanna use CGX video drivers and want a fullscreen video that fill entire screen, you must create on Picasso 96 mode a resolution that has the same video width (and height). This because the CGX video is buggy.. and i'm working on it.
***Some DVD's reader signal a GetBusykey error. Please report to me the model
***There are many other bugs. So please report to me.

With Daniel we are working on a new skinnable GUI. The GUI is almost ready (but ask to Daniel). There is no arexx port in mplayer but i'm working on it so will be possible to seek the video directly from the GUI.

I think I have forgot other things..

For the Faq use this Page http://www.eskimo.com/~goody/amigamplayerfaq.html
Bye!

========================================

afxgroup: i have upladed the lha version on os4depot. i have made the rar version with winrar and it doesn't work on os4.
i will make a new rar version.
please wait

========================================

Tuxedo: I downloaded the rar version and here works(unpaked it with os4 unrar from os4depot)...

=========================================

afxgroup: So please download the rar version from os4depot.


MplayerFAQ V1.4 Guide - General Info 3

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

General Info 3
============

REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=240&viewmode=flat&order=0
More recent information:
i have just added two others drivers:

-vo_jpeg
-vo_png

now it is possible to save a video into a single frames (jpeg and png of course..)

Mplayer now is compiled with new thread safe clib2 by Olaf Barthel.


REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=0&viewmode=flat&order=0
dirty preview #3

** REMEMBER THAT IS ALWAYS A BETA VERSION **
** THIS IS A VERSION WITH ALTIVEC ACTIVE. SO G3 USERS PLEASE REPORT ME PROBLEMS**

now:

the dvd can be viewed with:
-dvd-device a1ide.device:x dvd://1

and vcd with:
-cdrom-device a1ide.device:x vcd://1
where x is the cd/dvd that you want use.

to play files there are same parameters
mplayer -vo cgx_vmem|cgx_wpa|cgx_overlay::ALWAYSBORDER|THINBORDER|NOBORDER -ao ahi|ahi_dev

remember that there are a lot of parameters that you can use. Go to mplayer site < http://www.mplayerhq.hu >
and read the documentation.

Now it is possible to use with full screen with -fs parameter or pressing key 'f' or clicking on video during playing.
The net is not active yet (i'm working for the next release)

Altivec is not active on all lib. i'm working on it. This version is the 1.0pre6 + last CVS of FFMPEG and MPLAYER (so most advanced tha 1.0pre6).
DTS on DVD is not active yet, AC3 yes.
mmm.. maybe other but I don't remember now..

please report to me all bugs..

Bye,
Andrea

When overlay will be active the speed will be increased. Another important thing. remember that (except for beta testers), now there isn't DMA on DVD/CD so it decrease the speed considerably. Whene we can have a full DMA system the speed will be more. And now the libavcodec (the library of codecs) is not compiled with altivec because it crash on a function. So i have disabled it. When the altivec will be active on this library, we have more speeeed..
Idem for postproc. This not crash, but the colors go wrong when compile with altivec. Idem for liba52 (the ac3 library). When i compile this library with altivec the sound are distort.

I think there are some mistake with gcc 3.4 and altivec because MacOS users has no errors,
next thing to do are the net support, the double buffer for the full screen and the altivec for the rest of the libraries,
Another thing. Try to run mplayer with:
run >nil: mplayer ...
it increase the speed considerably

i have no much dvd's to test so i usually use same dvd.. so my brain is conformed to this dvd..
another important thing. Mplayer has tons of function that i haven't tested.. so there are
this link
http://www.mplayerhq.hu/DOCS/HTML/en/index.html
and this link
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
that allow to tune mplayer. So if anyone wants to try this commands can report me what work and what doesn't work

thank you

Also try using redirection:
run >nil: -vo cgx_vmem -framedrop -dvd-device a1ide.device:x dvd://1

From dirty preview #2
Examples of use:
1) mplayer -vo cgx_vmem::ALWAYSBORDER filename
2) mplayer -vo cgx_wpa::ALWAYSBORDER filename
3) mplayer -vo cgx_vmem::NOBORDER filename
4) mplayer -vo cgx_vmem::TINYBORDER filename
5) mplayer -framedrop -vo cgx_vmem::ALWAYSBORDER filename.vob
6) mplayer filename.(mp3|ogg|wav)


MplayerFAQ V1.1 Guide - GUI related questions [update]

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

GUI related questions [updated]
=======================

Q: GUI related questions<p>
A: I'm not the developer of GUI. so don't ask me questions about it.<p>

[update]
See this page for GUI: http://www.onyxsoft.se/mplayergui.shtml
Current version 1.2

Deniil715:
Re: MPlayer Dirty Preview #4
Posted on 26-Mar-2005 2:57:40
If MPlayer crashes from the GUI then raise the stack and do not set Video mode to Default because that is overlay which doesn't work yet.
I've just finished a new version and I've sent it to Andréa to verify that I implemented things correctly. I'm currently waiting for a response.
OnyxSoft will do a major software release in the coming week which will include this new version of MPlayer-GUI.
[/update]


MplayerFAQ V1.1 Guide - Screensize; what is best?

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

Screensize; what is best?
=======================

Q: As im lame in all this i wonder what screenmodes is standard
to use for movies. I have only 320x240/640x480/800x600/1024x768.
Some movies will have a black background as i belive i dont have
the right size. So therefore i check with you people what more
screensizes i must have.

A: Simply wait for the overlay support for Radeon cards - I will, at least. That should solve most issues with framesizes, especially for mpeg files, because these usually have aspect ratio set so the player can scale correctly automatically. Then, you will probably need a separate screen only for multitasking reasons.

For now I'm quite content to view in 1:1 sizes.

A: I typically add a few of these: 352x240 (VCD NTSC), 352x288 (VCD PAL), 480x576 (SVCD PAL), 480x480 (SVCD NTSC), 720x576 (Full-size capture PAL), 720x480 (Full-size capture NTSC) and for widescreen PAL DVD I just use 1024x768 (the resolution is 1024x576, black bars up and down make it 1024x768). Don't know what you would use for NTSC Widescreen DVD to avoid vertical stretching to correct aspect ratio (which is the devils work).

You get pretty far with just 1024x768, 640x480 and 720x576/480 (typically need both of those). Then you can watch VCD with pixel doubling, SVCD with horisontal stretch, 4:3 DVDs with only the 768 to 720 (or 704) pixel resampling (DVDs are actually 5:4 resolution so need rescaling WHATEVER you do ), DivX in 720 and 704 (16 pixels worth of black bars isn't too bad) pixels, and widescreen DVD. Whatever you do, try to avoid doing anything else than 1x, 2x or 3x number of lines. Vertical scaling can be a total BITCH to look at

A: That actually depends on the movie resolution.

Most movies will have to be stretched to fit the screen.
Every zoom or increase/decrease in size will deform
the movie in some way. Some players zoom good
others worse.

The vertical resolution is the thing to check.
As movies often have aspect of 1.85:1 and 2.35:1 you
should not choose too low resolution. Actually not
less than 800x600 when viewing widescreen (16:9)
material. Ordinary fullscreen (4:3) material should be
viewed in the screen size it is encoded in.
PAL DVDs is best viewed in 800x600 or 1024x768.
NTSC with it's lower resolution will always have to be
stretched. Best is to choose a resolution not deforming
the movie too much. Maybe 1024x768 atleast. Do not
choose too low resolution on NTSC as this will remove
too much material from the picture making it fuzzy.

Also too high resolution will make everything wrong
with the quality show even more.
So it's a balance. Maybe 1024x768 is the best alround.


Btw black borders on fullscreen mode in MPlayer (and
on TV sets) will always show black borders over and under
the actual movie playing. Assuming it has a widescreen
aspect ratio.

A little info about screenmode. Must use a 32bit screenmode: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=100&viewmode=flat&order=0

MplayerFAQ V1.4 Guide - lha

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

LHA file from http://www.amigasoft.net wont dload...
==================================================

Q: The lha file from http://www.amigasoft.net site the new version of mplayer does not download,
page not found error.

A: It is a IBrowse problems (since i cannot use the .lha extension on that server..).
Download the RAR format.

A: The Lha works on Firefox 1.0 on my PC anyway.
I haven't gone online with my Amiga yet


MplayerFAQ V1.1 Guide - Error getbuskey: 45

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

Error getbuskey45...
=================

Q: I tried it, but I get the error:
Error getbuskey: 45 libdvdread: Could not open device with libdvdcss.

You mentioned the DVD ROM/Drive, but I just ran the same version of MPlayer on PPC Linux on the same hardware, with the same movie, and it was working fine with an encrypted movie.

A: the mplayer under OS4 use the a1ide.device/sil.device through SCSI instructions. It is possible that something on this devices could have some bug (like mplayer of course). Remember that our system is a beta version so with future version of system the problems disappear.
Since more user has the same error it is probable that this is the problem.


MplayerFAQ V1.1 Guide - Altivec, is it always on?

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

Altivec, is it always on?
============

Q: Is altivec always on, or should I enable it with a paramenter ?

A: altivec is enabled by default only if you have a G4 cpu. However it is not active in all lib of mplayer. I'm working on it now. But it is very difficult because there are many problems with altivec an gcc


MplayerFAQ V1.1 Guide - Overlay crashes my system...

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

Overlay crashes my system...
===========================

Q: Here on my G3SE and VooDoo3 3000 if I try to put -vo cgx_overlay my system crash

A: the overlay is not active yet. However it shouldn't crash. Have you downloaded the last version?


MplayerFAQ V1.1 Guide - DVplayer: Where can I find it?

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

DVplayer: Where can I find it?
=========================

Q: Where can I find DVplayer?

REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=40&viewmode=flat&order=0
A: Dvplayer is available only for devs and betatesters.


MplayerFAQ V1.1 Guide - AHI -ahi -ahi_dev

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

AHI -ahi -ahi_dev
=========================

Q: If I use -ahi the playback is slowed down but not if I use -ahi_dev. Do you know the reason for this?

REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=80&viewmode=flat&order=0
A: ahi use another method to play audio. Indeed you cannot play another file when using ahi mode. If you use ahi_dev you can mix two audio stream.

MplayerFAQ V1.1 Guide - Subtitles: How do I get them to work?

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

Subtitles: How do I get them to work?
=========================

Q: How do I get subtitles to work? REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=100&viewmode=flat&order=0

REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=80&viewmode=flat&order=0
A: Just got subtitles to work yesterday. Download font files from here: http://www.mplayerhq.hu/homepage/design7/dload.html

Extract desired font-files to /conf/font/ and everything should work, including OSD.
mplayer seems to have problems with subtitle filenames with spaces on them.

The fonts go in conf/font/ - no 's' in font


What have you got in conf/font/ ? REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=140&viewmode=flat&order=0
I have the following:

font.desc
iso-8859-1-a.raw
iso-8859-1-b.raw
osd-mplayer-a.raw
osd-mplayer-b.raw

Have a look in the folders. It seems like he's copied the fonts from the folders to conf/fonts/ .

Yep, I copied the files in the 14pt dir, just like the readme in the fonts archive says and it works.

thanx..that was abit too obvious... heh...works great now wish every prob was this easy to solve

Some fonts don't work (the older ones) try this font, it works: Arial font: http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-cp1250.tar.bz2 REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=180&viewmode=flat&order=0

MplayerFAQ V1.1 Guide - cgx_vmem

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

cgx_vmem
=========================

Q: I cant get -vo cgx_vmem to work. I have to use -vo cgx_wpa.

A: I set WB to 32-bit BGRA and now cgx_vmem works...

MplayerFAQ V1.1 Guide - wpa

Contents | < Browse | Browse >



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

wpa not as good as vmem
=========================

Q: I have increased the stack to 999999 and also tried with a fresh installation.
Still no luck getting a movie to play for more than a few seconds without a full computer lockup.
The line I use is : mplayer -vo cgx_wpa::ALWAYSBORDER filename

A: sorry, but why you use wpa instead of vmem?

You have a common problem on AmigaOS (i have same problem with mplayer). It seems that when CPU goes 100% the system hangs. wpa use cpu more intensely than vmem (and overlay of course). So you should use vmem. It is more speedy too.

MplayerFAQ V1.1 Guide - Vcore values DANGER

Contents | < Browse



Gen Info 4 newnew* Gen Info 3* GUI updateupdate* Screensize * LHA * getbuskey45 * Altivec * Overlay * DVplayer * AHI * Subtitles & Fonts * cgx_vmem * wpa * Vcore values DANGER

Vcore values DANGER
=========================

(DANGER - You can and will destory your CPU as well as the rest of your computer along with the destruction of the entire earth if you mess with the vcore setting of your CPU without knowing what your doing.)

REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=60&viewmode=flat&order=0
A: have you tried changing vcore to the correct value?
My XE/G3 crashed a lot before I did that.

REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=60&viewmode=flat&order=0
A - ikir: Exactly. If wpa use 100% cpu and someones A1 crash it is a vcore problem.

afxgroup: mmm.. you must explain me this.. in details..


REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=80&viewmode=flat&order=0
A - ikir: vcore problems happens usually when you use 100% cpu. probably your vcore is lower than one needed by the cpu. A lot of 933 version shipped with wrong vcore!
I have a G41000 and i needed to upper vcore a little to have my system rock stable stable.
I use mine to 1,74. Probably your is 1,59 for 800Mhz G4. Most users have 1,64 for their 933 G4.
IT DOESN'T matter if Linux is stable or not.


REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=80&viewmode=flat&order=0
A - Rogue: Warning:

YOU CANNOT DETERMINE YOUR CORRECT VCORE UNLESS YOU KNOW THE CORRECT PART NUMBER OF YOUR CPU

(damn, this should have appeard in big red letters!)

Read this http://www.intuitionbase.com/static.php?section=notes before doing any adjustments.

Once again I need to point out that there is none other than 800 Mhz G4 systems availabel. THERE IS NO 933. The CPU might be a 933 MHz CPU, but there is no guarantee that the rest of the system is built in such a way that it can use another frequency.

Apparently, this hasn't filtered in yet, so please forgive my shouting, but I think that it is better to be yelled at than to fry your CPU.


REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=80&viewmode=flat&order=0
You MUST read your CPU's PART NUMBER and look it up in the Freescale manuals to determine the correct VCORE for your CPU. DO NOT SIMPLY CHANGE IT. There is NO guarantee that it will work, and in the worst case it may fry your machine.


REF: http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=10270&forum=14&start=100&viewmode=flat&order=0
The point being, there is a part number printed on the CPU, and two letters of that part number specify the voltage model. There is a table in the appropriate manual that lists the correct voltage for the correct speed.

50mV might make the difference between fun and smoke.

musical tune: "A1's roasting over an open fire. Vcore nipping at your toes."
Change this setting at great risk. :-)

Converted using GuideML 3.9