2762
|
1 <HTML>
|
|
2 <BODY BGCOLOR=WHITE>
|
|
3
|
|
4 <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
|
5
|
|
6
|
|
7 <P><B><A NAME=2.1>2.1. Támogatott formátumok</A></B></P>
|
|
8
|
|
9 <P>Az <B>MPlayer</B> a következő egységeket/formátumokat ismeri :<BR>
|
|
10 <UL>
|
|
11 <LI><A HREF="#2.1.1.1">VCD</A> (Video CD) közvetlen a CD-ROM-ról, vagy image file-ból</LI>
|
|
12 <LI><A HREF="#2.1.1.1">DVD</A>, közvetlenül a lemezről, libdvdread-et használva dekódoláshoz</LI>
|
|
13 <LI><A HREF="#2.1.1.1">MPEG 1/2</A> System Stream (PS/PES/VOB) és Elementary Stream (ES) file
|
|
14 formátumok
|
|
15 <LI><A HREF="#2.1.1.2">RIFF AVI</A> formátum
|
|
16 <LI><A HREF="#2.1.1.3">ASF/WMV</A> 1.0 formátum
|
|
17 <LI><A HREF="#2.1.1.4">QT/MOV</A> formátum
|
|
18 <LI><A HREF="#2.1.1.5">VIVO</A> formátum (.viv fileok)
|
|
19 <LI><A HREF="documentation.html#3.3">file olvasása standard bemenetről</A>, hálózatról HTTP-n keresztül
|
|
20 </UL></P>
|
|
21
|
|
22 <P>Megjegyzés: realmedia-val (.ra/.rm) kapcsolatban lásd a FAQ-t!</P>
|
|
23
|
|
24 <P>Fontos tisztázni egy elterjedt tévhitet. Amikor az emberek egy <B>.AVI</B>
|
|
25 kiterjesztésű file-t látnak, azonnal azt mondják hogy az nem MPEG file.
|
|
26 Ez nem igaz. Legalábbis nem ebben a formában. Ha azt mondod nekik hogy ez
|
|
27 a file tartalmazhat MPEG videot is, kinevetnek. Nyugodtan verd bucira
|
|
28 a fejüket, és küldd el őket RTFM-be.</P>
|
|
29
|
|
30 <P>Ugyanis, a <B>codec</B> nem egyenlő a <B>file formátummal</B>.<BR>
|
|
31 A video <B>codec-ek</B> például a következők: MPEG1, MPEG2, DivX, Indeo5, 3ivx.<BR>
|
|
32 És a video <B>formátumok</B>: MPG, VOB, AVI, ASF.<BR>
|
|
33 </P>
|
|
34
|
|
35 <P>Elméletben nyugodt szívvel beletehetsz OpenDivX videot és MP3 audiot
|
|
36 egy <B>.MPG</B> formátumú file-ba. Annyi a probléma hogy a legtöbb lejátsz
|
|
37 nem fogja lejátszani, mert MPEG1 videot és MP2 audiot várnak (az <B>.MPG</B>-ben
|
|
38 nem lehet megadni hogy milyen formátumban van benne a video és audio, mint
|
|
39 például az <B>.AVI</B>-ban). Van tegyél MPEG1 videot .AVI-ba. Például az
|
|
40 <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> tud ilyen fileokat
|
|
41 létrehozni.</P>
|
|
42
|
|
43 <P>Audionál a <B>codec</B> és <B>formátum</B> gyakorlatilag ugyanazt
|
|
44 jelenti.</P>
|
|
45
|
|
46
|
|
47 <P><B><A NAME=2.1.1>2.1.1. Video formátumok</A></B></P>
|
|
48
|
|
49
|
|
50 <P><B><A NAME=2.1.1.1>2.1.1.1. MPG, VOB, DAT file-ok</A></B></P>
|
|
51
|
|
52 <P>
|
|
53 <LI>MPG : this is the most <B>basic</B> form of MPEG file formats. Contains
|
|
54 MPEG1 video, and MP2 audio.</LI>
|
|
55 <LI>VOB : this is the MPEG file format on <B>DVD</B>s. Contains optionally
|
|
56 encoded MPEG2 video, and usually AC3 audio.<BR>
|
|
57 <B>Read the <A HREF="cd-dvd.html#4.2">DVD section</A> !</B></LI>
|
|
58 <LI>DAT : this is the MPEG file format on <B>Video CD</B>s. It's the same
|
|
59 as the MPG, but due to the nature VCDs are created and Linux is designed,
|
|
60 the DAT files can't be played nor copied from VCDs. You have to use the
|
|
61 <CODE>-vcd</CODE> option to play the VideoCD.</LI>
|
|
62 </P>
|
|
63
|
|
64 <P>One important feature for MPGs is that they have a field to describe
|
|
65 the aspect ratio of the video stream within. For example SVCDs have
|
|
66 480x480 resolution video, and in the header that field is set to 4:3, so
|
|
67 it's played at 640x480. AVI files don't have this field, so one has to
|
|
68 scale it during encoding.</P>
|
|
69
|
|
70
|
|
71 <P><B><A NAME=2.1.1.2>2.1.1.2. AVI file-ok</A></B></P>
|
|
72
|
|
73 <P>Designed by Micro$oft, the <B>AVI (Audio Video Interleaved)</B> is a
|
|
74 widespread multipurpose format, currently used mostly for DivX and DivX4
|
|
75 videos. Has many known drawbacks, and inabilities (for example in streaming).
|
|
76 Has support for one video stream, and 99 audio streams. Can be as big as
|
|
77 2Gb. There exists an extension for it to be bigger, called <B>OpenDMS</B>.
|
|
78 M$ currently strongly discourages its use and propagates ASF/WMV. Not if
|
|
79 anybody cares.<BR>
|
|
80 <B>NOTE</B> : DV cameras can create two types of AVI format, one is the usual and
|
|
81 playable, the other is neither.</P>
|
|
82
|
|
83
|
|
84 <P><B><A NAME=2.1.1.3>2.1.1.3. ASF/WMV file-ok</A></B></P>
|
|
85
|
|
86 <P>ASF is a new very undocumented fileformat from M$, and WMV is its
|
|
87 successor. They are very commercial, and anyone who writes an opensource
|
|
88 parser for them, soon meets certain doom. While creating the parser, it
|
|
89 was obvious to see how bulky, shit, and unusable they are. Not if anybody
|
|
90 would expect something else from M$.
|
|
91
|
|
92
|
|
93 <P><B><A NAME=2.1.1.4>2.1.1.4. QT/MOV file-ok</A></B></P>
|
|
94
|
|
95 <P>They are Apple's formats. Not much to say, basically well designed,
|
|
96 multipurpose, streamable, many features etc. Kinda hard to find documentation,
|
|
97 but we think the parser is perfect.
|
|
98
|
|
99 <P><B><A NAME=2.1.1.5>2.1.1.5. VIV file-ok</A></B></P>
|
|
100
|
|
101 <P>Hey this is new code in <B>MPlayer</B>, be gentle! Seeking is
|
|
102 currently nonexistent, audio too. TODO : complete this section.</P>
|
|
103
|
|
104
|
|
105 <P><B><A NAME=2.1.2>2.1.2. Audio formátumok</A></B></P>
|
|
106
|
|
107 <P>Currently <B>MPlayer</B> is still a <B>Movie</B> and not a <B>Media</B>
|
|
108 player, thus the pure audio formats (for example MP3, WAV, audio ASF) are
|
|
109 unplayable. Use <A HREF="http://www.xmms.org">xmms</A>, <A HREF="http://www.mpg123.de">mpg123</A>
|
|
110 or whatever.</P>
|
|
111
|
|
112 </BODY>
|
|
113 </HTML>
|