List of images (filename is time) - make video

Any other question that don't fit into the other support categorizes.
Post Reply
PrototypV10
Posts: 2
Joined: Sat Nov 01, 2014 2:38 pm

List of images (filename is time) - make video

Post by PrototypV10 » Sat Nov 01, 2014 2:52 pm

Hi.

I have a folder containing about 3000 PNG images that I want to make into a video clip. All images have same dimension 1280x720 pixels, and I want it to be frames in a video clip at 25 fps.

I have already found how to convert many still images into a video clip, but the problem is that the file names is not just a name followed by an increasing number.
The name of the files tells about it's recording time, so the first file in folder is named "2014-10-31 00-16-38.156.png".

Is it possible to convert those files with the names they already have, without using a batch renaming tool?


Thanks

llogan
Posts: 332
Joined: Fri Mar 14, 2014 3:29 am

Re: List of images (filename is time) - make video

Post by llogan » Mon Nov 03, 2014 6:21 pm

You can do that with ffmpeg using the glob pattern in the image file demuxer, but I'm using Linux and I'm not sure if it works with Zeranoe's builds.

Code: Select all

ffmpeg -framerate 10 -pattern_type glob -i "*.png" out.mkv

PrototypV10
Posts: 2
Joined: Sat Nov 01, 2014 2:38 pm

Re: List of images (filename is time) - make video

Post by PrototypV10 » Thu Nov 06, 2014 12:36 am

Thanks.
I'll give it a try :D

If that doesn't work I just batch renames all files :P

I'm aware of the percent sign issue with running from bat files, however I'll use Autohotkey to call ffmpeg.

hydra3333
Posts: 198
Joined: Sun Apr 28, 2013 1:03 pm
Contact:

? globbing is not supported by this libavformat build

Post by hydra3333 » Sat Dec 13, 2014 11:29 pm

Hello. Am I doing something wrong or does libavformat need updating ? (WIN8X64)

Code: Select all

"C:\SOFTWARE\ffmpeg\\bin\ffmpeg.exe" -framerate 10 -pattern_type glob -i ".\*.jpg" -c:v h264 -preset fast -profile:v high -level 4.1 -crf 16 -coder 0 -movflags +faststart -vf "fps=10,format=yuv420p" -coder 0 -y out.mp4

Code: Select all

ffmpeg version N-68399-g10ef8f0 Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec 12 2014 22:12:56 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-lib
opencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.104 / 56. 15.104
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  3.101 /  5.  3.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100

Code: Select all

[image2 @ 0000000004408760] Pattern type 'glob' was selected but globbing is not supported by this libavformat build
.\*.jpg: Function not implemented

Post Reply
'