Mercurial > mplayer.hg
annotate TOOLS/README @ 27106:50569ff390a8
one more wish, and an update
author | compn |
---|---|
date | Thu, 26 Jun 2008 14:55:36 +0000 |
parents | 2118c88fe0e1 |
children | 305dc504c407 |
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 | |
14801 | 28 midentify |
29 | |
30 Author: Tobias Diedrich | |
31 | |
32 Description: Runs 'mplayer -identify' for all arguments while preventing | |
33 video window flashing. | |
34 | |
35 Usage: midentify file1 [file2 ...] | |
36 | |
37 | |
38 mpconsole | |
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 | |
45 Usage: mpconsole [mplayer options] | |
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 | |
93 divx2svcd | |
94 | |
95 Author: Miklos Vajna | |
96 | |
97 Description: A simple utility that creates an SVCD from a video in an AVI | |
98 container. | |
99 | |
100 Usage: divx2svcd <input_avi> [options] | |
101 see 'divx2svcd -h' for more info | |
102 | |
103 | |
104 mencvcd | |
105 | |
23734 | 106 Author: Jürgen Hammelmann |
14801 | 107 |
108 Description: Converts DVD (or anything else that MPlayer plays) to (S)VCD | |
109 | |
110 Usage: mencvcd <basename> [mencvcd options] [mplayer options] | |
111 see 'mencvcd -h' for more info | |
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 | |
16267
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
146 aconvert |
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 |
c2e581684e17
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
jonas
parents:
16245
diff
changeset
|
153 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
|
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 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
176 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
|
177 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
178 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
|
179 |
21069 | 180 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
|
181 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
182 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
|
183 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
|
184 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
|
185 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
|
186 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
|
187 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
188 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
|
189 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
|
190 |
c658a7107209
new tool to encode to mpeg using only mencoder; patch by Giacomo Comes <comes ad naic punctum edu>
nicodvb
parents:
16997
diff
changeset
|
191 |
14801 | 192 Tech scripts in the TOOLS dir |
193 ----------------------------- | |
194 | |
195 calcbpp.pl | |
196 | |
197 Author: Moritz Bunkus | |
198 | |
199 Description: A script that calculates the $bpp for a movie, mentioned in | |
200 DOCS/tech/encoding-tips.txt, see that document for more info. | |
201 | |
202 Usage: calcbpp.pl <resolution> <aspect ratio> <bitrate> <fps> | |
203 resolution: the cropped but unscaled resolution | |
204 (use '-vf cropdetect') | |
205 aspect ratio: the encoded aspect ratio. All DVDs come at | |
206 720x576 but contain a flag that tells the player | |
207 wether it should display the DVD at an aspect | |
208 ratio of 4/3 (1.333) or at 16/9 (1.777). Have a | |
209 look at MPlayer's output - there's something | |
210 about 'prescaling'. That's what you are looking | |
211 for. | |
212 bitrate: the video bitrate in kbit/s | |
213 fps: the fps | |
214 | |
215 example: calcbpp.pl 720x440 16/9 896 25 | |
216 | |
217 | |
218 countquant.pl | |
219 | |
220 Author: Moritz Bunkus | |
221 | |
222 Description: Counts the quantizers used for the encoding, mentioned in | |
223 DOCS/tech/encoding-tips.txt, see that document for more info. | |
224 | |
225 Usage: countquant.pl < divx2pass.log | |
226 It will print out which quantizer was used how often. If you see | |
227 that e.g. the lowest quantizer (vqmin=2) gets used for > 95% of | |
228 the frames then you can safely increase your picture size. | |
229 | |
230 | |
231 plotpsnr.pl | |
232 | |
233 Author: Jonas Jermann | |
234 | |
235 Description: Draw PSNR log graphs using gnuplot. | |
236 | |
237 Usage: plotpsnr.pl [options] <file> | |
238 -h, --help Display this help message | |
239 -quant Display quantizers | |
240 -size Display size | |
241 -psnr Display PSNR | |
242 -iframes Display I-frames | |
243 -pframes Display P-frames | |
244 -bframes Display B-frames | |
245 -aframes Display all frames in different colors | |
246 -cmp <file2> Compare two files | |
247 -qs <style> Quantizer style | |
248 -ss <style> Size style | |
249 -ps <style> PSNR style | |
250 | |
251 Default: -quant -size -psnr -qs "p" -ss "i" -ps "p" | |
252 | |
253 Note: Requires gnuplot. Comparison is based on file2. Comparison | |
254 assumes that the frame numbers of both files fit. | |
255 | |
256 | |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
257 psnr-video.sh |
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 Author: Matthias Wieser |
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 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
|
262 The PSNR is calculated frame by frame. |
16473 | 263 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
|
264 The script can be used to: |
16473 | 265 * Compare different softwarescalers (should I use |
266 -sws 1 or -sws 2 ?) | |
267 * 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
|
268 down to 640x360 or to 560x320) |
16473 | 269 * Compare different deinterlacers |
270 * Compare different video codecs | |
271 * 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
|
272 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
|
273 * [...] |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
274 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
275 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
|
276 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
277 <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
|
278 should be calculated. |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
279 [<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
|
280 from frame 1. |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
281 [<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
|
282 [<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
|
283 |
16473 | 284 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
|
285 content: |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
286 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
287 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
|
288 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
|
289 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
|
290 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
|
291 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
|
292 [...] |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
293 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
|
294 PSNR:;35.9887 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
295 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
296 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
|
297 frame-by-frame PSNR calculation. |
16473 | 298 Be aware that psnr-video.sh needs a lot of temporary space |
21069 | 299 in /tmp/. |
16462
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
300 |
fce59530dcfd
Adds the script psnr-video.sh to calculate the PSNR between two existing video files.
gpoirier
parents:
16300
diff
changeset
|
301 |
14801 | 302 asfinfo |
303 | |
304 Author: Arpi | |
305 | |
306 Description: a simple ASF header display program | |
307 | |
308 Usage: asfinfo <filename.asf> | |
309 | |
310 Note: Also see MPlayer's -identify option. | |
311 | |
312 | |
313 avi-fix | |
314 | |
315 Author: Arpi | |
316 | |
317 Description: A simple tool to fix chunk sizes in RIFF AVI files. | |
318 | |
319 Usage: avi-fix [-fix] <badfile.avi> | |
320 | |
321 Note: It does not check or fix the index, to do this use | |
322 'mencoder -forceidx -oac copy -ovc copy'. | |
323 | |
324 | |
16241 | 325 checktree.sh |
326 | |
327 Author: Ivo van Poorten | |
328 | |
16245 | 329 Description: Check the source tree for anomalies. |
16241 | 330 |
331 Usage: checktree.sh -help | |
332 | |
21069 | 333 Note: This script is meant for developers to check the current |
16245 | 334 source tree and/or the patches they are working on. |
16241 | 335 |
336 | |
18531 | 337 mphelp_check.py |
338 | |
339 Author: Uoti Urpala | |
340 | |
341 Description: Check console message translations for common errors. | |
342 | |
343 Usage: mphelp_check.py [--missing] <master file> <files to check> | |
344 | |
345 Note: Compares MPlayer translation files against a master file and | |
346 reports conflicting arguments, extra strings not present in | |
347 the base file and (optionally) missing strings. | |
348 | |
349 | |
14801 | 350 cpuinfo |
351 | |
23734 | 352 Author: Jürgen Keil |
14801 | 353 |
354 Description: the prototype ../cpuinfo.c | |
355 | |
356 Note: Used by configure to emulate /proc/cpuinfo on non-Linux systems. | |
357 | |
358 | |
359 dump_mp4 | |
360 | |
361 Author: Arpi | |
362 | |
363 Description: MPEG4-ES stream inspector, dumps the stream startcodes. | |
364 | |
365 | |
366 fastmemcpybench | |
367 | |
23734 | 368 Author: Felix Bünemann |
14801 | 369 |
370 Description: benchmark/testbed for fastmemcpy stuff | |
371 | |
372 Note: Also see fastmem.sh. | |
373 | |
374 | |
375 movinfo | |
376 | |
377 Author: Arpi | |
378 | |
379 Description: Show QuickTime MOV file structure. | |
380 | |
381 Usage: movinfo <filename.mov> | |
382 | |
383 | |
384 vivodump | |
385 | |
386 Author: Arpi | |
387 | |
388 Description: Dump H.263 frame headers from VIVO files. | |
389 | |
390 Usage: vivodump <input_file> <output_file> | |
391 | |
392 | |
16300 | 393 |
14801 | 394 Miscellaneous scripts in the TOOLS dir |
395 -------------------------------------- | |
396 | |
397 subedit.pl | |
398 | |
399 Author: Michael Klepikov | |
400 | |
401 Description: A script for pipelined editing of subtitle files. | |
402 | |
403 Usage: subedit.pl [switches] | |
404 -if,--input-format <fmt> input format; supported: SRT (default: SRT) | |
405 -of,--output-format <fmt> output format; supported: SRT | |
406 (default: input format) | |
407 -s,--shift <time> shift all subtitles by <time> | |
408 (format: [-]hh:mm:ss,fraction) | |
409 -c,--scale <time> scale by adding <time> to overall duration | |
410 -f,--split-from <time> drop subtitles that end before <time> | |
411 -t,--split-to <time> drop subtitles that start after <time> (will | |
412 truncate timing if it overlaps a boundary) | |
413 -r,--renumber renumber SRT subtitles in output | |
414 -d,--debug enable debug output | |
415 -h,--help help message | |
416 | |
417 | |
418 w32codec_dl.pl | |
419 | |
420 Author: Tom Lees | |
421 | |
422 Description: This script will use the Windows Media Player codec download | |
423 infrastructure to aquire the codecs listed in codecs.conf and put | |
424 them in a directory named "codecs/" below the current directory. | |
425 | |
426 Usage: w32codec_dl.pl <codecs.conf location> | |
427 | |
428 Note: You will need the libwww-perl stuff and the cabextract utility | |
429 which can be found at http://www.kyz.uklinux.net/cabextract.php3. | |
430 | |
431 | |
15705
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
432 install-w32codecs.sh |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
433 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
434 Author: Andrea Menucci, thuglife |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
435 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
436 Description: Downloads binary codecs from mplayerhq.hu and installs them |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
437 on a Debian system. |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
438 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
439 Usage: install-w32codecs.sh install |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
440 install-w32codecs.sh uninstall |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
441 |
e7dcc698718b
Document install-divx5.sh and install-w32codecs.sh.
diego
parents:
14801
diff
changeset
|
442 |
15829
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
443 vobshift.py |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
444 |
23734 | 445 Author: Gábor Farkas |
15829
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
446 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
447 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
|
448 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
449 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
|
450 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
|
451 |
96b84e3a0d96
vobsub time-adjust tool by Gbor Farkas < gabor AH nekomancer POUM net >
gpoirier
parents:
15705
diff
changeset
|
452 |
14801 | 453 subrip.c |
454 | |
455 Author: Kim Minh Kaplan | |
456 | |
457 Description: Transform VOBsub subtitles into Subrip text subtitles using | |
458 GOCR/JOCR. | |
459 | |
460 Usage: subrip <vobsub basename> [subid [output filename] ] | |
461 | |
462 Note: Requires at least JOCR/GOCR 0.37. | |
463 You will have to change the 'vobsub_id' value if you want a | |
464 subtitle different from number 0. Hint: You can view the | |
465 subtitle that is being decoded with "display subtitle-*.pgm". | |
466 | |
467 | |
468 alaw-gen.c | |
469 | |
470 Author: Arpi | |
471 | |
472 Description: Generates alaw/ulaw tables. | |
473 | |
474 Note: Created to work around a past license issue, no longer useful. | |
15887 | 475 |
476 | |
477 avisubdump.c | |
478 | |
479 Author: Tobias Diedrich | |
480 | |
21069 | 481 Description: Dumps vobsub soft subtitles streams embedded in AVI files. |
15887 | 482 |
21069 | 483 Usage: avisubdump <movie.avi> |
16298 | 484 |
16300 | 485 |
22437 | 486 vfw2menc.c |
487 | |
488 Author: Gianluigi Tiesi | |
489 | |
490 Description: Creates a codec settings file from the Video for Windows codecs | |
491 found in the mplayer codec packs. | |
492 | |
493 Usage: vfw2menc -f <fourcc> -d <codec.dll> -s <settingsfile.mcf> | |
494 -h|--help - displays this help | |
495 -d|--driver filename - dll or drv to load | |
496 -f|--fourcc fourcc - fourcc of selected driver | |
497 -s|--save filename - save settings to file | |
498 -c|--check filename - load and show setting in filename | |
499 -v|--view - displays the config dialog and do nothing | |
500 | |
24527 | 501 Notes: Works on Windows/Linux x86 only. |
22804 | 502 |
503 | |
23996 | 504 modify_reg.c |
505 | |
506 Author: Alan Nisota | |
507 | |
508 Description: Modifies registry file (usually ~/.mplayer/registry) | |
509 | |
510 Usage: modify_reg -r <registry_file> -l | |
511 modify_reg -r <registry_file> -k <key> [-d|-v <value>[-t <type>]] | |
512 -r|--registry - path to registry file | |
513 -l|--list - shows all keys and values | |
514 -k|--key - registry key | |
515 -d|--del - delete key | |
516 -v|--value - new value for key | |
517 -t|--type - key type: string (default) or dword | |
518 | |
519 Notes: Necessary to use CoreAVC with MPlayer | |
520 | |
521 | |
25802
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
522 compare.c |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
523 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
524 Author: Michael Niedermayer |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
525 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
526 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
|
527 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
|
528 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
529 Usage: compare <file1> <file2> |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
530 |
2118c88fe0e1
Move compare.c to TOOLS, add it to the Makefile and document it.
diego
parents:
24527
diff
changeset
|
531 |
22804 | 532 realcodecs/ |
533 | |
22807 | 534 Author: miscellaneous |
535 | |
536 Description: Wrappers for Linux Real binary codecs used to analyze, alter and | |
537 dump the data flow between RealPlayer and its codecs. | |
22804 | 538 |
22807 | 539 Usage: - Set the path to the RealPlayer codecs directory in the C files. |
540 - Run 'make realcodecs'. | |
541 - Rename the original codecs to match the names expected in the | |
542 wrapper sources. The default is to give them a "real" prefix, | |
543 e.g. realcook.so.6.0. | |
544 - Put the wrappers in the RealPlayer codecs directory. | |
22804 | 545 |
546 Notes: Known to work at least on Linux x86 with RealPlayer8. | |
22933 | 547 |
548 | |
549 | |
550 netstream - access remote streams | |
551 --------------------------------- | |
552 | |
553 NOTE: netstream does not link at the moment - help welcome. | |
554 | |
555 netstream allows you to access most MPlayer stream types from a remote host. | |
556 The main purpose of this feature is to make it possible to directly use the | |
557 CD or DVD drive of another computer on the network (provided you have the | |
558 required bandwidth). On the downside some stream types (currently TV and MF) | |
559 are not usable remotely because they are implemented at the demuxer level. | |
560 | |
561 Be aware that currently the server is not secure at all. | |
562 | |
563 Compile the server by running 'make netstream' and then copy the netstream | |
564 binary to the right place on your system (usually /usr/local/bin on Unix). | |
565 Start the netstream server on the computer you intend to access remotely. | |
566 There are no command line arguments. | |
567 | |
568 Play the second track of a VCD on the server with: | |
569 | |
570 mplayer -cache 5000 mpst://servername/vcd://2 | |
571 | |
572 Access files on this server with: | |
573 | |
574 mplayer -cache 5000 mpst://servername//usr/local/movies/lol.avi | |
575 | |
576 Note that paths which do not start with a / will be interpreted as relative to | |
577 the directory where the server is running. The '-cache' option is not needed | |
578 but highly recommended. |