Nian

Results 9 comments of Nian

Android怎麼把mpi_dec_test放進去執行? 因為我用adb push進去要執行都返回"can't execute: Permission denied"。 還是新手不太了解...

可以執行了但是都沒有回饋訊息, 連我執行mpp_info_test都沒有回饋, 我把libvpu, libmpp放到/system/lib mpi_dec_test, mpp_info_test放到/system/bin

執行後出現錯誤: > CP-B:/system/bin # ./mpi_dec_test -i ../output_h264.mp4 -o ../out_h264_test.NV12 -w 1920 -h 1080 -t 4 -d 1 > 11-26 13:23:11.351 I/mpi_dec_test( 7381): cmd parse result: > 11-26 13:23:11.351 I/mpi_dec_test( 7381):...

@Pony23333 謝謝提供的方法 @HermanChen 有把輸入改成解封裝的264裸碼流了,但依舊是一樣的錯誤 > CP-B:/system/bin # ./mpi_dec_test -i ../output_h264.h264 -o ../out_h264_test.NV12 -w 1920 -h 1080 -t 4 -d 1 > 11-26 16:29:20.064 I/mpi_dec_test(13278): cmd parse result: > 11-26 16:29:20.064...

有了!! 但還是出現get error and check frame_num。 回到最一開始的問題, decode_get_frame後的fream NULL, 是因為輸入不是H.264裸碼流嗎? > CP-B:/system/bin # ./mpi_dec_test -i ../output_h264.h264 -o ../out_h264_test.NV12 -w 1920 -h 1080 -t 7 > 11-26 17:00:28.093 I/mpi_dec_test(14052): cmd parse...

我使用的影片來源: https://test-videos.co.uk/bigbuckbunny/mp4-h264 用yuvplayer播放發現第296張有破圖的感覺 > CP-B:/system/bin # ./mpi_dec_test -i ../out_test.h264 -o ../out_test.NV12 > 11-26 17:45:52.892 I/mpi_dec_test(15558): cmd parse result: > 11-26 17:45:52.892 I/mpi_dec_test(15558): input file name: ../out_test.h264 > 11-26 17:45:52.892 I/mpi_dec_test(15558):...

Hi HermanChen, 試著把我所使用影像來源(TCP傳輸H264)存下來, 用mpi_dec_test 轉成NV12是成功的。 但是參考RKMediaCodecDemo把MPP包成Android library, [https://github.com/c-xh/RKMediaCodecDemo](url) 卻依舊是相同問題, > decode_get_frame返回是成功的, > 可是frame一直是空的, 還有可能是什麼原因造成的呢? 謝謝...

Hi Herman, 請教一下如果要測試mpp解mjpeg該怎麼下, 我嘗試使用如下: > CP-B:/system/bin # ./mpi_dec_test -i ../output_mjpeg.mp4 -o ../output_mjpeg.NV12 -w 1920 -h 1080 -t 8 > 12-01 14:02:57.174 I/mpi_dec_test( 2703): cmd parse result: > 12-01 14:02:57.174 I/mpi_dec_test(...

還是是要用 output_mjpeg.mjpeg ?