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

2023-09-22 Thread 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.

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

2023-09-20 Thread 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
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

2023-09-19 Thread Naveen.B
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".


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

2023-09-19 Thread 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
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
udp_data: Permission denied

Thanks,
___
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] stream frames using Ethernet camera

2023-09-11 Thread Naveen.B
Hello,

How do I request for an admin to remove it?

Thanks,

On Mon, Sep 11, 2023 at 3:55 PM Paul B Mahol  wrote:

> On Mon, Sep 11, 2023 at 3:09 PM Naveen.B  wrote:
>
> > Hello,
> >
> > could this ticket be deprecated to be not visible in google search or how
> > can I raise it for deprecation? I see some of the confidential
> information
> > highlighted which I forgot to mask it out.
> > In google search this ticket is clearly visible to the public, where some
> > of the confidential information is visible.
> >
>
> Request from admin to remove it.
>
>
> >
> > Thanks,
> > Naveen B.
> >
> > On Tue, Sep 5, 2023 at 11:58 AM Michael Koch <
> astroelectro...@t-online.de>
> > wrote:
> >
> > > Am 05.09.2023 um 11:47 schrieb Naveen.B:
> > > > Hello,
> > > >
> > > > How could I achive it by directing ethernet images to the screen?
> > >
> > >
> > > Use ffplay instead of ffmpeg.
> > > See also the first example in chapter 24.34.3:
> > > https://www.ffmpeg.org/ffmpeg-all.html
> > >
> > > 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".
> >
> ___
> 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] stream frames using Ethernet camera

2023-09-11 Thread Naveen.B
Hello,

could this ticket be deprecated to be not visible in google search or how
can I raise it for deprecation? I see some of the confidential information
highlighted which I forgot to mask it out.
In google search this ticket is clearly visible to the public, where some
of the confidential information is visible.

Thanks,
Naveen B.

On Tue, Sep 5, 2023 at 11:58 AM Michael Koch 
wrote:

> Am 05.09.2023 um 11:47 schrieb Naveen.B:
> > Hello,
> >
> > How could I achive it by directing ethernet images to the screen?
>
>
> Use ffplay instead of ffmpeg.
> See also the first example in chapter 24.34.3:
> https://www.ffmpeg.org/ffmpeg-all.html
>
> 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] stream frames using Ethernet camera

2023-09-05 Thread Naveen.B
Hello,

How could I achive it by directing ethernet images to the screen?

Could anyone give input or help me on this topic.

Thanks!


On Tue, Sep 5, 2023, 11:02 frhun  wrote:

> hello
> I see you only gave input and no output, there should be a switch to
> direct the image to the screen
> But as I'm new to it , that's all I can say
>
> R.
>
> 2023. 09. 05. 10:08 keltezéssel, Naveen.B írta:
> > I try with your suggestion, I don't see any error in the terminal window,
> > but I do not see any stream of Images from the ethernet camera,
> >
> > C:\Naveen\projects\DMS\hardware\ficosa\a0\SCANIA_ffmpeg-6.0\bin>ffmpeg
> > -rtsp_transport udp -i "rtsp://192.168.9.78:5004"
> > 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
> >
> >
> >
> ___
> 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] stream frames using Ethernet camera

2023-09-05 Thread Naveen.B
I try with your suggestion, I don't see any error in the terminal window,
but I do not see any stream of Images from the ethernet camera,

C:\Naveen\projects\DMS\hardware\ficosa\a0\SCANIA_ffmpeg-6.0\bin>ffmpeg
-rtsp_transport udp -i "rtsp://192.168.9.78:5004"
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




On Thu, Aug 31, 2023 at 11:26 PM Anatoly 
wrote:

> On Thu, 31 Aug 2023 16:27:47 +0200
> "Naveen.B"  wrote:
>
> > Hello,
> >
> > I have an ethernet camera connected to my ethernet port and I need to
> > stream those Images using ffmpeg command,
> > source address: 192.168.9.78
> > UDP port: 5004
> >
> > ffmpeg command: ffmpeg eth0 -i udp://192.168.9.78:5004
> > error:
> > C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg eth0 -i
> > udp:// 192.168.9.78:5004
> what is 'eth0'?
> > ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev
> ...snip...
> > [udp @ 02a7b2923c00] bind failed: Error number -10048 occurred
> > udp://192.168.9.78:5004: Unknown error
> Obviously, this does mean that ffmpeg can't start listen for incoming
> connection on 192.168.9.78 port 5004. Do you have 92.168.9.78 on your
> machine?
> I think it is very unlikely that -i udp:// is what you want. Because
> using 'raw' UDP you can't 'establish connection' from PC to camera. This
> is because there's no such a thing in UDP itself.
> Roughly saying, with UDP, tranmitter side just blindly sends packets
> from it's ip:port to receiver's ip:port without even knowing if there
> receiver is present at all.
> Doing this way, you theoretically must input your PCs ip:port
> somewhere in camera settings, because this in the only way for camera
> to know where to send packets (PC just can't 'connect' with 'raw' UDP).
> That's why upper level protocol (running on top of UDP) is typycally
> used for negotitating/establishing connection with camera, such as
> rtsp, rtp...
> So probably you need something like
> ffmpeg -rtsp_transport udp -i
> 'rtsp://USERNAME:PASSWORD@IPADDRESS:PORT/stream-url'
> Look at your camera manual, if available, to find out which protocol
> camera use.
> ffmpeg protocols documentation:
> https://ffmpeg.org/ffmpeg-protocols.html
>
> ___
> 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".


[FFmpeg-user] stream frames using Ethernet camera

2023-08-31 Thread Naveen.B
Hello,

I have an ethernet camera connected to my ethernet port and I need to
stream those Images using ffmpeg command,
source address: 192.168.9.78
UDP port: 5004

ffmpeg command: ffmpeg eth0 -i udp://192.168.9.78:5004
error:
C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg eth0 -i udp://
192.168.9.78:5004
ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev Copyright
(c) 2000-2022 the FFmpeg developers
  built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation
--enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
--enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
--enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint
  libavutil  57. 27.100 / 57. 27.100
  libavcodec 59. 33.100 / 59. 33.100
  libavformat59. 25.100 / 59. 25.100
  libavdevice59.  6.100 / 59.  6.100
  libavfilter 8. 41.100 /  8. 41.100
  libswscale  6.  6.100 /  6.  6.100
  libswresample   4.  6.100 /  4.  6.100
  libpostproc56.  5.100 / 56.  5.100
[udp @ 02a7b2923c00] bind failed: Error number -10048 occurred
udp://192.168.9.78:5004: Unknown error

Thanks,
Naveen B.
___
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] decode raw video

2022-11-29 Thread Naveen.B
Hello,

I have encoded the raw video in yuv420P pixel format and I want to perform
the decoding, could you let me know the ffmpeg command.

Kind Regards,
Naveen B.
___
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] encode to RAW video

2022-11-01 Thread Naveen.B
>
>
> > I observed some weird behaviour with fast and medium preset,
>
> We've observed that you're -still- top-posting, please stop it.
>
>
> (reformatted)
> > fast preset:
> > *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i
> CapturedImage-%03d.raw
> Specifies the input file(s) and their characteristics.
>
> All that follows is filters and output specs.
>
> > -c:v rawvideo -pixel_format yuv420p
> Use the video codec "rawvideo" with that pixel format for output, except
> AFAICT that there is no video encoder "rawvideo" (that should throw an
> error, which because of the missing command output, we don't see).
>
>
> > -f rawvideo
> Force the output format to rawvideo ("Raw muxers accept a single stream
> matching the designated codec. They do not store timestamps or metadata.
> The
> recognized extension is the same as the muxer name unless indicated
> otherwise.") Don't use this unless there's a _really_ good reason.
>
>
> > -c:v libx264 -preset fast -crf 18
> But now use the x264 codec!!! (into a "raw" file)
>
> > test.raw*
> but call the output file "test.raw" (not "test.mp4" or something like
> that).
>
>
> What do you really want? Why this insistence on "raw" output, either as an
> "encoding" or output file?  That's making life difficult and likely
> obscuring other issues.
>

I am doing some compression analysis, So I need raw output.

>
> > command output:
> (but the the _complete_ output!! Stop making us guess about things and
> you'll get better answers.)
>
> I am pasting the complete output,



> C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg
> -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -f
> rawvideo -c:v libx264 -pixel_format yuv420p -preset fast -crf 18 test.raw
> ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev
> Copyright (c) 2000-2022 the FFmpeg developers
>   built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
> --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
> --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
> --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
> --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
> --enable-libopenjpeg --enable-libvpx --enable-mediafoundation
> --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
> --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
> --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
> --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
> --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
> --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
> --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
> --enable-libshine --enable-libtheora --enable-libtwolame
> --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
> --enable-libopencore-amrnb --enable-libopus --enable-libspeex
> --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
> --enable-libmysofa --enable-librubberband --enable-libsoxr
> --enable-chromaprint
>   libavutil  57. 27.100 / 57. 27.100
>   libavcodec 59. 33.100 / 59. 33.100
>   libavformat59. 25.100 / 59. 25.100
>   libavdevice59.  6.100 / 59.  6.100
>   libavfilter 8. 41.100 /  8. 41.100
>   libswscale  6.  6.100 /  6.  6.100
>   libswresample   4.  6.100 /  4.  6.100
>   libpostproc56.  5.100 / 56.  5.100
> Input #0, image2, from 'CapturedImage-%03d.raw':
>   Duration: 00:00:01.20, start: 0.00, bitrate: N/A
>   Stream #0:0: Video: rawvideo (Y1[0][10] / 0xA003159), gray10le,
> 1600x1300, 25 fps, 25 tbr, 25 tbn
> File 'test.raw' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
> Press [q] to stop, [?] for help
> [libx264 @ 019dbcff6c80] using cpu capabilities: MMX2 SSE2Fast SSSE3
> SSE4.2 AVX FMA3 BMI2 AVX2
> [libx264 @ 019dbcff6c80] profile High 10, level 4.2, 4:0:0, 10-bit
> Output #0, rawvideo, to 'test.raw':
>   Metadata:
> encoder : Lavf59.25.100
>   Stream #0:0: Video: h264, gray10le(progressive), 1600x1300, q=2-31, 30
> fps, 30 tbn
> Metadata:
>   encoder : Lavc59.33.100 libx264
> Side data:
>   cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
> frame=   30 fps=0.0 q=-1.0 Lsize= 320kB time=00:00:00.93
> bitrate=2807.6kbits/s speed=1.07x
> video:320kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: 0.00%
> [libx264 @ 019dbcff6c80] frame I:1 Avg QP:29.03  size: 66284
> [libx264 @ 019dbcff6c80] frame P:8 Avg 

Re: [FFmpeg-user] encode to RAW video

2022-10-31 Thread Naveen.B
I observed some weird behaviour with fast and medium preset,

fast preset:
*ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw
-c:v rawvideo -pixel_format yuv420p -f rawvideo -c:v libx264 -preset fast
-crf 18 test.raw*

command output:
*frame=   30 fps=0.0 *q=-1.0 Lsize= 320kB time=00:00:00.93
bitrate=2807.6kbits/s speed= 1.1x
video:320kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.00%
In the fast preset while converting to raw, the frames is 30 and fps is 0,
what does this mean?

medium preset:
*ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw
-c:v rawvideo -pixel_format yuv420p -f rawvideo -c:v libx264 -preset medium
-crf 18 test.raw*

command output:
*frame=   30 fps= 28* q=-1.0 Lsize= 329kB time=00:00:00.93
bitrate=2887.7kbits/s speed=0.863x
video:329kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.00%

Kind Regards,
Naveen B

On Fri, Oct 28, 2022 at 7:41 AM pehache  wrote:

> Le 27/10/2022 à 13:31, Naveen.B a écrit :
>
> >
> > one last question, any idea on how to know/measure how long the ffmpeg
> > takes to encode the file.
>
> The answer depends on too many parameters.
>
> > i.e, basically I want to know how much time it takes to compress with
> > different presets and how much time it takes to encode for an
> uncompressed
> > RAW video.
>
> Almost by definition, an truly uncompressed video is not encoded, it's
> just writing to the output the data that are in memory (well, almost...
> there's still possibly the conversion of the pixel format, from RGB to
> YUV420 for instance, but this is quite fast). What will limit the speed
> is the read/write performances on the disk you are using, and/or the
> time needed to decode the input video.
>
> ___
> 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] encode to RAW video

2022-10-27 Thread Naveen.B
>
> > I tried by giving the input with -pix_fmt, it's the same error.
> >
> > Yes, I want raw video. I have converted RAW files to .mp4 successfully
> with
> > uncompressed, the size of the .mp4 format video was less comparatively.
> > I have 30 RAW files with each file is around 4Mbps (so, 30 RAW
> > filesx4Mbps=180Mbps for one second), the output of the video file size
> > (.mp4) is coming around 18 Mbps, so I am assuming .mp4 video format is
> > doing some compression and hence I need to try this with RAW video.
> >
> > This is the command I tried for .mp4 file video which is coming 18Mbps as
> > output video file size,
> > *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i
> CapturedImage-%03d.raw
> > -c:v libx264 -pix_fmt yuv420p -preset fast -profile:v main -level:v 4.0
> > -crf 1 raw_video.mp4*
> >
>
> Try this :
>
> ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i
> CapturedImage-%03d.raw -c:v rawvideo -pix_fmt yuv420p -f rawvideo
> output.raw
>
> Alternatively you can put the raw video stream in a container such as MKV:
>
> ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i
> CapturedImage-%03d.raw -c:v rawvideo -pix_fmt yuv420p output.mkv
>
> In either case I'm not sure it will easy to read the output file with
> classical players.
>
> fantastic, it worked, thanks a lot for your support!

one last question, any idea on how to know/measure how long the ffmpeg
takes to encode the file.
i.e, basically I want to know how much time it takes to compress with
different presets and how much time it takes to encode for an uncompressed
RAW video.

Kind Regards,
Naveen B.
___
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] encode to RAW video

2022-10-25 Thread Naveen.B
>
>
> >> Are you sure that there is a file CapturedImage-000.raw ?
> >> You forgot to specify the input pixel format.
> >> Many parameters are missing for the raw output. But the error message is
> >> from the input.
> >>
> >> Do you really want raw video? That's not the easiest format for a
> beginner.
> >> Everything must be specified for the input (file format, pixel format,
> >> size, framerate, and whatever I may have forgotten...) and the same
> >> things must be specified for the output again.
> >>
> >> [image: image.png]
> >> this error pops up when I add the flag -f rawvideo (I have a raw files,
> >> should this be used for raw video?)
> >>
> > I tried by giving the input with -pix_fmt, it's the same error.
> >
> > Yes, I want raw video. I have converted RAW files to .mp4 successfully
> with
> > uncompressed, the size of the .mp4 format video was less comparatively.
> > I have 30 RAW files with each file is around 4Mbps (so, 30 RAW
> > filesx4Mbps=180Mbps for one second), the output of the video file size
> > (.mp4) is coming around 18 Mbps, so I am assuming .mp4 video format is
> > doing some compression and hence I need to try this with RAW video.
>
> What do you want to do with the RAW video? You know that you can't play
> it with most players?
>
> Yes, I know it cannot be played with most of th players, I need to see the
> size of the RAW video and make some compression on it for our further
> analysis.

Could you please help me on the missing parameters to generate the RAW
video?
___
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] encode to RAW video

2022-10-24 Thread Naveen.B
>
> Are you sure that there is a file CapturedImage-000.raw ?
> You forgot to specify the input pixel format.
> Many parameters are missing for the raw output. But the error message is
> from the input.
>
> Do you really want raw video? That's not the easiest format for a beginner.
> Everything must be specified for the input (file format, pixel format,
> size, framerate, and whatever I may have forgotten...) and the same
> things must be specified for the output again.
>
> [image: image.png]
> this error pops up when I add the flag -f rawvideo (I have a raw files,
> should this be used for raw video?)
>
I tried by giving the input with -pix_fmt, it's the same error.

Yes, I want raw video. I have converted RAW files to .mp4 successfully with
uncompressed, the size of the .mp4 format video was less comparatively.
I have 30 RAW files with each file is around 4Mbps (so, 30 RAW
filesx4Mbps=180Mbps for one second), the output of the video file size
(.mp4) is coming around 18 Mbps, so I am assuming .mp4 video format is
doing some compression and hence I need to try this with RAW video.

This is the command I tried for .mp4 file video which is coming 18Mbps as
output video file size,
*ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw
-c:v libx264 -pix_fmt yuv420p -preset fast -profile:v main -level:v 4.0
-crf 1 raw_video.mp4*

Please show us the command output of making an mp4 file.
>
> It really sounds as if you haven't studied the documentation very well.
> Likewise, raw video output is generally one of the worst "formats"; if you
> simply want -uncompressed- video, put it into an AVI container.
>
> Please refer to the above reply, I have managed already to get in -mp4
format, I am trying to get the raw video file as output.
___
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] encode to RAW video

2022-10-24 Thread Naveen.B
>
>
> >>> Hello Team,
> >>>
> >>> I have managed to convert raw Images files to .mp4 video,
> >>> I need to encode to a RAW video instead, could you please let me know
> the
> >>> command for this?
> >>>
> >>> RAW Image file is,
> >>> resolution - 1600x1300
> >>> fps-30
> >>> bit depth-16bit
> >>>
> >> Do not specify a video codec, or set -c:v rawhide, set your frame rate /
> >> resolution / bit depth params and use .raw as extension.
> >>
> >> I tried as you suggested, I get the below error,
>
> You must specify all relevant parameters for the output file at the
> correct place in the command line. After the input file name, and before
> the output file name. I think you must also add -f rawvideo
> Remove -crf 1, as it makes no sense for a raw file.
>
> C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -f rawvideo
> -s 1600x1300 -r 30 -i CapturedImage-%03d.raw raw_video.raw
> ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev
> Copyright (c) 2000-2022 the FFmpeg developers
>   built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
> --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
> --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
> --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
> --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
> --enable-libopenjpeg --enable-libvpx --enable-mediafoundation
> --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
> --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
> --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
> --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
> --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
> --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
> --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
> --enable-libshine --enable-libtheora --enable-libtwolame
> --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
> --enable-libopencore-amrnb --enable-libopus --enable-libspeex
> --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
> --enable-libmysofa --enable-librubberband --enable-libsoxr
> --enable-chromaprint
>   libavutil  57. 27.100 / 57. 27.100
>   libavcodec 59. 33.100 / 59. 33.100
>   libavformat59. 25.100 / 59. 25.100
>   libavdevice59.  6.100 / 59.  6.100
>   libavfilter 8. 41.100 /  8. 41.100
>   libswscale  6.  6.100 /  6.  6.100
>   libswresample   4.  6.100 /  4.  6.100
>   libpostproc56.  5.100 / 56.  5.100
> CapturedImage-%03d.raw: No such file or directory
>

These files are present in the directory, but still its throwing this
error, No such file or directory.
___
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] encode to RAW video

2022-10-24 Thread Naveen.B
>
>
> >>> Hello Team,
> >>>
> >>> I have managed to convert raw Images files to .mp4 video,
> >>> I need to encode to a RAW video instead, could you please let me know
> the
> >>> command for this?
> >>>
> >>> RAW Image file is,
> >>> resolution - 1600x1300
> >>> fps-30
> >>> bit depth-16bit
> >>>
> >>
> >> Do not specify a video codec, or set -c:v rawhide, set your frame rate /
> >> resolution / bit depth params and use .raw as extension.
> >>
> >> I tried as you suggested, I get the below error,
> >
> > C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg
> -pixel_format
> > gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v rawhide -crf 1
> > raw_video.raw
>
> Rawhide?
> WTF?
> Rawvideo does not carry a pix format afaik.
>
> sorry, I am not sure where I am going wrong, could you please suggest the
> right command, I am very new to ffmpeg usgae.
___
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] encode to RAW video

2022-10-24 Thread Naveen.B
>
>
> On 24 Oct 2022, at 12:52, Naveen.B  wrote:
> >
> > Hello Team,
> >
> > I have managed to convert raw Images files to .mp4 video,
> > I need to encode to a RAW video instead, could you please let me know the
> > command for this?
> >
> > RAW Image file is,
> > resolution - 1600x1300
> > fps-30
> > bit depth-16bit
> >
>
> Do not specify a video codec, or set -c:v rawhide, set your frame rate /
> resolution / bit depth params and use .raw as extension.
>
> I tried as you suggested, I get the below error,

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -pixel_format
gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v rawhide -crf 1
raw_video.raw
ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev Copyright
(c) 2000-2022 the FFmpeg developers
  built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation
--enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
--enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
--enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint
  libavutil  57. 27.100 / 57. 27.100
  libavcodec 59. 33.100 / 59. 33.100
  libavformat59. 25.100 / 59. 25.100
  libavdevice59.  6.100 / 59.  6.100
  libavfilter 8. 41.100 /  8. 41.100
  libswscale  6.  6.100 /  6.  6.100
  libswresample   4.  6.100 /  4.  6.100
  libpostproc56.  5.100 / 56.  5.100
Input #0, image2, from 'CapturedImage-%03d.raw':
  Duration: 00:00:01.20, start: 0.00, bitrate: N/A
  Stream #0:0: Video: rawvideo (Y1[0][10] / 0xA003159), gray10le,
1600x1300, 25 fps, 25 tbr, 25 tbn
[NULL @ 023c862e6740] Unable to find a suitable output format for
'raw_video.raw'
raw_video.raw: Invalid argument

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>
___
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] encode to RAW video

2022-10-24 Thread Naveen.B
Hello Team,

I have managed to convert raw Images files to .mp4 video,
I need to encode to a RAW video instead, could you please let me know the
command for this?

RAW Image file is,
resolution - 1600x1300
fps-30
bit depth-16bit

Thanks and Regards,
Naveen B.
___
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] ScaleUp the Raw file

2022-10-19 Thread Naveen.B
>
> > I got an error by trying this command. Could you kindly let me know
> if
>  this
> > is feasible?
>  Always always always include the complete output of ffmpeg when asking
> >> for
>  help. For one, we don't know what error you got.
> 
>  C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -i
>  CapturedImage-001.raw -vf scale=1920:1080 CapturedImageScale-001.raw
>  ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev
>  Copyright (c) 2000-2022 the FFmpeg developers
>  built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
>  --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
>  --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
>  --enable-libdavs2 --enable-libuavs3d --enable-libzvbi
> --enable-librav1e
>  --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
>  --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
>  --enable-libopenjpeg --enable-libvpx --enable-mediafoundation
>  --enable-libass --enable-frei0r --enable-libfreetype
> --enable-libfribidi
>  --enable-liblensfun --enable-libvidstab --enable-libvmaf
> >> --enable-libzimg
>  --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
>  --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
>  --enable-libmfx --enable-libshaderc --enable-vulkan
> --enable-libplacebo
>  --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
>  --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
>  --enable-libshine --enable-libtheora --enable-libtwolame
>  --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
>  --enable-libopencore-amrnb --enable-libopus --enable-libspeex
>  --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
>  --enable-libmysofa --enable-librubberband --enable-libsoxr
>  --enable-chromaprint
>  libavutil  57. 27.100 / 57. 27.100
>  libavcodec 59. 33.100 / 59. 33.100
>  libavformat59. 25.100 / 59. 25.100
>  libavdevice59.  6.100 / 59.  6.100
>  libavfilter 8. 41.100 /  8. 41.100
>  libswscale  6.  6.100 /  6.  6.100
>  libswresample   4.  6.100 /  4.  6.100
>  libpostproc56.  5.100 / 56.  5.100
>  [image2 @ 023a84c00880] Format image2 detected only with low score
> >> of
>  5, misdetection possible!
>  [rawvideo @ 023a84c14b40] Invalid pixel format.
>  [image2 @ 023a84c00880] Failed to open codec in
>  avformat_find_stream_info
>  [rawvideo @ 023a84c14b40] Invalid pixel format.
>    Last message repeated 1 times
>  [image2 @ 023a84c00880] Failed to open codec in
>  avformat_find_stream_info
>  [image2 @ 023a84c00880] Could not find codec parameters for
> stream 0
>  (Video: rawvideo, none): unspecified size
>  Consider increasing the value for the 'analyzeduration' (0) and
>  'probesize' (500) options
>  Input #0, image2, from 'CapturedImage-001.raw':
>  Duration: 00:00:00.04, start: 0.00, bitrate: 832000 kb/s
>  Stream #0:0: Video: rawvideo, none, 25 fps, 25 tbr, 25 tbn
>  [NULL @ 023a84c15b80] Unable to find a suitable output format for
>  'CapturedImageScale-001.raw'
>  CapturedImageScale-001.raw: Invalid argument
> 
>  C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>
> 
> >> I think you must tell FFmpeg the pixel format and the size of the input
> >> image. If you would use JPG or PNG as input format, then FFmpeg would
> >> detect these details automatically. But for RAW format FFmpeg can't know
> >> the details.
> >>
> > I gave the pixel_format and input size is 1920x1080, but I get error
> width
> > is not set and one more error which I dont understand.
> >
> > C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg
> -pixel_format
> > gray10le -i CapturedImage-001.raw -r 30 -s 1920x1080
> > CapturedImageScale-001.raw
>
> The -s option in your command line is for the output size because it's
> written after -i.
> You must also set the input size before -i.
> Your RAW image contains only pixel data and no header for size and pixel
> format.
>
> I din't understand the header for size and pixel format, width error is
resolved but the error Invalid argument is still coming.

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -pixel_format
> gray10le -s 1920x1080 -i CapturedImage-001.raw -r 30 Captured-001.raw
> ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev
> Copyright (c) 2000-2022 the FFmpeg developers
>   

Re: [FFmpeg-user] ScaleUp the Raw file

2022-10-19 Thread Naveen.B
>
> >>> I got an error by trying this command. Could you kindly let me know if
> >> this
> >>> is feasible?
> >> Always always always include the complete output of ffmpeg when asking
> for
> >> help. For one, we don't know what error you got.
> >>
> >> C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -i
> >> CapturedImage-001.raw -vf scale=1920:1080 CapturedImageScale-001.raw
> >> ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev
> >> Copyright (c) 2000-2022 the FFmpeg developers
> >>built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
> >> --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
> >> --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
> >> --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
> >> --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
> >> --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
> >> --enable-libopenjpeg --enable-libvpx --enable-mediafoundation
> >> --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
> >> --enable-liblensfun --enable-libvidstab --enable-libvmaf
> --enable-libzimg
> >> --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
> >> --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
> >> --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
> >> --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
> >> --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
> >> --enable-libshine --enable-libtheora --enable-libtwolame
> >> --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
> >> --enable-libopencore-amrnb --enable-libopus --enable-libspeex
> >> --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
> >> --enable-libmysofa --enable-librubberband --enable-libsoxr
> >> --enable-chromaprint
> >>libavutil  57. 27.100 / 57. 27.100
> >>libavcodec 59. 33.100 / 59. 33.100
> >>libavformat59. 25.100 / 59. 25.100
> >>libavdevice59.  6.100 / 59.  6.100
> >>libavfilter 8. 41.100 /  8. 41.100
> >>libswscale  6.  6.100 /  6.  6.100
> >>libswresample   4.  6.100 /  4.  6.100
> >>libpostproc56.  5.100 / 56.  5.100
> >> [image2 @ 023a84c00880] Format image2 detected only with low score
> of
> >> 5, misdetection possible!
> >> [rawvideo @ 023a84c14b40] Invalid pixel format.
> >> [image2 @ 023a84c00880] Failed to open codec in
> >> avformat_find_stream_info
> >> [rawvideo @ 023a84c14b40] Invalid pixel format.
> >>  Last message repeated 1 times
> >> [image2 @ 023a84c00880] Failed to open codec in
> >> avformat_find_stream_info
> >> [image2 @ 023a84c00880] Could not find codec parameters for stream 0
> >> (Video: rawvideo, none): unspecified size
> >> Consider increasing the value for the 'analyzeduration' (0) and
> >> 'probesize' (500) options
> >> Input #0, image2, from 'CapturedImage-001.raw':
> >>Duration: 00:00:00.04, start: 0.00, bitrate: 832000 kb/s
> >>Stream #0:0: Video: rawvideo, none, 25 fps, 25 tbr, 25 tbn
> >> [NULL @ 023a84c15b80] Unable to find a suitable output format for
> >> 'CapturedImageScale-001.raw'
> >> CapturedImageScale-001.raw: Invalid argument
> >>
> >> C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>
> >>
>
> I think you must tell FFmpeg the pixel format and the size of the input
> image. If you would use JPG or PNG as input format, then FFmpeg would
> detect these details automatically. But for RAW format FFmpeg can't know
> the details.
>

I gave the pixel_format and input size is 1920x1080, but I get error width
is not set and one more error which I dont understand.

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -pixel_format
gray10le -i CapturedImage-001.raw -r 30 -s 1920x1080
CapturedImageScale-001.raw
ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev Copyright
(c) 2000-2022 the FFmpeg developers
  built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx 

Re: [FFmpeg-user] ScaleUp the Raw file

2022-10-19 Thread Naveen.B
>
> > I got an error by trying this command. Could you kindly let me know if
> this
> > is feasible?
>
> Always always always include the complete output of ffmpeg when asking for
> help. For one, we don't know what error you got.
>
> C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -i
> CapturedImage-001.raw -vf scale=1920:1080 CapturedImageScale-001.raw
> ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev
> Copyright (c) 2000-2022 the FFmpeg developers
>   built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
> --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
> --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
> --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
> --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
> --enable-libopenjpeg --enable-libvpx --enable-mediafoundation
> --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
> --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
> --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
> --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
> --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
> --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
> --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
> --enable-libshine --enable-libtheora --enable-libtwolame
> --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
> --enable-libopencore-amrnb --enable-libopus --enable-libspeex
> --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
> --enable-libmysofa --enable-librubberband --enable-libsoxr
> --enable-chromaprint
>   libavutil  57. 27.100 / 57. 27.100
>   libavcodec 59. 33.100 / 59. 33.100
>   libavformat59. 25.100 / 59. 25.100
>   libavdevice59.  6.100 / 59.  6.100
>   libavfilter 8. 41.100 /  8. 41.100
>   libswscale  6.  6.100 /  6.  6.100
>   libswresample   4.  6.100 /  4.  6.100
>   libpostproc56.  5.100 / 56.  5.100
> [image2 @ 023a84c00880] Format image2 detected only with low score of
> 5, misdetection possible!
> [rawvideo @ 023a84c14b40] Invalid pixel format.
> [image2 @ 023a84c00880] Failed to open codec in
> avformat_find_stream_info
> [rawvideo @ 023a84c14b40] Invalid pixel format.
> Last message repeated 1 times
> [image2 @ 023a84c00880] Failed to open codec in
> avformat_find_stream_info
> [image2 @ 023a84c00880] Could not find codec parameters for stream 0
> (Video: rawvideo, none): unspecified size
> Consider increasing the value for the 'analyzeduration' (0) and
> 'probesize' (500) options
> Input #0, image2, from 'CapturedImage-001.raw':
>   Duration: 00:00:00.04, start: 0.00, bitrate: 832000 kb/s
>   Stream #0:0: Video: rawvideo, none, 25 fps, 25 tbr, 25 tbn
> [NULL @ 023a84c15b80] Unable to find a suitable output format for
> 'CapturedImageScale-001.raw'
> CapturedImageScale-001.raw: Invalid argument
>
> C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>
>

>
___
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] ScaleUp the Raw file

2022-10-19 Thread Naveen.B
Hello,

I have a set of RAW files available with resolution 1600x1300, I need to
scale up the resolution of those RAW files to 1920x1080 raw files.
ffmpeg -i CapturedImage-001.raw -vf scale=1920:1080
CapturedImageScale-001.raw

I got an error by trying this command. Could you kindly let me know if this
is feasible?

Kind Regards,
Naveen B
___
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] raw file to video

2022-10-19 Thread Naveen.B
Apologies - typo:
ffmpeg -pixel_format
gray10be -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v libx264 -pix_fmt
yuv420p -crf 18
raw_video.mp4

Thanks for the support, It worked!

On Sat, Oct 15, 2022 at 10:41 AM Kieran O Leary 
wrote:

> Apologies - typo:
> ffmpeg -pixel_format
> gray10be -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v libx264 -pix_fmt
> yuv420p -crf 18
> raw_video.mp4
> ___
> 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] raw file to video

2022-10-15 Thread Naveen.B
\projects\DMS\software\ffmpeg_full\ffmpeg\bin>

Is it definitely 10bit gray?
The image from the camera is in RAW 10 for RAW image files, The camera also
stores images in .bmp but when I try with .bmp files I can see video after
conversion (camera vendor using YUV2 as wrapper to store .bmp files).
When I try to convert the single RAW file to .jpg/bmp I can see the Image
of that but not the video conversion.

Which video player have you used to play it back, have you tried another
like mpv?
.mp4 and .avi, -mpv I tried but I got an error message.

Kind Regards,
Naveen B.

On Sat, Oct 15, 2022 at 9:12 AM Kieran O Leary 
wrote:

> On Fri 14 Oct 2022 at 14:39, Naveen.B  wrote:
>
> > Hello,
> >
> > I am trying to convert a set of raw files in directory to the .mp4 video
> > using the ffmpeg command, the converted .mp4 video looks completely blank
> > and I don't see any pictures in it.
> >
> > ffmpeg -pixel_format gray10le -video_size 1600x1300 -framerate 30 -i
> > CapturedImage-%03d.raw -c:v libx264 raw_video.mp4
> >
> > Is something wrong in the command?
>
>
> A good start would be the complete uncut command line output which might
> have some extra info, a sample could be useful, and perhaps info about the
> raw file. Is it definitely 10bit gray? Which video player have you used to
> play it back, have you tried another like mpv?
>
> Best,
>
> Kieran
> ___
> 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".


[FFmpeg-user] raw file to video

2022-10-14 Thread Naveen.B
Hello,

I am trying to convert a set of raw files in directory to the .mp4 video
using the ffmpeg command, the converted .mp4 video looks completely blank
and I don't see any pictures in it.

ffmpeg -pixel_format gray10le -video_size 1600x1300 -framerate 30 -i
CapturedImage-%03d.raw -c:v libx264 raw_video.mp4

Is something wrong in the command?

Kind Regards,
Naveen B.
___
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] Image to Video conversion

2022-09-19 Thread Naveen.B
>
> > I have an .bmp Image with resolution 1600x1300x24-bit, each file size
> comes
> > around 6Mbps, I have 30 such files (Image-1 Image-30) in a directory.
> > I converted those images to a video @ 30fps for length of 1 second using
> > the below ffmpeg command, the video file size turned out to be around
> 189kb
> > and In the command I am not doing any compression.
> >
>
> This is a wrong assumption.
>
>
> > I expected the converted video size to be 30 Image file x 6Mbps = 180
> Mbps,
> > am I doing anything wrong in the command?
> >
>
> Yes.
>
> If you happen to belong to the group of people preferring to learn and
> experiment instead of looking for ready-made solutions, simply enter
> "ffmpeg convert bmp image sequence to video lossless" into your preferred
> search engine. :)
> You will find various alternatives, one of which will certainly match your
> use case.
>
> Thanks for the comment, but I was unable to find the alternative solution
> to my need for the lossless conversion to video.

I tried to mux the images, with the below command, but I got an error
"No bmp codec tag found for  codec bmp"
ffmpeg -framerate 30 -i CapturedImage-001.bmp -codec copy output.mkv.
I would appreciate it if you could suggest a command for converting
.bmp to lossless video.

NaveenB.





> ___
> 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".


[FFmpeg-user] Image to Video conversion

2022-09-17 Thread Naveen.B
Hello,

I have an .bmp Image with resolution 1600x1300x24-bit, each file size comes
around 6Mbps, I have 30 such files (Image-1 Image-30) in a directory.
I converted those images to a video @ 30fps for length of 1 second using
the below ffmpeg command, the video file size turned out to be around 189kb
and In the command I am not doing any compression.
I expected the converted video size to be 30 Image file x 6Mbps = 180 Mbps,
am I doing anything wrong in the command?

*ffmpeg -framerate 30 -i CapturedImage-%03d.bmp -pix_fmt yuv420p
rawImage.mp4*

Kind Regards,
Naveen B.
___
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] Raw video conversion

2022-07-12 Thread Naveen.B
Are you -sure- that the pixfmt and size are correct for that camera?
(What camera is it? make/model)

I cross checked, the pixel format is RAW10, they are using the YUY2 as the
wrapper.
The make of the camera is omnivision and the model is OV2311.

I tried editing the command with RAW10 and it states no such pixel format,
please find the below information:

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -f rawvideo
-pixel_format RAW10 -video_size 1600x1300 -framerate 30 -i raw_video.raw
raw_video.avi
ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev Copyright
(c) 2000-2022 the FFmpeg developers
  built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation
--enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
--enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
--enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint
  libavutil  57. 27.100 / 57. 27.100
  libavcodec 59. 33.100 / 59. 33.100
  libavformat59. 25.100 / 59. 25.100
  libavdevice59.  6.100 / 59.  6.100
  libavfilter 8. 41.100 /  8. 41.100
  libswscale  6.  6.100 /  6.  6.100
  libswresample   4.  6.100 /  4.  6.100
  libpostproc56.  5.100 / 56.  5.100
[rawvideo @ 0275b8aae780] No such pixel format: RAW10.
raw_video.raw: Invalid argument

Could you suggest the right command for converting a RAW file to mp4/avi?


On Mon, Jul 11, 2022, 21:50 Carl Zwanzig  wrote:

> On 7/10/2022 11:53 PM, Naveen.B wrote:
> > [rawvideo @ 029bdbfde780] Packet corrupt (stream = 0, dts =
> > 1).=188745.6kbits/s speed=3.33e+04x
> > raw_video.raw: corrupt input packet in stream 0
> > [rawvideo @ 029bdbffd780] Invalid buffer size, packet size 104 <
> > expected frame_size 312
>
> Are you -sure- that the pixfmt and size are correct for that camera?
> (What camera is it? make/model)
>
> z!
> ___
> 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] Raw video conversion

2022-07-11 Thread Naveen.B
C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -f rawvideo
-pixel_format yuv420p -video_size 1600x1300 -framerate 30 -i raw_video.raw
raw_video.avi
ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev Copyright
(c) 2000-2022 the FFmpeg developers
  built with gcc 11.3.0 (Rev1, 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-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation
--enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
--enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
--enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint
  libavutil  57. 27.100 / 57. 27.100
  libavcodec 59. 33.100 / 59. 33.100
  libavformat59. 25.100 / 59. 25.100
  libavdevice59.  6.100 / 59.  6.100
  libavfilter 8. 41.100 /  8. 41.100
  libswscale  6.  6.100 /  6.  6.100
  libswresample   4.  6.100 /  4.  6.100
  libpostproc56.  5.100 / 56.  5.100
[rawvideo @ 029bdbfde780] Estimating duration from bitrate, this may be
inaccurate
Input #0, rawvideo, from 'raw_video.raw':
  Duration: 00:00:00.03, start: 0.00, bitrate: 998409 kb/s
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1600x1300,
748800 kb/s, 30 tbr, 30 tbn
File 'raw_video.avi' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
Output #0, avi, to 'raw_video.avi':
  Metadata:
ISFT: Lavf59.25.100
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(progressive),
1600x1300, q=2-31, 200 kb/s, 30 fps, 30 tbn
Metadata:
  encoder : Lavc59.33.100 mpeg4
Side data:
  cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: N/A
[rawvideo @ 029bdbfde780] Packet corrupt (stream = 0, dts =
1).=188745.6kbits/s speed=3.33e+04x
raw_video.raw: corrupt input packet in stream 0
[rawvideo @ 029bdbffd780] Invalid buffer size, packet size 104 <
expected frame_size 312
Error while decoding stream #0:0: Invalid argument
frame=1 fps=0.0 q=15.2 Lsize= 844kB time=00:00:00.03
bitrate=207485.0kbits/s speed=1.08x
video:839kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.664997%

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>

the complete text is added.


On Fri, Jul 8, 2022 at 6:01 PM Carl Zwanzig  wrote:

> On 7/8/2022 3:24 AM, Naveen.B wrote:
> > Attaching the screenshot of the console and the complete command,
>
> Please, not a screenshot! put the text right in the email.
>
> > I did not
> > understand what you mean by "do not top post here"
>
> Google, or any other search engine, will tell you (hint- compare this
> message with yours and now where the response text is).  (read the list
> FAQ,
> too, it's on the ffmpeg web site.
>
> z!
>
> ___
> 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] Raw video conversion

2022-07-08 Thread Naveen.B
[image: image.png]

Attaching the screenshot of the console and the complete command, I did not
understand what you mean by "do not top post here"



On Fri, Jul 8, 2022 at 12:18 PM Bouke / Videotoolshed <
bo...@videotoolshed.com> wrote:

> Please provide full command and console output, and do NOT top post here!
> >
> > I have a raw video file captured from the monochrome camera, I need to
> > convert the raw video file to visualise it in .avi or .mp4.
> > I tried this command, but this did not worked out to me,
> > ffmpeg -f rawvideo -pixel_format yuv420p -video_size 1600x1300 -framerate
> > 30 -i raw_video.raw raw_video.avi
> >
> > Could anyone help me on how to do conversion from raw file to .avi or
> -mp4
> > file?
>
> ___
> 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".


[FFmpeg-user] Raw video conversion

2022-07-08 Thread Naveen.B
Hello,

I have a raw video file captured from the monochrome camera, I need to
convert the raw video file to visualise it in .avi or .mp4.
I tried this command, but this did not worked out to me,
ffmpeg -f rawvideo -pixel_format yuv420p -video_size 1600x1300 -framerate
30 -i raw_video.raw raw_video.avi

Could anyone help me on how to do conversion from raw file to .avi or -mp4
file?

Kind regards,
___
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".