mirror of
https://github.com/mpv-player/mpv.git
synced 2026-06-06 20:10:30 +00:00
began updated translation by <nell@skrzynka.pl> (work-in-progress)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3524 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
|
||||
Some words about Siemens-DVB card support. by A'rpi
|
||||
==========================================
|
||||
|
||||
NOTE: this is very experimental!
|
||||
|
||||
Requirements:
|
||||
~~~~~~~~~~~~~
|
||||
- Siemens DVB-S card or compatible (technotrend,galaxis,hauppage etc)
|
||||
see www.linuxtv.org for details and download latest driver there.
|
||||
- MPlayer-CVS, ffmpeg-libavcodec. divx4linux is recommended for speed & pp.
|
||||
- Fast CPU - at least for software decoding (divx...)
|
||||
|
||||
|
||||
How to enable?
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
1. Download ffmpeg-CVS and copy libavcodec to mplayer (see DOC for details)
|
||||
Move this line from #ifdef CONFIG_ENCODERS .. #endif section to outside
|
||||
(after the #endif line) at libavcodec/utils.c:361 :
|
||||
register_avcodec(&mpeg1video_encoder);
|
||||
|
||||
2. Compile mplayer:
|
||||
./configure should detect it. If didn't, force with ./configure --enable-dvb
|
||||
If you have ost headers at non-standard path, set it with:
|
||||
--with-extraincdir=<your DVB source dir>/ost/include
|
||||
make
|
||||
make install
|
||||
|
||||
|
||||
How to use?
|
||||
~~~~~~~~~~~
|
||||
To play standard mpeg 1/2 files: (hardware decoding)
|
||||
|
||||
mplayer -ao mpegpes -vo mpegpes -vc mpegpes file.mpg|vob
|
||||
|
||||
To play non-standard mpeg files: (software decoding)
|
||||
|
||||
mplayer -ao mpegpes -vo mpegpes file.mpg|vob
|
||||
|
||||
To play divx files:
|
||||
|
||||
mplayer -vo mpegpes -vc ffdivx|odivx file.avi|asf
|
||||
|
||||
To play non-25fps movies, or with slow CPU, add option: -framedrop
|
||||
|
||||
Image size:
|
||||
~~~~~~~~~~~
|
||||
DVB card allows only 2 vertical resolutions: 288 and 576.
|
||||
If your video height differs, you have to clip it or extend by adding
|
||||
black bands. It's done by mplayer, just specify image size using the
|
||||
-x and -y options. You must use either -y 288 or -y 576.
|
||||
|
||||
To force pan&scan (16:9 at 4:3 TV), add options: -x 352 -y 288
|
||||
|
||||
Mailing list:
|
||||
~~~~~~~~~~~~~
|
||||
http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
|
||||
|
||||
List's language is ENGLISH. Please avoid using german or other languages!
|
||||
Subscribe, and ask/discuss your problems here.
|
||||
I'll also post feature announces to this list.
|
||||
|
||||
Future plans/TODO:
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- display OSD and subtitles using DVB card's OSD feature
|
||||
- better (more fluent) playback of non-25fps movies
|
||||
- more speed optimizations
|
||||
- YUY2 support (for win32 codecs, like Indeo5 and WMV 7/8)
|
||||
- realtime transcoding between mpeg2 <-> mpeg4 (partial decompression)
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
DXR3/H+ video/audio output plugins manual by David Holm
|
||||
=======================================================
|
||||
|
||||
2001-12-04: Thanks to Inaki Garci'a Etxebarria of
|
||||
zapping.sourceforge.net we have now
|
||||
abandoned rte since it caused problems for
|
||||
users who didn't rtfm and compiled it with
|
||||
ffmpeg support. Instead we are now using
|
||||
libmp1e which is a modified version of mp1e.
|
||||
|
||||
2001-11-29: Thanks to Felix Buenemann I managed to
|
||||
optimize the odivx playback as well as add
|
||||
support for the rest of the codecs!
|
||||
|
||||
2001-11-28: ffmpeg replaced with mp1e, divx playback
|
||||
won't get much faster than this, huge thanks
|
||||
goes out to Ivan Kalvachev for helping me
|
||||
fix the final mp1e bugs (and contributing
|
||||
to the libvo2 development)
|
||||
|
||||
1. Introduction
|
||||
|
||||
The DXR3 and Hollywood+ are two not too different mpeg-(1/2) and ac3
|
||||
hardware playback cards that came at about the same time as the first
|
||||
dvd-rom drives hit the market. At that time most computers weren't
|
||||
powerful enough for synced software dvd playback. And even the faster
|
||||
(intel-based) computers had troubles with artifacts.
|
||||
Sigma Designs came up with the great idea to create a hardware
|
||||
mpeg-(1/2), ac3 decoder. Sigma Designs are known for their realmagic
|
||||
hardware (or they bought the company who came up with the first
|
||||
realmagic boards, I don't know which).
|
||||
Later Creative Labs thought, hey, we also wan't this product, and to
|
||||
distribute it with our dvd-drives (the DVD Encore packages if I recall
|
||||
correctly). So they bought the designs for the Hollywood plus and
|
||||
replaced the circuit used to produce a proper video feed for tv's
|
||||
called adv7170 or adv7175a depending on which h+ board you own with
|
||||
a bt865. The reason for this is beyond my understanding as this seems
|
||||
complete illogical to me, but I have had great experiences with
|
||||
bt(brooktree) circuits in the past, so I don't mind.
|
||||
Well, nowadays most people have no use for a mpeg-(1/2) or ac3
|
||||
hardware decoder since most computers these days have no problem doing
|
||||
this in software and have cycles left for posprocessing (removing of
|
||||
artefacts and other garbage produced by compression).
|
||||
These days, you have two uses for this card:
|
||||
1. You have a slow computer which you use for vcd/dvd playback
|
||||
2. You discover what I have done with the implementation of this as
|
||||
an audio/video output device for mplayer (read on and you'll find
|
||||
out).
|
||||
|
||||
|
||||
|
||||
2. Requirements
|
||||
|
||||
* First of all you will need the DXR3/H+ drivers properly installed.
|
||||
Version 0.9.0 or later
|
||||
|
||||
* Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes
|
||||
|
||||
From here on compilation (of at least my code ;) should go without any
|
||||
problems.
|
||||
|
||||
|
||||
|
||||
3. Usage
|
||||
|
||||
After installation you will have two new outdevices in mplayer:
|
||||
-vo dxr3 For video output
|
||||
-ao dxr3 For audio output
|
||||
|
||||
MPEG-1, MPEG-2, VCD and DVD Notes
|
||||
There are some notes to take into account here for optimum playback.
|
||||
When playing any mpeg-(1/2) file, this including usage of the "-dvd"
|
||||
and "-vcd" options you must either add the "-vc mpegpes" or edit
|
||||
codecs.conf and make sure videocodec mpegpes is listed above mpeg12.
|
||||
If you fail to do this you will only get software playback which kinda
|
||||
spoils most of the useful features of this card except for tv-out ;).
|
||||
Remember that if you edit the codecs.conf file and move the mpegpes
|
||||
section will have to specify "-vc mpeg12" if you want to playback
|
||||
any of these video types _without_ "-vo dxr3"!
|
||||
|
||||
DIVX Notes
|
||||
When playing divx's add "-vc odivx" for maximum performance.
|
||||
I've switched to mp1e from ffmpeg so it should be lightning fast now.
|
||||
|
||||
Other codecs:
|
||||
No "-vc <codec>" switches should be required as mplayer will autodetect.
|
||||
If you find an unsupported codec please contact me!
|
||||
|
||||
* Avoid running mplayer as root or setuid root as rtc timing seems to
|
||||
slow down playback on the dxr3 for some users. I will look into this
|
||||
at a later point as this hardly qualifies as a severe bug *
|
||||
|
||||
|
||||
|
||||
4. Contacting me
|
||||
|
||||
You can contact me either by e-mailing me, <dholm@iname.com> or by using
|
||||
icq: 798427
|
||||
Feedback, bugreports and general suggestions are appreciated (preferably
|
||||
by e-mail). My name is David Holm for those of you who are incapable of
|
||||
reading a heading. ;)
|
||||
|
||||
|
||||
@@ -0,0 +1,163 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=white>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P><B><A NAME=C>Appendix C - How to report bugs</A></B></P>
|
||||
|
||||
<P><B>How to report bugs?</B></P>
|
||||
|
||||
<P>First read <A HREF="documentation.html#D">Appendix D</A>, and other docs. If your problem isn't
|
||||
known or isn't solved by our instructions, then report the bug:</P>
|
||||
|
||||
<P><B>Where?</B></P>
|
||||
|
||||
<P>Subscribe to the mplayer-users mailing list:<BR>
|
||||
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A><BR>
|
||||
and send your bugreport to:<BR>
|
||||
<A HREF="mailto:mplayer-users@mplayehq.hu">mplayer-users@mplayerhq.hu</A><BR>
|
||||
We won't CC: so please subscribe!!!</P>
|
||||
|
||||
<P>Don't send bugreports private, directly to author's address!!!
|
||||
We are working together on code, so everyone is interested in it.
|
||||
BTW many times other users know the solution (system config probs,
|
||||
bad drivers etc), even when we think it's a bug in our code.
|
||||
The language of this list is ENGLISH!</P>
|
||||
|
||||
<P>Please describe your problem in details, examples etc, and don't
|
||||
forget to include these:</P>
|
||||
|
||||
<P><B>What?</B></P>
|
||||
|
||||
<P><B><I>1. The system info what we always want:</I></B></P>
|
||||
|
||||
<UL>
|
||||
<LI>linux distribution<BR>
|
||||
examples:<UL>
|
||||
<LI>RedHat 7.1
|
||||
<LI>Slackware 7.0 + devel packs from 7.1 ...</UL>
|
||||
<LI>kernel version:<BR>
|
||||
<CODE>uname -a</CODE>
|
||||
<LI>libc version:<BR>
|
||||
<CODE>ls -l /lib/libc[.-]*</CODE>
|
||||
<LI>X version:<BR>
|
||||
<CODE>X -version</CODE>
|
||||
<LI>gcc and ld version:<BR>
|
||||
<CODE>gcc -v<BR>
|
||||
ld -v</CODE>
|
||||
<LI>binutils version:<BR>
|
||||
<CODE>as --version</CODE>
|
||||
</UL>
|
||||
|
||||
<P><B><I>2. Hardware & drivers:</I></B></P>
|
||||
|
||||
<UL>
|
||||
<LI>CPU info:<BR>
|
||||
<CODE>cat /proc/cpuinfo</CODE>
|
||||
<LI>video card manufacturer and model<BR>
|
||||
examples:<BR><UL>
|
||||
<LI>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM
|
||||
<LI>Matrox G400 DH 32MB SGRAM</UL>
|
||||
<LI>video driver type&version<BR>
|
||||
examples:<UL>
|
||||
<LI>X built-in driver
|
||||
<LI>nvidia 0.9.623
|
||||
<LI>Utah-GLX CVS 2001-02-17
|
||||
<LI>DRI from X 4.0.3</UL>
|
||||
<LI>sound card type & driver<BR>
|
||||
examples:<BR><UL>
|
||||
<LI>Creative SBLive! Gold with OSS driver from oss.creative.com
|
||||
<LI>Creative SB16 with OSS drivers of kernel
|
||||
<LI>GUS PnP with ALSA OSS emulation</UL>
|
||||
<LI>if you are unsure, attach output of lspci -v
|
||||
</UL>
|
||||
|
||||
<P><B>For compiling problems/errors</B></P>
|
||||
|
||||
<P><B><I>3. these files:</I></B></P>
|
||||
<UL><LI>configure.log
|
||||
<LI>config.h
|
||||
<LI>config.mak
|
||||
<LI>libvo/config.mak
|
||||
</UL>
|
||||
|
||||
<P><B>For playback problems:</B></P>
|
||||
|
||||
<P><B><I>3. Output of mplayer at verbose level 1 (-v)</I></B></P>
|
||||
<P><CODE> mplayer -v [options] filename &> mplayer.log</CODE></P>
|
||||
|
||||
<P><B><I>4. If the problem is specific to one or a few files,
|
||||
then please upload that file to:</I></B></P>
|
||||
<P><CODE> ftp://mplayerhq.hu/MPlayer/incoming/</CODE></P>
|
||||
Also upload a small .txt file with the same name as your file,
|
||||
describing the problem!<BR>
|
||||
Usually first 1-5 MB of the file is enough to reproduce
|
||||
the problem, but first you should try it:
|
||||
<P><CODE> dd if=yourfile of=smallfile bs=1k count=1024</CODE></P>
|
||||
(it will cut first 1MB of 'yourfile' and save to 'smallfile')
|
||||
Then try again on this small file, and if bug still exists
|
||||
then it's enough to upload this small file.<BR>
|
||||
NEVER send such files via mail! Upload it, and send only
|
||||
the path/filename of the file on the FTP.
|
||||
If the file is accessible on the net, then sending the
|
||||
_exact_ URL is enough!
|
||||
|
||||
<P><B><I>5. For crashes (segfault, SIGILL, signal 4 etc):</I></B></P>
|
||||
|
||||
<P><I>If you have coredump of the crash, see 5.a, else see 5.b:</I></P>
|
||||
|
||||
<P><B><I>5.a: Please print us coredump (if it was created).</I></B></P>
|
||||
|
||||
<P>Howto:
|
||||
please create following command file:</P>
|
||||
|
||||
<P><CODE>disass $eip-32 $eip+32<BR>
|
||||
printf "eax=%08lX\n",$eax<BR>
|
||||
printf "ebx=%08lX\n",$ebx<BR>
|
||||
printf "ecx=%08lX\n",$ecx<BR>
|
||||
printf "edx=%08lX\n",$edx<BR>
|
||||
printf "esp=%08lX\n",$esp<BR>
|
||||
printf "ebp=%08lX\n",$ebp<BR>
|
||||
printf "edi=%08lX\n",$edi<BR>
|
||||
printf "esi=%08lX\n",$esi<BR>
|
||||
</CODE></P>
|
||||
|
||||
<P>Then simply execute following command line:</P>
|
||||
<P> <CODE>gdb mplayer --core=core -batch --command=command_file >mplayer.bug</CODE></P>
|
||||
|
||||
<P><B><I>5.b.: run MPlayer in gdb:</I></B></P>
|
||||
<P>Re-compile mplayer with debugging code enabled:<BR>
|
||||
./configure --enable-debug<BR>
|
||||
make
|
||||
</P>
|
||||
<P>[at root/user shell prompt:]<BR>
|
||||
<CODE># gdb mplayer</CODE><BR>
|
||||
[at gdb prompt:]<BR>
|
||||
<CODE>> run -v [options-to-mplayer] filename</CODE><BR>
|
||||
... (wait until it will crash)<BR>
|
||||
<CODE>> bt</CODE><BR>
|
||||
<CODE>> disass $eip-32 $eip+32</CODE><BR>
|
||||
Send us the full output of the above things!
|
||||
</P>
|
||||
|
||||
<P><B>In general:</B></P>
|
||||
|
||||
<P>If something is big (logs etc) then it's better to upload to the ftp
|
||||
(gzipped), and include only path/filename in the bugreport!</P>
|
||||
|
||||
<P><B>I know what am I doing...</B></P>
|
||||
|
||||
<P>If you created a proper bugreport following the above steps, and you are
|
||||
sure it's mplayer bug, not compiler's problem or broken file, you've already
|
||||
readed through docs and you didn't find the solution, your sound drivers are ok,
|
||||
then you may want to subscribe to the mplayer-advusers list and send your
|
||||
bugreport there to get better and faster answer. But BE WARNED: if you post
|
||||
newbie or rtfm-type questions there, you'll be immediatelly banned, instead or
|
||||
getting answered!!! So don't flame us, subscribe -advusers only if you really
|
||||
know what are you doing and you feel you as advanced mplayer user or developer.
|
||||
(and about how to subscribe: find it out! if you're really an advanced user,
|
||||
it shouldn't be a problem for you...)
|
||||
</P>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,227 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=white>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P><B><A NAME=4.1>4.1. CD-ROM drives</A></B></P>
|
||||
|
||||
<P>Playing standard Video CDs:</P>
|
||||
|
||||
<P>
|
||||
mplayer -vcd <I>trackno</I> [device]<BR><BR>
|
||||
Examples:<BR>
|
||||
mplayer -vcd 1<BR>
|
||||
mplayer -fs -vcd 2 /dev/hdc<BR>
|
||||
</P>
|
||||
|
||||
<P>
|
||||
Notes:<BR>
|
||||
- Do NOT mount VCD disks and play DAT files directly! It may work under windows
|
||||
but won't work under linux. You have to play them directly, with the -vcd
|
||||
option!<BR>
|
||||
- VCD disks usually have 2 tracks: a data track (containing autostart windows
|
||||
playback program, karaoke data etc) and a mode-2 track (the movie), so try
|
||||
-vcd 2 first!<BR>
|
||||
- the default VCD device is /dev/cdrom. if your device differs, then you have
|
||||
to make a symlink, or specify it in command line!
|
||||
</P>
|
||||
|
||||
<P>From Linux documentation:</P>
|
||||
|
||||
<P>Some CDROM drives are capable of changing their head-speed. There are several
|
||||
reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may
|
||||
benefit from less-than-maximum head rate. Modern CDROM drives can obtain very
|
||||
high head rates (up to 24-times is common). It has been reported that these
|
||||
drives can make reading errors at these high speeds, reducing the speed can
|
||||
prevent data loss in these circumstances. Finally, some of these drives can
|
||||
make an annoyingly loud noise, which a lower speed may reduce.</P>
|
||||
|
||||
<P>The recommended way to do it is with a program called 'setcd' . It's kinda
|
||||
old, but won't be too hard to find on the Net. (UPDATE : new hdparm
|
||||
has an option for this !)
|
||||
Use it with :</P>
|
||||
|
||||
<P> <CODE>setcd -x [speed] [cdrom device]</CODE></P>
|
||||
|
||||
<P>Also you can try:</P>
|
||||
|
||||
<P> <CODE>echo current_speed:4 >/proc/ide/[cdrom device]/settings</CODE></P>
|
||||
|
||||
<P>but you'll need root privileges. I use following command too:</P>
|
||||
|
||||
<P> <CODE>echo file_readahead:2000000 >/proc/ide/[cdrom device]/settings</CODE></P>
|
||||
|
||||
<P>for 2MB prefetched reading from the file (it's useful for scratched CDROMs).
|
||||
It's recommended that you tuneup your CDROM drive also with hdparm:</P>
|
||||
|
||||
<P> <CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P>
|
||||
|
||||
<P>to enable using DMA access, readahead, and IRQ unmasking.
|
||||
(if you don't understand these, *read the hdparm manpage*)</P>
|
||||
|
||||
<P>Please refer to "<CODE>/proc/ide/[cdrom device]/settings</CODE>" for fine-tuning your
|
||||
CDROM.</P>
|
||||
|
||||
<P><B><A NAME=4.2>4.2. DVD playback</A></B></P>
|
||||
|
||||
<P>Yes, the real DVD support has been arrived. You don't need to play VOB files
|
||||
manually from disk thinking of the purpose of a file in the video_ts
|
||||
directory, you don't need worry it it's an encrypted disk or not (in old
|
||||
<B>MPlayer</B> you had to put '-dvdauth /dev/dvd' into the command line in case
|
||||
of encrypted discs), and you don't need even mount your disk to be able to
|
||||
play :)</P>
|
||||
|
||||
<P>IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback.
|
||||
This is the first version of some real DVD support inside <B>MPlayer</B> and
|
||||
we're busy with hunting bugs and implementing basic DVD player features.</P>
|
||||
|
||||
<P><B>MPlayer</B> uses libdvdread which has got built in support for IFO
|
||||
parsing, reading navi blocks and doing authentication/descrambling. libdvdread
|
||||
uses libdvdcss to the latter tasks. So you will need libdvdcss and libdvdread
|
||||
downloaded, compiled and installed BEFORE you run ./configure script of
|
||||
<B>MPlayer</B> which will autodetect libdvdread for you in this way.</P>
|
||||
|
||||
<UL>
|
||||
<LI><P><B>Download source of libdvdread and libdvdcss.</B></P>
|
||||
|
||||
<P><I>You can download them from
|
||||
<A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A>
|
||||
(click 'download' in the menu at the left, and you can find libdvdcss and
|
||||
libdvdread in a table).</I></P>
|
||||
|
||||
<P><B><I>IMPORTANT !</I></B><BR>
|
||||
For
|
||||
<UL>
|
||||
<LI>libdvdread 0.8 - you'll need <B>libcss</B> instead of libdvdcss</LI>
|
||||
<LI>libdvdread 0.9 - you'll need <B>libdvdcss 0.0.3</B> ! Don't use newer
|
||||
versions, they won't work!</LI>
|
||||
<LI>For example <B><U>never</U></B> use libdvdcss <B>1.0</B>, it will be unusably slow!</LI>
|
||||
</UL>
|
||||
</P>
|
||||
</LI>
|
||||
|
||||
<LI><P><B>Compile and install libdvdcss THEN libdvdread.</B></P>
|
||||
|
||||
<P><I>Read documentation of these packages to do this step easily.</I></P></LI>
|
||||
|
||||
<LI><P><B>Recompile MPlayer.</B></P>
|
||||
|
||||
<P><I>Run <CODE>./configure</CODE>. If you install libdvdread correctly, ./configure
|
||||
says something similar:<BR><CODE>Checking for DVDread support ... yes</CODE><BR>
|
||||
(Of course you can put your favourite configure options into the command
|
||||
line when you run ./configure). That's it! Say: <CODE>make</CODE>, then <CODE>make install</CODE>.</I></P></LI>
|
||||
</UL>
|
||||
|
||||
<P>Of course after installing libdvdcss and libdvdread you don't need recompile
|
||||
them at each time when you want to recompile <B>MPlayer</B> (from a new CVS version
|
||||
for example) since the needed packages have already been installed on your
|
||||
machine.</P>
|
||||
|
||||
<P><B>Using MPlayer to play DVDs:</B></P>
|
||||
|
||||
|
||||
<TABLE BORDER=0 WIDTH=100%>
|
||||
<TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-dvd <title_id> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Enables DVD support and selects title.</TD><TR>
|
||||
<TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-chapter <chapter_id> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Selects DVD chapter (default: play from chapter 1)</TD><TR>
|
||||
<TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-dvdangle <angle_id> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Selects camera angle (default: 1)</TD><TR>
|
||||
<TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-sid <subtitle_id> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Turns DVD subtitle displaying (of the given subtitle_id or language) on (default: no)<BR>
|
||||
For the list of available languages, use <CODE>-sid 1 -v</CODE> options and
|
||||
browse the output.</TD><TR>
|
||||
</TABLE>
|
||||
|
||||
<P>Default device is <CODE>/dev/dvd</CODE>, you can change it in config.h
|
||||
(compile time option), or you can specify it as a filename for <B>MPlayer</B>:
|
||||
</P>
|
||||
|
||||
<P> <CODE>mplayer -dvd 1 /dev/dvd</CODE></P>
|
||||
<P> <CODE>mplayer -dvd 1 -sid 5 /dev/dvd</CODE></P>
|
||||
<P> <CODE>mplayer -dvd 2 -chapter 5 -dvdangle 2</CODE></P>
|
||||
|
||||
<P><B><A NAME=4.3>4.3. DVD playback FAQ</A></B></P>
|
||||
|
||||
<TABLE BORDER=0 ALIGN=left WIDTH=100%>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Playing a DVD, I encountered this error :<BR>
|
||||
<CODE>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length /
|
||||
sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</CODE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
This is a known libdvdread 0.9.1 bug, it should be already fixed in 0.9.2.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Can I compile libdvdread and libdvdcss for example on my sweet Sparc/Solaris?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Who knows ... Please test it and send feedback. But it's said that it
|
||||
should work. Please refer documentation of libdvdread and its homepage
|
||||
as well. We're not authors of libdvdread.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
What about subtitles? Can MPlayer display them?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Yes! See above in the DVD chapter.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
I've got no sound / bad sound (Spanish audio and other ugly things).
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<B>MPlayer</B> currently does not use all of information of IFO blocks from DVD.
|
||||
You can adjust the right DVD audio stream with: '-aid 128' command line
|
||||
option, where 128 is the stream id of requested audio stream. You can
|
||||
experience with numbers of 128,129,... and so on. Of course this problem
|
||||
will be solved in the future.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
There is some strange effect (interlace like thing) especially when fast
|
||||
moving objects are shown in the movie.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Known problem, we try to fix it later (when we switch to libvo2).
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
How can I set the region code of my DVD-Drive ? I don't have windows!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Use the 'regionset' tool:
|
||||
<A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz</A>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest
|
||||
under the XYZ#$ paragraph of the--
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Get back asshole, there is no DeCSS code in <B>MPlayer</B>. <B>MPlayer</B> uses libdvdread
|
||||
by linking against it, and libdvdread uses libdvdcss by dynamic loading it.<BR>
|
||||
<B>UPDATE</B> : DeCSS is free.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
No, you don't. This is the past :) However of course you must have got
|
||||
the proper rights to the DVD device driver entry (in /dev).
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
How can I ... (insert some expectable DVD player feature here)?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
The current implementation is the first implementation of some real DVD
|
||||
player functionality. First, we would like to target existing bugs and
|
||||
basic features before implementing new features.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Where can I get libdvdread and libdvdcss packages from?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
From the site of Ogle:
|
||||
<A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A>.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,223 @@
|
||||
<HTML><HEAD>
|
||||
<TITLE>mplayer - codec status table</TITLE>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
||||
</HEAD>
|
||||
<BODY BGCOLOR=#FFFFFF text="#000000" link="#666666" vlink="#666666" alink="#666666" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
||||
<table width=750 border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<p> </p>
|
||||
|
||||
<p><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Status of codecs support</font></b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<td>
|
||||
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="#vc">Video codecs</a><br><a href="#ac">Audio codecs</a><br></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<b><font face="Verdana, Arial, Helvetica, sans-serif" size="5"><a name="vc">Video codecs:</a></font></b><br><br>
|
||||
|
||||
<table width="100%" border="1" cellspacing="0" cellpadding="5" bordercolor=#DDDDDD>
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Built-in native codecs</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">fourcc</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td width=40 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">out</font></b></td>
|
||||
<td align=center colspan=2><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">comments</font></b></td>
|
||||
</tr>
|
||||
<!-- %0 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%F</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%Y</b></font></td>
|
||||
<td align=center colspan=2><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Fully functional Win32 VfW/DShow codecs</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">fourcc</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td width=40 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">out</font></b></td>
|
||||
<td align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">DShow</font></b></td>
|
||||
<td align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">comments</font></b></td>
|
||||
</tr>
|
||||
<!-- %1 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%F</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%Y</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%D</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Codecs with problems</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">fourcc</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td colspan=3 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">problem</font></b></td>
|
||||
</tr>
|
||||
<!-- %2 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%F</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Not yet working codecs:</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">fourcc</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td colspan=3 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">problem</font></b></td>
|
||||
</tr>
|
||||
<!-- %3 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%F</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Not tested codecs:</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">fourcc</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td colspan=3 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">problem</font></b></td>
|
||||
</tr>
|
||||
<!-- %4 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%F</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
</table>
|
||||
|
||||
<br><b><font face="Verdana, Arial, Helvetica, sans-serif" size="5"><a name="ac">Audio codecs:</a></font></b><br><br>
|
||||
|
||||
<table width="100%" border="1" cellspacing="0" cellpadding="5" bordercolor=#DDDDDD>
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Built-in native codecs</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">format</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td align=center colspan=3><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">comments</font></b></td>
|
||||
</tr>
|
||||
<!-- %5 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%f</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Fully functional Win32 ACM/DShow codecs</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">format</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td width=40 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">DShow</font></b></td>
|
||||
<td align=center colspan=2><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">comments</font></b></td>
|
||||
</tr>
|
||||
<!-- %6 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%f</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%D</b></font></td>
|
||||
<td align=center colspan=2><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Codecs with problems</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">format</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td colspan=3 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">problem</font></b></td>
|
||||
</tr>
|
||||
<!-- %7 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%f</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Not yet working codecs</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">format</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td colspan=3 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">problem</font></b></td>
|
||||
</tr>
|
||||
<!-- %8 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%f</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
<tr>
|
||||
<td colspan=6 bgcolor=#CCCCCC><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Not yet tested codecs</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=150 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codec name</font></b></td>
|
||||
<td width=70 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">format</font></b></td>
|
||||
<td width=120 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">codecfile</font></b></td>
|
||||
<td colspan=3 align=center><b><font color="#AAAAAA" face="Verdana, Arial, Helvetica, sans-serif" size="2">problem</font></b></td>
|
||||
</tr>
|
||||
<!-- %9 -->
|
||||
<tr>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%i</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%f</b></font></td>
|
||||
<td align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%d</b></font></td>
|
||||
<td align=center colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>%c</b></font></td>
|
||||
</tr>
|
||||
<!-- %. -->
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,352 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=WHITE>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P><B><A NAME=2.2>2.2. Wspierane kodeki</A></B></P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.1>2.2.1. Kodeki Video</A></B></P>
|
||||
|
||||
<P>Zobacz:
|
||||
<A HREF="http://www.mplayerhq.hu/DOCS/codecs-status.html">
|
||||
http://www.mplayerhq.hu/DOCS/codecs-status.html</A>. Znajdziesz tam kompletną,
|
||||
codziennie tworzoną listę!!!</P>
|
||||
|
||||
<P>Najważniejsze kodeki video:<BR>
|
||||
<UL>
|
||||
<LI>MPEG1 (VCD) i MPEG2 (DVD) video</LI>
|
||||
<LI>DivX ;-), OpenDivX (DivX4), 3ivx i inne warianty MPEG4</LI>
|
||||
<LI>Windows Media Video 7 (WMV1) i 8 (WMV2) wykorzystywany w plikach .wmv</LI>
|
||||
<LI>Kodeki Intel Indeo (3.1,3.2,4.1,5.0)</LI>
|
||||
<LI>MJPEG, ASV2 i inne formaty sprzętowe</LI>
|
||||
<LI>Kodeki XAnim</LI>
|
||||
<LI>VIVO</LI>
|
||||
</UL></P>
|
||||
|
||||
<P>Jeśli masz kodeka Win32 nie wymienionego tutaj, oraz jeszcze nie
|
||||
obsługiwanego, przeczytaj <A HREF="#2.2.3">importowanie kodeków</A>, by uzyskać
|
||||
informacje o tym, jak pomóc nam w dodaniu wsparcia dla niego!</P>
|
||||
|
||||
<P><B><A NAME=2.2.1.1>2.2.1.1. DivX4</A></B></P>
|
||||
|
||||
<P>Ta sekcja zawiera informacje o kodekach DivX4 z <A
|
||||
HREF="http://www.projectmayo.com">ProjectMayo</A>. Ich pierwszą dostępną wersją
|
||||
alfa był OpenDivX 4.0 alfa 47 oraz 48. Wsparcie dla nich zostało dołączone w
|
||||
<B>MPlayerze</B>, i jest kompilowane standardowo. Dawniej używaliśmy kodu
|
||||
postprocessing z tych kodeków do opcjonalnego zwiększenia jakości filmów
|
||||
MPEG1/2. Teraz już stosujemy własny.</P>
|
||||
|
||||
<P>Nowa generacja tych kodeków potrafi nawet dekodować filmy zrobione z użyciem
|
||||
niesławnych kodeków DivX! Ale to jeszcze nie wszystko! Są one DUŻO szybsze, niż
|
||||
tradycyjne DLLe Win32 DivX. Zobacz poniżej opis konfiguracji. Jedyną wadą tych
|
||||
kodeków jest fakt, że aktualnie są one closed-source. :(</P>
|
||||
|
||||
<P>Kodeki można ściągnąć z następującego URL:</P>
|
||||
|
||||
<P> <A HREF="http://download2.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip">http://download2.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip</A></P>
|
||||
|
||||
<P>Rozpakuj je i uruchom, jako root, polecenie: <CODE>./install.sh</CODE> .</P>
|
||||
|
||||
<P>Uwaga: NIE zapomnij dodać /usr/local/lib do /etc/ld.so.conf !</P>
|
||||
|
||||
<P><B>MPlayer</B> automatycznie wykrywa czy DivX4 jest (właściwie)
|
||||
zainstalowany, wystarczy go, tak jak zawsze, skompilować. Jeśli mplayer nie
|
||||
wykrywa DivX4, oznacza to, że nie zainstalowałeś go w taki sposób jak powyżej
|
||||
podano, i/lub popsułeś konfigurację (zobacz ostatnie pytanie w sekcji 5.1).</P>
|
||||
|
||||
<P>Używanie tego kodeka jest trochę skomplikowane. Ponieważ powstaje konflikt
|
||||
ze starym OpenDivX (jego API jest bardzo podobne do do tego z OpenDivX), kod
|
||||
OpenDivX jest wyłączony, również sterownik OpenDivX wywołuje tą bibliotekę.</P>
|
||||
|
||||
<P>Ogólnie możemy sprowadzić to zagadnienie do faktu, że masz dwie opcje do
|
||||
zastosowania tego kodeka:</P>
|
||||
|
||||
<P><TABLE BORDER=0>
|
||||
<TD> </TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica,
|
||||
sans-serif" size=2>-vc odivx</TD><TD> </TD> <TD><FONT
|
||||
face="Verdana, Arial, Helvetica, sans-serif" size=2>użycie kodeka divx4 jako
|
||||
nowej wersji OpenDivX. W tym przypadku produkuje on we własnym buforze obrazy
|
||||
YV12 oraz <B>MPlayer</B> (libvo) dokonuje konwersji przestrzeni kolorów.
|
||||
(<B>REKOMENDOWANE!</B>)</TD><TR> <TD></TD><TD VALIGN=top><FONT face="Verdana,
|
||||
Arial, Helvetica, sans-serif" size=2>-vc divx4</TD><TD></TD> <TD><FONT
|
||||
face="Verdana, Arial, Helvetica, sans-serif" size=2>użycie konwersji
|
||||
przestrzeni kolorów z kodeka divx4. W tym trybie można użyć również
|
||||
YUY2/UYVY.</TD></TR>
|
||||
</TABLE></P>
|
||||
|
||||
<P>Metoda 'odivx' jest zazwyczaj szybsza, ze względu na fakt, że przenosi ona
|
||||
dane obrazu do formatu YV12 (planar YUV 4:2:0), a to wymaga dużo mniejszego
|
||||
pasma przenoszenia na szynie. W trybie spakowanego YUV (YUY2, UYVY) stosuj
|
||||
metodę 'divx4'. W trybie RGB możesz dowolnie wybierać, ponieważ prędkości ich
|
||||
są takie same, różnią się być może tylko w odniesieniu do aktualnego bpp.</P>
|
||||
|
||||
<P>Uwaga: ten kodek wspiera również postprocessing, ale zakres wartości jest
|
||||
dziwny: (UAKTUALNIĆ)</P>
|
||||
|
||||
<P><TABLE BORDER=0>
|
||||
<TD> </TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>0</TD><TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>bez postproc</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>10 .. 20</TD>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>postprocessing, normalny (jak na poziomie 2 z divxd)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>30 .. 60</TD>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>mocny prostprocessing, obciąża mocno CPU (podobnie jak poziom 4 z divxd</TD><TR>
|
||||
</TABLE></P>
|
||||
|
||||
<P><B><A NAME=2.2.1.2>2.2.1.2. DivX/libavcodec z ffmpeg</A></B></P>
|
||||
|
||||
<P>Poczynając od wersji 0.4.2, <A
|
||||
HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> zawiera kodek DivX
|
||||
<B>opensource</B>, który jest kompatybilny z tradycyjnym DivX. <B>MPlayer</B>
|
||||
wspiera ten kodek i dzięki temu możliwe staje się <B>oglądanie filmów
|
||||
DivX/DivX4 na platformach innych niż x86</B> oraz osiąganie dużo szybszej
|
||||
prędkości dekodowania <B>DivX/DivX4</B>, niż za pomocą kodeków Win32 i
|
||||
oryginalnych bibliotek DivX4<BR>. Ponieważ zostało to usunięte z drzewa cvs
|
||||
<B>MPlayera</B>, musisz ściągnąć to ręcznie bezpośrednio z drzewa cvs
|
||||
<B>FFmpeg</B></P>.
|
||||
|
||||
<P><CODE>
|
||||
cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login<BR>
|
||||
cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg
|
||||
</CODE></P>
|
||||
|
||||
<P>UWAGA: <I>Jeśli kopiujesz z podkatalogami CVS, następnym razem wystarczy
|
||||
zrobić 'cvs update'.</I></P>
|
||||
|
||||
<P>Teraz przenieś nowo ściągnięte źródła ffmpeg: katalog <B>libavcodec</B>, (ze
|
||||
wszystkimi jego podkatalogami) do drzewa katalogowego <B>MPlayera</B>, tak, aby
|
||||
to wyglądało w taki sposób:</P>
|
||||
|
||||
<P> <CODE>main/libavcodec</CODE></P>
|
||||
|
||||
<P>Linkowanie symboliczne NIE jest wystarczające. Musisz to skopiować bądź
|
||||
przenieść!!!</P>
|
||||
|
||||
<P>Następnie skompiluj. configure wykrywa czy wszystko jest w porządku i może
|
||||
być skompilowane. Ten kodek również <B>wspiera postprocessing!</B></P>
|
||||
|
||||
<P>W celu użycia go, odśwież swój plik codecs.conf, zgodnie z tym, co mówią
|
||||
strony podręcznika lub example.conf (opcja -vfm).</P>
|
||||
|
||||
<P>Aby osiągnąć <B>największą prędkość</B> na moim K6, usuwam sekcję
|
||||
<CODE>ffmpeg12</CODE> z codecs.conf (ten kodek nie jest zoptymalizowany a
|
||||
libmpeg2 jest dwa razy szybszy), i wpisuję <CODE>vfm=5</CODE> w moim pliku
|
||||
konfiguracyjnym. Po czym <B>MPlayer</B> zawsze już używa <B>ffdivx/ffodivx</B>
|
||||
do dekodowania plików <B>DivX/DivX4</B> oraz libmpeg2 do plików MPEG1/2. Przy
|
||||
takiej konfiguracji na moim K6/2 500 z Matrox G400 mogę oglądać filmy
|
||||
DivX/DivX4 w najwyższej rozdzielczości, bez straty klatek (framedrop).</P>
|
||||
|
||||
<P><B><A NAME=2.2.1.3>2.2.1.3. Kodeki XAnim</A></B></P>
|
||||
|
||||
<P>Używanie (niektórych) kodeków XAnim z innym programem niż XAnim, jest
|
||||
<B><I>NIELEGALNE</I></B>. <B>TWOIM</B> obowiązkiem jest przeczytanie
|
||||
licencji i zastosowanie się do niej. Autorzy <B>MPlayera</B> nie mogą zostać
|
||||
pociągnięci do odpowiedzialności za jakiekolwiek, sprzeczne z prawem,
|
||||
zachowania użytkowników.</P>
|
||||
|
||||
<P>A więc: tak, <B>MPlayer</B> potrafi używać do dekodowania kodeków XAnim.
|
||||
Włączenie ich jest bardzo proste:</P>
|
||||
|
||||
<P>
|
||||
<UL>
|
||||
<LI>Ściągnij kodeki, których chcesz używać ze
|
||||
<A HREF="http://xanim.va.pubnix.com">strony XAnim</A>. Nie ma tam kodeka
|
||||
<B>3ivx</B> , więc ściągnij go ze <A HREF="http://www.3ivx.com">strony
|
||||
3ivx</A>.</LI>
|
||||
|
||||
<LI>Użyj opcji <CODE>--with-xanimlibdir</CODE>, aby podać dla configure,
|
||||
gdzie znajdują się kodeki xanim. Domyślnie są one szukane w katalogu
|
||||
<CODE>/</CODE> (...) .</LI>
|
||||
|
||||
<LI>Zmień nazwy plików, obcinając część dotyczącą architektury tak, aby
|
||||
wyglądały one następująco: <CODE>vid_cvid.xa, vid_h263.xa, vid_iv50.xa</CODE>
|
||||
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<P>Jest to rodzina kodeków video o numerze 10, przydatne więc będzie użycie
|
||||
opcji <CODE>-vfm 10</CODE> i poinformowanie <B>MPlayera</B>, by ich użył jeśli
|
||||
to możliwe.</P>
|
||||
|
||||
<P>Testowane kodeki: <B>Indeo 3.2</B>, <B>4.1</B>, <B>5.0</B>, <B>CVID</B>, <B>3ivX</B>, <B>h263</B>.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.1.4>2.2.1.4. Obraz VIVO</A></B></P>
|
||||
|
||||
<P><B>MPlayer</B> potrafi odgrywać obrazy Vivo (1.0 i 2.0). Najbardziej
|
||||
odpowiedni kodek do plików 1.0, to dekoder FFmpeg's H263, Możesz go użyć za
|
||||
pomocą opcji <CODE>-vc ffh263</CODE> (będziesz potrzebował najnowszego
|
||||
libavcodec!). Do plików 2.0 użyj <CODE>ivvideo.dll</CODE> pliku DLL Win32 (do
|
||||
sciągnięcia <A
|
||||
HREF="http://www.mplayerhq.hu/MPlayer/samples/drivers32/ivvideo.dll">tutaj</A>),
|
||||
zainstaluj go w <CODE>/usr/lib/win32</CODE>, bądź w innym miejscu, w którym
|
||||
przechowujesz kodeki Win32. Ten późniejszy kodek nie obsługuje trybów YV12 ani
|
||||
YUY2, a tylko BGR i jest użyteczny wyłącznie z wyjściami X11 i OpenGL. Miejmy
|
||||
nadzieję, że ffh263 będzie wspierał pliki VIVO 2.0 w przyszłości.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.1.5>2.2.1.5. Obraz MPEG 1/2</A></B></P>
|
||||
|
||||
<P>MPEG1 i MPEG2 są dekodowane za pomocą biblioteki własnej <B>libmpeg2</B>.
|
||||
Jej kod źródłowy jest zawarty w <B>MPlayerze</B> i oczywiście jest
|
||||
wieloplatformowy. Obsługujemy pliki video MPEG1/2 z błędami przez sprawdzanie,
|
||||
jaką sygnaturę zwraca libmpeg2, i kiedy jest to sig11 (segmentation fault),
|
||||
szybko inicjalizujemy ponownie kodek, i kontynuujemy dokładnie z tego miejsca,
|
||||
w którym pojawił się błąd. Nie ma tu zauważalnej straty prędkości.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.1.6>2.2.1.6. MS Video1</A></B></P>
|
||||
|
||||
<P>Jest bardzo stary i bardzo zły kodek Microsoftu. W przeszłości był on
|
||||
dekodowany z kodekiem Win32 <CODE>msvidc32.dll</CODE>, teraz mamy własną
|
||||
implementację open-source wykonaną przez <A
|
||||
HREF="mailto:melanson@pcisys.net">Mike'a Melansona</A>).</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.1.7>2.2.1.7. Cinepak CVID</A></B></P>
|
||||
|
||||
<P>Najlepszym sposobem, aby oglądać obrazy Cinepak za pomocą <B>MPlayera</B>
|
||||
jest użycie kodeka XAnim <CODE>vid_cvid.xa</CODE>, ponieważ obsługuje on wyjścia
|
||||
YV12, YUY2, w przeciwieństwie do kodeka Win32, który wspiera wyłącznie RGB.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.2>2.2.2. Kodeki dźwięku</A></B></P>
|
||||
|
||||
<P>Najważniejsze kodeki dźwięku, to:<BR>
|
||||
<UL>
|
||||
<LI>MPEG layer 2 oraz layer 3 (MP3) audio(<B>własny</B> kod, z optymalizacją MMX/SSE/3DNow!)</LI>
|
||||
<LI>MPEG layer 1 audio(<B>własny</B> kod, z libavcodec)</LI>
|
||||
<LI>AC3 Dolby audio (<B>własny</B> kod, z optymalizacją SSE/3DNow!)</LI>
|
||||
<LI>Ogg Vorbis kodek audio (<B>własna</B> biblioteka)</LI>
|
||||
<LI>Voxware audio (użycie DirectShow DLL)</LI>
|
||||
<LI>alaw, msgsm, pcm i inne proste stare formaty dźwiękowe</LI>
|
||||
</UL></P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.2.1>2.2.2.1. Programowe dekodowanie AC3</A></B></P>
|
||||
|
||||
<P>Domyślny dekoder, używany do plików z dźwiękiem AC3.</P>
|
||||
|
||||
<P>Dekoder AC3 może tworzyć mieszanki wyjściowego dźwięku dla 2, 4 lub 6
|
||||
głośników. Skonfigurowany dla 6 głośników, dekoder ten dostarcza oddzielne
|
||||
wyjścia dla wszystkich kanałów AC3 do sterownika karty dźwiękowej, umożliwiając
|
||||
doświadczenie wrażenia pełnego "dźwięku otaczającego", bez wymagania od
|
||||
zewnętrznego dekodera AC3 użycia kodeka hwac3.</P>
|
||||
|
||||
<P>Użyj opcji <CODE>-channels</CODE>, aby wybrać ilość kanałów wyjściowych.
|
||||
Użyj opcji <CODE>-channels 2</CODE> dla stereo downmix. Dla czterokanałowego
|
||||
downmix (wyjścia lewo-przód, prawo-przód, lewo-tył, prawo-tył), użyj opcji
|
||||
<CODE>-channels 4</CODE>. W tym przypadku jakikolwiek centralny kanał będzie
|
||||
miksowany odpowiednio do przednich kanałów. Ostatecznie, "-channels 6" będzie
|
||||
wyprowadzało wszystkie kanały AC3 tak, jak są zakodowane - w kolejności lewy,
|
||||
prawy, lewy-tylny, prawy-tylny, centralny oraz LFE.</P>
|
||||
|
||||
<P>Domyślna liczba kanałów wyjściowych wynosi 2.</P>
|
||||
|
||||
<P>Aby korzystać z więcej niż dwóch kanałów wyjściowych, musisz użyć OSS, i
|
||||
posiadać sterownik dla karty dźwiękowej, który obsługuje odpowiednią liczbę
|
||||
kanałów wyjściowych przez SNDCTL_DSP_CHANNELS ioctl. Na przykład wersja
|
||||
sterownika emu10k1 (używanego z kartami SB Live), nowsza niż z sierpnia 2001,
|
||||
powinna być odpowiednia.</P>
|
||||
|
||||
<P>Miksowanie na wyjściu więcej niż dwóch kanałów powinno być traktowane jako
|
||||
eksperymentalne.</P>
|
||||
|
||||
<P><B><A NAME=2.2.2.2>2.2.2.2. Sprzętowe dekodowanie AC3</A></B></P>
|
||||
|
||||
<P>Potrzebna ci będzie karta dźwiękowa, zdolna do obsługi AC3, z cyfrowym
|
||||
wyjściem (SP/DIF). Sterownik karty dźwiękowej musi obsługiwać format AFMT_AC3
|
||||
(tak, jak to jest w SB Live!). Połącz swój dekoder AC3 do wyjścia SP/DIF oraz
|
||||
użyj opcji '-ac hwac3'. To może zadziałać, bądź nie (status eksperymentalny -
|
||||
najprawdopodobniej nie zadziała).</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.2.3>2.2.2.3. Obsługa libmad</A></B></P>
|
||||
|
||||
<P><A HREF="http://mad.sourceforge.net">libmad</A> jest wieloplatformową
|
||||
biblioteką dekodowania dźwięku MPEG. Jeśli nie wiesz dlaczego to jest dobre,
|
||||
prawdopodobnie nie potrzebujesz tego. </P>
|
||||
|
||||
<P>Aby włączyć obsługę, skompiluj źródła z opcją <CODE>--enable-mad</CODE>.
|
||||
</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.2.4>2.2.2.4. Dźwięk VIVO</A></B></P>
|
||||
|
||||
<P>Kodek dźwięku stosowany do plików VIVO zależy od tego, czy jest to plik
|
||||
VIVO/1.0, czy VIVO/2.0. Pliki VIVO/1.0 zawierają dźwięk <B>g.723</B>, zaś pliki
|
||||
VIVO/2.0 mają <B>Vivo Siren</B>. Obecnie żaden z nich nie jest wspierany, ale
|
||||
możesz ściągnąć kodek g.723 z
|
||||
<A HREF="http://www.mplayerhq.hu/MPlayer/samples/drivers32/vivog723.acm">tej
|
||||
strony</A>, a następnie skopiować go do katalogu <CODE>/usr/lib/win32</CODE>
|
||||
lub innego odpowiedniego.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.3>2.2.3. Importowanie kodeków Win32</A></B></P>
|
||||
|
||||
<P><B><A NAME=2.2.3.1>2.2.3.1. Kodeki VFW</A></B></P>
|
||||
|
||||
<P>VfW (Video for Windows), jest to stare Video API dla Windows. Jego kodeki
|
||||
mają rozszerzenia .DLL lub (rzadziej) .DRV.
|
||||
Jeśli <B>MPlayer</B> nie działa z twoim AVI:</P>
|
||||
|
||||
<P> <CODE>UNKNOWN video codec: HFYU (0x55594648)</CODE></P>
|
||||
|
||||
<P>To oznacza, że twój AVI jest zakodowany za pomocą kodeka, który ma HFYU
|
||||
fourcc (HFYU = kodek HuffYUV, DIV3 = DivX Low Motion, itd....). Teraz, gdy już
|
||||
to wiemy, będziemy musieli dowiedzieć się, którą bibliotekę DLL z Windows
|
||||
załadować, aby móc odtworzyć ten plik. W naszym przypadku system.ini zawiera to
|
||||
(oraz wiele innych):</P>
|
||||
|
||||
<P> <CODE>VIDC.HFYU=huffyuv.dll</CODE></P>
|
||||
|
||||
<P>Tak więc będziemy potrzebować pliku huffyuv.dll. Zauważ, że kodeki dźwięku są wyróżnione za pomocą prefiksu MSACM:</P>
|
||||
|
||||
<P> <CODE>msacm.l3acm=L3codeca.acm</CODE></P>
|
||||
|
||||
|
||||
<P>To jest kodek MP3. Mając już wszystkie potrzebne informacje (fourcc,
|
||||
plik z kodekiem, próbka AVI), wyślij żądanie wsparcia dla twojego kodeka mailem
|
||||
i załaduj te pliki przez FTP:</P>
|
||||
|
||||
<P> <CODE>ftp://ftp.mplayerhq.hu/MPlayer/incoming/[nazwa_kodeka]/</CODE></P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.2.3.2>2.2.3.2. Kodeki DirectShow</A></B></P>
|
||||
|
||||
<P>DirectShow to najnowsze Video API, które jest nawet gorsze, niż jego
|
||||
poprzednik. Sprawy się bardziej komplikują, odkąd:
|
||||
<UL>
|
||||
<LI>system.ini nie zawiera potrzebnych informacji, a w zamian za to jest przechowywany w rejestrze :(
|
||||
<LI>będzie potrzebny nam GUID kodeka.
|
||||
</UL></P>
|
||||
|
||||
<P>Więc znajdźmy ten przeklęty rejestr ...
|
||||
<UL>
|
||||
<LI>Uruchom 'regedit'.
|
||||
<LI>Wciśnij ctrl-f, odznacz pierwsze dwie opcje i zaznacz trzecią. Wpisz
|
||||
fourcc kodeka (np.: TM20).
|
||||
<LI>Powinno się pokazać pole ze ścieżką i nazwą pliku (np. :
|
||||
C:\WINDOWS\SYSTEM\TM20DEC.AX).
|
||||
<LI>Skoro mamy już plik, potrzebne nam jeszcze GUID. Spróbuj jeszcze raz
|
||||
poszukać, ale tym razem nazwy kodeka, nie fourcc. Jego nazwę można odczytać w
|
||||
File/Properties/Advanced, podczas odtwarzania tego pliku przez Media Player.
|
||||
Jeśli się nie da, to pech ;) Spróbuj zgadnąć (np. szukaj: TrueMotion).
|
||||
<LI>Jeśli znalazłeś (w rejestrze), powinno być tam pole FriendlyName oraz pole
|
||||
CLSID. Zapisz, że 16 bajtów CLSID, to potrzebne nam GUID.
|
||||
</UL></P>
|
||||
|
||||
<P>UWAGA:Poszukując plików, staraj się włączyć wszystkie pola wyboru ...
|
||||
Możesz dostać wiele nieprzydatnych odpowiedzi, ale być może dostaniesz te
|
||||
właściwe przy okazji ... </P>
|
||||
|
||||
<P>UWAGA: W razie niepowodzenia zrzuć wszystko na M$.</P>
|
||||
|
||||
|
||||
<P>Mając już wszystkie potrzebne informacje (fourcc, GUID, plik z kodekiem,
|
||||
próbka AVI), wyślij zgłoszenie wsparcia dla swojego kodeka mailem, i prześlij
|
||||
te pliki na adres FTP:<BR>
|
||||
ftp://ftp.mplayerhq.hu/MPlayer/incoming/[nazwa_kodeka]/</P>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,255 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=white>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P><B><A NAME=2.4>2.4. Encoding with MEncoder</A></B></P>
|
||||
|
||||
<A NAME=2.4.1><P><B><I>Overview</I></B>
|
||||
<P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) is a simple movie encoder,
|
||||
designed to encode MPlayer-playable movies
|
||||
(<B>AVI/DVD/VCD/VOB/MPG/MOV/VIV/NET</B>) to other MPlayer-playable formats (see
|
||||
below). Currently it's in beta stage, and encodes only to <B>DivX4</B> (1 or 2
|
||||
passes) video, <B>PCM</B>/<B>MP3</B>/<B>VBRMP3</B> audio. Also has stream
|
||||
copying abilities. In the future, there will be cropping, resizing filters, and
|
||||
other interesting stuff.</P>
|
||||
|
||||
<A NAME=2.4.2><P><B><I>Compiling</I></B>
|
||||
<UL>
|
||||
<LI>read <B>MPlayer</B>'s compilation instructions, it contains info about
|
||||
how to install <I>libdvdread</I> for <B>DVD</B> support, etc.</LI>
|
||||
<LI>download the newest <B>DivX4linux</B> libs
|
||||
from <A HREF="http://avifile.sourceforge.net/download.htm">avifile.sourceforge.net</A>,
|
||||
and have them PROPERLY installed. This is needed for DivX4 (1/2 pass)
|
||||
encoding. And since this is mandatory (now), MEncoder is Linux-only.</LI>
|
||||
<LI>download and compile <B>libmp3lame</B> (from lame 3.89beta or lame CVS).<BR>
|
||||
<B>WARNING : DO NOT COMPILE LAME WITH <U>GCC 2.96</U> ! It won't
|
||||
work properly !</B><BR>
|
||||
This
|
||||
is needed for CBR/VBR MP3 audio encoding ability. Note that a single
|
||||
<CODE>lame</CODE> binary isn't sufficient. BTW: the less optimization
|
||||
you use for lame, the better the quality will be. You can test
|
||||
quality by running <CODE>make test</CODE> after lame's compiling process
|
||||
is over. The resulting number should be less than <B>30</B>. Don't
|
||||
panic if it's <B>400</B> or so, you shouldn't heard any audible
|
||||
quality decrease. Oh, and if your compiler doesn't even run <CODE>make test</CODE> ...
|
||||
Well, delete that <B>GCC 2.96</B>.</LI>
|
||||
<LI>use <CODE>./configure</CODE> with optional parameters as usual
|
||||
(use <CODE>--enable-tv</CODE> to include V4L tuner grabbing code), and
|
||||
type : <CODE>make mencoder</CODE> , then <CODE>make install</CODE>.</LI>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<P>You are ready. As you probably know, other encoding tools need the
|
||||
<I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P>
|
||||
|
||||
<A NAME=2.4.3><P><B><I>MEncoder features</I></B> :
|
||||
<UL>
|
||||
<LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B></LI>
|
||||
<LI>encoding from <B>V4L compatible TV tuners</B></LI>
|
||||
<LI>encoding/multiplexing to interleaved AVI files with proper index</LI>
|
||||
<LI>1 or 2 pass <B>DivX4</B> video</LI>
|
||||
<LI><B>VBR</B> MP3 audio</LI>
|
||||
<LI>PCM audio</LI>
|
||||
<LI>stream copying (CBR audio only)</LI>
|
||||
<LI>input A/V synchronizing (PTS-based, can be disabled with -mc 0 option)</LI>
|
||||
<LI>FPS correction with <CODE>-ofps</CODE> option (useful when encoding
|
||||
29.97fps VOB to 24fps AVI)</LI>
|
||||
<LI>movie rescaling</LI>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<P><B><I>Planned features</I></B> :
|
||||
<UL>
|
||||
<LI>using audio from separate file (AC3, MP3, OGG)</LI>
|
||||
<LI>VBR audio stream copy</LI>
|
||||
<LI>even wider variety of available en/decoding formats/codecs
|
||||
(creating VOB files with DivX4/Indeo5/VIVO streams :)</LI>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<A NAME=2.4.3.1><P><B><I>Encoding 2-pass DivX4</I></B></P>
|
||||
|
||||
<P>The name comes from the fact that this method encodes the file <I>twice</I>.
|
||||
The first encoding (dubbed <I>pass</I>) creates some temporary files with a
|
||||
size of few megabytes (do not delete them yet). In the second pass, the output
|
||||
file is created, using the bitrate data from the temporary file. The resulting
|
||||
file will have much better image quality. If this is the first time you heard
|
||||
about this, you should consult some guides available on the Net.</P>
|
||||
|
||||
<P>This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two
|
||||
commands are needed :<BR>
|
||||
<CODE> mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100
|
||||
-o movie.avi -pass 1<BR>
|
||||
mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2</CODE></P>
|
||||
|
||||
<A NAME=2.4.3.2><P><B><I>Rescaling movies</I></B></P>
|
||||
|
||||
<P>Often the need to resize movie images' size emerges. Its reasons can be many,
|
||||
examples are decreasing output file size, encoding SVCDs to DivX. Ripped DVDs
|
||||
are mostly rescaled, for example a 4:3 DVD should be 640x480, especially
|
||||
when you want it to fit to 1 CD, and have good quality at the same time.
|
||||
SVCDs have 480x480 size, and their header contains the aspect ratio the
|
||||
player should use (Ex.: 480x480 + 4:3 = 640x480). However when encoding to
|
||||
AVI (DivX) files, you have be aware that AVI headers don't store this
|
||||
value. Thus, the only solution is rescaling.</P>
|
||||
|
||||
<P>The output size is specified with the <CODE>-x</CODE>, and <CODE>-y</CODE>
|
||||
options. Furthermore, there are 3 rescaling filters in <B>MEncoder</B>, <I>0
|
||||
: fast 1 : bilinear</I>, <I>2 : bilinear</I>, <I>bicubic</I> (best quality).
|
||||
They can be specified with the <CODE>-sws</CODE> option. If not specified,
|
||||
<B>MEncoder</B> will use 0 : fast bilinear.</P>
|
||||
|
||||
<P>Rescaling is very simple :<BR>
|
||||
<CODE> mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi</CODE></P>
|
||||
|
||||
<A NAME=2.4.3.3><P><B><I>Stream copying</I></B></P>
|
||||
|
||||
<P><B>MEncoder</B> can handle input streams in two ways : <B>encode</B> or
|
||||
<B>copy</B> them. This section is about <B>copying</B>.</P>
|
||||
|
||||
<P>
|
||||
<UL>
|
||||
<LI><B>Video stream</B> (option <CODE>-ovc copy</CODE>) : nice stuff can be done :)<BR>
|
||||
Like, putting (not converting!) FLI or VIVO or MPEG1 video into an AVI file !
|
||||
Of course only <B>MPlayer</B> can play such files :) And it probably has no
|
||||
real life value at all. Rationally : video stream copying can be useful for
|
||||
example when only the audio stream has to be encoded (like, uncompressed PCM
|
||||
to MP3).</LI>
|
||||
|
||||
<LI><B>Audio stream</B> (option <CODE>-oac copy</CODE>) : straightforward.</LI>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<A NAME=2.4.4><P><B><I>Syntax</I></B></P>
|
||||
|
||||
<P> <CODE>mencoder [options] [input file] [options] ...</P>
|
||||
|
||||
<A NAME=2.4.5><P><B><I>Available options</I></B></P>
|
||||
|
||||
<P>NOTE : for all available options, <B>read the manpage !</B></P>
|
||||
|
||||
<TABLE BORDER=0>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-o</I> filename</TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
specify output filename
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-x</I> width in pixels</TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
rescale output video to given pixels width
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-y</I> height in pixels</TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
rescale output video to given pixels height
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-sws</I> 0-2</TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
type of scaling method<BR>
|
||||
0 - fast bilinear<BR>
|
||||
1 - bilinear<BR>
|
||||
2 - bicubic (best quality)<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-ovc</I> codecname</TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Encode with the given codec (codec names are from codecs.conf). Examples:<BR>
|
||||
<B>help</B> - get list of available codecs<BR>
|
||||
<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
|
||||
<B>divx4</B> - encode to DivX4<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-oac</I> codecname</TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
Encode with the given codec (codec names are from codecs.conf). Examples:<BR>
|
||||
<B>help</B> - get list of available codecs<BR>
|
||||
<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
|
||||
<B>pcm</B> - encode to uncompressed PCM<BR>
|
||||
<B>mp3lame</B> - encode to MP3 (using Lame)<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-divx4opts</I></TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
If encoding to DivX4, you can specify its parameters here, like:<BR>
|
||||
<CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR>
|
||||
Common options: <B>(for full list, check the manpage!)</B><BR>
|
||||
<B>help</B> - get help<BR>
|
||||
<B>br</B>=XXX - specify bitrate in kbit <4-16000> or bit <16001-24000000><BR>
|
||||
<B>q</B>=XXXX - quality (1-fastest, 5-best - default 5)<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
<I>-lameopts</I></TD>
|
||||
<TD> </TD>
|
||||
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
If encoding to MP3 with libmp3lame, you can specify its parameters here, like:<BR>
|
||||
<CODE>-lameopts q=3</CODE><BR>
|
||||
<CODE>-lameopts br=192:cbr</CODE><BR>
|
||||
Common options: <B>(for full list, check the manpage!)</B><BR>
|
||||
<B>help</B> - get help<BR>
|
||||
<B>cbr</B> - select <B>CBR</B> MP3 (default is <B>VBR</B>)<BR>
|
||||
<B>br</B>=XXX - specify bitrate in kbit <0-1024> (this is for <B>CBR</B> only!)<BR>
|
||||
<B>q</B>=XXXX - quality (0-highest, 9-fastest - default 0) (this is for <B>VBR</B> only!)<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME=2.4.6><P><B><I>Examples</I></B></P>
|
||||
|
||||
<P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P>
|
||||
|
||||
<P>Encoding from DVD, title 2 :<BR>
|
||||
<CODE> mencoder -dvd 2 -o title2.avi</CODE></P>
|
||||
|
||||
<P>Encoding from DVD, title 2, with rescaling :<BR>
|
||||
<CODE> mencoder -dvd 2 -x 640 -y 480 -sws 2 -o title2.avi</CODE></P>
|
||||
|
||||
<P>Encoding from HTTP :<BR>
|
||||
<CODE> mencoder http://mplayer.hq/example.avi -o example.avi</CODE></P>
|
||||
|
||||
<P>Encoding from a pipe :<BR>
|
||||
<CODE> rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- -</CODE></P>
|
||||
|
||||
<P>Encoding multiple *.vob files :<BR>
|
||||
<CODE> cat *.vob | mencoder <options> -</CODE></P>
|
||||
|
||||
<P>Encoding from tuner (for tuner options <A HREF="documentation.html#2.5">see the TV input section !</A>) :<BR>
|
||||
<CODE> mencoder -tv on:driver=v4l:width=640:height=480 <options></CODE></P>
|
||||
|
||||
<P>For all available options, <B><I>check the MEncoder man page !</I></B>
|
||||
<P>
|
||||
</FONT>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,923 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=white>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P><B><A NAME=5>5. FAQ section</A></B></P>
|
||||
|
||||
<TABLE BORDER=0 WIDTH=100% ALIGN=left>
|
||||
|
||||
<TD COLSPAN=3><P><B><A NAME=5.1><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>5.1 Compilation</A></B></P>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD> </TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
configure ends with this text, and MPlayer won't compile !<BR>
|
||||
<CODE>Your gcc does not support even i386 for '-march' and '-mcpu'.</CODE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Your gcc isn't installed correctly, check <CODE>config.log</CODE> file
|
||||
for details.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD> </TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What does "No such file or directory" means ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Probably there is no such file or directory.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD> </TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What's the problem with gcc 2.96 ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
To be short: <B><I>DO NOT USE gcc 2.96 !!!</I></B><BR>
|
||||
Check <A HREF="gcc-2.96-3.0.html">this</A> and <A HREF="users_against_developers.html">this</A> texts!
|
||||
If you still really really want to do so, be sure to use the latest release.
|
||||
<BR>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
No, since there have been/are issues with those compilers.<BR>
|
||||
Use 2.95.x series for reliability (not <A HREF="gcc-2.96-3.0.html">2.96</A>).
|
||||
Use the latest gcc 3.0.x (starting at 3.0.2) if you want to use a 3.0.x version.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I tried to compile MPlayer, but I got this output:<BR>
|
||||
<PRE>
|
||||
In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
|
||||
from /usr/include/g++-v3/bits/fpos.h:40,
|
||||
from /usr/include/g++-v3/bits/char_traits.h:40,
|
||||
from /usr/include/g++-v3/bits/std_string.h:41,
|
||||
from /usr/include/g++-v3/string:31,
|
||||
from libwin32.h:36,
|
||||
from DS_AudioDecoder.h:4,
|
||||
from DS_AudioDec.cpp:5:
|
||||
/usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*,
|
||||
wchar_t**, int)':
|
||||
/usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
|
||||
`const
|
||||
</PRE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Upgrade your glibc to the newest. On Mandrake, use 2.2.4-8mdk .
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
...gcc 2.96... (yes, some people are STILL flaming about their gcc 2.96!!)
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
<P>But we has idegs (the word 'ideg' is described further in the FAQ). And our
|
||||
idegcounters overflow again and again.</P>
|
||||
|
||||
<P>Unfortunately MPlayer is out of our control. It's used by lamers, Linux users
|
||||
who can't even use windows, and never tried to compile a kernel. They installed
|
||||
(with default options) Mandrake or RedHat or Suse, and without RTFM'ing they
|
||||
send messages saying 'it doesn't work! help me! please! i'm new to the linux!
|
||||
help! oh! help me!'. We can't stop them, but at least we try to force them RTFM
|
||||
and to read fuckin' messages of ./configure and mplayer.</P>
|
||||
|
||||
<P>And you clever guys come and flame us with gcc 2.96 and binary packages.
|
||||
Instead of helping users or making patches to help solve problems.</P>
|
||||
|
||||
<P>Half of our spare/free time is spent by answering silly mails here and
|
||||
making newer tricks and checks to configure to avoid such mails.</P>
|
||||
|
||||
<P>And there is a balance. On one hand are you, clever guys, saying we are very
|
||||
bad because we don't like buggy gcc 2.96, and at the other hand there are the
|
||||
'new to linux' guys who are showing us gcc 2.96 is buggy.</P>
|
||||
|
||||
<P>Conclusion: we can't be good. Half of people always will say we are bad.</P>
|
||||
|
||||
<P>Maybe we should close the project, make it closed source, commercial, and
|
||||
provide install support for it. then we could leave current work, so
|
||||
development could go faster, and we earn lots of money with it and buy a big
|
||||
house, etc etc. Do you really want it? It seems.</P>
|
||||
|
||||
<P ALIGN=RIGHT>Arpi (a mail on the mplayer-users list)</P>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Where can I find information about gcc 2.96 bugs ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
In <A HREF="gcc-2.96-3.0.html">this</A> documentation. And <A HREF="users_against_developers.html">this</A>
|
||||
documentation describes why RedHat released 2.96 and other interesting things.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
SDL output doesn't work or compile. Problem is ....
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It is tested with newest SDL (probably runs on 1.1.7+).
|
||||
It does NOT work with any previous version, so don't ask.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I am still having trouble compiling with SDL support. gcc says something
|
||||
about "undefined reference to `SDL_EnableKeyRepeat'" What's now?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Where did you install the SDL library? If you installed in /usr/local
|
||||
(the default) then edit the top level config.mak and add
|
||||
"-L/usr/local/lib " after "X_LIBS=" Now type make. You're done!
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It doesn't compile, and it misses uint64_t inttypes.h and similar things...
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
copy etc/inttypes.h to <B>MPlayer</B> directory (cp etc/inttypes.h .)
|
||||
try again...
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have Pentium III but ./configure doesn't detect SSE
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but
|
||||
be prepared for problems)
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have G200/G400, how to compile/use mga_vid driver?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Read all this documentation.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Are there rpm/deb/... packages of <B>MPlayer</B>?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
You can make a .deb package for yourself, check section <A HREF="documentation.html#6.1">6.1</A>.
|
||||
It's _STRONGLY_ discouraged to use precompiled packages
|
||||
of <B>MPlayer</B>, since it (currently) _highly_ depends on compile-time
|
||||
options and optimizations!
|
||||
Precompiled packages are COMPLETELY unsupported by the <B>MPlayer</B> team!
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
During 'make', MPlayer complains about X11 libraries. I don't understand,
|
||||
I DO have X installed!?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
...but you don't have the X development package installed. Or not
|
||||
correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under
|
||||
Debian. Also check if the /usr/X11 symlink exists (this can be a problem on
|
||||
Mandrake systems). It can be created with the<BR>
|
||||
<CODE>$ ln -sf /usr/X11R6 /usr/X11</CODE><BR>
|
||||
command. Also check the /usr/include/X11 link :<BR>
|
||||
<CODE>$ ln -sf /usr/X11R6/include/X11 /usr/include/X11</CODE><BR>
|
||||
Your distribution may differ from the Linux Filesystem Standard.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What about DGA driver? I can't find it!!!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
./configure autodetects your DGA driver. If -vo help doesn't show
|
||||
DGA, then there's a problem with your X installation.
|
||||
Try ./configure --enable-dga (and RTFM)
|
||||
Alternatively, try SDL's DGA driver with '-vo sdl:dga' options.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I can't compile SVGAlib.. I'm using 2.3/2.4 kernel.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I compiled MPlayer with libdvdcss/libdivxdecore support, but when
|
||||
I try to start it, it says:<BR>
|
||||
<CODE>> error while loading shared libraries: lib*.so.0: cannot load
|
||||
shared object file: No such file or directory</CODE><BR>
|
||||
I checked up on the file and it IS there in /usr/local/lib.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What are you doing on Linux? Can't you install a library? Why do
|
||||
we get these questions? It's not <B>MPlayer</B> specific at all! Add
|
||||
/usr/local/lib to <B>/etc/ld.so.conf</B> and run <B>ldconfig</B> .
|
||||
Or install it to /usr/lib , because if you can't solve the /usr/local
|
||||
problem, you are careless enough to do such things.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
MPlayer doesn't seem to find my libcss. What am I doing wrong ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's normal. <B>MPlayer</B> no longer depends on libcss to play a DVD. You
|
||||
have to install <B>libdvdread</B> and <B>libdvdcss</B>. Check for DVD Playback
|
||||
part <A HREF="cd-dvd.html">here</A>. libcss is to be used for example when you
|
||||
want to play encrypted VOB files from hard disk (not for general users).
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Hmm, strange. When loading the mga_vid.o kernel module, I found this in the logs:<BR>
|
||||
<CODE>Warning: loading mga_vid.o will taint the kernel: no license</CODE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
The latest kernels modules needs require a flag indicating its license (mainly
|
||||
to avoid kernel hackers' debugging closed sources drivers).
|
||||
Upgrade your kernel and your modutils and <B>MPlayer</B>.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
When compiling <B>MEncoder</B>, it segfaults at linking !!!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Dunno, upgrading binutils should help (2.11.92.* or newer should be good). Not our fault, do NOT report!
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I'd like to compile <B>MPlayer</B> on Minix !
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Me too.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
|
||||
<TD COLSPAN=3><B><A NAME=5.2><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>5.2. General questions</A></B>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What about DVD playing ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Read the CD/DVD section in <A HREF="cd-dvd.html">this page</A>.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
-xy or -fs option doesn't work with x11 driver (-vo x11)
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It does, but you have to explicitly specify software scaling (it's SLOW!) with
|
||||
the <CODE>-zoom</CODE> option. You better use XF86VidMode support:
|
||||
you must specify the -vm and the -fs switch, and you're done.
|
||||
Make sure you have the right Modelines in your XF86Config file, and
|
||||
try if the DGA driver (and SDL's DGA driver, see RTFM) works for you.
|
||||
It's much faster. If SDL's DGA works too, use that, it'll be EVEN faster!
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What is the meaning of numbers in the status line?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
See: <CODE><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0 4</CODE><BR>
|
||||
<UL>
|
||||
<LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A: audio position in seconds
|
||||
<LI>V: video position in seconds
|
||||
<LI>A-V: audio-video difference in seconds (delay)
|
||||
<LI>ct: total A-V sync correction done
|
||||
<LI>frames played (counting from last seek)
|
||||
<LI>video codec cpu usage in percent (for mpeg it includes video_out too!)
|
||||
<LI>video_out cpu usage for avi, 0 for mpg (see above)
|
||||
<LI>audio codec cpu usage in percent
|
||||
<LI>frames needed to drop to maintain A-V sync
|
||||
<LI>current level of image postprocessing (when using -autoq)
|
||||
</UL>
|
||||
<I>Most of them are for debug purposes, and will be removed soon.</I>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What if I don't want them to appear?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Then you use the -quiet option, and read the manpage.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Why is video_out cpu usage zero (0%) for mpeg files?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's not zero, but it's built in into codec, so can't be measured separated.
|
||||
You should try to play the file using -vo null and then -vo ... and check
|
||||
the difference to see video_out speed...
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What's XMMP? (is it XMMS or XMPS but mispelled?)
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's a new project, see http://frozenproductions.com for details
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
There are error messages about file not found /usr/lib/win32/....
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Download <A HREF="ftp://ftp.mplayerhq.hu/MPlayer/releases/w32codec.zip">w32codec.zip</A>
|
||||
from *our* FTP (avifile's codec package has different DLL set).
|
||||
Install it.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Are there any mailing lists on MPlayer?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Yes! See RTFM on how to subscribe them!
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I've found a nasty bug when I tried to play my favourite video!!
|
||||
Who should I inform?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
See Appendix <A HREF="bugreports.html">C</A>.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have problems playing files with ... codec. Can I use'em?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Check <A HREF="http://www.mplayerhq.hu/DOCS/codecs-status.html">http://www.mplayerhq.hu/DOCS/codecs-status.html</A>,
|
||||
if it doesn't contain your codec, read
|
||||
<A HREF="codecs.html#2.1.3">section 2.1.3</A>, and contact us.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Umm, what is "IdegCounter"?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
A mixture of a hungarian and an english word. In english, "Ideg" means
|
||||
"nerve", and is pronounced as something like "ydaegh" . It was first used
|
||||
to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance
|
||||
of CVS code ;)
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
And what is "Faszom(C)ounter" ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
"Fasz" is a hungarian word you don't want to know, the others are in
|
||||
connection with the pervert minds of the MPlayer developers.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
LIRC doesn't work, because ...
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Are you sure you use "mplayer_lirc" instead of "mplayer"?
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Subtitles are very nice, the most beautiful I've ever seen, but they slow
|
||||
down the playing! I know it's unlikely...
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
After running ./configure , edit config.h and replace <CODE>#undef FAST_OSD</CODE> with
|
||||
<CODE>#define FAST_OSD</CODE>. Then recompile.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
The OSD is flickering!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
You use a vo driver with single buffering (x11,xv). With xv,
|
||||
use -double option.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What exactly is this libavcodec?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
See the <A HREF="codecs.html#2.1.2.2">2.1.2.2 section</A>.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
But configure tells me "Checking for libavcodec ... no"!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
You need to get libavcodec from FFmpeg's CVS. Read the instructions in
|
||||
the <A HREF="codecs.html#2.1.2.2">ffmpeg section</A>.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
The GUI isn't usable with icewm, because some panel are over the movie!!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Known, icewm is shit and dictatoric. Unsolvable. In detail: icewm sucks
|
||||
because its taskbar overrides GUI's window resize queries. If it asks for
|
||||
resize to 800x600, then it resizes window to 800x(600-taskbar_size). It's bad.
|
||||
Very bad. In short: shit.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I can't access the GUI menu. I press right click, but I can't access any
|
||||
menu items !
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Are you using FVWM ? Try the following :<BR>
|
||||
Start -> Settings -> Configuration -> Base Configuration<BR>
|
||||
<BR>
|
||||
Set "Use Applications position hints" to Yes.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD COLSPAN=3>
|
||||
<B><A NAME=5.3><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>5.3. File playing problems</A></B>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
...... works with avifile/aviplay while doesn't with MPlayer.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
<B>MPlayer</B> != avifile
|
||||
The only common thing between these players is the Win32 DLL loader.
|
||||
The codecs (dll) sets, syncronization, demultiplexing etc is totaly
|
||||
different and shouldn't be compared.
|
||||
If something works with aviplay it doesn't mean that <B>MPlayer</B> should do
|
||||
it and vice versa.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Audio goes out of sync playing .avi file.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Try with -bps or -nobps option
|
||||
if still bad, send me (upload to ftp) that file, I'll check.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Indeo 3.x/4.x movies are viewed upside-down!!!?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's a known bug (really it's a bug/limitation of the DLL codec)
|
||||
Try if your vo driver supports the -flip switch.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok).
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's a known bug (really it's a bug/limitation of the DLL codec).
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
MPlayer exits with something error when using l3codeca.acm.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Check 'ldd /usr/local/bin/mplayer' output. If it contains<BR>
|
||||
<CODE>libc.so.6 => /lib/libc.so.6 (0x4???????)</CODE><BR>
|
||||
where "?" is any number then it's ok, the error is not here. If it is:<BR>
|
||||
<CODE>libc.so.6 => /lib/libc.so.6 (0x00??????)</CODE><BR>
|
||||
then there is problem with your kernel/libc. Maybe you are using some
|
||||
security patches (for example Solar Designer's OpenWall patch) which
|
||||
forces loading libraries to very low addresses.
|
||||
Because l3codeca.acm is a non-relocatable DLL, it must be loaded to
|
||||
0x00400000, we can't change this. You should use non-patched kernel,
|
||||
or use <B>MPlayer</B>'s -afm 1 option to disable using l3codeca.acm.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3
|
||||
sound too slow. When I use -nosound switch, everything is ok (but quiet).
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Ok son, your machine is too slow. RTFM or anything.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video".
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Try running <B>MPlayer</B> on the machine you compiled on. Or recompile. Don't
|
||||
use <B>MPlayer</B> on different CPU than it was compiled on.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes..
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Use the -fsmode switch. See example.conf or manpage.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
But it works with avifile!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
So what?
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Then avifile is better!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Then use avifile, it has nice GUI and nice C++ code :)
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I got this playing mpeg files: Can't find codec for video format 0x10000001!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
You have old version of codecs.conf at ~/.mplayer/. Upgrade it from etc/<BR>
|
||||
<B>OR</B> you have the <CODE>vc=</CODE> option or similar, in your
|
||||
config file(s).
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
After starting mplayer under KDE(1/2) I just get a black screen and nothing
|
||||
happens, after about one minute the video starts playing.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
The KDE arts sound daemon is blocking the sound device, either wait the time
|
||||
until video starts or you disable the arts-daemon in kontrollcenter.
|
||||
If you want to use arts sound, specify audio output via SDL (ao=sdl), and
|
||||
make sure your SDL can handle arts sound. Yet another option is to start
|
||||
mplayer with artsdsp.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have an AVI that plays with grey screen with -vc odivx, and green with -vc divx4 .
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
There this movie is, and when I play it I get video-audio desync and/or MPlayer crashes with the following:<BR>
|
||||
<CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
This can have multiple reasons.<BR>
|
||||
<LI>your CPU <B>and/or</B> video card <B>and/or</B> bus is too SLOW. <B>MPlayer</B>
|
||||
displays a message if this is the case. (and the dropped frames counter is going up fast)</LI>
|
||||
<LI>if it is an AVI, maybe it has shit interleaving. Try the <I>-ni</I> option.</LI>
|
||||
<LI>your sound driver is shit, or you use ALSA 0.5 with <I>-ao oss</I>. See the <A HREF="sound.html">soundcards section</A>.</LI>
|
||||
<LI>the AVI has shit header, try with the <I>-nobps</I> option, and/or <I>-mc 0</I> .</LI>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have an MJPEG file which works with other players but displays only black
|
||||
image in MPlayer.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Disable the Windows DLL in <CODE>codecs.conf</CODE>, or use <CODE>-vc ffmjpeg</CODE> option (you have to
|
||||
compile MPlayer with libavcodec).
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
When I try to grab from my tuner, it works, but colors are strange. It's ok
|
||||
with other applications.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Your card probably misreports its colorspace capacity. Try with YUY2 instead
|
||||
of default YV12 (see TV input documentation).
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
When I try to start playing, I get this message, but playing is good :<BR>
|
||||
<CODE>Linux RTC init: ioctl (rtc_pie_on): Permission denied</CODE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
See the <A HREF="documentation.html#1.3">Installation section</A>. The part
|
||||
about new sync code.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have A/V sync problems. Some of my AVIs play fine, but some play with
|
||||
double speed !
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
You have buggy soundcard/driver. Most likely it's fixed at 44100Hz, and
|
||||
you try to play a file which has 22050Hz audio. Try the <CODE>-ao sdl</CODE>
|
||||
driver.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
All the WMV (or other..) files I play gives green/gray window and there is
|
||||
only sound! It prints:<BR>
|
||||
<CODE>Detected video codec: [null] drv:0 (NULL codec (no decoding))</CODE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Update your <CODE>codecs.conf</CODE>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I'm using the GUI. During startup, MPlayer prints :<BR>
|
||||
<PRE><CODE>Gtk-WARNING **: This process is currently running setuid or setgid.
|
||||
This is not a supported use of GTK+. You must create a helper
|
||||
program instead. For further details, see...</CODE></PRE>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
You can't use GTK in a suid-root binary, as pointed out in the GUI section.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
|
||||
<TD COLSPAN=3>
|
||||
<B><A NAME=5.4><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>5.4. Video/audio driver problems (vo/ao)</A></B>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Ok, -vo help shows DGA driver, but it is babbling about permissions!
|
||||
Help me!
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It works only if running as root! It's a DGA limitation.
|
||||
You should become to root (su -), and try again.
|
||||
Another solution is making mplayer SUID root, but its NOT RECOMMENDED!<BR>
|
||||
<CODE>chown root /usr/local/bin/mplayer</CODE><BR>
|
||||
<CODE>chmod 750 /usr/local/bin/mplayer</CODE><BR>
|
||||
<CODE>chmod +s /usr/local/bin/mplayer</CODE><BR>
|
||||
<B>!!!! BUT STAY TUNED !!!!</B><BR>
|
||||
This is a *BIG* security risk! *NEVER* do this on a server or on a computer
|
||||
can be accessed by more people than only you because they can gain root
|
||||
privilegies through suid root mplayer!!!<BR>
|
||||
<B>!!!! SO YOU HAVE BEEN WARNED ... !!!!</B>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
When using Xvideo, my Voodoo 3/Banshee says:<BR>
|
||||
<CODE>X Error of failed request: BadAccess (attempt to access private resource denied)<BR>
|
||||
Major opcode of failed request: 147 (MIT-SHM)<BR>
|
||||
Minor opcode of failed request: 1 (X_ShmAttach)<BR>
|
||||
Serial number of failed request: 26<BR>
|
||||
Current serial number in output stream:27</CODE><BR>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Your driver is old, update it. Either download (at least) DRI version 0.6
|
||||
from <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A>,
|
||||
or use the DRI cvs.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee!
|
||||
It says:<BR>
|
||||
...<BR>
|
||||
<CODE>Xvideo image format: 0x32315659 (YV12) planar<BR>
|
||||
Xvideo image format: 0x30323449 (I420) planar<BR></CODE>
|
||||
...
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><font face="Verdana, Arial, Helvetica, sans-serif" size="2">A1:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
See the previous answer.
|
||||
</TD><TR><TD></TD><TD VALIGN=top><font face="Verdana, Arial, Helvetica, sans-serif" size="2">A2:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Since 0.18pre4 we support libavcodec from the ffmpeg package. It contains
|
||||
a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format
|
||||
for output, thus it should work for you. Compile in libavcodec support.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...).
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Your opengl driver doesn't support dynamic texture changes (glTexSubImage)
|
||||
It's known not to work with nVidia's binary shit.
|
||||
It's known to work with Utah-GLX/DRI and Matrox G400 card. Also with
|
||||
DRI and Radeon card. It won't work with DRI others than these.
|
||||
it will not work with 3DFX cards because the 256x256 texture size limit.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have an nVidia TNT/TNT2 card, and I have a band with strange colours,
|
||||
right under the movie! Whose fault is this?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards,
|
||||
and we can't do anything about it, it's not our bug. UPDATE : it's fixed
|
||||
in newest drivers, at last..
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I have an nVidia XYZ card, and when I click on the GUI's diplay window to toggle
|
||||
displaying the GUI panel, a black square appears where I clicked. I have
|
||||
the newest driver.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Yes, nvidia corrected a previous bug (above), and implemented a new one. Let's
|
||||
congratule them.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
When I use the GUI with SDL video output, a second video window is created.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Known, don't use SDL for GUI yet.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD COLSPAN=3>
|
||||
<B><A NAME=5.5><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>5.5. Feature requests</A></B>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Is there a hint on how to watch RealMedia movies in MPlayer?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
There's no way to do it. Therefore this format deserves to die in flames.
|
||||
Theoretically you can reverse engineer Real codecs built for Linux (they
|
||||
are available as .so files), but in practice that's really difficult, even
|
||||
if you know how the compiler used by Real is making assembler code.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
When will be <your favourite video feature> (like subtitle placement) implemented?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Wait for libvo2.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I want to play MP3 files with MPlayer !
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
This feature is not planned. There are much better players (mpg123, 3pm, xmms)
|
||||
for this task, use them. BTW, MPlayer stands for Movie Player.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
I'd like to seek +/- 1 frames, instead of 10 seconds.
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
This won't be done. It was, but then it fucked up A/V sync. Feel free to
|
||||
implement it, and send a patch. Don't ask for it.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Where is the Windows version ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's not released, and won't be. Look around the windows scene (opensource
|
||||
ASF parsers, opensource ASF encoders, etc) and you'll know why. We don't
|
||||
want to go to jail.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
What card you may suggest me to buy?</font></font></b></td>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A0:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
It's for your opinion only but our issues are:</font></font>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A1:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Speed:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>This
|
||||
parameter can be computed very easy:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>a)</b>
|
||||
which movies do you plan to watch:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>-
|
||||
MPEG1:</b> 320x200@32=256000</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>so
|
||||
you need only 256*25fps=6.4Mb/sec bandwidth (This format can be played
|
||||
in real-time on any PC since P-100 + S3Virge)</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>-
|
||||
MPEG4:</b> 640x480@32=1228800</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>you
|
||||
need videobandwidth 1.2*25fps=30Mb/sec To watch such movie in real-time
|
||||
you need enough power PC: (Celeron-450+DIMM based video card)</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>-
|
||||
MPEG2 (aka DVD or SDTV):</b> 1024x768@32=3145728</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>you
|
||||
need videobandwidth 3*30fps=90Mb/sec In extremal cases (if your video card
|
||||
supports IDCT decoding) this can be played on the same PC as for MPEG4</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>-
|
||||
HDTV (HighData TeleVision):</b> 2000x2000@32=16000000</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>i.e.
|
||||
videobandwidth = 16*30fps=480Mb/sec (This means also that you need at least
|
||||
32Mb of video memory to watch this stream: 16Mb for RGB area and 16Mb for
|
||||
YUV area)</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>b)</b>
|
||||
Bandwidth of PCI slot is: 33Mhz*32bit=132Mb/sec And PCI2.1 has 66MHz*32bit=265Mb/sec
|
||||
that is far enough for any movie playback (except HDTV streams which really
|
||||
require AGP bus).</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>c)</b>
|
||||
What memory type should be installed on video card:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>SIMM</b>
|
||||
- avoid that</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>DIMM</b>
|
||||
- good if your video card has 128-bit memory access.</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>DDR</b>
|
||||
- is far enough for all types.</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>Note:
|
||||
By DGA comparision - there is no any visible difference between video cards
|
||||
which have installed the same type of video memory.</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>Resume:</b>
|
||||
If you have enough power CPU (Celeron-450 or K6-2-500) it would be enough
|
||||
to buy any video card which has at least 8Mb of DIMM or DDR memory.</font></font>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A2:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Quality:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>This
|
||||
question was investigated in depth at:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><a href="http://www.anandtech.com">http://www.anadtech.com</a>
|
||||
AnandTech - Video Card Roundup - DVD Quality, Features & Performance
|
||||
(October 2000)</font></font>
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A3:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
WORKING features under Linux:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>If
|
||||
you are win32 user then probably you have support (from driver and DirectX8
|
||||
side) for any feature which was introduced in your chip.</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>But
|
||||
for <b>linux </b>users:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>Currently
|
||||
I know only several vendors which have more or less advanced support under
|
||||
Linux:</font></font>
|
||||
<br>
|
||||
<table BORDER COLS=5 WIDTH="100%" NOSAVE >
|
||||
<tr>
|
||||
<td> </td>
|
||||
|
||||
<td>
|
||||
<center>Matrox</center>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<center>ATI</center>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<center>NVidia</center>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<center>S4 Savage</center>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Driver's provider</td>
|
||||
|
||||
<td>enthusiasts</td>
|
||||
|
||||
<td>enthusiasts</td>
|
||||
|
||||
<td>OEM + enthusiasts</td>
|
||||
|
||||
<td>enthusiasts</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Driver's quality</td>
|
||||
|
||||
<td>Best(X11,kernel)</td>
|
||||
|
||||
<td>Best(X11,GATOS,kernel)</td>
|
||||
|
||||
<td>Buggy(X11 only)</td>
|
||||
|
||||
<td>Best(X11 only)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>VIDEO OVERLAY</td>
|
||||
|
||||
<td></td>
|
||||
|
||||
<td></td>
|
||||
|
||||
<td></td>
|
||||
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>BES and YV2RGB</td>
|
||||
|
||||
<td>YES</td>
|
||||
|
||||
<td>YES</td>
|
||||
|
||||
<td>YES</td>
|
||||
|
||||
<td>YES</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>scaling filters</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>YES</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>N/A</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>adaptive deinterlace</td>
|
||||
|
||||
<td>NO</td>
|
||||
|
||||
<td>YES</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>N/A</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Video equalizer (hue, contrast, saturation, color correction)</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>PARTLY (under devel)</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>N/A</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Alpha blending, color and video keys</td>
|
||||
|
||||
<td>PARTLY</td>
|
||||
|
||||
<td>PARTLY (under devel)</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>N/A</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Video capture</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>YES(GATOS)</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>N/A</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>TV-out</td>
|
||||
|
||||
<td>YES</td>
|
||||
|
||||
<td>YES</td>
|
||||
|
||||
<td>N/A</td>
|
||||
|
||||
<td>N/A</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>Well
|
||||
- it's very rude observing of video card. Indeed we should pay our attention
|
||||
for models of video card:</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>For
|
||||
example if MatroxG400(G450) drivers support TV-out then G550 has no such
|
||||
support.</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>Other
|
||||
sample: Adaptive deinterlacing exists only since Rage128 chip and isn't
|
||||
present on Mach64+ ones. Same as 3D features are far different from Mach64
|
||||
to Radeon2 8500 with trueform possibilities.</font></font>
|
||||
<p><b><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>ANYWAY
|
||||
- MPLAYER'S TEAM DOESN'T ACCEPT ANY CLAIMS IF YOU AFTER</font></font></b>
|
||||
<br><b><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>READING
|
||||
OF THIS MATERIAL WILL BUY CARD WHICH IS UNSUCCESSFUL FOR YOU!!!</font></font></b>
|
||||
<br><b><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>THIS
|
||||
MATERIAL IS ONLY OUR VISION.</font></font></b>
|
||||
<p><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>Q:</b>
|
||||
If PCI slot is far enough for most types of movies then why S3 Virge</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1>is
|
||||
too slow for them?</font></font>
|
||||
<br><font face="Verdana, Arial, Helvetica, sans-serif"><font size=-1><b>A:</b>
|
||||
Due to its SIMM memory.</font></font>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD COLSPAN=3>
|
||||
<B><A NAME=5.6><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>5.6. Encoding</A></B>
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
<TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
How can I encode ?
|
||||
</B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
|
||||
Check <A HREF="encoding.html">this documentation</A>.
|
||||
</TD><TR><TD COLSPAN=3> </TD><TR>
|
||||
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,168 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=WHITE>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1>2.1. Supported formats</A></B></P>
|
||||
|
||||
<P><B>MPlayer</B> can read/play from the following devices/formats:<BR>
|
||||
<UL>
|
||||
<LI> <A HREF="#2.1.1.1">VCD</A> (Video CD) directly from CD-ROM or from CDRwin's .bin image file
|
||||
<LI> <A HREF="#2.1.1.1">DVD</A>, directly from your DVD disk, using libdvdread for decryption
|
||||
<LI> <A HREF="#2.1.1.1">MPEG 1/2</A> System Stream (PS/PES/VOB) and Elementary Stream (ES) file
|
||||
formats
|
||||
<LI> <A HREF="#2.1.1.2">RIFF AVI</A> file format
|
||||
<LI> <A HREF="#2.1.1.3">ASF/WMV</A> 1.0 file format
|
||||
<LI> <A HREF="#2.1.1.4">QT/MOV</A> file format with (un)compressed headers
|
||||
<LI> <A HREF="#2.1.1.5">VIVO</A> format (.viv files)
|
||||
<LI> supports <A HREF="documentation.html#3.3">reading from stdin</A>, or network via HTTP
|
||||
</UL></P>
|
||||
|
||||
<P>Note: about realmedia (.ra/.rm) support read the FAQ!</P>
|
||||
|
||||
<P>It's important to clarify a popular mistake. When people see a file with
|
||||
<B>.AVI</B> extension, they instantly declare that isn't an MPEG file.
|
||||
That's not true. At least not entirely. If you tell them that such a file
|
||||
can contain MPEG1 video, they laugh at you. Feel free to kick their dumbass
|
||||
faces, then tell them to RTFM.</P>
|
||||
|
||||
<P>You see, a <B>codec</B> isn't equal to a <B>file format</B>.<BR>
|
||||
Video <B>codecs</B> are: MPEG1, MPEG2, DivX, Indeo5, 3ivx.<BR>
|
||||
Video <B>formats</B> are: MPG, AVI, ASF.<BR>
|
||||
</P>
|
||||
|
||||
<P>In theory, you can happily put an OpenDivX video and MP3 audio
|
||||
into a <B>.MPG</B> format file. Though most players won't play it, since
|
||||
they expect MPEG1 video and MP2 audio (<B>.MPG</B> doesn't have the
|
||||
necessary fields to describe its video and audio streams, like <B>.AVI</B>
|
||||
does). Or put MPEG1 video to an .AVI. For example <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> can
|
||||
create these files.</P>
|
||||
|
||||
<P>Audio <B>codecs</B> and <B>formats</B> are basically the same terms.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1.1>2.1.1. Video formats</A></B></P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1.1.1>2.1.1.1. MPEG files</A></B></P>
|
||||
|
||||
<P>
|
||||
<LI>MPG : this is the most <B>basic</B> form of MPEG file formats. Contains
|
||||
MPEG1 video, and MP2 (MPEG-1 layer 2) audio, or rarely MP1.</LI>
|
||||
<LI>DAT : this is the very same format as MPG, just different extension. Used
|
||||
on <B>Video CD</B>s. Due to the nature VCDs are created and Linux is designed,
|
||||
the DAT files can't be played nor copied from VCDs. You have to use the
|
||||
<CODE>-vcd</CODE> option to play the VideoCD.</LI>
|
||||
<LI>VOB : this is the MPEG file format on <B>DVD</B>s. The same as MPG, plus
|
||||
capability to contain subtitles, or non-MPEG (AC3) audio. Contains encoded MPEG2
|
||||
video, and usually AC3 audio, but MP2 is allowed too.<BR>
|
||||
<B>Read the <A HREF="cd-dvd.html#4.2">DVD section</A> !</B></LI>
|
||||
</P>
|
||||
|
||||
<P>In MPEG files, series of frames are grouped together, and are independent
|
||||
from the other groups. What this means is you can cut/join an MPEG file with
|
||||
standard file-tools (like dd, cut), and it remains completely functional.</P>
|
||||
|
||||
<P>One important feature for MPGs is that they have a field to describe
|
||||
the aspect ratio of the video stream within. For example SVCDs have
|
||||
480x480 resolution video, and in the header that field is set to 4:3, so
|
||||
it's played at 640x480. AVI files don't have this field, so one has to
|
||||
rescale it during encoding.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1.1.2>2.1.1.2. AVI files</A></B></P>
|
||||
|
||||
<P>Designed by Micro$oft, the <B>AVI (Audio Video Interleaved)</B> is a
|
||||
widespread multipurpose format, currently used mostly for DivX and DivX4
|
||||
videos. Has many known drawbacks, and inabilities (for example in streaming).
|
||||
Has support for one video stream, and 99 audio streams. Can be as big as
|
||||
2Gb. There exists an extension for it to be bigger, called <B>OpenDMS</B>.
|
||||
M$ currently strongly discourages its use and propagates ASF/WMV. Not if
|
||||
anybody cares.<BR>
|
||||
<B>NOTE</B> : DV cameras can create two types of AVI format, one is the usual and
|
||||
playable, the other is neither.</P>
|
||||
|
||||
<P>There are two kinds of AVI files:
|
||||
<UL>
|
||||
<LI><B>Interleaved</B> : audio and video content is interleaved. This is the
|
||||
standard usage. Recommended and mostly used. Some tools create interleaved
|
||||
AVIs with bad sync. <B>MPlayer</B> detects these as interleaved, and this
|
||||
climaxes in loss of A/V sync, probably at seeking. These files should be
|
||||
played as non-interleaved (with the <CODE>-ni</CODE> option).</LI>
|
||||
<LI><B>Non-interleaved</B> : bad. First come the whole video stream, then the whole
|
||||
audio stream, thus needs a lot of seeking. It's very bad when playing from
|
||||
network or CDROM.</LI>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<P>MPlayer supports 2 kind of timing for AVI files:
|
||||
<UL>
|
||||
<LI><B>bps-based</B> : it is based on bitrate/samplerate of video/audio stream. This
|
||||
method is used by most players, including avifile and windows media player.
|
||||
Files with broken headers, and files created with VBR audio but not
|
||||
VBR-compliant encoder will result in A/V desync with this method (mostly at
|
||||
seeking).</LI>
|
||||
<LI><B>interleaving-based</B> : it doesn't use bitrate value of the header, instead
|
||||
it uses the relative position of interleaved audio and video chunks. Makes
|
||||
some badly encoded file with VBR audio playable.</LI>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<P>Any audio and video codec is allowed, but note that VBR audio isn't well
|
||||
supported by most of the players. The file format makes it possible to use VBR
|
||||
audio, but most players expect CBR audio, thus they fail with VBR. VBR is
|
||||
unusual, and Microsoft's AVI specs only describe CBR audio. I also note, that
|
||||
most AVI encoders/multiplexers create bad files if using VBR audio. Only 2
|
||||
exception (known by me): NaNDub and <A HREF="encoding.html">MEncoder</A>.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1.1.3>2.1.1.3. ASF/WMV files</A></B></P>
|
||||
|
||||
<P>ASF (active streaming format) comes from Microsoft. They developed two
|
||||
variants of ASF, v1.0 and v2.0. v1.0 is used by their media tools (windows
|
||||
media player and windows media encoder) and is very secret. v2.0 is published
|
||||
and patented :). Of course they differ, there is no compatibility at all (it's
|
||||
just another legal game). <B>MPlayer</B> supports only v1.0, as nobody has ever seen
|
||||
v2.0 files :) . Note, that .ASF files nowdays come with the extension .WMA or
|
||||
.WMV.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1.1.4>2.1.1.4. QuickTime/MOV files</A></B></P>
|
||||
|
||||
<P>These are from Macintosh. Usually have extensions of .QT or .MOV . Note
|
||||
that since the MPEG4 Group chose QuickTime as the recommended file format
|
||||
for MPEG4, their .MOV files come with .MPG or .MP4 extension (interesting
|
||||
that in these files the video stream is a real .MPG file. With the
|
||||
<CODE>-dumpvideo</CODE> option you can even extract it.).</P>
|
||||
|
||||
<P><B>Codecs</B>: any codecs allowed, both CBR and VBR. Note: most new mov files use
|
||||
<B>Sorenson</B> video and QDesign Music audio. These formats are completely
|
||||
secret, and only Apple's quicktime player is able to play these files (on
|
||||
win/mac only).</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1.1.5>2.1.1.5. VIV files</A></B></P>
|
||||
|
||||
<P><B>MPlayer</B> happily demuxes VIVO file formats. The format's big
|
||||
disadvantage is that it has no index block, nor fixed packetsize or sync bytes,
|
||||
and most files lack even keyframes, so forget seeking!</P>
|
||||
|
||||
<P>VIVO/1.0 files' video codec is standard <B>h.263</B> . The VIVO/2.0 files'
|
||||
video codec is a modified, nonstandard <B>h.263</B> . Audio is the same,
|
||||
it may be <B>g.723</B> (standard), or <B>Vivo Siren</B> .</P>
|
||||
|
||||
<P>See the <A HREF=codecs.html#2.2.1.4>VIVO video codec</A>
|
||||
and <A HREF=codecs.html#2.2.2.4>VIVO audio codec</A> sections for installation
|
||||
instructions.</P>
|
||||
|
||||
|
||||
<P><B><A NAME=2.1.2>2.1.2. Audio formats</A></B></P>
|
||||
|
||||
<P>Currently <B>MPlayer</B> is still a <B>Movie</B> and not a <B>Media</B>
|
||||
player, thus the pure audio formats (for example MP3, WAV, audio ASF) are
|
||||
unplayable. Use <A HREF="http://www.xmms.org">xmms</A>, <A HREF="http://www.mpg123.de">mpg123</A>
|
||||
or whatever.</P>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,111 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=WHITE>
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P>
|
||||
<B>Question:</B> What is GCC 2.96 ? I can't find it at GNU site.
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Answer:</B> Read the <A HREF="http://gcc.gnu.org/gcc-2.96.html">official answer from GNU GCC team.</A>
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Question:</B> What is the problem with GCC 2.96 ? And with 3.x ?
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Answer:</B>
|
||||
</P>
|
||||
|
||||
<P>
|
||||
And for the people, who periodically asks what are the exact problems with
|
||||
gcc 2.96, my answer: <I>we don't know exactly.</I>
|
||||
There were various problems and new problems / bugs come up periodically.
|
||||
It is <I>not a single bug/problem</I>. We just see various bugreports, mostly
|
||||
gcc internal bugs, compiler syntax errors in source or bad code compiled. They
|
||||
all are solved using different version of gcc. I understand that gcc 2.96
|
||||
has different default optimization flags and they conflicts with our inline
|
||||
asm code, but we can't fix them, and we really don't want to fix them as they
|
||||
work with other compilers or gcc versions, and the fix may cause speed loss.
|
||||
</P>
|
||||
|
||||
<P>
|
||||
I think that the gcc 2.96 should be fixed to be option-compatible with other
|
||||
releases, but redhat guys refused to do it. If someone interested - ask
|
||||
Eugene K., avifile author, he has a long mailing with them, because they had
|
||||
the same problems with avifile. Finally he changed avifile source to
|
||||
<I>workaround</I> gcc 2.96 bugs...
|
||||
We simply has no interest and time to do it.
|
||||
</P>
|
||||
|
||||
<P>
|
||||
Ah, and about the pipe-in-comment bug: it wasn't really our bug.
|
||||
I've talked one of gcc maintainers, and he told me that gcc 2.96 and 3.x
|
||||
supports intel asm syntax, and it caused the pipe bug. But it <I>is</I> a bug,
|
||||
because gcc <I>silently</I>, without any warning, ignored the whole asm block!
|
||||
</P>
|
||||
|
||||
<P>
|
||||
Other gcc 3.x problems comes from broken libstdc++ or glibc header (std_*.h)
|
||||
installation. They are not our fault. MPlayer compiles and works well with
|
||||
gcc 3.x versions. <B>Only 2.96 is broken</B>, but it depends on many environment
|
||||
elements, including gcc 2.96 release number, enabled mplayer features, etc.
|
||||
<I>If it works for you using gcc 2.96, it doesn't mean it will work for everyone.</I>
|
||||
</P>
|
||||
|
||||
<P><B>Answer 2:</B></P>
|
||||
|
||||
<P>
|
||||
Also read <A HREF="users_against_developers.html">this</A> text !!!</P>
|
||||
|
||||
<P>
|
||||
<B>Question:</B> No! You are wrong! Everything works with gcc 2.96 <I>but</I> MPlayer
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Answer:</B>
|
||||
</P>
|
||||
|
||||
<P>
|
||||
No. You are wrong!
|
||||
Several projects (mainly which source contains high optimized inline asm code)
|
||||
had problems with gcc 2.96. For example: avifile, MESA / DRI, Wine, ffmpeg, lame.
|
||||
But other projects already workarounded gcc bugs (changed code which
|
||||
triggered compiler bugs) so they work for now.
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Question:</B> No! You are wrong! Everything works with gcc 2.96 <I>including</I> MPlayer
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Answer:</B>
|
||||
</P>
|
||||
|
||||
Good. Be happy. But you must know, it depends on many environment
|
||||
elements, including gcc 2.96 release number, enabled mplayer features, etc.
|
||||
<I>If it works for you using gcc 2.96, it doesn't mean it will work for everyone!</I>
|
||||
It only means that you are lucky, until you find a problem. But don't forget the
|
||||
<B>No.1 rule of gcc 2.96 users: NEVER REPORT BUGS OR PROBLEMS IF YOU ARE USING GCC 2.96</B>
|
||||
|
||||
<P>
|
||||
<B>Question:</B> Ok. Understood. But I want to give it a try... how to compile with gcc 2.96?
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Answer:</B> Really? Are you sure? Ok. You know... here is it: ./configure --disable-gcc-checking
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Question:</B> No! I don't agree with you, because ...
|
||||
</P>
|
||||
|
||||
<P>
|
||||
<B>Answer:</B> It doesn't matter. Keep your commets for yourself. We're not interested in gcc 2.96 stories.
|
||||
</P>
|
||||
|
||||
|
||||
</FONT>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,256 @@
|
||||
.\" MEncoder (C) 2000-2001 Arpad Gereoffy <arpi@esp-team.scene.hu>
|
||||
.\" This manpage was/is done by Gabucino
|
||||
.\"
|
||||
.TH MEncoder
|
||||
.SH NAME
|
||||
mencoder \- Movie Encoder for Linux
|
||||
.SH SYNOPSIS
|
||||
.B mencoder
|
||||
.RB [ \-vcd\ <track\ number> ]
|
||||
.RB [ \-dvd\ <titleid> ]
|
||||
.RB [ \-chapter\ <chapterid> ]
|
||||
.RB [ \-dvdangle\ <angleid> ]
|
||||
.RB [ \-dvdkey\ <key> ]
|
||||
.RB [ \-nobps ]
|
||||
.RB [ \-aid\ <id> ]
|
||||
.RB [ \-vid\ <id> ]
|
||||
.RB [ \-pp\ <quality> ]
|
||||
.RB [ \-vc\ <video\ codec\ name> ]
|
||||
.RB [ \-ac\ <audio\ codec\ name> ]
|
||||
.RB [ \-vfm\ <video\ codec\ family> ]
|
||||
.RB [ \-afm\ <audio\ codec\ family> ]
|
||||
.RB [ \-include\ <configfile> ]
|
||||
.RB [ \-mc\ seconds/5f ]
|
||||
.RB [ \-v ]
|
||||
.RB [ \-mp3file\ <filename> ]
|
||||
.RB [ \-ac3file\ <filename> ]
|
||||
.RB [ \-ovc\ <video\ codec\ name> ]
|
||||
.RB [ \-oac\ <audio\ codec\ name> ]
|
||||
.RB [ \-divx4opts\ <codec\ options> ]
|
||||
.RB [ \-lameopts\ <codec\ options> ]
|
||||
.RB [ \-pass\ <1/2> ]
|
||||
.RB [ \-passlogfile\ <filename> ]
|
||||
.RB [ \-ofps\ <fps> ]
|
||||
.RB [ \-o\ <filename> ]
|
||||
.RB [ \-frames\ <number> ]
|
||||
.RB [ \-x\ <rescale\ width> ]
|
||||
.RB [ \-y\ <rescale\ height> ]
|
||||
.RB [ \-sws\ <0-2> ]
|
||||
.I - or file or device
|
||||
.PP
|
||||
.SH DESCRIPTION
|
||||
.I mencoder
|
||||
MEncoder (MPlayer's Movie Encoder) is a simple movie encoder, designed to
|
||||
encode MPlayer-playable movies (AVI/DVD/VCD/VOB/MPG/MOV/VIV/NET) to other
|
||||
MPlayer-playable formats (see below). Currently it's in beta stage, and encodes
|
||||
only to DivX4 (1 or 2 passes) video, PCM/MP3/VBRMP3 audio. Also has stream
|
||||
copying abilities. In the future, there will be cropping, resizing filters, and
|
||||
other interesting stuff.
|
||||
.LP
|
||||
.SH "GENERAL OPTIONS"
|
||||
.TP
|
||||
.I NOTE
|
||||
Every "flag" option has "noflag" pair, e.g. -flag opposite is -noflag
|
||||
.TP
|
||||
.I NOTE
|
||||
CHECK THE HTML DOCUMENTATION TOO !
|
||||
.TP
|
||||
.B \-vcd <track number>
|
||||
Encode the specified VCD track.
|
||||
.TP
|
||||
.B \-dvd <title number>
|
||||
Encode the specified DVD title.
|
||||
.TP
|
||||
.B \-chapter <chapter id>
|
||||
Use with -dvd option (see above). Start encoding at the specified chapter.
|
||||
.TP
|
||||
.B \-dvdangle <angle id>
|
||||
Use with -dvd option (see above), and if the DVD disc has multiple angles.
|
||||
It will encode the angle specified here.
|
||||
.TP
|
||||
.B \-dvdkey <key>
|
||||
Used to decrypt CSS-encrypted streams on hard disk (with given CSS decrypt
|
||||
key).
|
||||
.TP
|
||||
.B \-nobps
|
||||
Used only for AVIs. Doesn't use the bps value in the AVI header, instead
|
||||
calculates it.
|
||||
.TP
|
||||
.B \-aid <audio stream id>
|
||||
If the source media contains multiple audio streams (for example DVDs), encode
|
||||
the specified one.
|
||||
.TP
|
||||
.B \-vid <video stream id>
|
||||
If the source media contains multiple video streams, encode the specified one.
|
||||
.TP
|
||||
.B \-pp <value>
|
||||
Apply a postprocess filter to enhance image quality. (values TODO)
|
||||
.TP
|
||||
.B \-vc <codec name>
|
||||
Use specified codec (according to codecs.conf) for decoding input video
|
||||
stream.
|
||||
.TP
|
||||
.B \-ac <codec name>
|
||||
Use specified codec (according to codecs.conf) for decoding input audio
|
||||
stream.
|
||||
.TP
|
||||
.B \-vfm <video codec family>
|
||||
Force decoding by using a specific codec FAMILY, and FALLBACK to default
|
||||
if failed. For examples see MPlayer manpage.
|
||||
.TP
|
||||
.B \-afm <audio codec family>
|
||||
Force decoding by using a specific codec FAMILY, and FALLBACK to default
|
||||
if failed. For examples see MPlayer manpage.
|
||||
.TP
|
||||
.B \-include
|
||||
specify config file to be parsed after the default
|
||||
.TP
|
||||
.B \-mc\ seconds/5frame
|
||||
maximum sync correction per 5 frames (in seconds).
|
||||
Use -mc 0 to disable input A/V sync.
|
||||
.TP
|
||||
.B \-v
|
||||
Increase verbosity.
|
||||
.TP
|
||||
.B \-ovc <codecname>
|
||||
Encode with the given codec (codec names are from codecs.conf).
|
||||
Examples:
|
||||
|
||||
-ovc help get help
|
||||
-ovc copy no encoding, just streamcopy
|
||||
-ovc divx4 encode to DivX4
|
||||
.TP
|
||||
.B \-oac <codecname>
|
||||
Encode with the given codec (codec names are from codecs.conf).
|
||||
Examples:
|
||||
|
||||
-oac help get help
|
||||
-oac copy no encoding, just streamcopy
|
||||
-oac pcm encode to uncompressed PCM
|
||||
-oac mp3lame encode to MP3 (using Lame)
|
||||
.TP
|
||||
.B \-divx4opts
|
||||
If encoding to DivX4, you can specify its parameters here, like:
|
||||
|
||||
-divx4opts br=1800:deinterlace:key=250
|
||||
|
||||
Available options:
|
||||
|
||||
help get help
|
||||
br=XXX specify bitrate in
|
||||
kbit <4-16000> or
|
||||
bit <16001-24000000>
|
||||
key=XXX maximum keyframe interval
|
||||
(in frames)
|
||||
deinterlace enable deinterlacing
|
||||
(don't use, DivX4 is buggy!)
|
||||
q=XXXX quality (1-fastest, 5-best)
|
||||
min_quant=XXX minimum quantizer (0-32)
|
||||
max_quant=XXX maximum quantizer (0-32)
|
||||
rc_period=XXX rate control period
|
||||
rc_reaction_period=XXX rate control
|
||||
reaction period
|
||||
rc_reaction_ratio=XXX rate control
|
||||
reaction ratio
|
||||
|
||||
.TP
|
||||
.B \-lameopts
|
||||
If encoding to MP3 with libmp3lame, you can specify its parameters here, like:
|
||||
|
||||
-lameopts br=192
|
||||
|
||||
Available options:
|
||||
|
||||
help get help
|
||||
br=XXX specify bitrate in
|
||||
kbit <0-1024>
|
||||
(only for CBR)
|
||||
q=XXX Quality
|
||||
(0-highest, 9-fastest)
|
||||
(for VBR)
|
||||
vbr=XXX variable bitrate method
|
||||
0=cbr
|
||||
1=mt
|
||||
2=rh(default)
|
||||
3=abr
|
||||
4=mtrh
|
||||
cbr constant bitrate
|
||||
mode=XXX 0=stereo
|
||||
1=joint-stereo
|
||||
2=dualchannel
|
||||
3=mono
|
||||
(default: auto)
|
||||
padding=XXX 0=no
|
||||
1=all
|
||||
2=adjust
|
||||
ratio=XXX compression ratio <1-100>
|
||||
|
||||
.TP
|
||||
.B \-pass <1/2>
|
||||
With this you can encode 2pass DivX4 files. First encode with -pass 1, then
|
||||
with the same parameters, encode with -pass 2.
|
||||
.TP
|
||||
.B \-passlogfile <filename>
|
||||
When encoding in 2pass mode, MEncoder dumps first pass' informations
|
||||
to the given file instead of the default divx2pass.log .
|
||||
.TP
|
||||
.B \-ofps <fps>
|
||||
The output file will have different frame/sec than the source.
|
||||
.TP
|
||||
.B \-o <filename>
|
||||
Outputs to the given filename, instead of the default 'test.avi' .
|
||||
.TP
|
||||
.B \-frames <number>
|
||||
Encode only given number of frames.
|
||||
.TP
|
||||
.B \-x <rescale width>
|
||||
Rescale output movie to given pixels wide.
|
||||
.TP
|
||||
.B \-y <rescale height>
|
||||
Rescale output movie to given pixels tall.
|
||||
.TP
|
||||
.B \-sws (0-2>
|
||||
Type of scaling method
|
||||
|
||||
0 fast bilinear
|
||||
1 bilinear
|
||||
2 bicubic (best quality)
|
||||
|
||||
.SH FILES AND DIRECTORIES
|
||||
.IP
|
||||
.SH "EXAMPLES"
|
||||
.B Encoding DVD title #2
|
||||
mencoder -dvd 2 -o title2.avi
|
||||
.TP
|
||||
.B Encoding from HTTP
|
||||
mencoder http://mplayer.hq/example.avi -o example.avi
|
||||
.TP
|
||||
.B Encoding from a pipe
|
||||
rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- -
|
||||
.TP
|
||||
.B Encoding multiple *.vob files
|
||||
cat *.vob | mencoder <options> -
|
||||
.IP
|
||||
.SH BUGS
|
||||
Probably. Check the documentation.
|
||||
|
||||
Bugreports should be addressed to the MPlayer-users mailing list
|
||||
(mplayer-users@mplayerhq.hu) ! If you want to submit a bugreport
|
||||
(which we love to receive!), please double-check the bugreports.html, and
|
||||
tell us all that we need to know to identify your problem.
|
||||
|
||||
.LP
|
||||
.SH AUTHORS
|
||||
Check documentation !
|
||||
|
||||
MPlayer is (C) 2000-2001
|
||||
.I Arpad Gereoffy <arpi@thot.banki.hu>
|
||||
|
||||
This manpage is written and maintained by
|
||||
.I Gabucino .
|
||||
.LP
|
||||
.SH STANDARD DISCLAIMER
|
||||
Use only at your own risk! There may be errors and inaccuracies that could
|
||||
be damaging to your system or your eye. Proceed with caution, and although
|
||||
this is highly unlikely, the author doesn't take any responsibility for that!
|
||||
.\" end of file
|
||||
@@ -0,0 +1,643 @@
|
||||
.\" MPlayer (C) 2000-2001 Arpad Gereoffy <arpi@esp-team.scene.hu>
|
||||
.\" This manpage was/is done by Gabucino
|
||||
.\"
|
||||
.TH MPlayer
|
||||
.SH NAME
|
||||
mplayer \- Movie Player for Linux
|
||||
.SH SYNOPSIS
|
||||
.B mplayer
|
||||
.RB [ \-gui ]
|
||||
.RB [ \-v ]
|
||||
.RB [ \-quiet ]
|
||||
.RB [ \-vo\ <driver>[:<device>] ]
|
||||
.RB [ \-ao\ <driver>[:<device>] ]
|
||||
.RB [ \-vcd\ track\ number ]
|
||||
.RB [ \-sb\ byte\ position ]
|
||||
.RB [ \-nosound ]
|
||||
.RB [ \-abs\ bytes ]
|
||||
.RB [ \-delay\ secs ]
|
||||
.RB [ \-nobps ]
|
||||
.RB [ \-aid\ id ]
|
||||
.RB [ \-vid\ id ]
|
||||
.RB [ \-fps\ rate ]
|
||||
.RB [ \-mc\ seconds/5f ]
|
||||
.RB [ \-fs ]
|
||||
.RB [ \-vm ]
|
||||
.RB [ \-zoom ]
|
||||
.RB [ \-x\ x ]
|
||||
.RB [ \-y\ y ]
|
||||
.RB [ \-xy\ factor ]
|
||||
.RB [ \-pp\ quality ]
|
||||
.RB [ \-include\ configfile ]
|
||||
.RB [ \-lircconf\ configfile ]
|
||||
.RB [ \-ffactor\ number ]
|
||||
.RB [ \-sub\ file ]
|
||||
.RB [ \-subfps\ rate ]
|
||||
.RB [ \-subdelay\ sec ]
|
||||
.RB [ \-z\ <0-8> ]
|
||||
.RB [ \-idx ]
|
||||
.RB [ \-forceidx ]
|
||||
.RB [ \-nodshow ]
|
||||
.RB [ \-noxv ]
|
||||
.RB [ \-forcexv ]
|
||||
.RB [ \-ss\ time ]
|
||||
.RB [ \-dumpaudio ]
|
||||
.RB [ \-dumpvideo ]
|
||||
.RB [ \-dumpstream ]
|
||||
.RB [ \-noframedrop ]
|
||||
.RB [ \-framedrop ]
|
||||
.RB [ \-nodouble ]
|
||||
.RB [ \-double ]
|
||||
.RB [ \-stereo\ mode ]
|
||||
.RB [ \-channels\ n ]
|
||||
.RB [ \-srate\ Hz ]
|
||||
.RB [ \-osdlevel\ level ]
|
||||
.RB [ \-config\ file ]
|
||||
.RB [ \-display\ name ]
|
||||
.RB [ \-unicode ]
|
||||
.RB [ \-utf8 ]
|
||||
.RB [ \-fsmode\ mode ]
|
||||
.RB [ \-vc\ video\ codec\ name ]
|
||||
.RB [ \-ac\ audio\ codec\ name ]
|
||||
.RB [ \-vfm\ video\ codec\ family ]
|
||||
.RB [ \-afm\ audio\ codec\ family ]
|
||||
.RB [ \-frames\ number ]
|
||||
.RB [ \-autoq\ quality ]
|
||||
.RB [ \-fb\ device ]
|
||||
.RB [ \-fbmode\ modename ]
|
||||
.RB [ \-fbmodeconfig\ filename ]
|
||||
.RB [ \-benchmark ]
|
||||
.RB [ \-dvd\ titleid ]
|
||||
.RB [ \-chapter\ chapterid ]
|
||||
.RB [ \-dvdangle\ angleid ]
|
||||
.RB [ \-dvdkey\ key ]
|
||||
.RB [ \-skin\ skin ]
|
||||
.RB [ \-aspect\ ratio ]
|
||||
.RB [ \-monitoraspect\ ratio ]
|
||||
.RB [ \-subcp\ codepage ]
|
||||
.RB [ \-dumpmpsub ]
|
||||
.RB [ \-screenw\ pixels ]
|
||||
.RB [ \-screenh\ pixels ]
|
||||
.RB [ \-cache\ kbytes ]
|
||||
.RB [ \-bpp\ depth ]
|
||||
.RB [ \-flip ]
|
||||
.RB [ \-playlist\ <filename> ]
|
||||
.RB [ \-slave ]
|
||||
.I - or file or device
|
||||
.PP
|
||||
.SH DESCRIPTION
|
||||
.I mplayer
|
||||
MPlayer is a movie player for LINUX (runs on many other Unices, and
|
||||
non-x86 CPUs, see section 6). It plays most MPEG, AVI and ASF/WMV files,
|
||||
supported by many native and Win32 DLL codecs. You can watch VideoCD,
|
||||
SVCD, DVD and even DivX movies too (and you don't need the avifile library
|
||||
at all!). The another big feature of mplayer is the wide range of
|
||||
supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib,
|
||||
fbdev, AAlib, but you can use SDL (and this way all drivers of SDL) and
|
||||
some lowlevel card-specific drivers (for Matrox, 3Dfx and Radeon) too!
|
||||
Most of them supports software or hardware scaling, so you can enjoy
|
||||
movies in fullscreen. And what about the nice big antialiased shaded
|
||||
subtitles (7 supported types!!!) with european/ISO 8859-1,2 (hungarian,
|
||||
english, czech, etc), cyrillic, korean fonts, and OSD?
|
||||
.LP
|
||||
.SH "GENERAL OPTIONS"
|
||||
.TP
|
||||
.I NOTE
|
||||
Every "flag" option has "noflag" pair, e.g. -fs opposite is -nofs
|
||||
.TP
|
||||
.B \-gui
|
||||
start MPlayer with the GUI mode. You have to compile it in, for details
|
||||
see the documentation.
|
||||
.TP
|
||||
.B \-dvd\ titleid
|
||||
tell MPlayer which movies (marked with titleid) to play. For example
|
||||
sometimes '1' are trailers, and '2' is the real movie.
|
||||
.TP
|
||||
.B \-sid\ id
|
||||
Turns on DVD subtitle displaying. Also, you MUST specify a number which
|
||||
corresponds to a DVD subtitle language (1-...). For the list of available
|
||||
subtitles, use with the -v switch and look at the output. (EXPERIMENTAL)
|
||||
.TP
|
||||
.B \-chapter\ chapterid
|
||||
specify which chapter to start playing at. Examples can be found below.
|
||||
.TP
|
||||
.B \-dvdangle\ angleid
|
||||
some DVD discs contain scenes that can be viewed from multiple angles.
|
||||
Here you can tell MPlayer which angles to use. Examples can be found below.
|
||||
.TP
|
||||
.B \-vo\ <driver>[:<device>]
|
||||
select video output driver and optinaly device. "device" is valid with
|
||||
SDL and GGI too, it means sub-driver then (for example: -vo sdl:aalib).
|
||||
|
||||
you can get the list of available drivers executing
|
||||
.I mplayer -vo help
|
||||
|
||||
.TP
|
||||
.B \-ao\ <driver>[:<device>]
|
||||
select audio output driver and optinaly device. "device" is valid with
|
||||
SDL too, it means sub-driver then (for example: -vo sdl:esd).
|
||||
|
||||
If using OSS, you can specify which sound device to use like this :
|
||||
-ao oss:/dev/dsp1 (replaces the old -dsp option)
|
||||
|
||||
you can get the list of available drivers executing
|
||||
.I mplayer -ao help
|
||||
|
||||
.TP
|
||||
.B \-vcd\ track
|
||||
play video cd track from device instead of plain file
|
||||
.TP
|
||||
.B \-nosound
|
||||
don't play sound
|
||||
.TP
|
||||
.B \-fs
|
||||
fullscreen playing (centers movie, and makes black
|
||||
bands around it)
|
||||
.TP
|
||||
.B \-vm
|
||||
try to change to a different video mode. dga2, x11 (XF86VidMode) and sdl
|
||||
output drivers support it.
|
||||
.TP
|
||||
.B \-zoom
|
||||
use software scaling, where available (use with -nofs). svga, x11, vesa
|
||||
output drivers support it.
|
||||
.TP
|
||||
.B \-flip
|
||||
flip image (useful for example for old Indeo codecs). Supported only(?)
|
||||
by the 'sdl' and 'x11' outputs.
|
||||
.TP
|
||||
.B \-x\ x
|
||||
scale image to x width [if driver suppports!]
|
||||
.TP
|
||||
.B \-y\ y
|
||||
scale image to y height
|
||||
.TP
|
||||
.B \-xy\ factor
|
||||
scale image by <factor>
|
||||
.TP
|
||||
.B \-pp\ quality
|
||||
apply postprocess filter on decoded image.
|
||||
You need a STRONG CPU in order to use this!
|
||||
The supported formats and settings are:
|
||||
|
||||
MPEG 1/2 0 (none), TODO
|
||||
OpenDivX 0 (none), TODO
|
||||
DivX4 0 (none), TODO
|
||||
DivX 0 (none), TODO
|
||||
|
||||
-pp 0x20000 TODO
|
||||
|
||||
.TP
|
||||
.B \-autoq\ quality
|
||||
dynamically changes the level of postprocess, depending on spare CPU
|
||||
time available. Uses the same value ranges as -pp . The number you
|
||||
specify will be the maximum level used. Usually you can use some big
|
||||
number. You don't have to (and don't) use together with -pp !
|
||||
.TP
|
||||
.B \-ffactor\ number
|
||||
resample alphamap of the font. Can be:
|
||||
|
||||
0 plain white fonts
|
||||
0.75 very narrow black outline [default]
|
||||
1 narrow black outline
|
||||
10 bold black outline
|
||||
.TP
|
||||
.B \-sub\ file
|
||||
use/display this subtitle file
|
||||
.TP
|
||||
.B \-subfps\ rate
|
||||
specify frame/sec rate of subtitle file
|
||||
(ONLY for frame-based SUB files, i.e. NOT MicroDVD format!)
|
||||
(default: the same as the movie)
|
||||
.TP
|
||||
.B \-subdelay\ sec
|
||||
delays subtitles by <sec> seconds. Can be negative.
|
||||
.TP
|
||||
.B \-osdlevel\ level
|
||||
specifies which mode the OSD should start in (0 : none, 1 : seek, 2: seek+timer)
|
||||
(default = 2)
|
||||
.TP
|
||||
.B \-lircconf\ configfile
|
||||
specifies a configfile for LIRC (see http://www.lirc.org) if you don't like the default ~/.lircrc
|
||||
.TP
|
||||
.B \-v
|
||||
enable verbose output (more -v means more verbose)
|
||||
.TP
|
||||
.B \-quiet
|
||||
display less output, status messages.
|
||||
.TP
|
||||
.B \-benchmark
|
||||
used in combination with -nosound and -vo null for benchmarking.
|
||||
.TP
|
||||
.B \-skin skin directory
|
||||
load skin from this directory (WITHOUT path name!). For example '-skin fittyfene' tries these :
|
||||
|
||||
/usr/local/share/mplayer/Skin/fittyfene
|
||||
~/.mplayer/Skin/fittyfene
|
||||
.TP
|
||||
.B \-aspect ratio
|
||||
set aspect ratio of movies. It's autodetected on MPEG files, and can't be
|
||||
autodetected on AVI files. Examples:
|
||||
|
||||
-aspect 4:3 or -aspect 1.3333
|
||||
-aspect 16:9 or -aspect 1.7777
|
||||
|
||||
(has -noaspect pair)
|
||||
.TP
|
||||
.B \-monitoraspect ratio
|
||||
set aspect ratio of your screen. Examples:
|
||||
|
||||
-monitoraspect 4:3 or 1.3333
|
||||
-monitoraspect 16:9 or 1.7777
|
||||
|
||||
.TP
|
||||
.B \-playlist <file>
|
||||
play files according to this filelist (1 file/row).
|
||||
.TP
|
||||
.B \-slave
|
||||
This option switches on slave mode. This is intended for use
|
||||
of MPlayer as a backend to other programs. Instead of intercepting keyboard
|
||||
events, MPlayer will read simplistic command lines from its stdin.
|
||||
See section
|
||||
.B SLAVE MODE PROTOCOL
|
||||
for the syntax.
|
||||
.IP
|
||||
.SH "ADVANCED OPTIONS"
|
||||
.TP
|
||||
.I NOTE
|
||||
These options can help you solve your particular problem.. Also, see the
|
||||
documentation !
|
||||
.TP
|
||||
.B \-vc <name>
|
||||
force usage of a specific video codec, according to its name in codecs.conf,
|
||||
for example :
|
||||
|
||||
-vc divx use VFW DivX codec
|
||||
-vc divxds use DirectShow DivX codec
|
||||
-vc ffdivx use libavcodec's DivX codec
|
||||
-vc ffmpeg12 use libavcodec's MPEG1/2 codec
|
||||
-vc divx4 use ProjectMayo's DivX codec
|
||||
|
||||
See -vc help for FULL list !
|
||||
.TP
|
||||
.B \-ac <name>
|
||||
force usage of a specific audio codec, according to its name in codecs.conf,
|
||||
for example :
|
||||
|
||||
-ac mp3 use libmp3 MP3 codec
|
||||
-ac mp3acm use l3codeca.acm MP3 codec
|
||||
-ac ac3 use AC3 codec
|
||||
-ac hwac3 enable Hardware AC3 passthrough
|
||||
(see documentation)
|
||||
-ac vorbis use libvorbis
|
||||
-ac ffmp3 use ffmpeg's MP3 decoder (SLOW)
|
||||
|
||||
See -ac help for FULL list !
|
||||
.TP
|
||||
.B \-vfm <1-12>
|
||||
force usage of a specific codec FAMILY, and FALLBACK to default if failed.
|
||||
For example:
|
||||
|
||||
-vfm 2 use VFW (Win32) codecs
|
||||
-vfm 3 use OpenDivX/DivX4 codec (YV12)
|
||||
(same as -vc odivx but fallback)
|
||||
-vfm 4 use DirectShow (Win32) codecs
|
||||
-vfm 5 use libavcodec codecs
|
||||
-vfm 7 use DivX4 codec (YUY2)
|
||||
(same as -vc divx4 but fallback)
|
||||
-vfm 10 use XAnim codecs
|
||||
|
||||
See -vc help for FULL list !
|
||||
|
||||
NOTE : if libdivxdecore support was compiled in, then type 3 and 7 now contains
|
||||
just the same DivX4 codec, but different APIs to reach it. For difference
|
||||
between them and when to use which, check the DivX4 section in the
|
||||
documentation.
|
||||
.TP
|
||||
.B \-afm <1-12>
|
||||
force usage of a specific audio format. For example:
|
||||
|
||||
-afm 1 use libmp3 (mp2/mp3,
|
||||
but not mp1)
|
||||
-afm 2 suppose raw PCM audio
|
||||
-afm 3 use libac3
|
||||
-afm 4 use a matching Win32 codec
|
||||
-afm 5 use aLaw/uLaw driver
|
||||
-afm 10 use libvorbis
|
||||
-afm 11 use ffmpeg's MP3 decoder (even mp1)
|
||||
|
||||
See -ac help for FULL list !
|
||||
.TP
|
||||
.B \-sb\ position
|
||||
seek to byte position
|
||||
.TP
|
||||
.B \-ss\ time
|
||||
seek to given time position. For example :
|
||||
|
||||
-ss 56
|
||||
-ss 01:10:00
|
||||
|
||||
.TP
|
||||
.B \-bpp\ depth
|
||||
use different color depth than autodetect. Not all -vo drivers support
|
||||
it (fbdev, dga2, svga, vesa).
|
||||
.TP
|
||||
.B \-abs\ bytes
|
||||
sound card audio buffer size (in bytes, default: measuring)
|
||||
.TP
|
||||
.B \-delay\ secs
|
||||
audio delay in seconds (may be +/- float value)
|
||||
.TP
|
||||
.B \-nobps
|
||||
don't use avg. byte/sec value for A-V sync (AVI)
|
||||
.TP
|
||||
.B \-aid\ id
|
||||
select audio channel [MPG: 0-31 AVI: 1-99 ASF: 0-127 VOB: 128-...]
|
||||
.TP
|
||||
.B \-vid\ id
|
||||
select video channel [MPG: 0-15 AVI: -- ]
|
||||
.TP
|
||||
.B \-fps\ value
|
||||
force frame rate (if value is wrong in the header)
|
||||
.TP
|
||||
.B \-mc\ seconds/5frame
|
||||
maximum sync correction per 5 frames (in seconds)
|
||||
.TP
|
||||
.B \-ni
|
||||
force usage of non-interleaved AVI parser
|
||||
.TP
|
||||
.B \-include configfile
|
||||
specify config file to be parsed after the default
|
||||
.TP
|
||||
.B \-z\ <0-8>
|
||||
specifies compression level for PNG output
|
||||
0 : no compression
|
||||
8 : max compression
|
||||
.TP
|
||||
.B \-idx
|
||||
rebuilds INDEX of the AVI. Useful with broken downloads, or badly
|
||||
created AVIs.
|
||||
.TP
|
||||
.B \-forceidx
|
||||
force rebuilding of INDEX. Useful for testing, or AVIs with bad
|
||||
indexes.
|
||||
.TP
|
||||
.B \-nodshow
|
||||
disables usage of DirectShow video codecs
|
||||
.TP
|
||||
.B \-noxv
|
||||
disable XVideo hardware acceleration (with SDL only!)
|
||||
.TP
|
||||
.B \-forcexv
|
||||
force using XVideo (SDL!)
|
||||
.TP
|
||||
.B \-dumpaudio
|
||||
writes audio stream of the file to ./stream.dump (mostly usable
|
||||
with mpeg/ac3)
|
||||
.TP
|
||||
.B \-dumpstream
|
||||
dumps the file to ./stream.dump . Useful for example
|
||||
when ripping from DVD.
|
||||
.TP
|
||||
.B \-noframedrop
|
||||
no frame dropping : every frame is played, audio and video may be out of
|
||||
sync (default)
|
||||
.TP
|
||||
.B \-framedrop
|
||||
frame dropping : decode all frames, video may skip
|
||||
.TP
|
||||
.B \-nodouble
|
||||
disable doublebuffering (default). Currently this is only honoured by the Xv and the DGA driver.
|
||||
With the DGA driver this also disables OSD support but yields some speed gain.
|
||||
.TP
|
||||
.B \-double
|
||||
enable doublebuffering. Currently this is only honoured by the Xv and the DGA driver.
|
||||
.TP
|
||||
.B \-dvdkey key
|
||||
key to decrypt stream encrypted with CSS. For example : -dvdkey F169072699
|
||||
(this is NOT for DVD playing! For DVD use the -dvd option!)
|
||||
.TP
|
||||
.B \-stereo mode
|
||||
select type of MP2/MP3 stereo output.
|
||||
|
||||
Stereo 0
|
||||
Left channel 1
|
||||
Right channel 2
|
||||
.TP
|
||||
.B \-channels n
|
||||
select number of audio output channels to be used
|
||||
|
||||
Stereo 2
|
||||
Surround 4
|
||||
Full 5.1 6
|
||||
|
||||
Currently this option is only honoured for AC3 audio.
|
||||
.TP
|
||||
.B \-srate Hz
|
||||
specifies Hz to playback audio on. Has effect on playback speed!
|
||||
.TP
|
||||
.B \-config configfile
|
||||
specifies where to search for config file
|
||||
.TP
|
||||
.B \-display name
|
||||
specify the hostname and display number of the X server you want
|
||||
to display on. For example : -display xtest.localdomain:0
|
||||
.TP
|
||||
.B \-unicode
|
||||
tells MPlayer to handle the subtitle file as UNICODE.
|
||||
Contrary: -nounicode
|
||||
.TP
|
||||
.B \-utf8
|
||||
tells MPlayer to handle the subtitle file as UTF8.
|
||||
.TP
|
||||
.B \-fsmode\ mode
|
||||
This option workarounds some problems when using specific windowmanagers and
|
||||
fullscreen mode. If you experience fullscreen problems, try changing this
|
||||
value between 0 and 7.
|
||||
|
||||
-fsmode 0 new method
|
||||
-fsmode 1 ICCCWM patch
|
||||
(for KDE2/icewm)
|
||||
-fsmode 2 old method
|
||||
-fsmode 3 ICCCWM patch
|
||||
plus Motif method
|
||||
.TP
|
||||
.B \-frames\ number
|
||||
MPlayer plays <number> frames, then quits.
|
||||
.TP
|
||||
.B \-fb\ device
|
||||
Specifies the framebuffer device to use. By default it uses /dev/fb0 .
|
||||
Only valid for the fbdev driver.
|
||||
.TP
|
||||
.B \-fbmode\ modename
|
||||
Change videomode to the one that is labelled as <modename> in /etc/fb.modes .
|
||||
Only valid for the fbdev driver.
|
||||
.TP
|
||||
.I NOTE
|
||||
VESA framebuffer doesn't support mode changing.
|
||||
.TP
|
||||
.B \-fbmodeconfig\ filename
|
||||
Use this config file instead of the default /etc/fb.modes .
|
||||
Only valid for the fbdev driver.
|
||||
.TP
|
||||
.B \-subcp\ codepage
|
||||
If your system supports iconv(3), you can use this option to
|
||||
specify codepage of the subtitle. Examples:
|
||||
|
||||
-subcp latin2
|
||||
-subcp cp1250
|
||||
|
||||
.TP
|
||||
.B \-dumpmpsub
|
||||
Convert the given subtitle (specified with the -sub switch) to MPlayer's
|
||||
subtitle format, MPsub. Dumps a dump.mpsub file to current directory.
|
||||
.TP
|
||||
.B \-screenw\ pixels
|
||||
If you use an output driver which can't know the resolution of the screen
|
||||
(mga/fbdev/x11 and/or TVout) this is where you can specify the horizontal
|
||||
resolution.
|
||||
.TP
|
||||
.B \-screenh\ pixels
|
||||
If you use an output driver which can't know the resolution of the screen
|
||||
(mga/fbdev/x11 and/or TVout) this is where you can specify the vertical
|
||||
resolution.
|
||||
.TP
|
||||
.B \-cache\ kbytes
|
||||
This option specifies how much memory to use when precaching a file/URL .
|
||||
Especially useful on slow media. Default is off.
|
||||
.IP
|
||||
.SH "ALPHA/BETA CODE"
|
||||
.TP
|
||||
.I NOTE
|
||||
These are included in this manpage just for completeness! These may or may NOT
|
||||
work! If you don't know what are these, you DON'T need these! In either case,
|
||||
double-check the documentation !
|
||||
.TP
|
||||
.B \-br\ rate
|
||||
used with '-vo odivx' .
|
||||
Specifies the bitrate to encode OpenDivx at
|
||||
(in bits! e.g: 780000).
|
||||
.TP
|
||||
.I NOTE
|
||||
You CAN'T encode sound, only video right now! Don't ask for it,
|
||||
it's on the TODO list.
|
||||
.TP
|
||||
.B \-encode\ file
|
||||
used with '-vo odivx' .
|
||||
Specifies the output OpenDivX file. Won't overwrite.
|
||||
.TP
|
||||
.B \-dumpvideo
|
||||
dump video stream to ./stream.dump (only with MPEG-PS) (not very usable)
|
||||
.IP
|
||||
.SH KEYBOARD CONTROL
|
||||
.TP
|
||||
.I NOTE
|
||||
These keys may/may not work, depending on your video output driver.
|
||||
.TP
|
||||
<- or -> seek backward/forward 10 seconds
|
||||
|
||||
up or down seek backward/forward 1 minute
|
||||
|
||||
pgup/pgdown seek backward/forward 10 minutes
|
||||
|
||||
p or SPACE pause movie (press any key)
|
||||
|
||||
q or ESC stop playing and quit program
|
||||
|
||||
+ or - adjust audio delay by +/- 0.1 second
|
||||
|
||||
/ or * decrease/increase volume
|
||||
|
||||
o toggle OSD: none / seek / seek+timer
|
||||
|
||||
m toggle using master/pcm volume
|
||||
|
||||
z or x adjust subtitle delay by +/- 0.1 second
|
||||
|
||||
(the following keys are valid only when using DirectShow DivX codec, or
|
||||
the DivX4 codec with -vc divx4)
|
||||
|
||||
1 or 2 adjust contrast
|
||||
|
||||
3 or 4 adjust brightness
|
||||
|
||||
5 or 6 adjust hue
|
||||
|
||||
7 or 8 adjust saturation
|
||||
|
||||
.IP
|
||||
.SH SLAVE MODE PROTOCOL
|
||||
If the -slave switch is given, playback is controlled by a
|
||||
line-based protocol with the following tokens:
|
||||
.TP
|
||||
stop pause playback
|
||||
|
||||
play resume playback
|
||||
|
||||
seek <NUM> continue at second NUM
|
||||
|
||||
skip <NUM> skip NUM seconds (may be negative)
|
||||
|
||||
quit exit mplayer
|
||||
|
||||
.IP
|
||||
.SH FILES AND DIRECTORIES
|
||||
.TP
|
||||
.I CONFIG FILES
|
||||
Settings are stored system-wide in the /etc/mplayer.conf file,
|
||||
and per-user in $HOME/.mplayer/config. The directory
|
||||
$HOME/.mplayer and the 'config' are created if doesn't exist.
|
||||
.TP
|
||||
.I FONTS
|
||||
Fonts are searched in $HOME/.mplayer/font. There must be a font.desc
|
||||
file, and files with .RAW extension.
|
||||
.TP
|
||||
.I SUBTITLE FILES
|
||||
MPlayer currently supports 9 subtitle formats : MicroDVD, SubRip, unnamed,
|
||||
SAMI (smi), vplayer, RealMedia RT, ssa (Sub Station Alpha), AQT, and our own: MPsub.
|
||||
Sub files are searched in this priority : (for example /mnt/cdrom/movie.avi)
|
||||
/mnt/cdrom/movie.sub
|
||||
(utf/UTF/sub/SUB/srt/SRT/smi/SMI/rt/RT/txt/TXT/ssa/SSA)
|
||||
$HOME/.mplayer/sub/movie.sub
|
||||
(utf/UTF/sub/SUB/srt/SRT/smi/SMI/rt/RT/txt/TXT/ssa/SSA)
|
||||
$HOME/.mplayer/default.sub
|
||||
.IP
|
||||
.SH "EXAMPLES"
|
||||
.B Quickstart DVD playing
|
||||
mplayer -dvd 1
|
||||
.TP
|
||||
.B Multiangle DVD playing
|
||||
mplayer -dvd 1 -dvdangle 2
|
||||
.TP
|
||||
.B Playing from a different DVD device
|
||||
mplayer -dvd 1 /dev/dvd2
|
||||
.TP
|
||||
.B Stream from HTTP
|
||||
mplayer http://mplayer.hq/example.avi
|
||||
.TP
|
||||
.B Convert subtitle to MPsub (to ./dump.mpsub)
|
||||
mplayer dummy.avi -sub source.sub -dumpmpsub
|
||||
.LP
|
||||
.SH BUGS
|
||||
Probably. Check the documentation.
|
||||
|
||||
Bugreports should be addressed to the MPlayer-users mailing list
|
||||
(mplayer-users@mplayerhq.hu) ! If you want to submit a bugreport
|
||||
(which we love to receive!), please double-check the bugreports.html, and
|
||||
tell us all that we need to know to identify your problem.
|
||||
|
||||
.LP
|
||||
.SH AUTHORS
|
||||
Check documentation !
|
||||
|
||||
MPlayer is (C) 2000-2001
|
||||
.I Arpad Gereoffy <arpi@thot.banki.hu>
|
||||
|
||||
This manpage is written and maintained by
|
||||
.I Gabucino .
|
||||
.LP
|
||||
.SH STANDARD DISCLAIMER
|
||||
Use only at your own risk! There may be errors and inaccuracies that could
|
||||
be damaging to your system or your eye. Proceed with caution, and although
|
||||
this is highly unlikely, the author doesn't take any responsibility for that!
|
||||
.\" end of file
|
||||
@@ -0,0 +1,867 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
|
||||
<title>MPlayer skin format</title>
|
||||
<style type="text/css">
|
||||
em.note {color: green}
|
||||
em.warn {color: red}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body bgcolor=white text=black>
|
||||
|
||||
<h1 align="center">MPlayer skin format</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2>Contents</h2>
|
||||
|
||||
<ul type=disc>
|
||||
<li><a href="#intro">1 Introduction</a></li>
|
||||
<li><a href="#overview">2 Overview</a></li>
|
||||
<ul type=circle>
|
||||
<li><a href="#dirs">2.1 Directories</a></li>
|
||||
<li><a href="#images">2.2 Images</a></li>
|
||||
<li><a href="#parts">2.3 Parts of a skin</a></li>
|
||||
<li><a href="#files">2.4 Files</a></li>
|
||||
</ul>
|
||||
<li><a href="#skin">3 The <code>skin</code> file</a></li>
|
||||
<ul type=circle>
|
||||
<li><a href="#mainwin">3.1 Main window</a></li>
|
||||
<li><a href="#subwindow">3.2 Subwindow</a></li>
|
||||
<li><a href="#skinmenu">3.3 Skin menu</a></li>
|
||||
</ul>
|
||||
<li><a href="#fonts">4 Fonts</a></li>
|
||||
<ul type=circle>
|
||||
<li><a href="#symbols">4.1 Symbols</a></li>
|
||||
</ul>
|
||||
<li><a href="#guimsg">Appendix A: GUI messages</a></li>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
|
||||
<div align=center>
|
||||
Last modified: Sep 10, 2001
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><a name="intro">1 Introduction</a></h2>
|
||||
|
||||
The purpose of this document is to describe the MPlayer skin format.
|
||||
The information contained here might be wrong, for <em>a)</em> it is not me
|
||||
who wrote the GUI, <em>b)</em> the GUI is not finished, <em>c)</em> I might
|
||||
be wrong. So do not be surprised if something does not work as described here.
|
||||
|
||||
<p>
|
||||
Thanks to <em>Zoltán Ponekker</em> for his help.
|
||||
|
||||
<p>
|
||||
<em>András Mohari <mayday@freemail.hu></em>
|
||||
|
||||
|
||||
<h2><a name="overview">2 Overview</a></h2>
|
||||
|
||||
It does not really have anything to do with the skin format, but you should
|
||||
know that <em>MPlayer has <b>no</b> builtin skin, so <b>at least one skin
|
||||
must be installed in order to be able to use the GUI.</b></em>
|
||||
|
||||
|
||||
<h3><a name="dirs">2.1 Directories</a></h3>
|
||||
|
||||
The directories searched for skins are (in order):
|
||||
<pre>
|
||||
/usr/local/share/mplayer/Skin/
|
||||
~/.mplayer/Skin/
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
Note that the first path may vary according to the way MPlayer was configured
|
||||
(see the <code>--datadir</code> argument of the <code>configure</code>
|
||||
script).
|
||||
|
||||
<p>
|
||||
Every skin is installed into its own directory under one of the directories
|
||||
listed above, for example:
|
||||
<pre>
|
||||
/usr/local/share/mplayer/Skin/default/
|
||||
</pre>
|
||||
|
||||
|
||||
<h3><a name="images">2.2 Image formats</a></h3>
|
||||
|
||||
Images must be truecolor (24 or 32 bpp) and can be in
|
||||
BMP, PNG and TGA format (note that TGA images must be uncompressed).
|
||||
<em>The preferred format is PNG as it compresses very well.</em>
|
||||
|
||||
<p>
|
||||
In the main window (see below) you can use images with `transparency':
|
||||
regions filled with the color #FF00FF (<font color="#FF00FF">magenta</font>)
|
||||
are fully transparent when viewed by MPlayer. This means that you can even
|
||||
have shaped windows if your X server has the XShape extension.
|
||||
|
||||
|
||||
<h3><a name="parts">2.3 Parts of a skin</a></h3>
|
||||
|
||||
Skins are quite free-format (unlike the fixed-format skins of
|
||||
Winamp/XMMS, for example), so it is up to you to create something great.
|
||||
|
||||
<p>
|
||||
Currently there are three windows to be decorated: the
|
||||
<a href="#mainwin">main window</a>, the <a href="#subwindow">subwindow</a> and
|
||||
the <a href="#skinmenu">skin menu</a> (which can be activated by a right
|
||||
click).
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
The <b>main window</b> is where you can control MPlayer. The background of
|
||||
the window is an image. Various items can (and must) be
|
||||
placed in the window: <em>buttons</em>, <em>potmeters</em> (sliders, if
|
||||
you like it better) and <em>labels</em>. For every item, you must
|
||||
specify its position and size.
|
||||
|
||||
<p>
|
||||
A <b>button</b> has three states (pressed, released,
|
||||
disabled), so its image must be divided into three parts vertically.
|
||||
See the <a href="#main.button">button</a> item for details.
|
||||
<p>
|
||||
A <b>potmeter</b> (mainly used for the seek bar and volume/balance
|
||||
control) can have any number of phases by dividing its image into different
|
||||
parts below each other.
|
||||
See <a href="#main.hpotmeter">hpotmeter</a> and
|
||||
<a href="#main.potmeter">potmeter</a> for details.
|
||||
|
||||
<p>
|
||||
<b>Labels</b> are a bit special: the characters needed to draw them are taken
|
||||
from an image file, and the characters in the image are described
|
||||
by a <a href="#fonts">font description file</a>.
|
||||
The latter is a plain text file which specifies
|
||||
the x,y position and size of each character in the image. (So the
|
||||
image file and its font description file form a font <em>together</em>.)
|
||||
See <a href="#main.dlabel">dlabel</a> and <a href="#main.slabel">slabel</a>
|
||||
for details.
|
||||
|
||||
<p>
|
||||
<em class=note>
|
||||
<b>Note:</b> all images can have full transparency as described in the
|
||||
section about <a href="#images">image formats</a>.
|
||||
</em>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
The <b>subwindow</b> is where the movie appears. It can display a specified
|
||||
image if there is no movie loaded (it is quite boring to have an empty
|
||||
window :-))
|
||||
<em class=note><b>Note:</b> transparency
|
||||
is <b>not allowed</b> here.</em>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
The <b>skin menu</b> is just a way to control MPlayer by means of
|
||||
menu entries. Two images are required for the menu: one of them is the base
|
||||
image that shows the menu in its normal state, the other one is used to
|
||||
display the selected entries. When you pop up the menu, the first image is
|
||||
shown. If you move the mouse over the menu entries, the currently selected
|
||||
entry is copied from the second image over the menu entry below the mouse
|
||||
pointer. (So the second image is never shown in whole.)
|
||||
<p>
|
||||
A menu entry is defined by its position and size in the image (see the
|
||||
section about the <a href="#skinmenu">skin menu</a> for details).
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
There is an important thing not mentioned yet: for buttons, potmeters and
|
||||
menu entries to work, MPlayer must know what to do if they are clicked.
|
||||
This is done by <a href="#guimsg">messages</a> (events). For these items
|
||||
you must define the messages to be genereated when they are clicked.
|
||||
|
||||
<h3><a name="files">2.4 Files</a></h3>
|
||||
|
||||
You need the following files to build a skin.
|
||||
<ul>
|
||||
<li>
|
||||
The configuration file named <a href="#skin">skin</a> tells MPlayer how
|
||||
to put different parts of the skin together and what to do if you click
|
||||
somewhere in the window.
|
||||
</li>
|
||||
<li>The background image for the main window.</li>
|
||||
<li>Images for the items in the main window (including one or more font
|
||||
description files needed to draw labels).</li>
|
||||
<li>The image to be displayed in the subwindow (optional).</li>
|
||||
<li>Two images for the skin menu (they are needed only if you want to create
|
||||
a menu).
|
||||
</ul>
|
||||
|
||||
With the exception of the skin configuration file, you can name the other
|
||||
files whatever you want (but note that font description files must have
|
||||
.fnt extension).
|
||||
|
||||
|
||||
<h2><a name="skin">3 The <code><b>skin</b></code> file</a></h2>
|
||||
|
||||
<p>
|
||||
As mentioned above, this is the skin configuration file.
|
||||
It is line oriented; comment lines start with a '<code>;</code>' character
|
||||
at the beginning of the line (only spaces and tabs are allowed before the
|
||||
'<code>;</code>').
|
||||
|
||||
<p>
|
||||
The file is made up of sections. Each section describes the skin for an
|
||||
application and has the following form:
|
||||
<table border=1 width="100%"><tr bgcolor=silver><td><pre>
|
||||
section = <i>section name</i>
|
||||
.
|
||||
.
|
||||
.
|
||||
end
|
||||
</pre></td></tr></table>
|
||||
|
||||
<p>
|
||||
Currently there is only one application, so you need only one section:
|
||||
its name is <b>movieplayer</b>.
|
||||
|
||||
<p>
|
||||
Within this section each window is described by a block in the following form:
|
||||
<table border=1 width="100%"><tr bgcolor=silver><td><pre>
|
||||
window = <i>window name</i>
|
||||
.
|
||||
.
|
||||
.
|
||||
end
|
||||
</pre></tr></td></table>
|
||||
where <i>window name</i> can be one of these strings:
|
||||
<ul>
|
||||
<li><b>main</b> - for the main window</li>
|
||||
<li><b>sub</b> - for the subwindow</li>
|
||||
<li><b>menu</b> - for the skin menu</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
(The sub and menu block is optional---you do not need to create a menu or
|
||||
to decorate the subwindow.)
|
||||
|
||||
<p>
|
||||
Within a window block, you can define each item for the window
|
||||
by a line in this form:
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
item = parameter
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
where <i>item</i> is a string that identifies the type of the GUI item,
|
||||
<i>parameter</i> is a numeric or textual value (or a list of values
|
||||
separated by commas).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Putting the above together, the whole file looks something like this:
|
||||
|
||||
<p>
|
||||
<table border=1 width="100%"><tr bgcolor=silver><td><pre>
|
||||
section = movieplayer
|
||||
window = main
|
||||
; ... items for main window ...
|
||||
end
|
||||
|
||||
window = sub
|
||||
; ... items for subwindow ...
|
||||
end
|
||||
|
||||
window = menu
|
||||
; ... items for skin menu ...
|
||||
end
|
||||
end
|
||||
</pre></tr></td></table>
|
||||
|
||||
<p>
|
||||
Finally some words about specifying images for the various items.
|
||||
<br>
|
||||
The name of an image file must be given without leading directories---
|
||||
images are searched in the directory of the skins. You may (but you need not)
|
||||
specify the file's extension. If the file doesn't exist, MPlayer tries to
|
||||
load the file <i><filename>.<ext></i>, where <i>tga</i>,
|
||||
<i>TGA</i>, <i>bmp</i>, <i>BMP</i>, <i>png</i> and <i>PNG</i> is tried
|
||||
for <i><ext></i> (in this order). The first matching file will be used.
|
||||
|
||||
<p>
|
||||
|
||||
<table border=1 cellpadding=5 width="100%"><tr bgcolor="#ffffcc"><td>
|
||||
Here is an example to make this clear. Suppose that you have an image called
|
||||
<i>main.png</i> that you use for the main window:
|
||||
<blockquote>
|
||||
<pre>
|
||||
base = main, -1, -1
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
MPlayer tries to load <i>main</i>, <i>main.tga</i>, <i>main.TGA</i>,
|
||||
<i>main.bmp</i> etc, so <i>main.png</i> will be found.
|
||||
<br>
|
||||
If (by accident) you wrote
|
||||
<blockquote>
|
||||
<pre>
|
||||
base = main.bmp, -1, -1
|
||||
</pre>
|
||||
</blockquote>
|
||||
then <i>main.bmp</i>, <i>main.bmp.tga</i>, <i>main.bmp.TGA</i>,
|
||||
<i>main.bmp.bmp</i> would be searched and MPlayer would finally give up
|
||||
because there is no <i>main.bmp</i> in the directory, but <i>main.png</i>.
|
||||
</td></tr></table>
|
||||
|
||||
|
||||
<h3><a name="mainwin">3.1 Main window</a></h3>
|
||||
|
||||
Below you can see the list of items that can be used in the
|
||||
'<code>window = main</code>' . . . '<code>end</code>' block.
|
||||
|
||||
<dl>
|
||||
<dt><a name="main.base">
|
||||
<b>base = <i>image, x, y</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
Lets you specify the background image to be used for the main window.
|
||||
The window will appear at the given <i>x</i>,<i>y</i> position
|
||||
on the screen (0,0 is the top left corner). You can specify -1 for center
|
||||
and -2 for right (x) and bottom (y). The window will be as large as the image.
|
||||
<p>
|
||||
<em class=warn>
|
||||
<b>Warning:</b> transparent regions in the image (colored #FF00FF) appear
|
||||
black on X servers without the XShape extension.
|
||||
</em>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="main.button">
|
||||
<b>button = <i>image, x, y, width, height, message</i></b></a></dt>
|
||||
<dd>
|
||||
Place a button of <i>width</i> * <i>height</i> size at the
|
||||
<i>x</i>,<i>y</i> position. The specified message is generated when
|
||||
the button is clicked.
|
||||
The image given by <i>image</i> must have three parts below each other
|
||||
(according to the possible states of the button), like this:
|
||||
<div align=center><table><tr><td><pre><small>
|
||||
+------------+
|
||||
| pressed |
|
||||
+------------+
|
||||
| released |
|
||||
+------------+
|
||||
| disabled |
|
||||
+------------+
|
||||
</small></pre></td></tr></table></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="main.decoration">
|
||||
<b>decoration = enable|disable</b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
Enable or disable window manager decoration of the main window. Default
|
||||
is <b>disable</b>.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
<a name="main.hpotmeter">
|
||||
<b>
|
||||
hpotmeter = <i>butt, bw,bh, phases, numphases, default, x, y, w, h, msg</i>
|
||||
</b>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
Place a horizontal potmeter of <i>w</i> * <i>h</i> size at the
|
||||
<i>x</i>,<i>y</i> position. The image can be divided into
|
||||
different parts for the different phases of the potmeter (for example,
|
||||
you can have a pot for volume control that turns from green to red
|
||||
while its value changes from the minimum to the maximum.)
|
||||
hpotmeter can have a button that can be dragged horizontally.
|
||||
The parameters are:
|
||||
<ul>
|
||||
<li><i>butt</i> - the image to be used for the button
|
||||
(must have three parts below each other, like in case of
|
||||
<a href="#main.button">button</a>)</li>
|
||||
<li><i>bw</i>, <i>bh</i> - size of the button</li>
|
||||
<li><i>phases</i> - The image to be used for the different phases of the
|
||||
hpotmeter. The image must be divided into <i>numphases</i> parts vertically
|
||||
(see below). A special value of <kbd>NULL</kbd> can be used if you want
|
||||
no such image.
|
||||
</li>
|
||||
<li><i>numphases</i> - number of phases stored in the <i>phases</i>
|
||||
image</li>
|
||||
<li><i>default</i> - default value for hpotmeter (in the range 0 to
|
||||
100)</li>
|
||||
<li><i>x</i>, <i>y</i> - position for the hpotmeter</li>
|
||||
<li><i>w</i>, <i>h</i> - width and height of the hpotmeter</li>
|
||||
<li><i>msg</i> - the message to be generated when the value of hpotmeter
|
||||
is changed</li>
|
||||
</ul>
|
||||
The image used for the different phases must look something like this:
|
||||
<div align=center><table border=0><tr><td><pre><small>
|
||||
+------------+
|
||||
| phase #1 |
|
||||
+------------+
|
||||
| phase #2 |
|
||||
+------------+
|
||||
...
|
||||
+------------+
|
||||
| phase #n |
|
||||
+------------+
|
||||
</small></pre></td></tr></table></div>
|
||||
<em class=note>
|
||||
<b>Note:</b> there will be a vpotmeter item too, but is it not implemented
|
||||
yet.
|
||||
</em>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="main.potmeter">
|
||||
<b>potmeter = <i>phases, numphases, default, x, y, w, h, msg</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
A potmeter without a button. (I guess it is ment to be turned round,
|
||||
but it reacts to horizontal dragging only.)
|
||||
For the description of the parameters see
|
||||
<a href="#main.hpotmeter">hpotmeter</a>. <i>phases</i> can be
|
||||
<code>NULL</code>, but its quite useless, since you can not see where
|
||||
the potmeter is set.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="main.font">
|
||||
<b>font = <i>fontfile, fontid</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
Defines a font. <i>fontfile</i> is the name of a font description file
|
||||
with <code>.fnt</code> extension (<b>no need</b> to specify the extension
|
||||
here).
|
||||
<i>fontid</i> is used to refer to the font
|
||||
(see <a href="#main.dlabel">dlabel</a> and <a href="#main.slabel">slabel</a>).
|
||||
Up to 25 fonts can be defined.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="main.dlabel">
|
||||
<b>dlabel = <i>x, y, length, align, fontid, "text"</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
Place a dynamic label at the <i>x</i>,<i>y</i> position. The label is called
|
||||
dynamic because its text is refreshed periodically.
|
||||
The maximum length of the label is given by <i>length</i> (its height is the
|
||||
height of a character).
|
||||
If the text to be displayed is wider than that, then it will be
|
||||
scrolled, otherwise it is aligned within the specified space by the value
|
||||
of the <i>align</i> parameter: 0 is for right, 1 is for center,
|
||||
2 is for left.
|
||||
<br>
|
||||
The text to be displayed is given by <i>text</i>: it must be written between
|
||||
double quotes (<code>"</code>) (but the <code>"</code> cannot be part of the
|
||||
text). The label is displayed using the font identified by <i>fontid</i>.
|
||||
You can use the following variables in the text.
|
||||
|
||||
<div align=center>
|
||||
<table valign=top border=1>
|
||||
<tr align=center><th>Variable</th><th align=left>Meaning</th></tr>
|
||||
<tr><td align=center><kbd>$1</kbd></td>
|
||||
<td>play time in <em>hh:mm:ss</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$2</kbd></td>
|
||||
<td>play time in <em>mmmm:ss</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$3</kbd></td>
|
||||
<td>play time in <em>hh</em> format (hours)</td></tr>
|
||||
<tr><td align=center><kbd>$4</kbd></td>
|
||||
<td>play time in <em>mm</em> format (minutes)</td></tr>
|
||||
<tr><td align=center><kbd>$5</kbd></td>
|
||||
<td>play time in <em>ss</em> format (seconds)</td></tr>
|
||||
<tr><td align=center><kbd>$6</kbd></td>
|
||||
<td>movie's length in <em>hh:mm:ss</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$7</kbd></td>
|
||||
<td>movie's length in <em>mmmm:ss</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$8</kbd></td>
|
||||
<td>play time in <em>h:mm:ss</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$v</kbd></td>
|
||||
<td>volume in <em>xxx.xx%</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$V</kbd></td>
|
||||
<td>volume in <em>xxx.x</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$b</kbd></td>
|
||||
<td>balance in <em>xxx.xx%</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$B</kbd></td>
|
||||
<td>balance in <em>xxx.x</em> format</td></tr>
|
||||
<tr><td align=center><kbd>$$</kbd></td>
|
||||
<td>the <kbd>$</kbd> character</td></tr>
|
||||
<tr><td align=center><kbd>$a</kbd></td>
|
||||
<td>a character according to the audio type (none: <code>n</code>,
|
||||
mono: <code>m</code>, stereo: <code>t</code>)</td></tr>
|
||||
<tr><td align=center><kbd>$t</kbd></td>
|
||||
<td>track number (in playlist)</td></tr>
|
||||
<tr><td align=center><kbd>$o</kbd></td>
|
||||
<td>filename</td></tr>
|
||||
<tr><td align=center><kbd>$f</kbd></td>
|
||||
<td>filename in lower case</td></tr>
|
||||
<tr><td align=center><kbd>$F</kbd></td>
|
||||
<td>filename in upper case</td></tr>
|
||||
<tr><td align=center><kbd>$T</kbd></td>
|
||||
<td>a character according to the stream type (file: <code>f</code>,
|
||||
video CD: <code>v</code>, DVD: <code>d</code>, URL: <code>u</code>)
|
||||
</td></tr>
|
||||
<tr><td align=center><kbd>$p</kbd></td>
|
||||
<td>the "p" character (if a movie is playing and the font has the "p"
|
||||
character)
|
||||
</td></tr>
|
||||
<tr><td align=center><kbd>$s</kbd></td>
|
||||
<td>the "s" character (if the movie is stopped and the font has the "s"
|
||||
character)
|
||||
</td></tr>
|
||||
<tr><td align=center><kbd>$e</kbd></td>
|
||||
<td>the "e" character (if playback is paused and the font has the "e"
|
||||
character)
|
||||
</td></tr>
|
||||
</table></div>
|
||||
<p>
|
||||
<b>Note:</b> The <kbd>$a</kbd>, <kbd>$T</kbd>, <kbd>$p</kbd>, <kbd>$s</kbd>
|
||||
and <kbd>$e</kbd> variables all return characters that should be displayed
|
||||
as special symbols (for example, "e" is for the pause symbol that usually
|
||||
looks something like <code>||</code>). You should have a font for normal
|
||||
characters and a different font for symbols.
|
||||
See the section about <a href="#symbols">symbols</a> for more information.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="main.slabel">
|
||||
<b>slabel = <i>x, y, fontid, text</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
Place a static label at the <i>x</i>,<i>y</i> position.
|
||||
<i>text</i> is displayed using the font identified by <i>fontid</i>.
|
||||
The text is just a raw string ($x variables do not work) that must be enclosed
|
||||
between double quotes (the <code>"</code> cannot be part of the text).
|
||||
The label is displayed using the font identified by <i>fontid</i>.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h3><a name="subwindow">3.2 Subwindow</a></h3>
|
||||
|
||||
The following items can be used in the
|
||||
'<code>window = sub</code>' . . . '<code>end</code>' block.
|
||||
|
||||
<dl>
|
||||
<dt><a name="sub.base">
|
||||
<b>base = <i>image, x, y, width, height</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
The image to be displayed in the window.
|
||||
The window will appear at the given <i>x</i>,<i>y</i> position
|
||||
on the screen (0,0 is the top left corner). You can specify -1 for center
|
||||
and -2 for right (x) and bottom (y). The window will be as large as the image.
|
||||
<i>width</i> and <i>height</i> gives the size of the window; they are
|
||||
optional (if they are missing, the window is the same size as the image).
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="sub.background">
|
||||
<b>background = <i>r, g, b</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
Lets you set the background color. It is useful if the image is smaller than
|
||||
the window.
|
||||
<i>r</i>, <i>g</i> and <i>b</i> specifies the red, green and blue
|
||||
component of the color (each of them is a decimal number from 0 to 255).
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h3><a name="skinmenu">3.3 Skin menu</a></h3>
|
||||
|
||||
As mentioned earlier, the menu is displayed using two images.
|
||||
Normal menu entries are taken from the image specified by the <i>base</i>
|
||||
item, while the currently selected entry is taken from the image specified
|
||||
by the <i>selected</i> item.
|
||||
You must define the position and size of each menu entry by the <i>menu</i>
|
||||
item.
|
||||
|
||||
<p>
|
||||
These are the items that can be used in the '<code>window = menu</code>'
|
||||
. . . '<code>end</code>' block.
|
||||
|
||||
<dl>
|
||||
<dt><a name="menu.base">
|
||||
<b>base = <i>image</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
The image for normal menu entries.
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dl>
|
||||
<dt><a name="menu.selected">
|
||||
<b>selected = <i>image</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
The image showing the menu with all entries selected.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><a name="menu.menu">
|
||||
<b>menu = <i>x, y, width, height, message</i></b>
|
||||
</a></dt>
|
||||
<dd>
|
||||
Defines the <i>x</i>,<i>y</i> position and the size of a menu entry in
|
||||
the images. <i>message</i> is the message to be generated when
|
||||
the mouse button is released over the entry.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<h2><a name="fonts">4 Fonts</a></h2>
|
||||
|
||||
As mentioned in the section about the parts of a skin, a font is defined
|
||||
by an image and a description
|
||||
file. You can place the characters anywhere in the image, but make sure that
|
||||
their position and size is given in the description file exactly.
|
||||
|
||||
<p>
|
||||
The font description file (with .fnt extension) can have comment
|
||||
lines starting with '<code>;</code>'.
|
||||
The file must have a line in the form
|
||||
<blockquote>
|
||||
<pre>
|
||||
image = <i>image</i>
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
where <i>image</i> is the name of the image file to be used for
|
||||
the font (you do not have to specify the extension).
|
||||
The above line is followed by character definition lines of the form:
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
"<i>char</i>" = <i>x, y, w, h</i>
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
Here <i>x</i> and <i>y</i> specifies the position of the
|
||||
<i>char</i> character in the image (0,0 is the upper left corner).
|
||||
<i>w</i> and <i>h</i> is the width and height of the character
|
||||
(in pixels, of course).
|
||||
|
||||
<p>
|
||||
Here is an example that defines the A, B, C characters using font.png.
|
||||
<table width="100%" border=1><tr bgcolor=silver><td><pre>
|
||||
; can be "font" instead of "font.png"
|
||||
image = font.png
|
||||
|
||||
; Three characters are enough for demonstration only. :-)
|
||||
"A" = 0,0, 7,13
|
||||
"B" = 7,0, 7,13
|
||||
"C" = 14,0, 7,13
|
||||
</pre></td></tr></table>
|
||||
|
||||
|
||||
<h3><a name="symbols">4.1 Symbols</a></h3>
|
||||
|
||||
Some characters have special meanings when returned by some of the variables
|
||||
used in
|
||||
<a href="#main.dlabel">dlabel</a>; these characters are meant to be
|
||||
displayed as symbols. (For example, in case of a DVD stream, you could display
|
||||
a nice DVD logo instead of the character 'd'.)
|
||||
|
||||
<p>
|
||||
The following table lists all the characters that can be used to display
|
||||
symbols (and thus require a different font).
|
||||
|
||||
<div align=center>
|
||||
<table>
|
||||
<tr><th align=center>Character</th><th align=left>Symbol</th></tr>
|
||||
<tr><td align=center><kbd>p</kbd></td>
|
||||
<td align=left>play</td></tr>
|
||||
<tr><td align=center><kbd>s</kbd></td>
|
||||
<td align=left>stop</td></tr>
|
||||
<tr><td align=center><kbd>e</kbd></td>
|
||||
<td align=left>pause</td></tr>
|
||||
<tr><td align=center><kbd>n</kbd></td>
|
||||
<td align=left>no sound</td></tr>
|
||||
<tr><td align=center><kbd>m</kbd></td>
|
||||
<td align=left>mono sound</td></tr>
|
||||
<tr><td align=center><kbd>t</kbd></td>
|
||||
<td align=left>stereo sound</td></tr>
|
||||
<tr><td align=center><kbd>f</kbd></td>
|
||||
<td align=left>stream is a file</td></tr>
|
||||
<tr><td align=center><kbd>v</kbd></td>
|
||||
<td align=left>stream is a video CD</td></tr>
|
||||
<tr><td align=center><kbd>d</kbd></td>
|
||||
<td align=left>stream is a DVD</td></tr>
|
||||
<tr><td align=center><kbd>u</kbd></td>
|
||||
<td align=left>stream is a URL</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<b>Note:</b> currently only 'p', 's', 'e', 'n', 'm' and 't' is used.
|
||||
</p>
|
||||
|
||||
<h2><a name="guimsg">Appendix A: GUI messages</a></h2>
|
||||
|
||||
These are the messages that can be generated by buttons, potmeters and
|
||||
menu entries.
|
||||
|
||||
<p>
|
||||
<em class=note>
|
||||
<b>Note:</b> some of the messages might not work as expected (or not
|
||||
work at all). As you know, the GUI is under development.</em>
|
||||
|
||||
<p>
|
||||
<i>Playback control:</i>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>evNext</b>
|
||||
<dd>Jump to next track in the playlist.
|
||||
|
||||
<dt><b>evPause</b>
|
||||
<dd>Pause playing.
|
||||
|
||||
<dt><b>evPauseSwitchToPlay</b>
|
||||
<dd>Forms a switch together with <i>evPlaySwitchToPause</i>. They can be
|
||||
used to have a common play/pause button. Both messages should be assigned
|
||||
to buttons displayed at the very same position in the window. This
|
||||
message pauses playing and the image for the <i>evPlaySwitchToPause</i> button
|
||||
is displayed (to indicate that the button can be pressed to continue playing).
|
||||
|
||||
<dt><b>evPlay</b>
|
||||
<dd>Start playing.
|
||||
|
||||
<dt><b>evPlaySwitchToPause</b>
|
||||
<dd>The opposite of <i>evPauseSwitchToPlay</i>. This message starts playing
|
||||
and the image for the <i>evPauseSwitchToPlay</i> button is displayed (to
|
||||
indicate that the button can be pressed to pause playing).
|
||||
|
||||
<dt><b>evPrev</b>
|
||||
<dd>Jump to previous track in the playlist.
|
||||
|
||||
<dt><b>evStop</b>
|
||||
<dd>Stop playing.
|
||||
</dl>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
<i>Seeking in the stream:</i>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>evBackward10sec</b>
|
||||
<dt><b>evBackward1min</b>
|
||||
<dt><b>evBackward10min</b>
|
||||
<dd>Seek backward 10 seconds / 1 minute / 10 minutes.
|
||||
|
||||
<dt><b>evForward10sec</b>
|
||||
<dt><b>evForward1min</b>
|
||||
<dt><b>evForward10min</b>
|
||||
<dd>Seek forward 10 seconds / 1 minute / 10 minutes.
|
||||
|
||||
<dt><b>evSetMoviePosition</b>
|
||||
<dd>Seek to position (can be used by a potmeter; the relative
|
||||
value (0-100%) of the potmeter is used).
|
||||
</dl>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
<i>Video control:</i>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>evDoubleSize</b>
|
||||
<dd>Set the movie window to double size.
|
||||
|
||||
<dt><b>evFullScreen</b>
|
||||
<dd>Switch fullscreen mode on/off.
|
||||
|
||||
<dt><b>evNormalSize</b>
|
||||
<dd>Set the movie window to its normal size.
|
||||
</dl>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
<i>Audio control:</i>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>evDecAudioBufDelay</b>
|
||||
<dd>Decrease audio buffer delay.
|
||||
|
||||
<dt><b>evDecBalance</b>
|
||||
<dd>Decrease balance.
|
||||
|
||||
<dt><b>evDecVolume</b>
|
||||
<dd>Decrease volume.
|
||||
|
||||
<dt><b>evIncAudioBufDelay</b>
|
||||
<dd>Increase audio buffer delay.
|
||||
|
||||
<dt><b>evIncBalance</b>
|
||||
<dd>Increase balance.
|
||||
|
||||
<dt><b>evIncVolume</b>
|
||||
<dd>Increase volume.
|
||||
|
||||
<dt><b>evMute</b>
|
||||
<dd>Mute/unmute the sound.
|
||||
|
||||
<dt><b>evSetBalance</b>
|
||||
<dd>Set balance (can be used by a potmeter; the relative
|
||||
value (0-100%) of the potmeter is used).
|
||||
|
||||
<dt><b>evSetVolume</b>
|
||||
<dd>Set volume (can be used by a potmeter; the relative
|
||||
value (0-100%) of the potmeter is used).
|
||||
</dl>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
<i>Miscellaneous:</i>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>evAbout</b>
|
||||
<dd>Open the about window.
|
||||
|
||||
<dt><b>evEqualeaser</b>
|
||||
<dd>Turn the equalizer on/off.
|
||||
|
||||
<dt><b>evExit</b>
|
||||
<dd>Quit from the program.
|
||||
|
||||
<dt><b>evIconify</b>
|
||||
<dd>Iconify the window.
|
||||
|
||||
<dt><b>evLoad</b>
|
||||
<dd>Load a file (by opening a file browser window, where you can choose a
|
||||
file).
|
||||
|
||||
<dt><b>evLoadPlay</b>
|
||||
<dd>Does the same as <i>evLoad</i>, but it automatically starts
|
||||
playing after the file is loaded.
|
||||
|
||||
<dt><b>evNone</b>
|
||||
<dd>Empty message, it has no effect. (Except maybe in CVS versions. :-))
|
||||
|
||||
<dt><b>evPlayList</b>
|
||||
<dd>Open/close the playlist window.
|
||||
|
||||
<dt><b>evPreferences</b>
|
||||
<dd>Open the preferences window.
|
||||
|
||||
<dt><b>evSkinBrowser</b>
|
||||
<dd>Open the skin browser window.
|
||||
</dl>
|
||||
</blockquote>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,127 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=white>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P><B><A NAME=2.3.2>2.3.2. Audio output devices</A></P></B>
|
||||
|
||||
<P><B>MPlayer</B>'s audio interface is called <I>libao2</I>. It currently
|
||||
contains these drivers :</P>
|
||||
|
||||
<TABLE BORDER=0>
|
||||
|
||||
<TD COLSPAN=4><P><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>General:</B></P></TD>
|
||||
|
||||
<TR><TD> </TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>oss</TD><TD> </TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS (ioctl) driver</TD></TR>
|
||||
<TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>sdl</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>SDL driver (supports up/downsampling, <B>ESD</B>, <B>ARTS</B> etc)</TD></TR>
|
||||
<TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>nas</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>NAS (Network Audio System) driver</TD></TR>
|
||||
<TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>alsa5</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>native ALSA 0.5 driver</TD></TR>
|
||||
<TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>alsa9</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>native ALSA 0.9 driver (works, but has problems -> use OSS)</TD></TR>
|
||||
<TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>sun</TD><TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>SUN audio driver (/dev/audio) for BSD and Solaris8 users</TD></TR>
|
||||
|
||||
</TABLE>
|
||||
|
||||
<P>The fact is, Linux soundcard drivers are usually shit, and always as
|
||||
incompatible as they can be. It MAY take a while to find your optimal settings.</P>
|
||||
<P><UL>
|
||||
<LI>if you have OSS as driver, first try with <I>-ao oss</I> (this is the default).
|
||||
If you experience glitches, halts or anything out of the ordinary, have a
|
||||
look at <I>-ao sdl</I> (NOTE: of course you'll have to have a new SDL library and its
|
||||
devel pair installed). It helps in a lot of cases (it also supports ESD, ARTS, and
|
||||
up/downsampling. /esd is GNOME's, arts is KDE's sound daemon/).</LI>
|
||||
<LI>if you have ALSA version 0.5, then you ALMOST always have to use <I>-ao alsa5</I> ,
|
||||
since 0.5 has buggy OSS emulation code, and will <B>crash MPlayer</B> with
|
||||
a message like this:<BR>
|
||||
<UL>
|
||||
<CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></UL>
|
||||
</LI>
|
||||
<LI>if you have ALSA version 0.9, use <I>-ao oss</I> or <I>-ao sdl</I> as you
|
||||
wish. You can also use <I>-ao alsa9</I> as it works now, however it has many
|
||||
problems (losing sync, disappearing audio, etc).</LI>
|
||||
</UL></P>
|
||||
|
||||
<P>On <B>Solaris/FreeBSD</B> systems, use the SUN audio driver with the
|
||||
<I>-ao sun</I> option, otherwise you'll have no video, nor audio playing.</P>
|
||||
|
||||
<P><B><A NAME=2.3.2.1>2.3.2.1. Soundcard experiences, recommendations</A></B></P>
|
||||
|
||||
<P><TABLE BORDER=0 WIDTH=100%>
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>VIA onboard chipset (via82cxxx) 48Khz only</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Driver:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> from <A HREF="http://sourceforge.net/project/showfiles.php?group_id=3242&release_id=59602">here</A></TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Aureal Vortex 2</B></TD><TR>
|
||||
<TD> </TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS/Pro:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD>48</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Driver:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Driver2:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">here</A><BR>
|
||||
(<I>buffer size increased to 32k</I>)</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>GUS PnP</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS/Pro:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>SB Live!</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>(?)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>SB AWE 64</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>max 44kHz</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48kHz sounds shit</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Gravis UltraSound ACE</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>max 44Khz. <I>not OK</I></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Gravis UltraSound MAX</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (?)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ESS 688</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (?)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>C-Media cards (which ones?)</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>not OK (hissing) (?)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (?)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Yamaha cards (*ymf*)</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>not OK (?) (maybe -ao sdl)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK only with ALSA 0.5 with OSS emulation <B>AND</B> <I>-ao sdl</I> (!) (?)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Cards with envy24 chips (like Terratec EWS88MT)</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS/Pro:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
|
||||
|
||||
<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>PC Speaker or DAC</B></TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (<I>use the SDL driver : -ao sdl</I>)</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>the driver emulates 44.1 maybe more</TD><TR>
|
||||
<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Driver:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF="ftp://ftp.infradead.org/pub/pcsp">ftp://ftp.infradead.org/pub/pcsp</A></TD><TR>
|
||||
</TABLE></P>
|
||||
|
||||
<P><UL>
|
||||
<LI>on Linux, use at least kernel 2.4 if possible, 2.2 isn't tested
|
||||
<LI>if sound clicks when playing from CD-ROM, turn on IRQ unmasking !
|
||||
for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!)
|
||||
This is recommended anyways... (for XMMS, etc...)
|
||||
Read section <A HREF="cd-dvd.html#4.1">4.1</A>.
|
||||
<LI>don't use your soundcard by other application ( for ex. XMMS ) !
|
||||
if you use ESD, start MPlayer with the '-vo sdl:esd' option !
|
||||
<LI>Please tell us how MPlayer and your soundcard(s) worked together!
|
||||
</UL></P>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,128 @@
|
||||
<HTML>
|
||||
<BODY BGCOLOR=white>
|
||||
|
||||
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
||||
|
||||
<P><B><I>In medias res</I></B></P>
|
||||
|
||||
<P>There are two major topic which always causes huge dispute and flame on the
|
||||
<A HREF="http://www.MPlayerHQ.hu/cgi-bin/htsearch">mplayer-users</A>
|
||||
mailing list. Number one is of course the topic of the</P>
|
||||
|
||||
<P><B><I>GCC 2.96 series</I></B></P>
|
||||
|
||||
<P><B>Also read <A HREF="gcc-2.96-3.0.html">this</A> text !!!</B></P>
|
||||
|
||||
<P>The <I>background</I> : there were/are the GCC <B>2.95</B> series. The
|
||||
best of them was 2.95.3 . Please note the style of the version numbering.
|
||||
This is how the GCC team numbers their compilers. The 2.95 series are good.
|
||||
We never ever saw anything that was miscompiled because of the 2.95's faultiness.</P>
|
||||
|
||||
<P>The <I>action</I> : <B>RedHat</B> started to include a GCC version of <B>2.96</B>
|
||||
with their distributions. Note the version numbering. This should be the GCC
|
||||
team's versioning. They patched the CVS version of GCC (something between 2.95 and 3.0)
|
||||
They patched it very deep, and used this version in the distrib because 3.0
|
||||
wasn't out at time, and they wanted IA64 support ASAP (business reasons).
|
||||
Oh, and GCC 2.95 miscompiles bash on the s390 architecture (there is
|
||||
no RedHat distribution for s390..) .</P>
|
||||
|
||||
<P>The <I>facts</I> : <B>MPlayer</B>'s compile process needs the
|
||||
<CODE>--disable-gcc-checking</CODE> to proceed upon detecting a GCC version of
|
||||
2.96 (apparently it needs this option on <B>egcs</B> too. It's because we don't
|
||||
test <B>MPlayer</B> on egcs. Pardon us, but we rather develop <B>MPlayer</B>).
|
||||
If you know <B>MPlayer</B>, you should know that it has great speed. It
|
||||
achieves this by having overoptimized MMX/SSE/3DNow/etc codes, fastmemcpy, and
|
||||
lots of other features. <B>MPlayer</B> contained MMX/3DNow instructions in a
|
||||
syntax that all Linux compilers accept it... except RedHat's GCC (it's more
|
||||
standard compliant). It simply <B><I>skips</I></B> them. It doesn't give
|
||||
errors. It doesn't give warnings. <B>And</B>, there is Lame. With gcc 2.96, its quality check
|
||||
(<CODE>make test</CODE> after compiling) <I>doesn't even run !!!</I>
|
||||
But hey, it compiles bash on s390 and IA64.</P>
|
||||
|
||||
<P>The <I>statements</I> : most developers around the world begun having
|
||||
bad feelings about RedHat's GCC 2.96 , and told their RedHat users to
|
||||
compile with other compiler than 2.96 . RedHat users' disappointment slowly
|
||||
went into anger. What was all good
|
||||
for, apart from giving headaches to developers, putting oil on anti-RedHat
|
||||
flame, confusing users? The answer, I do not know.</P>
|
||||
|
||||
<P><I>Present age, present time</I> : RedHat says that GCC 2.96-85 and above
|
||||
is fixed, and works properly. Note the versioning. They should have started
|
||||
with something like this. What about GCC 2.96.85 ? It doesn't matter now.
|
||||
I don't search, but I still see bugs with 2.96 . It doesn't matter now,
|
||||
hopefully now <B>RedHat will forget about 2.96</B> and turn towards <B>3.0</B>.
|
||||
Towards a deep patched 3.0...
|
||||
</P>
|
||||
|
||||
<P><I>What I don't understand</I> is why are we hated by RedHat users for
|
||||
putting warning messages, and stay-away documents in <B>MPlayer</B> .
|
||||
Why are we called "brain damaged", "total asshole", "childish" by
|
||||
<B>RedHat users</B>, on our mailing list, and even on the <B>redhat-devel</B> .
|
||||
They even considered forking <B>MPlayer</B> for themselves. RedHat users.
|
||||
Why? It's RedHat that made the compiler, why do <U>you</U> have to hate us?
|
||||
Are you <U>that</U> fellow RedHat worshippers? Please stop it. We don't hold
|
||||
a grudge against users, doesn't matter how loud you advertise its contrary.
|
||||
Please go flame Linus Torvalds, the DRI developers (oh, now I know why
|
||||
there were laid off by VA!), the Wine, avifile. Even if we are arrogant,
|
||||
are we not the same as the previously listed ones? Why do <B>we</B> have
|
||||
to suffer from your unrightful wrath?</P>
|
||||
|
||||
<P>I'm closing this topic. Think over it please. I (Gabucino) personally begun
|
||||
with <A HREF="http://www.redhat.com">RedHat</A>, then used Mandrake (sorry I
|
||||
don't know their URL), now I have <A
|
||||
HREF="http://www.linuxfromscratch.com">LFS</A>. Never held a grudge against
|
||||
RedHat or RedHat users, and I still don't. Hate is only comfortable. It
|
||||
won't bring you anywhere.</P>
|
||||
|
||||
<P><B><I>Binary distribution of MPlayer</I></B></P>
|
||||
|
||||
<P>Tons of users asked us about this. For example Debian users tend to say: Oh,
|
||||
I can <CODE>apt-get install avifile</CODE>, why should I <B>compile MPlayer</B> ?
|
||||
While this may sound reasonable, the problem lies a bit deeper than
|
||||
those-fuckin-MPlayer-developers-hate-gcc-2.96-and-RedHat-and-Debian.</P>
|
||||
|
||||
<P>Reasons: <B>Law</B></P>
|
||||
|
||||
<P><B>MPlayer</B> describes the <U>sourcecode</U>. It contains several files with incompatible
|
||||
licenses especially on the redistribution clauses. As source files, they are
|
||||
allowed to coexist in a same project.</P>
|
||||
|
||||
<P>Therefore, <U>NEITHER BINARIES NOR BINARY PACKAGES OF <B>MPlayer</B> ARE ALLOWED TO EXIST SINCE
|
||||
SUCH OBJECTS BREAK LICENSES</U>. PEOPLE WHO DISTRIBUTE SUCH BINARY PACKAGES ARE
|
||||
DOING ILLEGAL ACTIVITIES.</P>
|
||||
|
||||
<P>So if you know somebody who maintains a binary package then forward her/him
|
||||
this text and (ask him to) contact us. What (s)he is doing is illegal and IT IS
|
||||
NO LONGER <B>MPlayer</B>, but <U>his/her</U> mplayer. If it breaks, it is
|
||||
his/her fault. Don't come and cry on the <B>MPlayer</B> mailing lists, you will
|
||||
most likely be blacklisted.</P>
|
||||
|
||||
<P>For example that french guy called <B>Christian Marillat</B> who denied our
|
||||
request, and is still distributing binary Debian packages of <B>MPlayer</B>,
|
||||
despite the fact that there was at least one user who downloaded it and failed
|
||||
(of course compiling from source helped him). And there is <B>Guillaume
|
||||
Rousse</B>, who is doing the same, but making RPMs for Mandrake. Do not support
|
||||
criminals!</P>
|
||||
|
||||
<P>Reasons: <B>Technical</B></P>
|
||||
|
||||
<P>
|
||||
<UL>
|
||||
<LI><B>MPlayer's</B> speed (MMX, SSE, fastmemcpy, etc) optimizations are
|
||||
determined during compilation. Thus a compiled binary contains very
|
||||
processor-specific code. An <B>MPlayer</B> binary compiled for K6 will die
|
||||
on Pentiums and vice versa. This has to be workarounded by runtime
|
||||
detection, which is not an easy thing to do becase it causes massive speed
|
||||
decrease. If you don't believe (it was explained in details 10000 times on
|
||||
mplayer-users, search the archive), solve it and send us a patch. Someone
|
||||
begun work on it, but disappeared since then.</LI>
|
||||
<LI><B>MPlayer's</B> video/audio system is not plugin based. It is compiled
|
||||
into the binary, thus making the binary depend on various libraries (the
|
||||
GUI depends on GTK, DivX4 depends on libdivxdecore, SDL depends on libSDL,
|
||||
every SDL release contains an unique bug that has to be workarounded during
|
||||
compiletime, X11 output compiles differently for X3 and X4, etc). You may
|
||||
say: yes, let's make 30 versions of downloadable binaries! We won't. We
|
||||
will make these stuff pluggable in the future.</LI>
|
||||
</UL>
|
||||
|
||||
</HTML>
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user