[FFmpeg-user] encode to RAW video
Bouke / edit 'B
bouke at editb.nl
Mon Oct 24 17:23:23 EEST 2022
> On 24 Oct 2022, at 14:29, Naveen.B <navins.2006 at gmail.com> wrote:
>
>>
>>
>> On 24 Oct 2022, at 12:52, Naveen.B <navins.2006 at gmail.com> 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
Rawhide?
WTF?
Rawvideo does not carry a pix format afaik.
> 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
> Input #0, image2, from 'CapturedImage-%03d.raw':
> Duration: 00:00:01.20, start: 0.000000, bitrate: N/A
> Stream #0:0: Video: rawvideo (Y1[0][10] / 0xA003159), gray10le,
> 1600x1300, 25 fps, 25 tbr, 25 tbn
> [NULL @ 0000023c862e6740] 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 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