Am 24.10.2022 um 17:50 schrieb 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
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.
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.
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".