4

What would be the best (e.g. most compact) format for a "video" that is actually an audio track with a single static image the whole time? (example)

And if it was not one static image, but a slow slideshow (maybe 1 image every couple of minutes)?

EDIT
One more case: What if it is a short clip (1-2 seconds), that itself is full quality (I think that means 25 FPS, right?), but is played in a continuous loop throughout the entire audio?

2
  • I didn't realize that when I post a link to youtube, it will embed the video. How do I make it just a regular link?
    – Baruch
    Commented Jan 27, 2014 at 11:05
  • Figured out how to link to youtube.
    – Baruch
    Commented Jan 27, 2014 at 13:18

2 Answers 2

1

The best compression would come from a variable frame rate format. Variable Frame Rate formats are designed to adjust their frame rate based on the level of activity in the video. For something with a very low effective framerate, this would allow it to store the image far fewer times and simply describe how long the image should stay up for. It would then use more frames when necessary for any transitions.

The one downside to variable framerate formats is that there aren't a whole lot of well supported ones and even fewer good encoders to support working with them, but it is what would give the best results.

Handbrake appears to support VFR output.

2
  • Thank you. I see here en.wikipedia.org/wiki/Comparison_of_container_formats that MP4 and OGG both support VFR. Is this automatic, or does it have to be configured, or is it dependant on the authoring software, or what? I have never authored a video, and am kind of clueless. I am fine with it not being well supported. I only need this to play on a few controlled computers, where I can install whatever player is needed.
    – Baruch
    Commented Jan 27, 2014 at 18:54
  • @baruch - it would probably be automatic, but it would depend on the encoding software you used. I'm not familiar with any particular encoders for doing this. I've mostly seen it coming from low power cellphone cameras that need to use simpler compression, but it also happens to be useful for what you are trying to do.
    – AJ Henderson
    Commented Jan 27, 2014 at 19:12
-1

Most video codecs lets you control the interval of what's called keyframes (or intra frames). Those are snapshots of the video, of which the codec will then try to interpolate lost data between. If you only need the image to change every x seconds, and you are OK with 1 second distortion/tween/morph/artifacts then simply set the keyframes interval to 1.

I'm not an expert (never tried what you want to do) but I think H.264/MPEG-4 would be a good match. Hope this helps!


If you have access to the player (if this is for an app you're making, or a website etc), you could try to mimic this behavior using just an image viewer for your platform and an audio player.

1
  • Keyframe interval is generally not the number of seconds between frames, but rather the number of frames. If you put a keyframe interval of 1, then the video is going to be all keyframes. This is the opposite of what they are looking for.
    – AJ Henderson
    Commented Jan 27, 2014 at 15:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.