update README
This commit is contained in:
parent
938c53fd85
commit
1250e3f248
1 changed files with 19 additions and 17 deletions
36
README.org
36
README.org
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
|
|
||||||
Grab a script and execute it.
|
Grab a script and execute it.
|
||||||
|
|
||||||
This repo is also a [[https://nixos.wiki/wiki/Flakes][Nix Flake]].
|
This repo is also a [[https://nixos.wiki/wiki/Flakes][Nix Flake]].
|
||||||
You can directly start a script with the following command if you have at least version 2.4 of [[https://nixos.org/][Nix]] installed:
|
You can directly start a script with the following command if you have at least version 2.4 of [[https://nixos.org/][Nix]] installed:
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
: $ nix run github:Deleh/ffutils#<script_name> -- --help
|
: $ nix run github:Deleh/ffutils#<script_name> -- --help
|
||||||
|
|
||||||
** Scripts
|
** Scripts
|
||||||
|
|
||||||
*** =ffconv=
|
*** =ffconv=
|
||||||
:properties:
|
:properties:
|
||||||
:custom_id: ffconv
|
:custom_id: ffconv
|
||||||
|
|
@ -52,19 +52,20 @@
|
||||||
TO_FORMAT To format
|
TO_FORMAT To format
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-d, --directory DIRECTORY Convert files in DIRECTORY (default: current work d
|
-h, --help Show this help message
|
||||||
irectory)
|
-d, --directory DIRECTORY Convert files in DIRECTORY (default: current work
|
||||||
|
directory)
|
||||||
-k, --keep Keep original files
|
-k, --keep Keep original files
|
||||||
-l, --list List files which match the FROM_FORMAT
|
-l, --list List files which match the FROM_FORMAT
|
||||||
-m, --move DIRECTORY Move old files to DIRECTORY (omits --keep) (default
|
-m, --move DIRECTORY Move old files to DIRECTORY (omits --keep)
|
||||||
: )
|
(default: )
|
||||||
|
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
ffconv mp3 opus Convert all mp3 files to opus
|
ffconv mp3 opus Convert all mp3 files to opus
|
||||||
ffconv -m trash mp4 mkv Convert all mp4 to mkv and move the original one
|
ffconv -m trash mp4 mkv Convert all mp4 to mkv and move the original
|
||||||
s to './trash'
|
ones to './trash'
|
||||||
ffconv -d ~/music -l wma mp3 List all wma files from '~/music' and ask for co
|
ffconv -d ~/music -l wma mp3 List all wma files from '~/music' and ask for
|
||||||
nverting them to mp3
|
converting them to mp3
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
*** =ffcut=
|
*** =ffcut=
|
||||||
|
|
@ -79,7 +80,7 @@
|
||||||
Cutting file video.mp4
|
Cutting file video.mp4
|
||||||
The extracted part was saved to cutted_video.mp4
|
The extracted part was saved to cutted_video.mp4
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
**** Usage
|
**** Usage
|
||||||
|
|
||||||
#+begin_example
|
#+begin_example
|
||||||
|
|
@ -91,14 +92,15 @@
|
||||||
FILE File which will be cutted
|
FILE File which will be cutted
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
|
-h, --help Show this help message
|
||||||
-f, --from TIMESTAMP/SECONDS Extract from TIMESTAMP/SECONDS (default: 0)
|
-f, --from TIMESTAMP/SECONDS Extract from TIMESTAMP/SECONDS (default: 0)
|
||||||
-o, --out FILE Save extracted part to FILE (default: cutted_<fi
|
-o, --out FILE Save extracted part to FILE (default:
|
||||||
lename>)
|
cutted_<filename>)
|
||||||
-t, --to TIMESTAMP/DURATION Extract to TIMESTAMP/DURATION (default: end)
|
-t, --to TIMESTAMP/DURATION Extract to TIMESTAMP/DURATION (default: end)
|
||||||
|
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
ffcut -t 5 video.mp4 -o cut.webm Extract the first five seconds of 'vi
|
ffcut -t 5 video.mp4 -o cut.webm Extract the first five seconds of
|
||||||
deo.mp4' to 'cut.webm'
|
'video.mp4' to 'cut.webm'
|
||||||
ffcut -f 00:10:30 -t 00:14:15 video.mp4 Extract the part from 00:10:30 to 00:
|
ffcut -f 00:10:30 -t 00:14:15 video.mp4 Extract the part from 00:10:30 to
|
||||||
14:15 from 'video.mp4'
|
00:14:15 from 'video.mp4'
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue