Mercurial > mplayer.hg
annotate TOOLS/README @ 32204:0a81c931ecb5
Mark functs not used outside of the file as static, remove from header; fixes:
libvo/vesa_lvo.c:187: warning: no previous prototype for 'vlvo_draw_slice'
libvo/vesa_lvo.c:205: warning: no previous prototype for 'vlvo_draw_frame'
libvo/vesa_lvo.c:214: warning: no previous prototype for 'vlvo_flip_page'
libvo/vesa_lvo.c:275: warning: no previous prototype for 'vlvo_draw_osd'
libvo/vesa_lvo.c:312: warning: no previous prototype for 'vlvo_query_info'
author | diego |
---|---|
date | Fri, 17 Sep 2010 10:31:24 +0000 |
parents | 3c1f75f4affe |
children |
rev | line source |
---|---|
14801 | 1 README for the TOOLS directory |
2 ============================== | |
3 | |
4 Preamble | |
5 -------- | |
6 | |
7 In this directory you can find some nice scripts and code that makes | |
8 using MPlayer and MEncoder easier, for example scripts for DVD track | |
9 encoding in three pass mode or creating SVCDs from a movie. | |
10 | |
22843 | 11 FIXME: Document the following tools: |
16656 | 12 |
21069 | 13 bmovl-test |
16656 | 14 |
15 | |
14801 | 16 MPlayer scripts in the TOOLS dir |
17 -------------------------------- | |
18 | |
22815 | 19 edgedetect.fp, emboss.fp |
20 | |
23734 | 21 Author: Reimar Döffinger |
22815 | 22 |
23 Description: Examples of custom fragment program for OpenGL video out driver | |
24 | |
25 Usage: mplayer -vo gl:yuv=4:customprog=edgedetect.fp | |
26 | |
27 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
28 midentify.sh |
14801 | 29 |
30 Author: Tobias Diedrich | |
31 | |
32 Description: Runs 'mplayer -identify' for all arguments while preventing | |
33 video window flashing. | |
34 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
35 Usage: midentify.sh file1 [file2 ...] |
14801 | 36 |
37 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
38 mpconsole.sh |
14801 | 39 |
40 Author: Rich Felker | |
41 | |
42 Description: Script to run MPlayer on the console (fbdev/mga_vid/etc.) without | |
43 the console text and/or flashing cursor getting in the way. | |
44 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
45 Usage: mpconsole.sh [mplayer options] |
14801 | 46 |
47 | |
48 mplmult.sh | |
49 | |
23734 | 50 Author: Reimar Döffinger |
14801 | 51 |
52 Description: Example how to output video on multiple windows in sync. Might | |
53 be even more useful in combination with -vo ggi to distribute | |
54 the video arbitrarily. | |
55 | |
56 Usage: mplmult.sh <n> <options> | |
21069 | 57 n Number of MPlayer instances that display the video. |
58 options Any options you would pass to MPlayer, more than | |
59 one file will usually not work. | |
14801 | 60 |
61 | |
16656 | 62 subsearch.sh |
63 | |
64 Author: Alex Beregszaszi | |
65 | |
66 Description: Collects subtitle files from the directory given as argument | |
67 ('.' if none is given) and its subdirectories and prints | |
68 them as a comma separated list to stdout. | |
69 | |
70 Usage: subsearch.sh [directory] | |
71 mplayer -sub `subsearch.sh` movie | |
72 | |
73 | |
14801 | 74 wma2ogg.pl |
75 | |
76 Author: Peter Simon | |
77 | |
78 Description: Converts WMA files to Ogg or MP3. | |
79 | |
80 Usage: wma2ogg [options] <-f FILE1 | -f FILE2 ... | -a> | |
81 -f, -file filename | |
82 -a converts all WMA files in the current directory | |
83 -t output filetype (ogg, mp3) [default=ogg] | |
84 -lame I wanna use L.A.M.E. sure enough! | |
85 -br bitrate (kb/s) [default=from the WMA] | |
86 -del remove WMA file(s) after the transcoding | |
87 | |
88 | |
89 | |
90 MEncoder scripts in the TOOLS dir | |
91 --------------------------------- | |
92 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
93 divx2svcd.sh |
14801 | 94 |
95 Author: Miklos Vajna | |
96 | |
97 Description: A simple utility that creates an SVCD from a video in an AVI | |
98 container. | |
99 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
100 Usage: divx2svcd.sh <input_avi> [options] |
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
101 see 'divx2svcd.sh -h' for more info |
14801 | 102 |
103 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
104 mencvcd.sh |
14801 | 105 |
23734 | 106 Author: Jürgen Hammelmann |
14801 | 107 |
108 Description: Converts DVD (or anything else that MPlayer plays) to (S)VCD | |
109 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
110 Usage: mencvcd.sh <basename> [mencvcd.sh options] [mplayer options] |
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
111 see 'mencvcd.sh -h' for more info |
14801 | 112 |
113 Note: Requires MPlayer, mjpegtools, VCDImager, cdrdao, and optionally | |
114 LAME, tooLAME and SoX. | |
115 | |
116 | |
117 dvd2divxscript.pl | |
118 | |
119 Author: Florian Schilhabel | |
120 | |
121 Description: Yet another DVD to divx helper script. | |
122 This script encodes a DVD track in three pass mode to MPEG-4 with | |
123 libavcodec. Optionally it writes the resulting movie file to | |
124 CD-ROM the corresponding audio track to MP3. It can also shut | |
125 down the computer when it finishes. If you like, you can | |
126 watch the MEncoder output on /dev/tty8. | |
127 | |
128 Usage: --help show help | |
129 --abr (AudioBitRate) Please enter the desired bitrate this | |
130 can be either [96|128|192] kbit/sec (default: 128). | |
131 --lang Specify the Language of the audio track this can be | |
132 for example <en> or <de> (default: <de>). | |
133 --dvd Specify the DVD track you want to encode. | |
134 --cdsize Specify the size of your CD-ROM (default: 700MB). | |
135 --shutdown Shutdown the system, when the encoding process has | |
136 finished. Needs appropriate privileges. | |
137 --out Specify the name of your encoded movie. The file | |
138 extension will be appended automatically. | |
139 --writecd Takes the newly created movie and writes it to a | |
140 CD-ROM. | |
141 --writedev cdrecord device identifier, for example 0,1,0 | |
142 --speed writing speed (default: 4) | |
143 --dvd-device device to pull the video off (default: /dev/dvd) | |
144 | |
145 | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
146 aconvert.sh |
16267
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
147 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
148 Author: Jonas Jermann |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
149 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
150 Description: A hack to allow MEncoder to read respectively encode from audio |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
151 only files. |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
152 |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
25802
diff
changeset
|
153 Usage: aconvert.sh <"input file"> <"output file"> <"options"> |
16267
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
154 If no options are specified the following is assumed: |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
155 -oac lavc -lavcopts acodec=mp3:abitrate=192 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
156 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
157 Note: The script is probably bash dependent and it's just a quick |
21069 | 158 hack, feel free to improve it (or much better: fix MEncoder ;). |
16267
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
159 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
160 |
14801 | 161 |
16996
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
162 qepdvcd.sh |
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
163 |
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
164 Author: Reynaldo H. Verdejo Pinochet |
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
165 |
21069 | 166 Description: converter from any supported format to VCD/SVCD PAL/NTSC |
16996
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
167 |
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
168 Usage: qepdvcd.sh file <options> |
16997 | 169 Run with no arguments to see the list of options. |
16996
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
170 |
16997 | 171 Note: You will need vcdimager/cdrecord to master/burn the resulting |
172 files. | |
173 | |
174 | |
17507
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
175 |
14801 | 176 Tech scripts in the TOOLS dir |
177 ----------------------------- | |
178 | |
179 calcbpp.pl | |
180 | |
181 Author: Moritz Bunkus | |
182 | |
183 Description: A script that calculates the $bpp for a movie, mentioned in | |
184 DOCS/tech/encoding-tips.txt, see that document for more info. | |
185 | |
186 Usage: calcbpp.pl <resolution> <aspect ratio> <bitrate> <fps> | |
187 resolution: the cropped but unscaled resolution | |
188 (use '-vf cropdetect') | |
189 aspect ratio: the encoded aspect ratio. All DVDs come at | |
190 720x576 but contain a flag that tells the player | |
191 wether it should display the DVD at an aspect | |
192 ratio of 4/3 (1.333) or at 16/9 (1.777). Have a | |
193 look at MPlayer's output - there's something | |
194 about 'prescaling'. That's what you are looking | |
195 for. | |
196 bitrate: the video bitrate in kbit/s | |
197 fps: the fps | |
198 | |
199 example: calcbpp.pl 720x440 16/9 896 25 | |
200 | |
201 | |
202 countquant.pl | |
203 | |
204 Author: Moritz Bunkus | |
205 | |
206 Description: Counts the quantizers used for the encoding, mentioned in | |
207 DOCS/tech/encoding-tips.txt, see that document for more info. | |
208 | |
209 Usage: countquant.pl < divx2pass.log | |
210 It will print out which quantizer was used how often. If you see | |
211 that e.g. the lowest quantizer (vqmin=2) gets used for > 95% of | |
212 the frames then you can safely increase your picture size. | |
213 | |
214 | |
215 plotpsnr.pl | |
216 | |
217 Author: Jonas Jermann | |
218 | |
219 Description: Draw PSNR log graphs using gnuplot. | |
220 | |
221 Usage: plotpsnr.pl [options] <file> | |
222 -h, --help Display this help message | |
223 -quant Display quantizers | |
224 -size Display size | |
225 -psnr Display PSNR | |
226 -iframes Display I-frames | |
227 -pframes Display P-frames | |
228 -bframes Display B-frames | |
229 -aframes Display all frames in different colors | |
230 -cmp <file2> Compare two files | |
231 -qs <style> Quantizer style | |
232 -ss <style> Size style | |
233 -ps <style> PSNR style | |
234 | |
235 Default: -quant -size -psnr -qs "p" -ss "i" -ps "p" | |
236 | |
237 Note: Requires gnuplot. Comparison is based on file2. Comparison | |
238 assumes that the frame numbers of both files fit. | |
239 | |
240 | |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
241 psnr-video.sh |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
242 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
243 Author: Matthias Wieser |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
244 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
245 Description: Calculates the PSNR between two existing video files. |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
246 The PSNR is calculated frame by frame. |
16473 | 247 Also prints the overall PSNR. |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
248 The script can be used to: |
16473 | 249 * Compare different softwarescalers (should I use |
250 -sws 1 or -sws 2 ?) | |
251 * Compare different resolutions (is it better to scale | |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
252 down to 640x360 or to 560x320) |
16473 | 253 * Compare different deinterlacers |
254 * Compare different video codecs | |
255 * Compare video filters (is it better to use -vf hqdn3d | |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
256 or lavcopts:nr=400) |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
257 * [...] |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
258 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
259 Usage: psnr-video.sh <file1> <file2> [<frames>] [<options1>] [<options2>] |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
260 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
261 <file1> and <file2> are the video files for which the PSNR |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
262 should be calculated. |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
263 [<frames>] is the number of frames to process, starting |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
264 from frame 1. |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
265 [<options1>] are additional MPlayer options for <file1> |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
266 [<options2>] are additional MPlayer options for <file2> |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
267 |
16473 | 268 A file called ./psnr.dat will be created with the following |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
269 content: |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
270 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
271 File;Y;Cb;Cr |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
272 00000001.ppm;34.23;39.54;40.06;35.426 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
273 00000002.ppm;33.03;38.71;39.26;34.271 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
274 00000003.ppm;33.45;38.91;39.28;34.655 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
275 00000004.ppm;32.72;38.69;38.85;33.972 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
276 [...] |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
277 00000247.ppm;35.55;40.84;42.15;36.785 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
278 PSNR:;35.9887 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
279 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
280 Note: This script relies on the the tool "pnmpsnr" for the |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
281 frame-by-frame PSNR calculation. |
16473 | 282 Be aware that psnr-video.sh needs a lot of temporary space |
21069 | 283 in /tmp/. |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
284 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
285 |
14801 | 286 asfinfo |
287 | |
288 Author: Arpi | |
289 | |
290 Description: a simple ASF header display program | |
291 | |
292 Usage: asfinfo <filename.asf> | |
293 | |
294 Note: Also see MPlayer's -identify option. | |
295 | |
296 | |
297 avi-fix | |
298 | |
299 Author: Arpi | |
300 | |
301 Description: A simple tool to fix chunk sizes in RIFF AVI files. | |
302 | |
303 Usage: avi-fix [-fix] <badfile.avi> | |
304 | |
305 Note: It does not check or fix the index, to do this use | |
306 'mencoder -forceidx -oac copy -ovc copy'. | |
307 | |
308 | |
16241 | 309 checktree.sh |
310 | |
311 Author: Ivo van Poorten | |
312 | |
16245 | 313 Description: Check the source tree for anomalies. |
16241 | 314 |
315 Usage: checktree.sh -help | |
316 | |
21069 | 317 Note: This script is meant for developers to check the current |
16245 | 318 source tree and/or the patches they are working on. |
16241 | 319 |
320 | |
18531 | 321 mphelp_check.py |
322 | |
323 Author: Uoti Urpala | |
324 | |
325 Description: Check console message translations for common errors. | |
326 | |
327 Usage: mphelp_check.py [--missing] <master file> <files to check> | |
328 | |
329 Note: Compares MPlayer translation files against a master file and | |
330 reports conflicting arguments, extra strings not present in | |
331 the base file and (optionally) missing strings. | |
332 | |
333 | |
14801 | 334 cpuinfo |
335 | |
23734 | 336 Author: Jürgen Keil |
14801 | 337 |
338 Description: the prototype ../cpuinfo.c | |
339 | |
340 Note: Used by configure to emulate /proc/cpuinfo on non-Linux systems. | |
341 | |
342 | |
343 dump_mp4 | |
344 | |
345 Author: Arpi | |
346 | |
347 Description: MPEG4-ES stream inspector, dumps the stream startcodes. | |
348 | |
349 | |
350 fastmemcpybench | |
351 | |
23734 | 352 Author: Felix Bünemann |
14801 | 353 |
354 Description: benchmark/testbed for fastmemcpy stuff | |
355 | |
356 Note: Also see fastmem.sh. | |
357 | |
358 | |
359 movinfo | |
360 | |
361 Author: Arpi | |
362 | |
363 Description: Show QuickTime MOV file structure. | |
364 | |
365 Usage: movinfo <filename.mov> | |
366 | |
367 | |
368 vivodump | |
369 | |
370 Author: Arpi | |
371 | |
372 Description: Dump H.263 frame headers from VIVO files. | |
373 | |
374 Usage: vivodump <input_file> <output_file> | |
375 | |
376 | |
16300 | 377 |
14801 | 378 Miscellaneous scripts in the TOOLS dir |
379 -------------------------------------- | |
380 | |
381 subedit.pl | |
382 | |
383 Author: Michael Klepikov | |
384 | |
385 Description: A script for pipelined editing of subtitle files. | |
386 | |
387 Usage: subedit.pl [switches] | |
388 -if,--input-format <fmt> input format; supported: SRT (default: SRT) | |
389 -of,--output-format <fmt> output format; supported: SRT | |
390 (default: input format) | |
391 -s,--shift <time> shift all subtitles by <time> | |
392 (format: [-]hh:mm:ss,fraction) | |
393 -c,--scale <time> scale by adding <time> to overall duration | |
394 -f,--split-from <time> drop subtitles that end before <time> | |
395 -t,--split-to <time> drop subtitles that start after <time> (will | |
396 truncate timing if it overlaps a boundary) | |
397 -r,--renumber renumber SRT subtitles in output | |
398 -d,--debug enable debug output | |
399 -h,--help help message | |
400 | |
401 | |
402 w32codec_dl.pl | |
403 | |
404 Author: Tom Lees | |
405 | |
406 Description: This script will use the Windows Media Player codec download | |
407 infrastructure to aquire the codecs listed in codecs.conf and put | |
408 them in a directory named "codecs/" below the current directory. | |
409 | |
410 Usage: w32codec_dl.pl <codecs.conf location> | |
411 | |
412 Note: You will need the libwww-perl stuff and the cabextract utility | |
413 which can be found at http://www.kyz.uklinux.net/cabextract.php3. | |
414 | |
415 | |
27352
e0aa87d3f88f
Rename binary-codecs.sh to binary_codecs.sh as it is called in Debian.
diego
parents:
27351
diff
changeset
|
416 binary_codecs.sh |
15705
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
417 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
418 Author: Andrea Menucci, thuglife |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
419 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
420 Description: Downloads binary codecs from mplayerhq.hu and installs them |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
421 on a Debian system. |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
422 |
27352
e0aa87d3f88f
Rename binary-codecs.sh to binary_codecs.sh as it is called in Debian.
diego
parents:
27351
diff
changeset
|
423 Usage: binary_codecs.sh install |
e0aa87d3f88f
Rename binary-codecs.sh to binary_codecs.sh as it is called in Debian.
diego
parents:
27351
diff
changeset
|
424 binary_codecs.sh uninstall |
15705
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
425 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
426 |
15829
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
427 vobshift.py |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
428 |
23734 | 429 Author: Gábor Farkas |
15829
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
430 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
431 Description: Adjust the time-info in vobsub files |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
432 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
433 Usage: vobshift.py in.idx out.idx +8.3 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
434 Will shift the time by 8.3 seconds |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
435 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
436 |
14801 | 437 subrip.c |
438 | |
439 Author: Kim Minh Kaplan | |
440 | |
441 Description: Transform VOBsub subtitles into Subrip text subtitles using | |
442 GOCR/JOCR. | |
443 | |
444 Usage: subrip <vobsub basename> [subid [output filename] ] | |
445 | |
446 Note: Requires at least JOCR/GOCR 0.37. | |
447 You will have to change the 'vobsub_id' value if you want a | |
448 subtitle different from number 0. Hint: You can view the | |
449 subtitle that is being decoded with "display subtitle-*.pgm". | |
450 | |
451 | |
452 alaw-gen.c | |
453 | |
454 Author: Arpi | |
455 | |
456 Description: Generates alaw/ulaw tables. | |
457 | |
458 Note: Created to work around a past license issue, no longer useful. | |
15887 | 459 |
460 | |
461 avisubdump.c | |
462 | |
463 Author: Tobias Diedrich | |
464 | |
21069 | 465 Description: Dumps vobsub soft subtitles streams embedded in AVI files. |
15887 | 466 |
21069 | 467 Usage: avisubdump <movie.avi> |
16298 | 468 |
16300 | 469 |
22437 | 470 vfw2menc.c |
471 | |
472 Author: Gianluigi Tiesi | |
473 | |
474 Description: Creates a codec settings file from the Video for Windows codecs | |
475 found in the mplayer codec packs. | |
476 | |
477 Usage: vfw2menc -f <fourcc> -d <codec.dll> -s <settingsfile.mcf> | |
478 -h|--help - displays this help | |
479 -d|--driver filename - dll or drv to load | |
480 -f|--fourcc fourcc - fourcc of selected driver | |
481 -s|--save filename - save settings to file | |
482 -c|--check filename - load and show setting in filename | |
483 -v|--view - displays the config dialog and do nothing | |
484 | |
24527 | 485 Notes: Works on Windows/Linux x86 only. |
22804 | 486 |
487 | |
23996 | 488 modify_reg.c |
489 | |
490 Author: Alan Nisota | |
491 | |
492 Description: Modifies registry file (usually ~/.mplayer/registry) | |
493 | |
494 Usage: modify_reg -r <registry_file> -l | |
495 modify_reg -r <registry_file> -k <key> [-d|-v <value>[-t <type>]] | |
496 -r|--registry - path to registry file | |
497 -l|--list - shows all keys and values | |
498 -k|--key - registry key | |
499 -d|--del - delete key | |
500 -v|--value - new value for key | |
501 -t|--type - key type: string (default) or dword | |
502 | |
503 Notes: Necessary to use CoreAVC with MPlayer | |
504 | |
505 | |
25802
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
506 compare.c |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
507 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
508 Author: Michael Niedermayer |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
509 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
510 Description: Simple file compare program that detects the number of rounding |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
511 errors and dies if the error is too large. |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
512 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
513 Usage: compare <file1> <file2> |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
514 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
515 |
22804 | 516 realcodecs/ |
517 | |
22807 | 518 Author: miscellaneous |
519 | |
520 Description: Wrappers for Linux Real binary codecs used to analyze, alter and | |
521 dump the data flow between RealPlayer and its codecs. | |
22804 | 522 |
22807 | 523 Usage: - Set the path to the RealPlayer codecs directory in the C files. |
524 - Run 'make realcodecs'. | |
525 - Rename the original codecs to match the names expected in the | |
526 wrapper sources. The default is to give them a "real" prefix, | |
527 e.g. realcook.so.6.0. | |
528 - Put the wrappers in the RealPlayer codecs directory. | |
22804 | 529 |
530 Notes: Known to work at least on Linux x86 with RealPlayer8. | |
22933 | 531 |
532 | |
533 | |
534 netstream - access remote streams | |
535 --------------------------------- | |
536 | |
537 netstream allows you to access most MPlayer stream types from a remote host. | |
538 The main purpose of this feature is to make it possible to directly use the | |
539 CD or DVD drive of another computer on the network (provided you have the | |
540 required bandwidth). On the downside some stream types (currently TV and MF) | |
541 are not usable remotely because they are implemented at the demuxer level. | |
542 | |
543 Be aware that currently the server is not secure at all. | |
544 | |
30701
3c1f75f4affe
mention that on windows, you've to use the netstream.exe to build the
attila
parents:
30364
diff
changeset
|
545 Compile the server by running 'make TOOLS/netstream' ('make TOOLS/netstream.exe' |
3c1f75f4affe
mention that on windows, you've to use the netstream.exe to build the
attila
parents:
30364
diff
changeset
|
546 on windows) from the root of mplayer source and then copy the netstream binary |
3c1f75f4affe
mention that on windows, you've to use the netstream.exe to build the
attila
parents:
30364
diff
changeset
|
547 to the right place on your system (usually /usr/local/bin on Unix). Start the |
3c1f75f4affe
mention that on windows, you've to use the netstream.exe to build the
attila
parents:
30364
diff
changeset
|
548 netstream server on the computer you intend to access remotely. There are no |
3c1f75f4affe
mention that on windows, you've to use the netstream.exe to build the
attila
parents:
30364
diff
changeset
|
549 command line arguments. |
22933 | 550 |
551 Play the second track of a VCD on the server with: | |
552 | |
553 mplayer -cache 5000 mpst://servername/vcd://2 | |
554 | |
555 Access files on this server with: | |
556 | |
557 mplayer -cache 5000 mpst://servername//usr/local/movies/lol.avi | |
558 | |
559 Note that paths which do not start with a / will be interpreted as relative to | |
560 the directory where the server is running. The '-cache' option is not needed | |
561 but highly recommended. | |
30364 | 562 |
563 netstream will not take -dvd-device, so you must either symlink | |
564 your drive to /dev/dvd/ or use the dvd:///path/to/dvd. | |
565 for example: mpst://audioserver/dvd:////dev/optical/lg_black_dvd |