hi NXP
i have added x264 encoder to yocto file system (L4.9.51_imx8mq-ga - IMX8MQ) and able to encode the v42l source using MIPI camera
the pipeline used is
gst-launch-1.0 -vv v4l2src ! 'video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)30/1' \
! videoconvert ! 'video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, framerate=(fraction)30/1' ! x264enc ! video/x-h264, profile=baseline ! fakesink
this pipeline is shooting the cpu to 390/4 % (appx 90% average) so, i have following questions
1. is software encdoing possible with IMX8MQ with less cpu usage ( i mean 20 to 30 % max?)
2. our requirement is 1080p30 at 10 mbps base profile ( current bitrate is 2mbps)
3. what is software encoder bitrate limitations on IMX8MQ ?
4. do we have any hw color space conversion plugins ? (imx6 support IPU)
5. do we have IPU similar support for IMX8MQ ? to convert color and resize the picture ?
the x264enc details for ref :
Factory Details:
Rank primary (256)
Long-name x264enc
Klass Codec/Encoder/Video
Description H264 Encoder
Author Josef Zlomek <josef.zlomek@itonis.tv>, Mark Nauwelaerts <mnauw@users.sf.net>
Plugin Details:
Name x264
Description libx264-based H264 plugins
Filename /usr/lib/gstreamer-1.0/libgstx264.so
Version 1.12.2
License GPL
Source module gst-plugins-ugly
Source release date 2017-07-14
Binary package GStreamer Ugly Plug-ins source release
Origin URL Unknown package origin
regards
Nagendra