Batch script for Mencoder???
Been looking around to see if there is a small script available to batch transcode files using mencoder???
I know that there are GUI´s that can do this....but not interested in the GUI, just want to run mencoder in the shell and use a batch process to transcode a whole directory of video files. Any ideas??? thanks, jungmin |
well writing your own script isn't rocket surgery, what is this script supposed to do for you other than a simple loop for a command line that you preumsably already undersatnd?
|
I dont doubt its easy.....not sure how to do it though. What else is it supposed to do?? Nuthin....just loop until all mencoder has finished with all the files in the directory.
|
well there will not be a script to do that as it's a one line bach command...
for i in /var/media/*.avi; do mencoder -ovc blah blah blah $i -o $i.output; done for example. |
Thanks Chris....
|
It looks like that loop command will name the output files 1.avi, 2.avi, 3.avi, 4....Is this the case???? Is there any option to put in that command to retain their original file names with an extra character added to the end?? Like homevideo.avi and homevideo1.avi???
|
my version will put .output on the end of the same input file name. you need to learn a bit of bash scripting yourself to do it how you want to do it, that example is so so trivial it's unreal...
|
Yeah, thanks again!!!!!
|
I understand even less than JungMin but I'd want to have a batch command encode multiple xvid's with 2pass (which as far as I know require 2 different commands).
how should I do it? |
Quote:
Scripting tutorial is here: http://tldp.org/LDP/abs/html/ |
dear TBOne,
this post is the first result given by google for the search 'mencoder batch linux' and I think my doubt is consistent with the post argument. anyways I'm looking into your link. I'm sorry to disturb you but I'm from a different forum where people are helpful. bye |
more than likely now, someone WILL reply to this thread trying to help the OP wasting their time, as they would expect any thread they see to be less that ancient. There is no need to be so negative about it, especially as you WERE given help and advice. In order to reply you will have be presented with a screen advising you that the thread is old and you should start your own thread, but you chose to ignore that request.
|
All times are GMT -5. The time now is 06:34 AM. |