Tl;dr;
- Paste
Defaults editor=/usr/bin/nanointo the sudoers file, akasudo visudo - Paste
export EDITOR=/usr/bin/nanointo a profile conf, akasudo nano /etc/profile.d/jdoe.sh
| #!/bin/bash | |
| # m4v and mp4 video, Chapter Marker splitter | |
| # May be particularly good with final cut DVD chapter markers | |
| # This standard seems to be popular in MP3's... cant find the official spec | |
| # Chapter #0:0: start 0.000000, end 1290.013333 | |
| # Metadata: | |
| # title : 3.4 - Rigging and Replacement | |
| # http://linuxcommand.org/lc3_man_pages/readh.html |
Tl;dr;
Defaults editor=/usr/bin/nano into the sudoers file, aka sudo visudoexport EDITOR=/usr/bin/nano into a profile conf, aka sudo nano /etc/profile.d/jdoe.sh| #!/bin/bash | |
| # strict 2 is required to use the built in aac codec | |
| # Fast start may not be needed when using the built in aac, but it is for h264 | |
| ffmpeg -i input.mov -vcodec h264 -acodec aac -strict -2 -movflags faststart output.mp4 | |
| # Better Quality, medium compression | |
| ffmpeg -i input.avi -vcodec h264 -preset veryslow -crf 18 -acodec aac -strict -2 -b:a 240k -movflags faststart helvet.mp4 | |
| # Doing lossy X to lossy x264/aac right, crf 18 - 1 to account for compression artifacts | |
| ffmpeg.exe -i input.avi -vcodec h264 -crf 17 -preset veryslow -acodec aac -strict -2 -b:a 240k -movflags faststart output.mp4 |