What program can batch convert video
Hello,
I have many video files that I'm trying to convert from *** to .mp4 Currently I'm using Handbrake which does a good job but getting it started is very tedious. In Handbrake I need to confirm and add to queue all of the files. When there are over 200 files at a time it takes way too long. If there is a way to not confirm all of the files please let me know. What program can I use to just add a folder and have it automatically add all of the files to my queue? Any suggestions? |
|
Handbreak can be used from the command line.
Code:
$ cd folder |
Tnx arizonagroovejet! I adapted this for ffmpeg:
Quote:
Thanks!!! Thor |
hi, i generated/ modified this from xvidenc:
Code:
[schneidz@hyper ~]$ cat bin/xvidenc-ac3-mkv.ksh |
Quote:
I'm trying this: PHP Code:
PHP Code:
|
i wouldnt use filenames with spaces...
else escape the spaces or put quotes around the filename. not quite sure what you want for the input or putput filenames... try this as a quick test: Code:
ffmpeg -i input.avi -b 64k output.avi |
Putting all the videos in the argument line won't convert them individually.
You would do that to append videos (ie cat'ing files together) or have more than one video stream. There are a large number of presets for libx264 in the /usr/share/ffmpeg/ directory. You want to include options to control the size, aspect & quality of your output. The generic options will give you a very low bitrate small sized video as a result. Experiment with the options until you get the result you want for your device. Then you can create a script that uses those options in ~/bin/ and if you have several videos to convert, you can call the script in a loop. Bonus example: Code:
Here is the ~/bin/vid2sansap2 script I use to transcode videos for my Sansa P2 player: It's easy to include the script in a loop to transcode multiple videos. |
Thank you
I'll try both ways later this week. Hope I can get it to work soon. |
All times are GMT -5. The time now is 12:29 PM. |