FPGA Image Signal Processor - Examples - FFMPEG
FPGA Image Signal Processor |
---|
Introduction |
FPGA ISP Accelerators/Modules |
Getting the Code |
Examples |
GStreamer Pipelines |
Tested Platforms |
Contact Us |
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
- Open the test.raw file on the http://rawpixels.net/ for ARGB32