mirror of
https://github.com/balzack/databag.git
synced 2025-04-22 01:25:17 +00:00
aac appears to have better browser support
This commit is contained in:
parent
e0e0d4c621
commit
526d7341e1
@ -68,8 +68,6 @@ func AddChannelTopicAsset(w http.ResponseWriter, r *http.Request) {
|
||||
garbageSync.Lock()
|
||||
defer garbageSync.Unlock()
|
||||
|
||||
PrintMsg("SAVE NEW ASSET");
|
||||
|
||||
// save new file
|
||||
id := uuid.New().String()
|
||||
path := getStrConfigValue(CONFIG_ASSETPATH, APP_DEFAULTPATH) + "/" + channelSlot.Account.Guid + "/" + id
|
||||
@ -174,7 +172,7 @@ PrintMsg("SAVE NEW ASSET");
|
||||
|
||||
func isStorageFull(act *store.Account) (full bool, err error) {
|
||||
|
||||
storage := getNumConfigValue(CONFIG_STORAGE, 0);
|
||||
storage := getNumConfigValue(CONFIG_STORAGE, 0) * 1048576;
|
||||
if storage == 0 {
|
||||
return
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -vf scale=720:-2 -c:v libx264 -crf 23 -preset veryfast -c:a mp3 $2
|
||||
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -vf scale=720:-2 -c:v libx264 -crf 23 -preset veryfast -c:a aac $2
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -vf scale=320:-2 -c:v libx264 -crf 32 -preset veryfast -c:a mp3 $2
|
||||
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -vf scale=320:-2 -c:v libx264 -crf 32 -preset veryfast -c:a aac $2
|
||||
|
||||
|
@ -131,8 +131,7 @@ export function AddTopic() {
|
||||
</Dropdown>
|
||||
</div>
|
||||
<div class="send">
|
||||
<Button icon={<SendOutlined />} onClick={onSend} size="large" />
|
||||
<BusySpin spinning={state.busy} />
|
||||
<Button icon={<SendOutlined />} onClick={onSend} size="large" loading={state.busy} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user