1 If I write a similar script, using my file names, how do I save it? Do I just name it as you did yours, with a dot bash suffix?
2 How does mencoder find the file to be rotated? If the bash script is in the same folder as the file, is that sufficient? Does it default to some location?
1) You don't really need to use a bash script, I just did that for ease while recording the video so I didn't have to type the full mencoder syntax while filming.
So in this instance the input file needs to be in your current working directory, but you can give the full path to a file anywhere on your system like :-
Many thanks...saved school project
lpstock2009 1 month ago
A couple of noob questions:
1 If I write a similar script, using my file names, how do I save it? Do I just name it as you did yours, with a dot bash suffix?
2 How does mencoder find the file to be rotated? If the bash script is in the same folder as the file, is that sufficient? Does it default to some location?
Thanks!
KutWrite 4 months ago
@KutWrite
1) You don't really need to use a bash script, I just did that for ease while recording the video so I didn't have to type the full mencoder syntax while filming.
2) The mencoder syntax is:-
mencoder inputfile.mp4 -o outputfile.mp4 -vf rotate=1 -oac copy -ovc lavc
So in this instance the input file needs to be in your current working directory, but you can give the full path to a file anywhere on your system like :-
mencoder /path/to/file/inputfile.mp4 .....
linuxbyexample 4 months ago
@linuxbyexample i have video mpeg-4 movie . please help me how to rotate?
xajik3 3 months ago
@linuxbyexample - Thanks!
KutWrite 2 months ago
thank u very very much sir,.
vikal4u 5 months ago