[FFmpeg-user] Raw video conversion

Naveen.B navins.2006 at gmail.com
Tue Jul 12 14:01:36 EEST 2022


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
  libavformat    59. 25.100 / 59. 25.100
  libavdevice    59.  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
  libpostproc    56.  5.100 / 56.  5.100
[rawvideo @ 00000275b8aae780] 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 <cpz at tuunq.com> wrote:

> On 7/10/2022 11:53 PM, Naveen.B wrote:
> > [rawvideo @ 0000029bdbfde780] Packet corrupt (stream = 0, dts =
> > 1).=188745.6kbits/s speed=3.33e+04x
> > raw_video.raw: corrupt input packet in stream 0
> > [rawvideo @ 0000029bdbffd780] Invalid buffer size, packet size 1040000 <
> > expected frame_size 3120000
>
> 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 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