I'm looking to convert a (large) collection of 3ivx video files recorded on Flip Mino camera's. Ideally into MPEG2 format, or some other form of light compression.
The reason behind it is these cameras are used by some of the students in my school, a lot of whom wish to edit on Premire Elements 1.0. However the 3ivx MP4 files are unsuported.
I've been able to convert these files individually. I'm just wondering if there is a script that i could write, or that is around, put in the same directory and run, for it to convert them all. I'm fairly bad with scripts but have used them in this way before for converting some AVCHD footage.
To give you guys more info, here is what MediaInfo says about the source files:
Cheers for any help!General
Complete name : I:\DCIM\100VIDEO\VID00001.AVI
Format : AVI
Format/Info : Audio Video Interleave
File size : 9.54 MiB
Duration : 20s 315ms
Overall bit rate : 3 938 Kbps
Video
Format : MPEG-4 Visual
Format profile : Streaming Video@L1
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (MPEG)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 20s 233ms
Bit rate : 3 766 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4/3
Frame rate : 30.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.409
Stream size : 9.08 MiB (95%)
Writing library : Zoran
Audio
Format : ADPCM
Codec ID : 2
Codec ID/Info : Microsoft ADPCM
Duration : 20s 315ms
Bit rate mode : Constant
Bit rate : 176.4 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Resolution : 4 bits
Stream size : 440 KiB (5%)
Interleave, duration : 46 ms (1.38 video frame)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
THat looks like avi xvids...
But anyway you could use ffmpeg and convert to mpeg2, make a .bat file with
Code:for %%a in ("*.avi") do ffmpeg -i %%a -acodec mp2 -ab 128 -vcodec mpeg2video -o %%a-new.mpg
and run it in the same folder as ffmpeg and the avi files. -
Thank you so much for this. I've experimented with it a little and managed to make it a standalone converter assuming ffmpeg is in the correct location making it easier for the students. I'm going to change the location from C: to a public network drive.
I had a few issues with the sound in the script you suggested but managed to sort it out. Just for reference for anyone else who may be interested this is the final script i have come up with:
for %%a in ("*.avi") do c:\ffmpeg\ffmpeg -i %%a -acodec mp2 -ab 192k -ac 1 -vcodec mpeg2video -b 5000k %%a-new.mpg
Similar Threads
-
Can I get a little help with an ffmpeg script/batch file?
By Iced Coffee in forum Newbie / General discussionsReplies: 14Last Post: 26th Aug 2015, 01:56 -
MKVExtract and MyMP4Box batch script
By mkr10001 in forum Video ConversionReplies: 18Last Post: 14th Mar 2012, 11:31 -
AviDemux batch script
By jakhazell in forum Newbie / General discussionsReplies: 5Last Post: 21st Aug 2011, 21:16 -
Whats wrong with this batch Mkv script?
By Animebuster in forum EditingReplies: 0Last Post: 21st Jul 2010, 03:59 -
PHP script for batch encoding
By gdanko in forum LinuxReplies: 0Last Post: 12th Oct 2008, 02:32