Change default settings for ks-mp4
This commit is contained in:
parent
7f5df78576
commit
bb45e2fe88
|
@ -14,10 +14,10 @@ $ ks-mp4 </absolute/path/video.mkv> </path/prefix_name>
|
|||
```shell
|
||||
- Resolution: 1280x534
|
||||
- Video codec: libx264
|
||||
- Bitrate video: 2400k
|
||||
- Preset: medium
|
||||
- Bitrate video: 2200k
|
||||
- Preset: slow
|
||||
- Audio codec: aac (stereo)
|
||||
- Bitrate audio: 256k
|
||||
- Bitrate audio: 192k
|
||||
- Default Audio: spa
|
||||
- Default Subtitle: spa (forced)
|
||||
- Container: mp4
|
||||
|
@ -28,10 +28,10 @@ $ ks-mp4 </absolute/path/video.mkv> </path/prefix_name>
|
|||
```shell
|
||||
rel_size="1280x534"
|
||||
vcodec="libx264"
|
||||
b_vcodec="2400k"
|
||||
v_preset="medium"
|
||||
b_vcodec="2200k"
|
||||
v_preset="slow"
|
||||
acodec="aac"
|
||||
b_acodec="256k"
|
||||
b_acodec="192k"
|
||||
default_lang_audio="spa"
|
||||
default_lang_subt="spa"
|
||||
v_ext="mp4"
|
||||
|
|
|
@ -21,10 +21,10 @@ function check_create_conf_ks_mp4() {
|
|||
configFile=${configFolder}/ks-mp4
|
||||
rel_size="1280x534"
|
||||
vcodec="libx264"
|
||||
b_vcodec="2400k"
|
||||
v_preset="medium"
|
||||
b_vcodec="2200k"
|
||||
v_preset="slow"
|
||||
acodec="aac"
|
||||
b_acodec="256k"
|
||||
b_acodec="192k"
|
||||
default_lang_audio="spa"
|
||||
default_lang_subt="spa"
|
||||
v_ext="mp4"
|
||||
|
@ -598,7 +598,7 @@ edit_video_config() {
|
|||
elif [ "${option}" == "b" ] ; then
|
||||
# Set bitrate for video
|
||||
echo ""
|
||||
echo "* Recommended: 850k / 950k / 2000k / 2400k / 3000k / 6000k / 10000k"
|
||||
echo "* Recommended: 850k / 950k / 2000k / 2200k / 3000k / 6000k / 10000k"
|
||||
echo ""
|
||||
echo -n "* [Current: ${b_vcodec}] Type bitrate for video: " ; read videobitrate
|
||||
if [ -z ${videobitrate} ] ; then
|
||||
|
|
10
src/ks-mp4
10
src/ks-mp4
|
@ -2,12 +2,12 @@
|
|||
|
||||
###############################################################
|
||||
# ks-mp4 (ks-tools) - Convert video to MP4 format #
|
||||
# Date: 19-02-2023 #
|
||||
# Date: 19-03-2023 #
|
||||
# Author: q3aql #
|
||||
# Contact: q3aql@duck.com #
|
||||
###############################################################
|
||||
VERSION="8.5-dev"
|
||||
M_DATE="190223"
|
||||
M_DATE="190323"
|
||||
|
||||
# Detect version ffmpeg for old releases
|
||||
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
|
||||
|
@ -35,12 +35,12 @@ configFile=${configFolder}/ks-mp4
|
|||
# Basic parameters creating config file.
|
||||
rel_size="1280x534"
|
||||
vcodec="libx264"
|
||||
b_vcodec="2400k"
|
||||
b_vcodec="2200k"
|
||||
# Presets: ultrafast, superfast, veryfast, faster,
|
||||
# fast, medium (default), slow, slower, veryslow
|
||||
v_preset="medium"
|
||||
v_preset="slow"
|
||||
acodec="aac"
|
||||
b_acodec="256k"
|
||||
b_acodec="192k"
|
||||
default_lang_audio="spa"
|
||||
default_lang_subt="spa"
|
||||
v_ext="mp4"
|
||||
|
|
Loading…
Reference in New Issue
Block a user