Skip to content

rk3576硬件解码单个jpg失败 #911

@dearthatom

Description

@dearthatom

rk3576上能够硬件解码jpg内存或者文件数据吗?我用jpg数据测试,传入的类型是MPP_VIDEO_CodingAVC显示成功,但是输出文件是空的。
./mpi_dec_test -i ~/0005.jpg -t 7 -o outfile
mpp[150475]: mpi_dec_utils: input file /home/forlinx/0005.jpg size 454075
mpp[150475]: mpi_dec_utils: cmd parse result:
mpp[150475]: mpi_dec_utils: input file name: /home/forlinx/0005.jpg
mpp[150475]: mpi_dec_utils: output file name: outfile
mpp[150475]: mpi_dec_utils: width : 0
mpp[150475]: mpi_dec_utils: height : 0
mpp[150475]: mpi_dec_utils: type : 7
mpp[150475]: mpi_dec_utils: max frames : 0
mpp[150475]: mpi_dec_test: mpi_dec_test start
mpp[150475]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[150475]: mpi_dec_test: 0x558b30a9a0 mpi_dec_test decoder test start w 0 h 0 type 7
mpp[150475]: mpi_dec_test: 0x558b30a9a0 found last packet
mpp[150475]: mpi_dec_test: 0x558b30a9a0 decode get frame 0 err 0 discard 1
mpp[150475]: mpi_dec_test: 0x558b30a9a0 found last packet
mpp[150475]: mpi_dec_test: decode 1 frames time 7 ms delay 6 ms fps 126.15
mpp[150475]: mpi_dec_test: test success max memory 0.00 MB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions