2021-03-07 19:10:24 +01:00
|
|
|
ks-mp4s-wrapper - Wrapper for ks-mp4s to create graphical interfaces.
|
|
|
|
===================================================================
|
|
|
|
|
2021-03-07 20:10:48 +01:00
|
|
|
### TRACKS/CONFIG DETECT:
|
2021-03-07 19:10:24 +01:00
|
|
|
|
2021-04-18 00:21:59 +02:00
|
|
|
```shell
|
|
|
|
$ ks-mp4s-wrapper --show-info <video_file>
|
|
|
|
$ ks-mp4s-wrapper --show-video-default <video_file>
|
|
|
|
$ ks-mp4s-wrapper --show-audio-default <video_file>
|
|
|
|
$ ks-mp4s-wrapper --show-subtitle-default <video_file>
|
|
|
|
$ ks-mp4s-wrapper --show-resolution-default
|
|
|
|
```
|
2021-03-07 19:10:24 +01:00
|
|
|
|
|
|
|
### METADATA DETECT:
|
|
|
|
|
2021-04-18 00:21:59 +02:00
|
|
|
```shell
|
|
|
|
$ ks-mp4s-wrapper --show-name-title-default <video_file>
|
|
|
|
$ ks-mp4s-wrapper --show-year-default
|
|
|
|
$ ks-mp4s-wrapper --show-genre-default
|
|
|
|
```
|
2021-03-07 19:10:24 +01:00
|
|
|
|
|
|
|
### CONVERT:
|
|
|
|
|
2021-04-18 00:21:59 +02:00
|
|
|
```shell
|
|
|
|
$ ks-mp4s-wrapper --conv </path/video_file> </path/output_prefix> <video-track> <audio-track> <resolution> "<name-title>" <year> "<genre>" [patch]
|
|
|
|
$ ks-mp4s-wrapper --conv-with-sub </path/video_file> </path/output_prefix> <video-track> <audio-track> <subs-track> <resolution> "<name-title>" <year> "<genre>" [patch]
|
|
|
|
```
|
2021-03-07 19:10:24 +01:00
|
|
|
|
|
|
|
### CONVERT WITH DEFAULT DETECTION (NOT RECOMMENDED):
|
|
|
|
|
2021-04-18 00:21:59 +02:00
|
|
|
```shell
|
|
|
|
$ ks-mp4s-wrapper --conv </path/video_file> </path/output_prefix>
|
|
|
|
$ ks-mp4s-wrapper --conv-with-sub </path/video_file> </path/output_prefix>
|
|
|
|
```
|
2021-03-07 19:10:24 +01:00
|
|
|
|
|
|
|
### EXAMPLES:
|
|
|
|
|
2021-04-18 00:21:59 +02:00
|
|
|
```shell
|
|
|
|
$ ks-mp4s-wrapper --conv /tmp/video.mkv /tmp/output 0:0 0:1 720x404 "My video" 2018 "Comedy"
|
|
|
|
$ ks-mp4s-wrapper --conv-with-sub /tmp/video.mkv /tmp/output 0:0 0:1 0:3 1280x720 "My video" 2018 "Comedy"
|
|
|
|
$ ks-mp4s-wrapper --conv /tmp/video.mkv /tmp/output 0:0 0:1 720x480 "My video" 2018 "Comedy" patch
|
|
|
|
```
|
2021-03-07 19:10:24 +01:00
|
|
|
|
|
|
|
### Notes:
|
|
|
|
|
|
|
|
* The option `patch` apply the `-thread_queue_size 2048` patch to ffmpeg.
|
|
|
|
* If you specify a path or file with spaces, you must use quotes.
|
|
|
|
|
|
|
|
### Back to README.md
|
|
|
|
|
|
|
|
* [Go back](https://github.com/q3aql/ks-tools/blob/main/README.md)
|
2021-04-18 00:21:59 +02:00
|
|
|
|