Re: [FFmpeg-user] extract RAW frames into local directory from network camera
> 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 If you want to extract more than one picture, then the output filename should contain a number that's automatically increased. For example: ffmpeg -i rtsp://192.168.9.78:5004 -t 5 -y test%4d.jpg %4d is a 4-digit number that's automatically increased. If you are starting FFmpeg from a Windows batch file, then % must be replaced by %% -t 5 does limit the duration to 5 seconds. -y does automatically overwrite the output files, if they exist already. It's working as expected, Thanks a lot for your support, Michael! Regards, On Thu, Sep 21, 2023 at 11:57 AM Michael Koch wrote: > Am 20.09.2023 um 16:50 schrieb Naveen.B: > > 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 > > If you want to extract more than one picture, then the output filename > should contain a number that's automatically increased. > For example: > > ffmpeg -i rtsp://192.168.9.78:5004 -t 5 -y test%4d.jpg > > %4d is a 4-digit number that's automatically increased. > If you are starting FFmpeg from a Windows batch file, then % must be > replaced by %% > -t 5 does limit the duration to 5 seconds. > -y does automatically overwrite the output files, if they exist already. > > Michael > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] extract RAW frames into local directory from network camera
Am 20.09.2023 um 16:50 schrieb Naveen.B: 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 If you want to extract more than one picture, then the output filename should contain a number that's automatically increased. For example: ffmpeg -i rtsp://192.168.9.78:5004 -t 5 -y test%4d.jpg %4d is a 4-digit number that's automatically increased. If you are starting FFmpeg from a Windows batch file, then % must be replaced by %% -t 5 does limit the duration to 5 seconds. -y does automatically overwrite the output files, if they exist already. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] extract RAW frames into local directory from network camera
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 libavformat60. 3.100 / 60. 3.100 libavdevice60. 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 libpostproc57. 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 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@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] extract RAW frames into local directory from network camera
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@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] extract RAW frames into local directory from network camera
Hello, udp_data is a directory created to store the extracted RAW frames from the camera. Thanks, Naveen B. On Tue, Sep 19, 2023 at 1:31 PM Michael Koch wrote: > Am 19.09.2023 um 13:11 schrieb Naveen.B: > > Hello, > > > > I have a ethernet camera connected to my laptop hub, it is configured > and i > > can see the streamed Images from the camera using the ffplay command, > > > > but when I try to save the RAW Images onto the local directory, I am > facing > > the error, > > C:\ffmpeg-6.0\bin>ffmpeg -i udp_data rtsp://192.168.9.78:5004 > > What is "udp_data" in your command line? > > Michael > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] extract RAW frames into local directory from network camera
Am 19.09.2023 um 13:11 schrieb Naveen.B: Hello, I have a ethernet camera connected to my laptop hub, it is configured and i can see the streamed Images from the camera using the ffplay command, but when I try to save the RAW Images onto the local directory, I am facing the error, C:\ffmpeg-6.0\bin>ffmpeg -i udp_data rtsp://192.168.9.78:5004 What is "udp_data" in your command line? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".