intel / libyami

Yet Another Media Infrastructure. it is core part of media codec with hardware acceleration, it is yummy to your video experience on Linux like platform.
Apache License 2.0
146 stars 106 forks source link

The omxh264dec miss some frames at the end of the file. #26

Closed changzhix closed 9 years ago

changzhix commented 10 years ago

Use the next commandline to dump yuv data, and use BeyondCompare to compare the yuv of software decode with the yuv of hardward decode.

the file BA1_FT_C.264 miss 7 frames, BA3_SVA_C.264 miss 17 frames, BAMQ1_JVC_C.264 miss 17 frames.

gst-launch-1.0 filesrc location=/root/Videos/h264/Base_Ext_Main_profile/BA1_FT_C.264 ! h264parse ! avdec_h264 ! filesink location=av.yuv gst-launch-1.0 filesrc location=/root/Videos/h264/Base_Ext_Main_profile/BA1_FT_C.264 ! h264parse ! omxh264dec ! videoconvert ! video/x-raw,format=I420 ! filesink location=omx.yuv

changzhix commented 9 years ago

fixed