Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 373607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:19:29+00:00 2026-05-12T14:19:29+00:00

How do I make image slideshows as a video file via 4 small jpegs

  • 0

How do I make image slideshows as a video file via 4 small jpegs (128px x 128px) and Linux command-line graphic tools? I need to vary the slideshow transitions with:

  • fade to/from black
  • slide left/right while fading to next image

If you’re curious, we plan to make videos we can put into mobile phones for real estate listings. (We already have the technology to convert Ogg Theora into proprietary mobile formats.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:19:29+00:00Added an answer on May 12, 2026 at 2:19 pm

    Transitions are just basic image manipulation. Try playing around with ImageMagick.

    Converting jpeg to video is easy. The Mplayer software includes mencoder. Then it’s just a matter of determining your options and video output type.

    Caveat: Sometimes, when going from JPEG -> mpeg2video (for dvds), I find it necessary to transition through mpeg4.

    E.g.: JPEG -> mpeg4 -> mpeg2video

    So, to take one still JPEG and turn it into $SOUNDLENGTH seconds of video:

    mencoder mf://${JPEGFILE}  -mf w=720:h=480:fps=1/${SOUNDLENGTH}:type=jpeg -audiofile ${SOUNDFILE} -ovc lavc -oac lavc -lavcopts vcodec=mpeg4 -ofps 30000/1001 -o ${MPG_1}
    
    mencoder -ovc lavc -oac lavc -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=${VBITRATE}:keyint=18:acodec=ac3:abitrate=192:aspect=4/3:trell:mbd=2:dia=4:cmp=3:precmp=3:ildctcmp=3:subcmp=3:mbcmp=3:cbp:mv0:dc=10 -of mpeg -mpegopts format=dvd -vf expand=720:480,harddup -srate 48000 -af lavcresample=48000 -ofps 30000/1001 -o ${MPG_2} ${MPG_1} 
    
    • $VBITRATE is typically 5000, though it can be lower.
    • harddup solves certain video/audio sync issues with some dvd-players.
    • This presumes a 4/3 aspect ratio. Change it if yer 9×16… (More of an issue for dvd-playback.)
    • If the video images were not the correct size, expand= would give us a black border wasting valuable bits. You may prefer scale= instead of expand=, combining the two, perhaps even adding a crop= term, or AVOIDING IT ALTOGETHER depending on your ultimate video output. In my case, I’m often going from 640×480 to 720×480 (dvd-standard-resolution), with a need to playback on standard (non-computer) hardware. Thus the expand= clause is usually in there by default, along with the black bars and the wasted bits. Though in this case, it should be doing nothing as my original JPEG image was 720×480.
    • This is merely *a* means of JPEG->MPEG conversion. It’s not optimized for speed or, really, anything…

    If you actually want to build DVDs, the tool to look into is dvdauthor. But it doesn’t sound like you need that…

    Oh, and you might be VASTLY better served via an animated gif… (Which ImageMagick can create for you.) Animated gifs would be much smaller, and easier to send over limited bandwidth…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to make an image view animate it's self on and off of
I need to make a css background image fade slideshow. For several reasons, i
i am trying to make image and text display at same line by using
I'm developing a DLL that uses WPF classes to make image manipulation. It works
Is there anyway to make an image map W3C XHTML 1.0 Strict compliant? I'm
I would like to make a image randomizer/slider that randomly displays an image from
I am trying to make the image title display at the same time the
What's the best way (if any) to make an image appear grayed out with
I'm trying to use the following code to make an image fadeOut and, only
I am trying to make a combined image of all images added to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.