Create image slideshows from Linux graphical tools

How to make a slide show of images as a video file using 4 small jpeg (128px x 128px) and Linux command line graphical tools? I need to change the slide show with:

  • fade to / from black
  • move left / right when fading to the next image

If you are interested, we plan to make videos that we can put on mobile phones to place real estate. (We already have the technology to convert Ogg Theora to proprietary mobile formats.)

+3
source share
2 answers

- . ImageMagick.

jpeg . Mplayer mencoder. .

: , JPEG → mpeg2video ( dvds), mpeg4.

: JPEG → mpeg4 → mpeg2video

, JPEG $SOUNDLENGTH :

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 5000, .
  • harddup / dvd-.
  • 4/3. , yer 9x16... ( dvd-.)
  • , expand = , . = expand =, , = , ALTOGETHER . 640x480 720x480 (dvd-standard-resolution), () . , expand = , . , JPEG 720x480.
  • * * JPEG- > MPEG. , , ...

DVD-, dvdauthor. , ...

, VASTLY gif... ( ImageMagick .) gifs ...

+4

Source: https://habr.com/ru/post/1718072/


All Articles