Mercurial > mplayer.hg
annotate mplayer.h @ 8514:a1ff87c254ff
I have rewritten the gif89a vo in order to solve some problems I had
with it. These are:
1) current code is messy
2) poor comments, if any
3) inaccurate frame dropping and delay code
4) output filename hardcoded
5) output framerate as integer
You may specify the output filename and framerate like so:
-vo gif89a:4.33 4.33 fps output
-vo gif89a:some.gif output to some.gif
-vo gif89a:5.02:new.gif output to new.gif at 5.02 fps
The filename defaults to out.gif, and the framerate defaults to 5 fps.
by Joey Parrish <joey@nicewarrior.org>
author | arpi |
---|---|
date | Sat, 21 Dec 2002 21:07:16 +0000 |
parents | c6a1a5b6ba25 |
children | 2df4e9d9922d |
rev | line source |
---|---|
724 | 1 |
2 #ifndef __MPLAYER_MAIN | |
3 #define __MPLAYER_MAIN | |
4 | |
7150 | 5 #include "libvo/sub.h" |
6 #include "subreader.h" | |
7 | |
4798 | 8 extern int use_gui; |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
4798
diff
changeset
|
9 extern char* current_module; |
6280 | 10 extern int vcd_track; |
724 | 11 |
7526 | 12 extern char ** audio_fm_list; |
13 extern char ** video_fm_list; | |
7582 | 14 extern char ** video_driver_list; |
15 extern char ** audio_driver_list; | |
6796 | 16 extern char * video_driver; |
17 extern char * audio_driver; | |
18 extern float audio_delay; | |
19 | |
6619
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
20 extern int osd_level; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
21 extern int osd_visible; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
22 |
6796 | 23 extern char * font_name; |
24 extern float font_factor; | |
7541 | 25 extern float movie_aspect; |
6796 | 26 |
6627 | 27 extern char * sub_name; |
6796 | 28 extern float sub_delay; |
29 extern float sub_fps; | |
30 extern int sub_auto; | |
7019 | 31 extern int sub_pos; |
32 extern int sub_unicode; | |
7150 | 33 extern subtitle* subtitles; |
34 extern subtitle* vo_sub; | |
6796 | 35 |
6627 | 36 extern char * filename; |
37 | |
7526 | 38 extern int stream_cache_size; |
7019 | 39 extern int force_ni; |
40 extern int index_mode; | |
8311 | 41 extern int autosync; |
7559
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
42 |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
43 // libmpcodecs: |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
44 extern int fullscreen; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
45 extern int flip; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
46 |
7019 | 47 extern int frame_dropping; |
48 | |
49 extern int auto_quality; | |
50 | |
7821
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
51 extern int audio_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
52 extern int video_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
53 extern int dvdsub_id; |
8423 | 54 extern int vobsub_id; |
7821
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
55 |
5919 | 56 extern void exit_player(char* how); |
57 | |
6335
e9bd97d5c5cc
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents:
6280
diff
changeset
|
58 #endif |