woodfe got a reaction from
gounthar in Last revision FFMPEG cedrus264 patched: review and test request
Hi,
I've tested your code on an OrangepiP. It can encode h264 1080p at 28fps.
root@orangepipc:~/FFmpeg# ./ffmpeg -s 1920x1080 -pix_fmt nv12 -f rawvideo -stream_loop -1 -i xilinx_1080p_nv12.yuv -pix_fmt nv12 -c:v cedrus264 -f null -
ffmpeg version N-103905-gafd516bd9c Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-libx264 --enable-libmp3lame --enable-libpulse --enable-libv4l2
libavutil 57. 7.100 / 57. 7.100
libavcodec 59. 9.101 / 59. 9.101
libavformat 59. 5.100 / 59. 5.100
libavdevice 59. 0.101 / 59. 0.101
libavfilter 8. 10.100 / 8. 10.100
libswscale 6. 1.100 / 6. 1.100
libswresample 4. 0.100 / 4. 0.100
libpostproc 56. 0.100 / 56. 0.100
[rawvideo @ 0x27d72c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'xilinx_1080p_nv12.yuv':
Duration: 00:00:04.12, start: 0.000000, bitrate: 622080 kb/s
Stream #0:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 1920x1080, 622080 kb/s, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (cedrus264))
Press [q] to stop, [?] for help
[VDPAU SUNXI] VE version 0x1680 opened.
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf59.5.100
Stream #0:0: Video: h264, nv12(progressive), 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc59.9.101 cedrus264
frame= 465 fps= 28 q=-0.0 Lsize=N/A time=00:00:18.60 bitrate=N/A speed=1.12x
video:5560kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown