mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-05 03:09:43 +01:00
Add m4a options to reencode
This commit is contained in:
@@ -269,7 +269,7 @@
|
||||
ffmpegselect = ''
|
||||
else:
|
||||
lameselect = ''
|
||||
ffmpegselect = 'selected="selected"'
|
||||
ffmpegselect = 'selected="selected"'
|
||||
%>
|
||||
<h3>Encoder: <select name="encoder">
|
||||
<option value="lame" ${lameselect}>lame</option>
|
||||
@@ -278,16 +278,23 @@
|
||||
<br>
|
||||
<br>
|
||||
<%
|
||||
if config['encoderoutputformat'] == 'mp3':
|
||||
mp3select = 'selected="selected"'
|
||||
oggselect = ''
|
||||
else:
|
||||
if config['encoderoutputformat'] == 'ogg':
|
||||
oggselect = 'selected="selected"'
|
||||
mp3select = ''
|
||||
oggselect = 'selected="selected"'
|
||||
m4aselect = ''
|
||||
elif config['encoderoutputformat'] == 'm4a':
|
||||
oggselect = ''
|
||||
m4aselect = 'selected="selected"'
|
||||
mp3select = ''
|
||||
else:
|
||||
oggselect = ''
|
||||
m4aselect = ''
|
||||
mp3select = 'selected="selected"'
|
||||
%>
|
||||
<h3>Format: <select name="encoderoutputformat">
|
||||
<option value="mp3" ${mp3select}>mp3</option>
|
||||
<option value="ogg" ${oggselect}>ogg</option>
|
||||
<option value="m4a" ${m4aselect}>m4a</option>
|
||||
</select>
|
||||
<br>
|
||||
<br>
|
||||
@@ -324,11 +331,11 @@
|
||||
bitrate320select = 'selected="selected"'
|
||||
%>
|
||||
<h3>Bitrate: <select name="bitrate">
|
||||
<option value=64 ${bitrate64select}>64</option>
|
||||
<option value=128 ${bitrate128select}>128</option>
|
||||
<option value=192 ${bitrate192select}>192</option>
|
||||
<option value=256 ${bitrate256select}>256</option>
|
||||
<option value=320 ${bitrate320select}>320</option>
|
||||
<option value=64 ${bitrate64select}>64 kbps</option>
|
||||
<option value=128 ${bitrate128select}>128 kbps</option>
|
||||
<option value=192 ${bitrate192select}>192 kbps</option>
|
||||
<option value=256 ${bitrate256select}>256 kbps</option>
|
||||
<option value=320 ${bitrate320select}>320 kbps</option>
|
||||
</select>
|
||||
<br>
|
||||
<br>
|
||||
@@ -338,11 +345,11 @@
|
||||
freq48000 = ''
|
||||
else:
|
||||
freq44100 = ''
|
||||
freq48000 = 'selected="selected"'
|
||||
freq48000 = 'selected="selected"'
|
||||
%>
|
||||
<h3>Sampling: <select name="samplingfrequency">
|
||||
<option value=44100 ${freq44100}>44100</option>
|
||||
<option value=48000 ${freq48000}>48000</option>
|
||||
<option value=44100 ${freq44100}>44.1 kHz</option>
|
||||
<option value=48000 ${freq48000}>48.0 kHz</option>
|
||||
</select>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user