Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Converting image sequence to .mov & .flv

  • Converting image sequence to .mov & .flv

    Posted by Mike Moss on September 14, 2011 at 7:37 pm

    Hello, If my following question has already been answered feel free to point me in the right direction. Thanks!

    I need to install ffmpeg on a Win 2003 server. I get alot of image sequences that have many diffrent names from diffrent users. All of which need to be converted to .mov and/or .flv format.

    I’ve been trying to use ffmpeg on my local Win7 machine and have yet to be successful. I get a lot of diffrent errors in many diffrent ways of trying. I think my problem is the documention is very confusing to me. Which is the right ffmpeg to download,setup, etc…

    This is the one i downloaded: https://www.videohelp.com/tools/ffmpeg
    (not the gui version)

    I have the folder in my root C: dir.
    I’ve been attempting to convert some images with this command for example:

    ffmpeg.exe -i *.tga -f video.mov

    Which gives me a “Failed to set value ‘video.mov’ for option ‘f'” error. I’ve tried diffrent formats, diffrent syntax and i cant get anything to work. I was originally using Imagemagic, which worked for converting to .mov great! But then found out it does not support .flv formats… damn.

    Maybe you guys can help me out. I need a script that will search an entire folder (Preferably to search network UNC paths.i.e \pathpathsource_images) for a specific format (.jpg, .tga, .tiff, etc..) create a video out of it and output that video to a specified directory.

    Hopefully i have enough information here, please let me know if i need to provide anything more.

    Daniel Paluska replied 14 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Mike Moss

    September 15, 2011 at 5:08 pm

    Ok, update…
    I managed to convert to the right formats. (I used ImageMagick to convert the sequence to .mov then FFmpeg to take that .mov and convert it to Flash .flv) Just wrote a batch file that does the whole process.

    But now i got another problem.

    The images im using to test are 1920×1080 and they look great. But once Imagemagick gets ahold of them and converts to .mov they look horrible. HUGE pixelation, streaking, etc. I’ve tried using the -quality flag set to 100, not sure what else to do to make them look normal again. It looks as if its a monitor refresh problem.

    Any ideas?

  • Daniel Paluska

    November 23, 2011 at 8:28 pm

    how are your files names? they need to be sequential

    if they are img001.tga … img999.tga

    then you would use the line
    ffmpeg.exe -i img%03d.tga -qscale 4 video.mov

    qscale is from 2-31 where 2 is highest quality.

    if video.mov doesn’t work try video.mpg or video.mp4 or video.avi
    or you can go direct to flv. you don’t have to have the .mov intermediate step

    this should work without needing to go through the imagemagick step.

    if you type man ffmpeg you will see the -formats option which when you run by typing ffmpeg -formats, this will tell you all the available output formats.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy