Scripts for singularity transcoding VM.
For What, Why, How you could read: http://brontosaurusrex.github.io/singularity/
- toX264crf (and required toAAC, hasVideo, hasAudio, mxfmixdown and such modules)
- toDV
- toPRORES
- toPRORESinterlaced (assumes ttf input and flags/encodes? output as interlaced)
- srt2video
- toMXFpush (xdcam 8bpc 4:2:2 mpeg2 with separated mono tracks, assumes stereo single channel input, will also do ebuR128 correction on audio)
- r128 (r128 info and graph, will also work with mxf files with separated audio channels)
- dur (echo durations)
- durtc (echo durations if framerate is assumed to be 25)
- toVP9 (needs testing and finding some nice vp9 defaults, so far it looks worse & is slower than x.264 everytime) http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide
- toHEVC (testing x.265)
- unique ouput naming for video scripts
- Lossy audio encoders should now call r128corectionPlus6 (adding +6 dB to calculation), this are all formats meant for web mostly.
- Broadcast formats like toPRORES will not get any r128 corrections at this point, except formats that are meant for push, like mxf.
input=file.mov
toDV "$input" && toX264crf "$input"
# will encode the file to DV and h.264
# toDV "$input" & toX264crf "$input" # should work as well.
Especially audio transcoders will get enormous speed boost when using parallel, for example
find . -type f -iname "*.wav" | parallel --gnu toOPUS {}
toVORBIS fails when run in BG.
Debian buster: libfdk stuff from repos may break cli fdkaac enc in weird ways. Solution was to uninstall and recompile fdk-aac and fdkaac. Problem shows up with mediainfo showing stuff like
channel layout : C L R Cb < ???!
for 2ch input.
Get Thunar some thumbnail
sudo pacman -S tumbler ffmpegthumbnailer # to get thumbs in thunar
Thunar custom actions
urxvt -e bash -c 'mediainfo %f && (read -n1 -r -p "Any key to quit...")'