Update documentation

This commit is contained in:
q3aql 2023-02-10 18:48:25 +01:00
parent c9aa8b2d37
commit 400318bdb4
5 changed files with 14 additions and 15 deletions

View File

@ -84,11 +84,10 @@ $ ks-avi </absolute/path/video.mkv> </path/prefix_name>
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

View File

@ -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

View File

@ -84,8 +84,8 @@ $ ks-mp4 </absolute/path/video.mkv> </path/prefix_name>
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)"

View File

@ -84,8 +84,8 @@ $ ks-mp4k </absolute/path/video.mkv> </path/prefix_name>
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)"

View File

@ -15,7 +15,7 @@ $ ks-mp4s </absolute/path/video.mkv> </path/prefix_name>
- 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 </absolute/path/video.mkv> </path/prefix_name>
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 </absolute/path/video.mkv> </path/prefix_name>
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"