Skip to content

Opening book details…

Can I read BASH SCRIPT EXAMPLE : ffmpeg AVI (ANY) to MP4 : Some Notes. on EtoBox?

BASH SCRIPT EXAMPLE : ffmpeg AVI (ANY) to MP4 : Some Notes. by Chickita is a nonfiction available to read on EtoBox.

What is BASH SCRIPT EXAMPLE : ffmpeg AVI (ANY) to MP4 : Some Notes. about?

Back-in for just two cents for mp3-2-m4a.sh and any-2-mp4.sh, both, one cent each. Some users in our group mentioned that: #1.) Replacing `pwd` (= “$(PWD)”) with “/some/path” does not work. Ooops. INPUT\_DIR=`pwd` # "$(PWD)" can be replaced with "/path/to/input/directory" This is because of shell parser, which parse all input file as a one single line and ffmpeg tokenize it into several pieces by splitting it by spaces. Solution: Anyway you have to invoke the script for any location. So, better would be invoking the script from the same directory as input files. `pwd` = “$(PWD)” works perfect as desired from same directory as input files. May Bash shopt globstar work!?! Where as, OUTPUT\_DIR=`pwd` # "$(PWD)" can be replaced with "/path/to/input/directory" works perfect for “/any/desired/output/directory” #2.) Older versions of ffmpeg and ffprobe might not work as well. As the script found to be working perfectly (and well-tested) on any version(s) later than 3.4.2+ where aac encoder has stable release and it no longer requires -strict option. Rest every things work as desired. Notes: ffmpeg can be replace with handbrake-cli if you successfully format and supply correct options. (So

Who reads BASH SCRIPT EXAMPLE : ffmpeg AVI (ANY) to MP4 : Some Notes.?

It is typically read by self-directed learners exploring a subject in depth.

Common subject areas: history, science, philosophy, social sciences.

Author
Chickita
Publisher
Chickita
Published
2020
Language
EN
Category
nonfiction

More by Chickita

Browse all works by Chickita

Similar books