Added: 9 months ago
From: linuxbyexample
Views: 1,338
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • Many thanks...saved school project

  • 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

    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 i have video mpeg-4 movie . please help me how to rotate?

  • @linuxbyexample - Thanks!

  • thank u very very much sir,.

    

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more