Bash. Script automatic video encoding

0 like 0 dislike
32 views
Gentlemen, need help writing a script. Due to the beginning of the new pilot season came up with the idea that enough "hands" each file to encode, it is necessary for this process to automate. task: you have a folder with videos, it is necessary to select files that have names that contains — LostFilm.TV and if there is no file with the extension mp4 (already encoded) to put in the script and encode. Encode videos using ffmpeg: ffmpeg -i House.M.D.s07e01.rus.LostFilm.TV.avi -acodec aac -strict experimental -ab 128kb -vcodec mpeg4 -b 1000kb -s 320x180 -r 23.98 House.M.D.s07e01.rus.LostFilm.TV.mp4
by | 32 views

3 Answers

0 like 0 dislike
Um, what's the problem? heard about awk?
by
0 like 0 dislike
Read this.
\r
\rwww.intuit.ru/department/os/baselinuxwork/5/10.html
\r
then we realize that we need this design, also read about the test which will check if such a file.
\r
Then take a utility to find and find in the right directory LostFilm.TV
the result of the command sent to the script for transcoding while in can find files by mask.
by
0 like 0 dislike
2 agh:
I'm a big opponent of haphazard education ;)
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Mar 24, 2019 by KriegeR
0 like 0 dislike
7 answers
0 like 0 dislike
4 answers
asked Mar 20, 2019 by kolobob
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
32,828 users