From 400318bdb40834dbddf5338b448cbeff57c8a38d Mon Sep 17 00:00:00 2001 From: q3aql Date: Fri, 10 Feb 2023 18:48:25 +0100 Subject: [PATCH] Update documentation --- doc/ks-avi.md | 9 ++++----- doc/ks-crop.md | 4 ++-- doc/ks-mp4.md | 4 ++-- doc/ks-mp4k.md | 4 ++-- doc/ks-mp4s.md | 8 ++++---- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/doc/ks-avi.md b/doc/ks-avi.md index d233ea3..207bd0d 100644 --- a/doc/ks-avi.md +++ b/doc/ks-avi.md @@ -84,11 +84,10 @@ $ ks-avi ffmpeg -i "Example.mkv" -map 0:5 "Example.srt" # Convert the file 'Example.mkv' to AVI - ffmpeg -i "Example.mkv" -vsync cfr -af aresample=async=1:min_hard_comp=0.100000:first_pts=0 - -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)" + ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -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 diff --git a/doc/ks-crop.md b/doc/ks-crop.md index ca08f09..c1bfa85 100644 --- a/doc/ks-crop.md +++ b/doc/ks-crop.md @@ -111,8 +111,8 @@ _Note: Output file name will be `Example-aspect.mkv`_ * COMMAND THAT WILL BE EXECUTED: # Crop 'Example.mkv' from 16:9 to 4:3 (1.33:1) - ffmpeg -i Example.mkv -vsync cfr -af aresample=async=1:min_hard_comp=0.100000:first_pts=0 - -map 0:0 -map 0:1 -filter:v "crop=ih/3*4:ih" -s 1920x1440 -c:v libx264 -profile:v high + ffmpeg -i Example.mkv -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1 + -filter:v "crop=ih/3*4:ih" -s 1920x1440 -c:v libx264 -profile:v high -b:v 5000k -preset medium -c:a copy Example-crop.mkv * (Default: y) Do you want run the conversion? (y/n): n diff --git a/doc/ks-mp4.md b/doc/ks-mp4.md index 602957e..d7013d8 100644 --- a/doc/ks-mp4.md +++ b/doc/ks-mp4.md @@ -84,8 +84,8 @@ $ ks-mp4 ffmpeg -i "Example.mkv" -map 0:5 "Example.srt" # Convert the file 'Example.mkv' to MP4 - ffmpeg -i "Example.mkv" -vsync cfr -af aresample=async=1:min_hard_comp=0.100000:first_pts=0 - -map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 1280x534 -c:v libx264 -profile:v high + ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1 + -vf subtitles="Example.srt" -s 1280x534 -c:v libx264 -profile:v high -b:v 2400k -preset medium -c:a aac -b:a 256k -ac 2 -clev 3dB -slev -6dB -metadata title="Example (2016)" -metadata date="2016" -metadata genre="Thriller" -metadata:s:v:0 title="Example (2016)" diff --git a/doc/ks-mp4k.md b/doc/ks-mp4k.md index f589381..44dbb02 100644 --- a/doc/ks-mp4k.md +++ b/doc/ks-mp4k.md @@ -84,8 +84,8 @@ $ ks-mp4k ffmpeg -i "Example.mkv" -map 0:5 "Example.srt" # Convert the file 'Example.mkv' to MP4 - ffmpeg -i "Example.mkv" -vsync cfr -af aresample=async=1:min_hard_comp=0.100000:first_pts=0 - -map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 3840x2160 -c:v libx264 -profile:v high + ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1 + -vf subtitles="Example.srt" -s 3840x2160 -c:v libx264 -profile:v high -b:v 6000k -preset medium -c:a aac -b:a 320k -ac 2 -clev 3dB -slev -6dB -metadata title="Example (2016)" -metadata date="2016" -metadata genre="Thriller" -metadata:s:v:0 title="Example (2016)" diff --git a/doc/ks-mp4s.md b/doc/ks-mp4s.md index eb4148f..2c18c80 100644 --- a/doc/ks-mp4s.md +++ b/doc/ks-mp4s.md @@ -15,7 +15,7 @@ $ ks-mp4s - Resolution: 720x480 - Video codec: libx264 - Bitrate video: 950k - - Preset: medium + - Preset: slow - Audio codec: aac (stereo) - Bitrate audio: 128k - Default Audio: spa @@ -29,7 +29,7 @@ $ ks-mp4s rel_size="720x480" vcodec="libx264" b_vcodec="950k" - v_preset="medium" + v_preset="slow" acodec="aac" b_acodec="128k" default_lang_audio="spa" @@ -84,8 +84,8 @@ $ ks-mp4s ffmpeg -i "Example.mkv" -map 0:5 "Example.srt" # Convert the file 'Example.mkv' to MP4 - ffmpeg -i "Example.mkv" -vsync cfr -af aresample=async=1:min_hard_comp=0.100000:first_pts=0 - -map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 720x480 -c:v libx264 -profile:v high + ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1 + -vf subtitles="Example.srt" -s 720x480 -c:v libx264 -profile:v high -b:v 950k -preset medium -c:a aac -b:a 128k -ac 2 -clev 3dB -slev -6dB -metadata title="Example" -metadata date="2016" -metadata genre="Thriller" -metadata:s:v:0 title="Example"