FPGA Image Signal Processor - Examples - FFMPEG

From RidgeRun Developer Connection
Jump to: navigation, search


Previous: Examples Index Next: Examples/Custom_Accelerator



CSC accelerator

Xavier AGX

Dependencies

  • Install FFMPEG and VLC
sudo apt install ffmpeg vlc

Preliminary environment

  • Create a video example to feed the FFMPEG input.
gst-launch-1.0 videotestsrc num-buffers=100 ! 'video/x-raw,height=(int)480,width(int)640,format=(string)UYVY' ! filesink location=/tmp/input.raw

FFMPEG example

  • Run the FFmpeg capture in the background.
ffmpeg -f video4linux2 -i /dev/video1 -vframes 1 -pix_fmt rgb32 -f rawvideo test.raw &
  • Run the FFmpeg output command
ffmpeg -re -i input.jpg -f v4l2 -vcodec rawvideo -pix_fmt uyvy422 /dev/video2


Previous: Examples Index Next: Examples/Custom_Accelerator