硬件解码经常性死机
Firefly3399 按照官网指引输入下列命令ffmpeg -y -c:v h264_rkmpp -i /usr/local/test.mp4 -anoutput.yuv解码时经常性死机
死机时状态如下
root@firefly:/home/firefly/compile/aarch64Compiler/ffmpeg# ffmpeg -y -c:v h264_rkmpp -i /usr/local/test.mp4 -anoutput.yuv
ffmpeg version 4.2.4-1ubuntu1.0firefly2 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
configuration: --prefix=/usr --extra-version=1ubuntu1.0firefly2 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --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-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --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 --disable-doc
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58.8.100 / 58.8.100
libavfilter 7. 57.100 /7. 57.100
libavresample 4.0.0 /4.0.0
libswscale 5.5.100 /5.5.100
libswresample 3.5.100 /3.5.100
libpostproc 55.5.100 / 55.5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/local/test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01T00:00:00.000000Z
encoder : Lavf52.64.2
Duration: 00:00:10.00, start: 0.000000, bitrate: 6836 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 , 6664 kb/s, 24 fps, 30 tbr, 30 tbn, 60 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 166 kb/s (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : SoundHandler
mpp: mpp_info: mpp version: 49f29006 author: Jeffy Chen 2021-08-04 : Add mmap flag detection
mpp: mpp_rt: NOT found ion allocator
mpp: mpp_rt: found drm allocator
mpp: hal_h264d_rkv_reg: control info: fmt 7, w 1920, h 1080
mpp: mpp_buf_slot: set frame info: w 1920 h 1080 hor 1920 ver 1088
mpp: mpp_dec: setting default w 1920 h 1080 h_str 1920 v_str 1088
Stream mapping:
Stream #0:0 -> #0:0 (h264 (h264_rkmpp) -> rawvideo (native))
Press to stop, [?] for help
Decoder noticed an info change (1920x1080), format=0
rga_api version 1.3.0_ (RGA is compiling with meson base: $PRODUCT_BASE)
Output #0, rawvideo, to 'output.yuv':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.29.100
Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 , q=2-31, 746496 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
encoder : Lavc58.54.100 rawvideo
页:
[1]