Mercurial > mplayer.hg
annotate TOOLS/README @ 22815:4a07c0311e33
document edgedetect.fp, emboss.fp
author | gpoirier |
---|---|
date | Tue, 27 Mar 2007 08:06:20 +0000 |
parents | 499738cca90b |
children | c13fe81f024c |
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 | |
21069 | 11 FIXME: Document all the stuff in the subdirectories: |
16656 | 12 |
21069 | 13 mpfc |
14 benchmark | |
15 bmovl-test | |
16 mwallp | |
17 subfont-c | |
18 GL-test | |
19 TVout | |
20 TVout/matroxset | |
21 TVout/con2fb | |
22 benchmark-gab | |
23 netstream | |
16656 | 24 |
25 | |
14801 | 26 MPlayer scripts in the TOOLS dir |
27 -------------------------------- | |
28 | |
22815 | 29 edgedetect.fp, emboss.fp |
30 | |
31 Author: Reimar Dffinger | |
32 | |
33 Description: Examples of custom fragment program for OpenGL video out driver | |
34 | |
35 Usage: mplayer -vo gl:yuv=4:customprog=edgedetect.fp | |
36 | |
37 | |
14801 | 38 midentify |
39 | |
40 Author: Tobias Diedrich | |
41 | |
42 Description: Runs 'mplayer -identify' for all arguments while preventing | |
43 video window flashing. | |
44 | |
45 Usage: midentify file1 [file2 ...] | |
46 | |
47 | |
48 mpconsole | |
49 | |
50 Author: Rich Felker | |
51 | |
52 Description: Script to run MPlayer on the console (fbdev/mga_vid/etc.) without | |
53 the console text and/or flashing cursor getting in the way. | |
54 | |
55 Usage: mpconsole [mplayer options] | |
56 | |
57 | |
58 mplmult.sh | |
59 | |
60 Author: Reimar Dffinger | |
61 | |
62 Description: Example how to output video on multiple windows in sync. Might | |
63 be even more useful in combination with -vo ggi to distribute | |
64 the video arbitrarily. | |
65 | |
66 Usage: mplmult.sh <n> <options> | |
21069 | 67 n Number of MPlayer instances that display the video. |
68 options Any options you would pass to MPlayer, more than | |
69 one file will usually not work. | |
14801 | 70 |
71 | |
16656 | 72 subsearch.sh |
73 | |
74 Author: Alex Beregszaszi | |
75 | |
76 Description: Collects subtitle files from the directory given as argument | |
77 ('.' if none is given) and its subdirectories and prints | |
78 them as a comma separated list to stdout. | |
79 | |
80 Usage: subsearch.sh [directory] | |
81 mplayer -sub `subsearch.sh` movie | |
82 | |
83 | |
14801 | 84 x2mpsub.sh |
85 | |
86 Author: Gabucino | |
87 | |
88 Description: Converts the subtitles in the current directory into MPsub | |
89 format (subtitles go in ./converted-subtitles/). | |
90 | |
91 Usage: x2mpsub.sh | |
92 | |
93 | |
94 mp.pl | |
95 | |
96 Author: Felix Bnemann | |
97 | |
98 Description: Small helper script that allows to play multiple files with | |
99 MPlayer. Wildcards are supported. | |
100 | |
101 Usage: mp.pl <parameters> <files> | |
102 Where <parameters> are all possible command line switches | |
103 for MPlayer and <files> can be either a list of files, | |
104 like file1 file2 file3 and/or a wildcard definition, | |
105 like *.avi. | |
106 | |
107 example: mp.pl -vo x11 /dvd/VIDEO_TS/VTS_05_*.VOB movie.asf | |
108 | |
109 | |
110 wma2ogg.pl | |
111 | |
112 Author: Peter Simon | |
113 | |
114 Description: Converts WMA files to Ogg or MP3. | |
115 | |
116 Usage: wma2ogg [options] <-f FILE1 | -f FILE2 ... | -a> | |
117 -f, -file filename | |
118 -a converts all WMA files in the current directory | |
119 -t output filetype (ogg, mp3) [default=ogg] | |
120 -lame I wanna use L.A.M.E. sure enough! | |
121 -br bitrate (kb/s) [default=from the WMA] | |
122 -del remove WMA file(s) after the transcoding | |
123 | |
124 | |
125 | |
126 MEncoder scripts in the TOOLS dir | |
127 --------------------------------- | |
128 | |
129 divx2svcd | |
130 | |
131 Author: Miklos Vajna | |
132 | |
133 Description: A simple utility that creates an SVCD from a video in an AVI | |
134 container. | |
135 | |
136 Usage: divx2svcd <input_avi> [options] | |
137 see 'divx2svcd -h' for more info | |
138 | |
139 | |
16656 | 140 menc2pass |
141 | |
142 Author: Felix Bnemann | |
143 | |
144 Description: Helper script to ease MEncoder two pass encoding. Give it all | |
145 the encoding parameters you would pass to mencoder, but leave | |
19970 | 146 out the (v)pass=<n> suboption. |
16656 | 147 |
148 Usage: menc2pass <options> | |
149 | |
150 | |
14801 | 151 mencvcd |
152 | |
153 Author: Jrgen Hammelmann | |
154 | |
155 Description: Converts DVD (or anything else that MPlayer plays) to (S)VCD | |
156 | |
157 Usage: mencvcd <basename> [mencvcd options] [mplayer options] | |
158 see 'mencvcd -h' for more info | |
159 | |
160 Note: Requires MPlayer, mjpegtools, VCDImager, cdrdao, and optionally | |
161 LAME, tooLAME and SoX. | |
162 | |
163 | |
164 dvd2divxscript.pl | |
165 | |
166 Author: Florian Schilhabel | |
167 | |
168 Description: Yet another DVD to divx helper script. | |
169 This script encodes a DVD track in three pass mode to MPEG-4 with | |
170 libavcodec. Optionally it writes the resulting movie file to | |
171 CD-ROM the corresponding audio track to MP3. It can also shut | |
172 down the computer when it finishes. If you like, you can | |
173 watch the MEncoder output on /dev/tty8. | |
174 | |
175 Usage: --help show help | |
176 --abr (AudioBitRate) Please enter the desired bitrate this | |
177 can be either [96|128|192] kbit/sec (default: 128). | |
178 --lang Specify the Language of the audio track this can be | |
179 for example <en> or <de> (default: <de>). | |
180 --dvd Specify the DVD track you want to encode. | |
181 --cdsize Specify the size of your CD-ROM (default: 700MB). | |
182 --shutdown Shutdown the system, when the encoding process has | |
183 finished. Needs appropriate privileges. | |
184 --out Specify the name of your encoded movie. The file | |
185 extension will be appended automatically. | |
186 --writecd Takes the newly created movie and writes it to a | |
187 CD-ROM. | |
188 --writedev cdrecord device identifier, for example 0,1,0 | |
189 --speed writing speed (default: 4) | |
190 --dvd-device device to pull the video off (default: /dev/dvd) | |
191 | |
192 | |
16267
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
193 aconvert |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
194 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
195 Author: Jonas Jermann |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
196 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
197 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
|
198 only files. |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
199 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
200 Usage: aconvert <"input file"> <"output file"> <"options"> |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
201 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
|
202 -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
|
203 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
204 Note: The script is probably bash dependent and it's just a quick |
21069 | 205 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
|
206 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
207 |
14801 | 208 |
16996
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
209 qepdvcd.sh |
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
210 |
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
211 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
|
212 |
21069 | 213 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
|
214 |
17dd370a838a
Added new TOOL to convert 'anything supported' to VCD/SVCD (PAL/NTSC) using mencoder
reynaldo
parents:
16656
diff
changeset
|
215 Usage: qepdvcd.sh file <options> |
16997 | 216 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
|
217 |
16997 | 218 Note: You will need vcdimager/cdrecord to master/burn the resulting |
219 files. | |
220 | |
221 | |
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
|
222 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
223 encode2mpeglight |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
224 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
225 Author: Giacomo Comes |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
226 |
21069 | 227 Description: Convert anything MPlayer can play to VCD/SVCD/DVD MPEG. |
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
|
228 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
229 Usage: encode2mpeglight -o <NAME> -n <NORM> [options] <source> |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
230 For help and documentation run: |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
231 encode2mpeglight -h |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
232 encode2mpeglight -l |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
233 encode2mpeglight -doc |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
234 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
235 Note: This script uses only MEncode/MPlayer. Check the final log |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
236 file for informations/warnings about the encoding process. |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
237 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
238 |
14801 | 239 Tech scripts in the TOOLS dir |
240 ----------------------------- | |
241 | |
242 fastmem.sh | |
243 | |
244 Author: Arpi | |
245 | |
246 Description: benchmark/testbed for fastmemcpy stuff | |
247 | |
248 Usage: fastmem.sh | |
249 | |
250 | |
251 sws-test | |
252 | |
253 Author: Michael Niedermayer | |
254 | |
255 Description: Very simple script to generate PNG images from a video with all | |
256 -sws methods. | |
257 | |
258 Usage: sws-test <video-file> <start-pos> <res> | |
259 | |
260 example: sws-test abc.avi 10 160:120 | |
261 | |
262 | |
263 calcbpp.pl | |
264 | |
265 Author: Moritz Bunkus | |
266 | |
267 Description: A script that calculates the $bpp for a movie, mentioned in | |
268 DOCS/tech/encoding-tips.txt, see that document for more info. | |
269 | |
270 Usage: calcbpp.pl <resolution> <aspect ratio> <bitrate> <fps> | |
271 resolution: the cropped but unscaled resolution | |
272 (use '-vf cropdetect') | |
273 aspect ratio: the encoded aspect ratio. All DVDs come at | |
274 720x576 but contain a flag that tells the player | |
275 wether it should display the DVD at an aspect | |
276 ratio of 4/3 (1.333) or at 16/9 (1.777). Have a | |
277 look at MPlayer's output - there's something | |
278 about 'prescaling'. That's what you are looking | |
279 for. | |
280 bitrate: the video bitrate in kbit/s | |
281 fps: the fps | |
282 | |
283 example: calcbpp.pl 720x440 16/9 896 25 | |
284 | |
285 | |
286 countquant.pl | |
287 | |
288 Author: Moritz Bunkus | |
289 | |
290 Description: Counts the quantizers used for the encoding, mentioned in | |
291 DOCS/tech/encoding-tips.txt, see that document for more info. | |
292 | |
293 Usage: countquant.pl < divx2pass.log | |
294 It will print out which quantizer was used how often. If you see | |
295 that e.g. the lowest quantizer (vqmin=2) gets used for > 95% of | |
296 the frames then you can safely increase your picture size. | |
297 | |
298 | |
299 perlbench.pl | |
300 | |
301 Author: Felix Bnemann | |
302 | |
303 Description: fastmemcpy benchmark script | |
304 | |
305 Usage: perlbench.pl | |
306 | |
307 | |
308 plotpsnr.pl | |
309 | |
310 Author: Jonas Jermann | |
311 | |
312 Description: Draw PSNR log graphs using gnuplot. | |
313 | |
314 Usage: plotpsnr.pl [options] <file> | |
315 -h, --help Display this help message | |
316 -quant Display quantizers | |
317 -size Display size | |
318 -psnr Display PSNR | |
319 -iframes Display I-frames | |
320 -pframes Display P-frames | |
321 -bframes Display B-frames | |
322 -aframes Display all frames in different colors | |
323 -cmp <file2> Compare two files | |
324 -qs <style> Quantizer style | |
325 -ss <style> Size style | |
326 -ps <style> PSNR style | |
327 | |
328 Default: -quant -size -psnr -qs "p" -ss "i" -ps "p" | |
329 | |
330 Note: Requires gnuplot. Comparison is based on file2. Comparison | |
331 assumes that the frame numbers of both files fit. | |
332 | |
333 | |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
334 psnr-video.sh |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
335 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
336 Author: Matthias Wieser |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
337 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
338 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
|
339 The PSNR is calculated frame by frame. |
16473 | 340 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
|
341 The script can be used to: |
16473 | 342 * Compare different softwarescalers (should I use |
343 -sws 1 or -sws 2 ?) | |
344 * 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
|
345 down to 640x360 or to 560x320) |
16473 | 346 * Compare different deinterlacers |
347 * Compare different video codecs | |
348 * 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
|
349 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
|
350 * [...] |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
351 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
352 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
|
353 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
354 <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
|
355 should be calculated. |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
356 [<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
|
357 from frame 1. |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
358 [<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
|
359 [<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
|
360 |
16473 | 361 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
|
362 content: |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
363 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
364 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
|
365 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
|
366 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
|
367 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
|
368 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
|
369 [...] |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
370 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
|
371 PSNR:;35.9887 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
372 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
373 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
|
374 frame-by-frame PSNR calculation. |
16473 | 375 Be aware that psnr-video.sh needs a lot of temporary space |
21069 | 376 in /tmp/. |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
377 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
378 |
14801 | 379 asfinfo |
380 | |
381 Author: Arpi | |
382 | |
383 Description: a simple ASF header display program | |
384 | |
385 Usage: asfinfo <filename.asf> | |
386 | |
387 Note: Also see MPlayer's -identify option. | |
388 | |
389 | |
390 avi-fix | |
391 | |
392 Author: Arpi | |
393 | |
394 Description: A simple tool to fix chunk sizes in RIFF AVI files. | |
395 | |
396 Usage: avi-fix [-fix] <badfile.avi> | |
397 | |
398 Note: It does not check or fix the index, to do this use | |
399 'mencoder -forceidx -oac copy -ovc copy'. | |
400 | |
401 | |
402 bios2dump | |
403 | |
404 Author: Nick Kurshev | |
405 | |
406 Description: Extract your PC BIOS and save it to file. | |
407 | |
408 Usage: As argument requires DOS interrupt number in hexadecimal form. | |
409 As output - will write 64KB file which will named: | |
410 SSSS_OOOO.intXX | |
411 where: SSSS - segment of BIOS interrupt handler | |
412 OOOO - offset of BIOS interrupt handler | |
413 XX - interrupt number which was passed as argument | |
414 | |
415 | |
16241 | 416 checktree.sh |
417 | |
418 Author: Ivo van Poorten | |
419 | |
16245 | 420 Description: Check the source tree for anomalies. |
16241 | 421 |
422 Usage: checktree.sh -help | |
423 | |
21069 | 424 Note: This script is meant for developers to check the current |
16245 | 425 source tree and/or the patches they are working on. |
16241 | 426 |
427 | |
18531 | 428 mphelp_check.py |
429 | |
430 Author: Uoti Urpala | |
431 | |
432 Description: Check console message translations for common errors. | |
433 | |
434 Usage: mphelp_check.py [--missing] <master file> <files to check> | |
435 | |
436 Note: Compares MPlayer translation files against a master file and | |
437 reports conflicting arguments, extra strings not present in | |
438 the base file and (optionally) missing strings. | |
439 | |
440 | |
14801 | 441 cpuinfo |
442 | |
443 Author: Jrgen Keil | |
444 | |
445 Description: the prototype ../cpuinfo.c | |
446 | |
447 Note: Used by configure to emulate /proc/cpuinfo on non-Linux systems. | |
448 | |
449 | |
450 dump_mp4 | |
451 | |
452 Author: Arpi | |
453 | |
454 Description: MPEG4-ES stream inspector, dumps the stream startcodes. | |
455 | |
456 | |
457 fastmemcpybench | |
458 | |
459 Author: Felix Bnemann | |
460 | |
461 Description: benchmark/testbed for fastmemcpy stuff | |
462 | |
463 Note: Also see fastmem.sh. | |
464 | |
465 | |
466 mem2dump | |
467 | |
468 Author: Nick Kurshev | |
469 | |
470 Description: Dump memory block to file. | |
471 | |
472 Usage: As argument requires absolute address of memory dump and its | |
473 length (in hexadecimal form). | |
474 As output - will write file which will be named: | |
475 memADDR_LEN.dump | |
476 where: ADDR - given address of memory | |
477 LEN - given length of memory | |
478 | |
479 | |
480 movinfo | |
481 | |
482 Author: Arpi | |
483 | |
484 Description: Show QuickTime MOV file structure. | |
485 | |
486 Usage: movinfo <filename.mov> | |
487 | |
488 | |
489 png2raw | |
490 | |
491 Author: Arpi | |
492 | |
493 Description: PNG to RAW image converter, used by .raw font creators. | |
494 | |
495 Usage: png2raw <file1> [file2...] | |
496 | |
497 | |
498 vivodump | |
499 | |
500 Author: Arpi | |
501 | |
502 Description: Dump H.263 frame headers from VIVO files. | |
503 | |
504 Usage: vivodump <input_file> <output_file> | |
505 | |
506 | |
16300 | 507 |
14801 | 508 Miscellaneous scripts in the TOOLS dir |
509 -------------------------------------- | |
510 | |
511 subedit.pl | |
512 | |
513 Author: Michael Klepikov | |
514 | |
515 Description: A script for pipelined editing of subtitle files. | |
516 | |
517 Usage: subedit.pl [switches] | |
518 -if,--input-format <fmt> input format; supported: SRT (default: SRT) | |
519 -of,--output-format <fmt> output format; supported: SRT | |
520 (default: input format) | |
521 -s,--shift <time> shift all subtitles by <time> | |
522 (format: [-]hh:mm:ss,fraction) | |
523 -c,--scale <time> scale by adding <time> to overall duration | |
524 -f,--split-from <time> drop subtitles that end before <time> | |
525 -t,--split-to <time> drop subtitles that start after <time> (will | |
526 truncate timing if it overlaps a boundary) | |
527 -r,--renumber renumber SRT subtitles in output | |
528 -d,--debug enable debug output | |
529 -h,--help help message | |
530 | |
531 | |
532 w32codec_dl.pl | |
533 | |
534 Author: Tom Lees | |
535 | |
536 Description: This script will use the Windows Media Player codec download | |
537 infrastructure to aquire the codecs listed in codecs.conf and put | |
538 them in a directory named "codecs/" below the current directory. | |
539 | |
540 Usage: w32codec_dl.pl <codecs.conf location> | |
541 | |
542 Note: You will need the libwww-perl stuff and the cabextract utility | |
543 which can be found at http://www.kyz.uklinux.net/cabextract.php3. | |
544 | |
545 | |
15705
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
546 install-w32codecs.sh |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
547 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
548 Author: Andrea Menucci, thuglife |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
549 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
550 Description: Downloads binary codecs from mplayerhq.hu and installs them |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
551 on a Debian system. |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
552 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
553 Usage: install-w32codecs.sh install |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
554 install-w32codecs.sh uninstall |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
555 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
556 |
15829
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
557 vobshift.py |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
558 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
559 Author: Gbor Farkas |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
560 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
561 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
|
562 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
563 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
|
564 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
|
565 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
566 |
14801 | 567 subrip.c |
568 | |
569 Author: Kim Minh Kaplan | |
570 | |
571 Description: Transform VOBsub subtitles into Subrip text subtitles using | |
572 GOCR/JOCR. | |
573 | |
574 Usage: subrip <vobsub basename> [subid [output filename] ] | |
575 | |
576 Note: Requires at least JOCR/GOCR 0.37. | |
577 You will have to change the 'vobsub_id' value if you want a | |
578 subtitle different from number 0. Hint: You can view the | |
579 subtitle that is being decoded with "display subtitle-*.pgm". | |
580 | |
581 | |
582 alaw-gen.c | |
583 | |
584 Author: Arpi | |
585 | |
586 Description: Generates alaw/ulaw tables. | |
587 | |
588 Note: Created to work around a past license issue, no longer useful. | |
15887 | 589 |
590 | |
591 avisubdump.c | |
592 | |
593 Author: Tobias Diedrich | |
594 | |
21069 | 595 Description: Dumps vobsub soft subtitles streams embedded in AVI files. |
15887 | 596 |
21069 | 597 Usage: avisubdump <movie.avi> |
16298 | 598 |
16300 | 599 |
22437 | 600 vfw2menc.c |
601 | |
602 Author: Gianluigi Tiesi | |
603 | |
604 Description: Creates a codec settings file from the Video for Windows codecs | |
605 found in the mplayer codec packs. | |
606 | |
607 Usage: vfw2menc -f <fourcc> -d <codec.dll> -s <settingsfile.mcf> | |
608 -h|--help - displays this help | |
609 -d|--driver filename - dll or drv to load | |
610 -f|--fourcc fourcc - fourcc of selected driver | |
611 -s|--save filename - save settings to file | |
612 -c|--check filename - load and show setting in filename | |
613 -v|--view - displays the config dialog and do nothing | |
614 | |
615 Notes: Works on x86 only. | |
22804 | 616 |
617 | |
618 realcodecs/ | |
619 | |
22807 | 620 Author: miscellaneous |
621 | |
622 Description: Wrappers for Linux Real binary codecs used to analyze, alter and | |
623 dump the data flow between RealPlayer and its codecs. | |
22804 | 624 |
22807 | 625 Usage: - Set the path to the RealPlayer codecs directory in the C files. |
626 - Run 'make realcodecs'. | |
627 - Rename the original codecs to match the names expected in the | |
628 wrapper sources. The default is to give them a "real" prefix, | |
629 e.g. realcook.so.6.0. | |
630 - Put the wrappers in the RealPlayer codecs directory. | |
22804 | 631 |
632 Notes: Known to work at least on Linux x86 with RealPlayer8. |