The Computer Oracle

Convert JPG to Video for playback in VLC

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Thinking It Over

--

Chapters
00:00 Convert Jpg To Video For Playback In Vlc
00:21 Answer 1 Score 9
00:40 Answer 2 Score 7
01:21 Accepted Answer Score 4
01:45 Answer 4 Score 1
02:25 Answer 5 Score 0
02:51 Thank you

--

Full question
https://superuser.com/questions/608569/c...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#images #vlcmediaplayer #jpeg

#avk47



ANSWER 1

Score 9


just Open the VLC Player > Media>Convert/save or press ctrl+R >add your images > drop down option to play . Done ! :)




ANSWER 2

Score 7


I use mencoder to assemble a series of jpeg frames into an avi, which can then be easily played back in VLC

mencoder mf://*.jpg -mf fps=24 -ovc lavc -lavcopts vcodec=mpeg4:mbd=1:vbitrate=12800:autoaspect=1 -o video.avi

you may want to play with the lavcopts but that should get you going...

ps. I tried to do this with VLC itself but just couldn't figure it out




ACCEPTED ANSWER

Score 4


You can use a "stopmotion" maker: here's an overview of them, and one to download: CellSoft Take5 1.30

Even you can also use Picasa 3 which has a feature that does exactly this - basically, it saves the slideshow into a saved video file - works nicely.




ANSWER 4

Score 1


On Windows this was the only thing I could get to work with a bunch of non-sequentially named jpegs (e.g. DMC003.JPG, DMC006.JPG, DMC009.JPG)

  1. Rename to sequential files in Powershell:
dir *.jpg | %{$x=0} {Rename-Item $_ -NewName "Frame$($x.tostring('000000')).jpg"; $x++ }

Then in Anaconda prompt:

ffmpeg -framerate 15 -i Frame%06d.jpg output.mp4

This was using ffmpeg installed with conda:

conda create -n ffmpeg -c conda-forge ffmpeg
conda activate ffmpeg



ANSWER 5

Score 0


There is no need to convert JPG images to video for playback in VLC, as VLC includes JPG playback. Just add them to the playlist and they'll be shown for 10 seconds.

The JPG playback time is globally adjustable in the settings, or individually by playing around with e.g. an XSPF playlist and the <vlc:option>image-duration=6</vlc:option> option.