@amazingfate , @icecream95, @nyanmisaka
I decided to install liujianfeng1994 deb packages on my ubuntu jammy, same errors. I think the deb packages do not contain @icecream95 patches.
rock@rock5b:~/deb/ffmpeg$ ffplay ~/videos/Big_Buck_Bunny_1080_10s_10MB.mp4 -vcodec h264_rkmpp
ffplay version 4.4.2-0ubuntu0.22.04.1+rkmpp1 Copyright (c) 2003-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1+rkmpp1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libdrm --enable-librga --enable-rkmpp --enable-version3 --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-decoder=h264_v4l2m2m --disable-decoder=vp8_v4l2m2m --disable-decoder=mpeg2_v4l2m2m --disable-decoder=mpeg4_v4l2m2m --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/rock/videos/Big_Buck_Bunny_1080_10s_10MB.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
Duration: 00:00:10.00, start: 0.000000, bitrate: 8387 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 8382 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
[h264_rkmpp @ 0x7f8c003530] Decoder noticed an info change (1920x1080), format=0
rga_api version 1.8.1_[4] 0 aq= 0KB vq= 867KB sq= 0B f=0/0
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[34, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f914c0010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f8c003530] Doing slow software conversion
RgaBlit(1465) RGA_BLIT fail: Invalid argument2KB sq= 0B f=0/0
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[44, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f80ca1010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f8c003530] Doing slow software conversion
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[47, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f802ae010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[42, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f770f5010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
Last message repeated 2 times
hevc 10-bit
rock@rock5b:~/deb/ffmpeg$ ffplay ~/videos/jellyfish-10-mbps-hd-hevc-10bit.mkv -vcodec h264_rkmpp
ffplay version 4.4.2-0ubuntu0.22.04.1+rkmpp1 Copyright (c) 2003-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1+rkmpp1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libdrm --enable-librga --enable-rkmpp --enable-version3 --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-decoder=h264_v4l2m2m --disable-decoder=vp8_v4l2m2m --disable-decoder=mpeg2_v4l2m2m --disable-decoder=mpeg4_v4l2m2m --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Input #0, matroska,webm, from '/home/rock/videos/jellyfish-10-mbps-hd-hevc-10bit.mkv':
Metadata:
COMPATIBLE_BRANDS: iso4hvc1iso6
MAJOR_BRAND : iso4
MINOR_VERSION : 1
ENCODER : Lavf56.3.100
Duration: 00:00:30.10, start: 0.067000, bitrate: 10095 kb/s
Stream #0:0(und): Video: hevc (Main 10), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc (default)
Metadata:
CREATION_TIME : 2016-02-06 00:36:35
LANGUAGE : und
HANDLER_NAME : hevc@GPAC0.5.2-DEV-rev565-g71748d7-ab-suite
[h264_mp4toannexb @ 0x7f88003e60] Global extradata truncated, corrupted stream or invalid MP4/AVCC bitstream
Failed to open file '/home/rock/videos/jellyfish-10-mbps-hd-hevc-10bit.mkv' or configure filtergraph
Just to make sure it is using liujianfeng1994 deb packages.
rock@rock5b:~/deb/ffmpeg$ ldd /usr/bin/ffplay
linux-vdso.so.1 (0x0000007f897bc000)
libavdevice.so.58 => /lib/aarch64-linux-gnu/libavdevice.so.58 (0x0000007f896f0000)
libavfilter.so.7 => /lib/aarch64-linux-gnu/libavfilter.so.7 (0x0000007f892a0000)
libavformat.so.58 => /lib/aarch64-linux-gnu/libavformat.so.58 (0x0000007f89000000)
libavcodec.so.58 => /lib/aarch64-linux-gnu/libavcodec.so.58 (0x0000007f87e70000)
libpostproc.so.55 => /lib/aarch64-linux-gnu/libpostproc.so.55 (0x0000007f87e50000)
libswresample.so.3 => /lib/aarch64-linux-gnu/libswresample.so.3 (0x0000007f87e20000)
libswscale.so.5 => /lib/aarch64-linux-gnu/libswscale.so.5 (0x0000007f87d90000)
libavutil.so.56 => /lib/aarch64-linux-gnu/libavutil.so.56 (0x0000007f87ad0000)
ls -la /lib/aarch64-linux-gnu/libavcodec.so.58
rock@rock5b:~/deb/ffmpeg$ ls -la /lib/aarch64-linux-gnu/libavcodec.so.58.134.100
-rw-r–r-- 1 root root 12193760 Nov 16 13:56 /lib/aarch64-linux-gnu/libavcodec.so.58.134.100
h264 liujianfeng1994 deb
ffplay ~/videos/jellyfish-20-mbps-hd-h264.mkv -vcodec h264_rkmpp -loglevel debug
ffplay version 4.4.2-0ubuntu0.22.04.1+rkmpp1 Copyright (c) 2003-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1+rkmpp1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libdrm --enable-librga --enable-rkmpp --enable-version3 --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-decoder=h264_v4l2m2m --disable-decoder=vp8_v4l2m2m --disable-decoder=mpeg2_v4l2m2m --disable-decoder=mpeg4_v4l2m2m --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Initialized opengles2 renderer.
[NULL @ 0x7f64000c10] Opening '/home/rock/videos/jellyfish-20-mbps-hd-h264.mkv' for reading
[file @ 0x7f64001690] Setting default whitelist 'file,crypto,data'
[matroska,webm @ 0x7f64000c10] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0x7f64000c10] Before avformat_find_stream_info() pos: 5527 bytes read:32768 seeks:0 nb_streams:1
[h264 @ 0x7f640033f0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7f640033f0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x7f640033f0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7f640033f0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x7f640033f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x7f640033f0] Format yuv420p chosen by get_format().
[h264 @ 0x7f640033f0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x7f640033f0] no picture
[matroska,webm @ 0x7f64000c10] All info found 0KB sq= 0B f=0/0
[matroska,webm @ 0x7f64000c10] After avformat_find_stream_info() pos: 394227 bytes read:414855 seeks:0 frames:3
Input #0, matroska,webm, from '/home/rock/videos/jellyfish-20-mbps-hd-h264.mkv':
Metadata:
encoder : libebml v1.2.0 + libmatroska v1.1.0
creation_time : 2016-02-06T04:00:52.000000Z
Duration: 00:00:30.03, start: 0.000000, bitrate: 19914 kb/s
Stream #0:0(eng), 3, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
[h264_rkmpp @ 0x7f64004d80] Format yuv420p chosen by get_format().
[h264_rkmpp @ 0x7f64004d80] Initializing RKMPP decoder.
[h264_rkmpp @ 0x7f64004d80] RKMPP decoder initialized successfully.
[h264_rkmpp @ 0x7f64004d80] Flush. 0KB vq= 424KB sq= 0B f=0/0
[h264_rkmpp @ 0x7f64004d80] Wrote 250109 bytes to decoder
[h264_rkmpp @ 0x7f64004d80] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f64004d80] Wrote 93719 bytes to decoder
[h264_rkmpp @ 0x7f64004d80] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f64004d80] Wrote 44900 bytes to decoder
[h264_rkmpp @ 0x7f64004d80] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f64004d80] Wrote 45636 bytes to decoder
[h264_rkmpp @ 0x7f64004d80] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f64004d80] Buffer full
[h264_rkmpp @ 0x7f64004d80] Received a frame.
rga_api version 1.8.1_[4] 0 aq= 0KB vq= 3240KB sq= 0B f=0/0
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[34, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f620d1010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f64004d80] Doing slow software conversion
Video frame changed from size:0x0 format:none serial:-1 to size:1920x1080 format:yuv420p serial:1
detected 8 logical cores
[ffplay_buffer @ 0x7f54014e30] Setting 'video_size' to value '1920x1080'
[ffplay_buffer @ 0x7f54014e30] Setting 'pix_fmt' to value '0'
[ffplay_buffer @ 0x7f54014e30] Setting 'time_base' to value '1/1000'
[ffplay_buffer @ 0x7f54014e30] Setting 'pixel_aspect' to value '1/1'
[ffplay_buffer @ 0x7f54014e30] Setting 'frame_rate' to value '19001/634'
[ffplay_buffer @ 0x7f54014e30] w:1920 h:1080 pixfmt:yuv420p tb:1/1000 fr:19001/634 sar:1/1
[AVFilterGraph @ 0x7f640032e0] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed
[h264_rkmpp @ 0x7f64004d80] Wrote 76359 bytes to decoder
[h264_rkmpp @ 0x7f64004d80] Received a frame.
Created 1920x1080 texture with SDL_PIXELFORMAT_IYUV.
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[42, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f514b1010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f64004d80] Doing slow software conversion
[h264_rkmpp @ 0x7f64004d80] Received a frame.
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[44, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f502ae010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f64004d80] Doing slow software conversion
[h264_rkmpp @ 0x7f64004d80] Received a frame.
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[40, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f4b905010, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f64004d80] Doing slow software conversion
[AVIOContext @ 0x7f640097a0] Statistics: 4174672 bytes read, 0 seeks
h264 with @icecream95 patch
rock@rock5b:~/deb/ffmpeg/ffmpeg-4.4.2$ ./ffplay ~/videos/jellyfish-20-mbps-hd-h264.mkv -vcodec h264_rkmpp -loglevel debug
ffplay version 4.4.2 Copyright (c) 2003-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/usr --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-decoder=h264_v4l2m2m --disable-decoder=vp8_v4l2m2m --disable-decoder=mpeg2_v4l2m2m --disable-decoder=mpeg4_v4l2m2m --disable-libxvid --disable-libx264 --disable-libx265 --enable-librga --enable-rkmpp --enable-nonfree --enable-gpl --enable-version3 --enable-libmp3lame --enable-libpulse --enable-libv4l2 --enable-libdrm --enable-libxml2 --enable-librtmp --enable-libfreetype --enable-openssl --enable-opengl --enable-libopus --enable-libvorbis --disable-shared --enable-decoder='aac,ac3,flac' --extra-cflags=-I/usr/src/linux-headers-5.10.110-debugx/include
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Initialized opengles2 renderer.
[NULL @ 0x7f70000c10] Opening '/home/rock/videos/jellyfish-20-mbps-hd-h264.mkv' for reading
[file @ 0x7f70001660] Setting default whitelist 'file,crypto,data'
[matroska,webm @ 0x7f70000c10] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0x7f70000c10] Before avformat_find_stream_info() pos: 5527 bytes read:32768 seeks:0 nb_streams:1
[h264 @ 0x7f700033c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7f700033c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x7f700033c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7f700033c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x7f700033c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x7f700033c0] Format yuv420p chosen by get_format().
[h264 @ 0x7f700033c0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x7f700033c0] no picture
[matroska,webm @ 0x7f70000c10] All info found 0KB sq= 0B f=0/0
[matroska,webm @ 0x7f70000c10] After avformat_find_stream_info() pos: 394227 bytes read:414855 seeks:0 frames:3
Input #0, matroska,webm, from '/home/rock/videos/jellyfish-20-mbps-hd-h264.mkv':
Metadata:
encoder : libebml v1.2.0 + libmatroska v1.1.0
creation_time : 2016-02-06T04:00:52.000000Z
Duration: 00:00:30.03, start: 0.000000, bitrate: 19914 kb/s
Stream #0:0(eng), 3, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
[h264_rkmpp @ 0x7f70004d50] Format yuv420p chosen by get_format().
[h264_rkmpp @ 0x7f70004d50] Initializing RKMPP decoder.
[h264_rkmpp @ 0x7f70004d50] RKMPP decoder initialized successfully.
[h264_rkmpp @ 0x7f70004d50] Flush.
[h264_rkmpp @ 0x7f70004d50] Wrote 250109 bytes to decoder
[h264_rkmpp @ 0x7f70004d50] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f70004d50] Wrote 93719 bytes to decoder
[h264_rkmpp @ 0x7f70004d50] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f70004d50] Wrote 44900 bytes to decoder
[h264_rkmpp @ 0x7f70004d50] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f70004d50] Wrote 45636 bytes to decoder
[h264_rkmpp @ 0x7f70004d50] Timeout getting decoded frame.
Last message repeated 1 times
[h264_rkmpp @ 0x7f70004d50] Buffer full
[h264_rkmpp @ 0x7f70004d50] Wrote 76359 bytes to decoder
[h264_rkmpp @ 0x7f70004d50] Received a frame.
[h264_rkmpp @ 0x7f70004d50] Allocated buffer of size 3139231 -> 0x7f70005470 (CPU 0x7f740c5000)
rga_api version 1.8.1_[4]
544:src has not fd and address for render
Video frame changed from size:0x0 format:none serial:-1 to size:1920x1080 format:yuv420p serial:1
detected 8 logical cores
[ffplay_buffer @ 0x7f6c03aec0] Setting 'video_size' to value '1920x1080'
[ffplay_buffer @ 0x7f6c03aec0] Setting 'pix_fmt' to value '0'
[ffplay_buffer @ 0x7f6c03aec0] Setting 'time_base' to value '1/1000'
[ffplay_buffer @ 0x7f6c03aec0] Setting 'pixel_aspect' to value '1/1'
[ffplay_buffer @ 0x7f6c03aec0] Setting 'frame_rate' to value '19001/634'
[ffplay_buffer @ 0x7f6c03aec0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000 fr:19001/634 sar:1/1
[AVFilterGraph @ 0x7f7002a7d0] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed
[h264_rkmpp @ 0x7f70004d50] Received a frame.
[h264_rkmpp @ 0x7f70004d50] Allocated buffer of size 3139231 -> 0x7f70098d80 (CPU 0x7f640bb000)
RgaBlit(1465) RGA_BLIT fail: Invalid argument
RgaBlit(1466) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[2, (nil), (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f640bb000, (nil), 0, 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2816, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f70004d50] Doing slow software conversion
Created 1920x1080 texture with SDL_PIXELFORMAT_IYUV.
[h264_rkmpp @ 0x7f70004d50] Received a frame.
[h264_rkmpp @ 0x7f70004d50] Allocated buffer of size 3139231 -> 0x7f60000ff0 (CPU 0x7f5e1d9000)
Just for the record, summarizing my findings: