Update ks-avi.md
This commit is contained in:
parent
d456e347a9
commit
30c9e0c7ad
|
@ -76,7 +76,7 @@ ks-avi - Convert video file(s) to compact and efficient AVI.
|
|||
* ` ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"`
|
||||
* `.`
|
||||
* ` # Convert the file 'Example.mkv' to AVI`
|
||||
* ` ffmpeg -i "Example.mkv" -map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 720x480 -c:v libxvid -b:v 3000k -c:a libmp3lame -b:a 192k -ac 2 -clev 3dB -slev -6dB -metadata title="Example (2016)" -metadata date="2016" -metadata genre="Thriller" -metadata:s:v:0 title="Example (2016)" -metadata:s:a:0 title="libmp3lame Stereo Audio (192k)" "Example.avi"`
|
||||
* ` ffmpeg -i "Example.mkv" -map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 720x480 -c:v libxvid -b:v 3000k -preset slow -c:a libmp3lame -b:a 192k -ac 2 -clev 3dB -slev -6dB -metadata title="Example (2016)" -metadata date="2016" -metadata genre="Thriller" -metadata:s:v:0 title="Example (2016)" -metadata:s:a:0 title="libmp3lame Stereo Audio (192k)" "Example.avi"`
|
||||
* `.`
|
||||
* `* (Default: y) Do you want run the conversion? (y/n): n`
|
||||
|
||||
|
|
10
src/ks-avi
10
src/ks-avi
|
@ -105,7 +105,7 @@ if [ -z "${1}" ] ; then
|
|||
echo " - Resolution: ${rel_size}"
|
||||
echo " - Video codec: ${vcodec}"
|
||||
echo " - Bitrate video: ${b_vcodec}"
|
||||
echo " - Preset: ${v_preset}"
|
||||
echo " - Preset: ${v_preset}"
|
||||
echo " - Audio codec: ${acodec} (stereo)"
|
||||
echo " - Bitrate audio: ${b_acodec}"
|
||||
echo " - Default Audio: ${default_lang_audio}"
|
||||
|
@ -159,7 +159,7 @@ if [ -z "${2}" ] ; then
|
|||
echo " - Resolution: ${rel_size}"
|
||||
echo " - Video codec: ${vcodec}"
|
||||
echo " - Bitrate video: ${b_vcodec}"
|
||||
echo " - Preset: ${v_preset}"
|
||||
echo " - Preset: ${v_preset}"
|
||||
echo " - Audio codec: ${acodec} (stereo)"
|
||||
echo " - Bitrate audio: ${b_acodec}"
|
||||
echo " - Default Audio: ${default_lang_audio}"
|
||||
|
@ -281,11 +281,11 @@ else
|
|||
resolution="${rel_size}"
|
||||
else
|
||||
rel_size="${resolution}"
|
||||
if [ -z "${codec_h265_hevc}" ] ; then
|
||||
if [ -z "${codec_h265_hevc}" ] ; then
|
||||
p_conversion="-s ${rel_size} -c:v ${vcodec} -b:v ${b_vcodec} -preset ${v_preset} -c:a ${acodec} -b:a ${b_acodec}"
|
||||
else
|
||||
else
|
||||
p_conversion="-s ${rel_size} -c:v ${vcodec} -pix_fmt yuv420p -b:v ${b_vcodec} -preset ${v_preset} -c:a ${acodec} -b:a ${b_acodec}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo -n "* (Default: n) Do you want apply '-max_muxing_queue_size 9999' patch? (y/n): " ; read patch_thread
|
||||
if [ "${patch_thread}" == "y" ] ; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user