blob: 0649a57ae9d96b71a968f5f3b88e6477b7798617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
{strip}
<div class="display liberty">
<div class="header">
<h1>{tr}Flashvideo Plugin Settings{/tr}</h1>
</div>
<div class="body">
{form legend="Flashvideo specific settings"}
<p class="formhelp">
You can find some information relating to this plugin on the <a class="external" href="http://www.bitweaver.org/wiki/TreasuryFlvPlugin">TreasuryFlvPlugin plugin page</a> at bitweaver.org.
</p>
{if !$gLibertySystem->isPluginActive( 'mimeaudio' )}
{formfeedback error="This plugins has not been enabled. All settings you change here will have no effect on uploaded videos unless you enable the plugin in the liberty plugins administration screen"}
{/if}
{formfeedback hash=$feedback}
<p class="formhelp">{tr}You can spcify the path to either ffmpeg or mplayer and lame. If you have all applications installed, we will first try to convert audio files using ffmpeg and if that didn't work, we'll use mplayer and lame.{/tr}</p>
<div class="row">
{formlabel label="Path to ffmpeg" for="mime_audio_ffmpeg_path"}
{forminput}
<input type='text' name="mime_audio_ffmpeg_path" id="mime_audio_ffmpeg_path" size="40" value="{$gBitSystem->getConfig('mime_audio_ffmpeg_path')|escape|default:$ffmpeg_path}" />
{formhelp note="If this path is not correct, please set the correct path to ffmpeg."}
{/forminput}
</div>
<div class="row">
{formlabel label="Path to mplayer" for="mime_audio_mplayer_path"}
{forminput}
<input type='text' name="mime_audio_mplayer_path" id="mime_audio_mplayer_path" size="40" value="{$gBitSystem->getConfig('mime_audio_mplayer_path')|escape|default:$mplayer_path}" />
{formhelp note="If this path is not correct, please set the correct path to mplayer."}
{/forminput}
</div>
<div class="row">
{formlabel label="Path to lame" for="mime_audio_lame_path"}
{forminput}
<input type='text' name="mime_audio_lame_path" id="mime_audio_lame_path" size="40" value="{$gBitSystem->getConfig('mime_audio_lame_path')|escape|default:$lame_path}" />
{formhelp note="If this path is not correct, please set the correct path to lame."}
{/forminput}
</div>
<div class="row">
{formlabel label="Lame options" for="mime_audio_lame_options"}
{forminput}
<input type='text' name="mime_audio_lame_options" id="mime_audio_lame_options" size="40" value="{$gBitSystem->getConfig('mime_audio_lame_options')|escape|default:$lame_options}" />
{formhelp note="If you know your way around lame, you can insert your own options here to override the default settings."}
{/forminput}
</div>
<div class="row">
{formlabel label="Audio sample rate" for="mime_audio_samplerate"}
{forminput}
{html_options
options=$rates.audio_samplerate
values=$rates.audio_samplerate
name=mime_audio_samplerate
id=mime_audio_samplerate
selected=$gBitSystem->getConfig('mime_audio_samplerate')|default:22050} Hz
{formhelp note="Set the audio sample rate. The higher the bitrate the higher the quality but also the larger the file."}
{/forminput}
</div>
<div class="row">
{formlabel label="Audio bitrate" for="mime_audio_bitrate"}
{forminput}
{html_options
options=$rates.audio_bitrate
values=$rates.audio_bitrate
name=mime_audio_bitrate
id=mime_audio_bitrate
selected=$gBitSystem->getConfig('mime_audio_bitrate')|default:96000} kbits/s
{formhelp note="Set the audio bitrate. The higher the bitrate the higher the quality but also the larger the file."}
{/forminput}
</div>
<div class="row">
{formlabel label="Force encode" for="mime_audio_force_encode"}
{forminput}
<input type='checkbox' name="mime_audio_force_encode" id="mime_audio_force_encode" value="y" {if $gBitSystem->isFeatureActive('mime_audio_force_encode')}checked="checked"{/if} />
{formhelp note="When mp3 files are uploaded they can be used directly for streaming. If you enable this, the uploaded mp3 will be re-encoded usually reducing filesize for streaming. The originally uploaded file will still be available for download."}
{/forminput}
</div>
<div class="row">
{formlabel label="Foreground Colour" for="mime_audio_frontcolor"}
{forminput}
<input type='text' name="mime_audio_frontcolor" id="mime_audio_frontcolor" size="10" value="{$gBitSystem->getConfig('mime_audio_frontcolor')|default:"FFFFFF"}" />
{formhelp note="Foreground colour of the progress bar."}
{/forminput}
</div>
<div class="row">
{formlabel label="Background Colour" for="mime_audio_backcolor"}
{forminput}
<input type='text' name="mime_audio_backcolor" id="mime_audio_backcolor" size="10" value="{$gBitSystem->getConfig('mime_audio_backcolor')|default:"000000"}" />
{formhelp note="Background colour of the progress bar."}
{/forminput}
</div>
<div class="row submit">
<input type="submit" name="plugin_settings" value="{tr}Save Plugin Settings{/tr}" />
</div>
{/form}
</div><!-- end .body -->
</div><!-- end .liberty -->
{/strip}
|