diff --git a/README.md b/README.md index 3b81ca5..f603bef 100644 --- a/README.md +++ b/README.md @@ -53,11 +53,11 @@ _Dependencies: bash, coreutils, openssh-server, openssh-client, sshpass, rsync, * Open the terminal and type the following commands: - ```shell - $ tar zxvf ks-tools-7.2-300321-Linux-en.tar.gz - $ cd ks-tools - $ sudo make install - ```` + ```shell + $ tar zxvf ks-tools-7.2-300321-Linux-en.tar.gz + $ cd ks-tools + $ sudo make install + ```` * **Windows instruccions:** * Unzip the package with [7-zip](http://www.7-zip.org/) or [Winrar](http://www.rarlab.com/). diff --git a/doc/ks-avi.md b/doc/ks-avi.md index af18f85..31e9f18 100644 --- a/doc/ks-avi.md +++ b/doc/ks-avi.md @@ -50,50 +50,50 @@ $ ks-avi * Executing the command, the file will be analyzed and a wizard will be shown to select the tracks, choose the settings and define the metadata: - ```shell - * Information of Example.mkv: - - + Video Tracks: - Stream #0:0: Video: h264 (High) - - + Audio Tracks: - Stream #0:1(spa): Audio: ac3 - Stream #0:2(eng): Audio: ac3 - - + Subtitle Tracks: - Stream #0:3(spa): Subtitle: subrip (default) (forced) - Stream #0:4(spa): Subtitle: hdmv_pgs_subtitle - Stream #0:5(spa): Subtitle: subrip (forced) - Stream #0:6(eng): Subtitle: subrip - - * (Default: 0:0) Type the number of video track: - * (Default: 0:1) Type the number of audio track: - * (Default: n) Do you want include subtitles? (y/n): y - * (Default: 0:3) Type the number of subtitle track: 0:5 - * (Default: 720x480) Type the resolution: - * (Default: n) Do you want apply '-max_muxing_queue_size 9999' patch? (y/n): n - - * METADATA configuration: - - * (Default: Example) Type name of title: - * (Default: 2021) Type the year: 2016 - * (Default: Unknown) Type the genre: Thriller - - * COMMANDS THAT WILL BE EXECUTED: - - # Extract subtitles from file Example.mkv - ffmpeg -i "Example.mkv" -map 0:5 "Example.srt" - - # Convert the file 'Example.mkv' to AVI - ffmpeg -i "Example.mkv" -vsync 1 -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 - ```` + ```shell + * Information of Example.mkv: + + + Video Tracks: + Stream #0:0: Video: h264 (High) + + + Audio Tracks: + Stream #0:1(spa): Audio: ac3 + Stream #0:2(eng): Audio: ac3 + + + Subtitle Tracks: + Stream #0:3(spa): Subtitle: subrip (default) (forced) + Stream #0:4(spa): Subtitle: hdmv_pgs_subtitle + Stream #0:5(spa): Subtitle: subrip (forced) + Stream #0:6(eng): Subtitle: subrip + + * (Default: 0:0) Type the number of video track: + * (Default: 0:1) Type the number of audio track: + * (Default: n) Do you want include subtitles? (y/n): y + * (Default: 0:3) Type the number of subtitle track: 0:5 + * (Default: 720x480) Type the resolution: + * (Default: n) Do you want apply '-max_muxing_queue_size 9999' patch? (y/n): n + + * METADATA configuration: + + * (Default: Example) Type name of title: + * (Default: 2021) Type the year: 2016 + * (Default: Unknown) Type the genre: Thriller + + * COMMANDS THAT WILL BE EXECUTED: + + # Extract subtitles from file Example.mkv + ffmpeg -i "Example.mkv" -map 0:5 "Example.srt" + + # Convert the file 'Example.mkv' to AVI + ffmpeg -i "Example.mkv" -vsync 1 -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 + ```` ### Back to README.md