The C3V platform comes with hardware video codecs and supports V4L2 and OpenMAX interface calls. Here is the comparison of the performance of the different interfaces:
Encode Support | Maximum WxH@FPS | Multi-Encode | Decode Support | Maximum WxH@FPS | Multi-Decode | Framework Support | |
---|---|---|---|---|---|---|---|
V4L2 | H.264 | FHD@60 | Support | H.264 | FHD@90 | Support | GStreamer / FFmpeg |
JPEG | 4K@12 | Support | JPEG | 4K@20 | Support | ||
VP8 | FHD@60 | Support | Not supported | Not supported | Not supported | ||
OpenMAX | H.264 | FHD@60 | Not supported | H.264 | FHD@90 | Support | GStreamer |
Video Codec Performance with V4L2
Resolution (W x H) | Number of Streams | Average FPS | |
---|---|---|---|
H.264 Encode | FHD (1920 x 1080) | 1 | 60 |
2 | 30 | ||
3 | 20 | ||
HD (1280 x 720) | 1 | 90 | |
2 | 60 | ||
3 | 45 | ||
H.264 Decode | FHD (1920 x 1080) | 1 | 90 |
2 | 60 | ||
3 | 30 | ||
HD (1280 x 720) | 1 | 180 | |
JPEG Encode | 4k (3280 x 2160) | 1 | 12 |
2k (2560 x 1440) | 1 | 25 | |
FHD (1920 x 1080) | 1 | 45 | |
HD (1280 x 720) | 1 | 90 | |
JPEG Decode | 4k (3280 x 2160) | 1 | 20 |
2k (2560 x 1440) | 1 | 90 | |
FHD (1920 x 1080) | 1 | 145 | |
HD (1280 x 720) | 1 | 280 | |
VP8 Encode | FHD (1920 x 1080) | 1 | 60 |
Video Codec Performance with OpenMAX
Resolution ( W x H ) | Number of Streams | Average FPS | |
---|---|---|---|
H.264 Encode | FHD (1920 x 1080) | 1 | 60 |
HD (1280 x 720) | 1 | 80 | |
H.264 Decode | FHD (1920 x 1080) | 1 | 90 |
2 | 60 | ||
3 | 30 | ||
HD (1280 x 720) | 1 | 180 |
The contents of the table are measured data, for reference only, the actual operation will be different due to environmental differences.