[FFmpeg-user] encode to RAW video

Naveen.B navins.2006 at gmail.com
Mon Oct 24 18:50:55 EEST 2022


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


More information about the ffmpeg-user mailing list