[FFmpeg-user] Raw video conversion

Naveen.B navins.2006 at gmail.com
Mon Jul 11 09:53:00 EEST 2022


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
  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 @ 0000029bdbfde780] Estimating duration from bitrate, this may be
inaccurate
Input #0, rawvideo, from 'raw_video.raw':
  Duration: 00:00:00.03, start: 0.000000, 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/200000 buffer size: 0 vbv_delay: N/A
[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
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 <cpz at tuunq.com> 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 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