[FFmpeg-user] extract RAW frames into local directory from network camera

Naveen.B navins.2006 at gmail.com
Wed Sep 20 17:50:09 EEST 2023


Hello,

Thanks for the sharing the useful links,
I tried the way you said, but I am not sure whats happening, I don't see
anything happening after executing the command (neither it saves the jpg
files in the current path), I need to kill the process in later stage and I
get the below error,

C:\ffmpeg-6.0\bin>ffmpeg -i rtsp://192.168.9.78:5004 test.jpg
ffmpeg version 6.0-essentials_build-www.gyan.dev Copyright (c) 2000-2023
the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg
--enable-libvpx --enable-mediafoundation --enable-libass
--enable-libfreetype --enable-libfribidi --enable-libvidstab
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libtheora --enable-libvo-amrwbenc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-librubberband
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
rtsp://192.168.9.78:5004: Immediate exit requested
Exiting normally, received signal 2.

Thanks,

On Tue, Sep 19, 2023 at 5:02 PM Michael Koch <astroelectronic at t-online.de>
wrote:

> Am 19.09.2023 um 16:49 schrieb Naveen.B:
> > Hello,
> >
> > udp_data is a directory created to store the extracted RAW frames from
> the
> > camera.
>
> The correct syntax is:
> ffmpeg -i input output
>
> For output, it's not sufficient to specify a folder. You must also
> specify the filename, which may contain a number that's automatically
> increased.
>
> See for example chapter 2.7 in my book:
> http://www.astro-electronic.de/FFmpeg_Book.pdf
>
> Or this page in the wiki:
>
> https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video
>
>
> Michael
>
> _______________________________________________
> 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".
>


More information about the ffmpeg-user mailing list