VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member fitch.j's Avatar
    Join Date
    May 2009
    Location
    United Kingdom
    Search Comp PM
    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:

    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)
    Cheers for any help!
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    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
    (you probably want some more settings like video bitrate etc...see http://www.ffmpeg.org/ffmpeg-doc.html )

    and run it in the same folder as ffmpeg and the avi files.
    Quote Quote  
  3. Member fitch.j's Avatar
    Join Date
    May 2009
    Location
    United Kingdom
    Search Comp PM
    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
    Thanks again Baldrick
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!