This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

There will be some mosaic when decoding the special H264 video stream(ReFrames is 4 ) using omx_h264dec.How to fix it?

 Hello everyone:

 I have two H264  transport streams:

cctv1_ok(2ReFrames).txt  (in fact a .ts video file,not txt file,you need change .txt to .ts after download  )-------can play well

1108.cctv1_ok(2ReFrames) .txt

cctv3_mosaic(4ReFrames).txt (in fact a .ts video file,not txt file,you need change .txt to .ts after download)------will be mosaic

1680.cctv3_mosaic(4ReFrames) .txt

The parameters both of them  are  nearly the same,only may be the ReFrames  is different,I use the following command  to play:

gst-launch-0.10 filesrc location=xxx.ts ! mpegtsdemux ! video/x-h264 ! h264parse access-unit=true ! omx_h264dec  ! 
omx_mdeiscaler name=d d.src_00 ! 'video/x-raw-yuv,width=800,height=480' ! omx_ctrl \display-device=LCD ! gstperf ! omx_videosink display-mode=OMX_DC_MODE_1080P_60 sync=false display-device=LCD d.src_01 ! fakesink silent=true -v

   I have test other H264 stream which the ReFrames is lower than 4.and all is ok.But I am not very sure wheather the ReFrames result the mosaic.So I put the two Streams  here.  

  What is more,if I use ffdec_h264 to decode the cctv3_mosaic(4ReFrames).ts ,will no mosaic,but very slowly because ffdec_h264 not use HDVPSS.

  Now ,Our product need to decode the streams like cctv3_mosaic(4ReFrames).ts,and We are using DM814x chips,So,We are in dire need of  your help.

 Thanks very much.

  Regards.

                zhichao.