Update documentation
This commit is contained in:
parent
c9aa8b2d37
commit
400318bdb4
|
@ -84,11 +84,10 @@ $ ks-avi </absolute/path/video.mkv> </path/prefix_name>
|
||||||
ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"
|
ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"
|
||||||
|
|
||||||
# Convert the file 'Example.mkv' to AVI
|
# 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
|
ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1
|
||||||
-map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 720x480 -c:v libxvid -b:v 3000k
|
-vf subtitles="Example.srt" -s 720x480 -c:v libxvid -b:v 3000k -preset slow
|
||||||
-preset slow -c:a libmp3lame -b:a 192k -ac 2 -clev 3dB -slev -6dB
|
-c:a libmp3lame -b:a 192k -ac 2 -clev 3dB -slev -6dB -metadata title="Example (2016)"
|
||||||
-metadata title="Example (2016)" -metadata date="2016" -metadata genre="Thriller"
|
-metadata date="2016" -metadata genre="Thriller" -metadata:s:v:0 title="Example (2016)"
|
||||||
-metadata:s:v:0 title="Example (2016)"
|
|
||||||
-metadata:s:a:0 title="libmp3lame Stereo Audio (192k)" "Example.avi"
|
-metadata:s:a:0 title="libmp3lame Stereo Audio (192k)" "Example.avi"
|
||||||
|
|
||||||
* (Default: y) Do you want run the conversion? (y/n): n
|
* (Default: y) Do you want run the conversion? (y/n): n
|
||||||
|
|
|
@ -111,8 +111,8 @@ _Note: Output file name will be `Example-aspect.mkv`_
|
||||||
* COMMAND THAT WILL BE EXECUTED:
|
* COMMAND THAT WILL BE EXECUTED:
|
||||||
|
|
||||||
# Crop 'Example.mkv' from 16:9 to 4:3 (1.33:1)
|
# 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
|
ffmpeg -i Example.mkv -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1
|
||||||
-map 0:0 -map 0:1 -filter:v "crop=ih/3*4:ih" -s 1920x1440 -c:v libx264 -profile:v high
|
-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
|
-b:v 5000k -preset medium -c:a copy Example-crop.mkv
|
||||||
|
|
||||||
* (Default: y) Do you want run the conversion? (y/n): n
|
* (Default: y) Do you want run the conversion? (y/n): n
|
||||||
|
|
|
@ -84,8 +84,8 @@ $ ks-mp4 </absolute/path/video.mkv> </path/prefix_name>
|
||||||
ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"
|
ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"
|
||||||
|
|
||||||
# Convert the file 'Example.mkv' to MP4
|
# 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
|
ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1
|
||||||
-map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 1280x534 -c:v libx264 -profile:v high
|
-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
|
-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 title="Example (2016)" -metadata date="2016" -metadata genre="Thriller"
|
||||||
-metadata:s:v:0 title="Example (2016)"
|
-metadata:s:v:0 title="Example (2016)"
|
||||||
|
|
|
@ -84,8 +84,8 @@ $ ks-mp4k </absolute/path/video.mkv> </path/prefix_name>
|
||||||
ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"
|
ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"
|
||||||
|
|
||||||
# Convert the file 'Example.mkv' to MP4
|
# 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
|
ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1
|
||||||
-map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 3840x2160 -c:v libx264 -profile:v high
|
-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
|
-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 title="Example (2016)" -metadata date="2016" -metadata genre="Thriller"
|
||||||
-metadata:s:v:0 title="Example (2016)"
|
-metadata:s:v:0 title="Example (2016)"
|
||||||
|
|
|
@ -15,7 +15,7 @@ $ ks-mp4s </absolute/path/video.mkv> </path/prefix_name>
|
||||||
- Resolution: 720x480
|
- Resolution: 720x480
|
||||||
- Video codec: libx264
|
- Video codec: libx264
|
||||||
- Bitrate video: 950k
|
- Bitrate video: 950k
|
||||||
- Preset: medium
|
- Preset: slow
|
||||||
- Audio codec: aac (stereo)
|
- Audio codec: aac (stereo)
|
||||||
- Bitrate audio: 128k
|
- Bitrate audio: 128k
|
||||||
- Default Audio: spa
|
- Default Audio: spa
|
||||||
|
@ -29,7 +29,7 @@ $ ks-mp4s </absolute/path/video.mkv> </path/prefix_name>
|
||||||
rel_size="720x480"
|
rel_size="720x480"
|
||||||
vcodec="libx264"
|
vcodec="libx264"
|
||||||
b_vcodec="950k"
|
b_vcodec="950k"
|
||||||
v_preset="medium"
|
v_preset="slow"
|
||||||
acodec="aac"
|
acodec="aac"
|
||||||
b_acodec="128k"
|
b_acodec="128k"
|
||||||
default_lang_audio="spa"
|
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"
|
ffmpeg -i "Example.mkv" -map 0:5 "Example.srt"
|
||||||
|
|
||||||
# Convert the file 'Example.mkv' to MP4
|
# 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
|
ffmpeg -i "Example.mkv" -fps_mode cfr -af aresample=async=1 -map 0:0 -map 0:1
|
||||||
-map 0:0 -map 0:1 -vf subtitles="Example.srt" -s 720x480 -c:v libx264 -profile:v high
|
-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
|
-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 title="Example" -metadata date="2016" -metadata genre="Thriller"
|
||||||
-metadata:s:v:0 title="Example"
|
-metadata:s:v:0 title="Example"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user