[FFmpeg-user] Converting pictures to video

Anwuli Okwuashi anwuli.okwuashi at gmail.com
Fri Dec 6 18:19:19 EET 2019


I renamed the images and used the full path in the command line but it
still doesn't work. See attached the error report and below my code.
Thank you,
. winexec "C:\FFmpeg\bin\ffmpeg.exe"  -report  -i
"C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png"  -b:v
2048k  "C:\Users\analyst\Desktop\STATA\projects\animation3\map_video.mpg"



On Thu, 5 Dec 2019 at 19:32, gga <ggarra13 at gmail.com> wrote:

>
> On 5/12/19 21:07, Anwuli Okwuashi wrote:
> > Thank you,
> >
> > Yes, the first command is the stata blog extrat, the second is mine.
> > Previous attempts had the value for the -b:v but still did not work.
> > I have 20 png files created using stata, I just need to convert them to
> > video/animation. With that, I'll appreciate any help.
>
> ffmpeg prints out a lot of information upon running, which can help in
> debugging your problem.  If stata does not print any output (it means it
> is swallowing the stdout/stderr output), I suggest you first try the
> command from a command line prompt.  If you don't know what that is,
> search for cmd.exe.  The variables are specified with set commands and
> referred with %var% syntax. With that, you should be able to run ffmpeg
> from cmd.exe and see the output for it.  Send the output and command to
> the mailing list.
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
ffmpeg started on 2019-12-06 at 10:08:51
Report written to "ffmpeg-20191206-100851.log"
Log level: 48
Command line:
"C:\\FFmpeg\\bin\\ffmpeg.exe" -report -i "C:\\Users\\analyst\\Desktop\\STATA\\projects\\animation3\\graph%02d.png" -b:v 2048k "C:\\Users\\analyst\\Desktop\\STATA\\projects\\animation3\\map_video.mpg"
ffmpeg version git-2019-12-06-b66a800 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191125
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 36.101 / 56. 36.101
  libavcodec     58. 64.101 / 58. 64.101
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.101 / 58.  9.101
  libavfilter     7. 67.100 /  7. 67.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input url with argument 'C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '2048k'.
Reading option 'C:\Users\analyst\Desktop\STATA\projects\animation3\map_video.mpg' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png.
Successfully parsed a group of options.
Opening an input file: C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png.
[image2 @ 000001d077c4a440] Could find no file with path 'C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png' and index in the range 0-4
C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png: No such file or directory


More information about the ffmpeg-user mailing list