better README
This commit is contained in:
parent
4ab6301def
commit
da4483fd12
3 changed files with 37 additions and 25 deletions
|
@ -5,21 +5,20 @@ This is a collection of scripts I use for encoding and transcoding multimedia. F
|
|||
|
||||
**to_av1**
|
||||
|
||||
#### Skripts for creating backups of physical devices
|
||||
|
||||
for getting volume label: dd if=/dev/sr0 bs=1 skip=32808 count=32
|
||||
|
||||
**CD_to_Flac**
|
||||
- for getting volume label: dd if=/dev/sr0 bs=1 skip=32808 count=32
|
||||
- needs ffmpeg with --enable-libcdio
|
||||
- ffmpeg -f libcdio -i /dev/sr0 cd.flac
|
||||
- https://ffmpeg.org/ffmpeg-devices.html#libcdio
|
||||
- paranoia_mode full
|
||||
|
||||
**Bluray_to_mkv**
|
||||
- for getting volume label: dd if=/dev/sr0 bs=1 skip=32808 count=32
|
||||
- https://ffmpeg.org/ffmpeg-protocols.html#bluray
|
||||
- https://wiki.archlinux.org/title/Blu-ray
|
||||
|
||||
**DVD_to_mkv**
|
||||
- for getting volume label: dd if=/dev/sr0 bs=1 skip=32808 count=32
|
||||
- currently [makemkv](https://www.makemkv.com/) could be used
|
||||
- for video the VOBs in VIDEO_TS could be concatenated using [dvd2concat](https://github.com/FFmpeg/FFmpeg/blob/master/tools/dvd2concat)
|
||||
- [dvdbackup](https://dvdbackup.sourceforge.net/) or mplayer with -dumpstream could be used for decrypting
|
||||
|
|
|
@ -1,31 +1,30 @@
|
|||
# to_opus
|
||||
This script converts all audiostreams in all files with given file extension in your current working directory and all subdirectories to opus.
|
||||
The Script will choose an automatic bitrate for every audiostream dependent on the number of channels and the original bitrate.
|
||||
See https://wiki.xiph.org/Opus_Recommended_Settings for more information about this.
|
||||
The Script will choose an automatic bitrate for every audiostream dependent on the number of channels and the original bitrate.[[1]](https://wiki.xiph.org/Opus_Recommended_Settings)
|
||||
|
||||
If used on containers with video- or multiple audiostreams, this skript will only convert the audiostream and copy all streams in a Matroska container.
|
||||
|
||||
### Flags
|
||||
## Flags
|
||||
```-e``` defines the extension of the files that should be converted<br>
|
||||
```-d``` deletes original files after conversion<br>
|
||||
```-h``` show help (not implemented)
|
||||
|
||||
### Examples
|
||||
## Examples
|
||||
|
||||
convert all files to opus<br>
|
||||
convert all files in your current working directory and all subdirectorys<br>
|
||||
```bash to_opus.sh -e "*"```
|
||||
|
||||
convert all files with .mp3-extension and .flac-extension to opus and deletes original files after that<br>
|
||||
```bash to_opus.sh -e mp3 -e flac```
|
||||
```bash to_opus.sh -e mp3 -e flac -d```
|
||||
|
||||
convert the audiostream of an movie<br>
|
||||
```bash to_opus.sh -e mp4```
|
||||
|
||||
### Dependencies
|
||||
## Dependencies
|
||||
- ffmpeg
|
||||
- Bash 4^
|
||||
|
||||
### Why opus?
|
||||
## Why opus?
|
||||
|
||||
Opus is an open format and royalty free. It is FOSS.
|
||||
It is supported on most platforms and has a better quality per bitrate then formats like mp3 or Vorbis.
|
||||
|
|
|
@ -1,31 +1,45 @@
|
|||
# to_vp9
|
||||
This Script is unfinished and not ready for usage.
|
||||
**This Script is unfinished and not ready for usage.**
|
||||
|
||||
This script converts all videostreams in all files with given file extension in your current working directory and all subdirectories to vp9 using the Matroska container.
|
||||
|
||||
This script converts all videostreams in all files with given file extension in your current working directory and all subdirectories to vp9.
|
||||
The standard settings are in my opinion good for personal storage of movies. Feel free to change them or suggest changes. Later there will be options in the script to change the default behavior.
|
||||
|
||||
If used on containers with subtitles or audiostreams, this skript will only convert the videostream and copy the other streams in a Matroska container.
|
||||
If used on containers with subtitles or audiostreams, this skript will only convert the videostream and copy the other streams.
|
||||
|
||||
### Encoders
|
||||
## Flags
|
||||
```-e``` defines the extension of the files that should be converted<br>
|
||||
```-d``` deletes original files after conversion (not implemented)<br>
|
||||
```-h``` show help (not implemented)
|
||||
|
||||
Hardware-Encoders using NVENC, VAAPI or QSV depend on your hardware and an enabled [Hardware video acceleration](https://wiki.archlinux.org/title/Hardware_video_acceleration). So not all encoders will be available.
|
||||
## Examples
|
||||
|
||||
#### libvpx-vp9
|
||||
Needs a ffmpeg-build with --enable-libvpx
|
||||
convert all videostreams in all files to vp9<br>
|
||||
```bash to_vp9.sh -e "*"```
|
||||
|
||||
convert the videostream of an movie<br>
|
||||
```bash to_opus.sh -e mp4```
|
||||
|
||||
## Dependencies
|
||||
- ffmpeg
|
||||
- Bash 4^
|
||||
|
||||
## Encoders
|
||||
|
||||
### libvpx-vp9
|
||||
Needs a ffmpeg built with ```--enable-libvpx```
|
||||
- https://trac.ffmpeg.org/wiki/Encode/VP9
|
||||
- https://ffmpeg.org/ffmpeg-codecs.html#libvpx
|
||||
|
||||
#### VP9_vaapi
|
||||
### VP9_vaapi
|
||||
|
||||
needs libva
|
||||
More Information about this:
|
||||
needs libva and [Hardware video acceleration](https://wiki.archlinux.org/title/Hardware_video_acceleration) available in your system. Try vainfo in your terminal for verification.
|
||||
- https://ffmpeg.org/ffmpeg-all.html#VAAPI-encoders
|
||||
- https://trac.ffmpeg.org/wiki/Hardware/VAAPI
|
||||
|
||||
#### VP9_qsv
|
||||
### VP9_qsv
|
||||
|
||||
needs intel graphics and ffmpeg-build with --enable-libmfx or --enable-libvpl.
|
||||
More Information about this:
|
||||
needs [Hardware video acceleration](https://wiki.archlinux.org/title/Hardware_video_acceleration) with QuickSync and ffmpeg-build with ```--enable-libmfx``` or ```--enable-libvpl```.
|
||||
- [Differences between libvpl and libmfx](https://www.intel.com/content/www/us/en/developer/articles/technical/onevpl-in-ffmpeg-for-great-streaming-on-intel-gpus.html)
|
||||
- https://ffmpeg.org/ffmpeg-all.html#QSV-Encoders
|
||||
- https://trac.ffmpeg.org/wiki/Hardware/QuickSync
|
||||
|
|
Loading…
Reference in a new issue