Gary lines appear in the video after omxh264dec decoding

Hi everyone.

recently I update my Tx2 jetpack to R32, when I use omxh264dec to decode 1920*1080 h264 video, there will be wrong information at the bottom of the video. A gray line appears at the bottom of some videos. I did not have this problem in the environemnt of the R28 I used in the past.



gst-launch-1.0 filesrc location=20220211_093751_45C3_ACCC8E280012.mkv ! matroskademux ! h264oarse ! omxh264dec ! nvvidconv ! xvimagesink

20220211_093751_45C3_ACCC8E280012.mkv (2.6 MB)

I found that if the resoultion is not divisible by 16, the bottom of the video decoded with omxh264dec has proble. But it can be played normally with vlc or ffmpeng.

I have tried using nvv4l2decoder insteaded of omxh264dec and this problem will not occur. But for some reason I can only use omxh264dec. So I want to know the cause of this problem and how to solve it.

A formal solution is to use nvv4l2decoder.
For this condition, a possible solution is to link omxh264dec ! nvvidconv and crop out the lines in bottom.

Thanks for your replay.

I want to know why this problem occurs with R32, did omxh264dec make the change? Is there any other solutions besides using nvvidconv to cut off the extra part at the bottom. I want to compare which is more suitable for me.

Thanks again for your answer.

The omx plugins are deprecated on r32 releases, so it is not touched. You can download the source code package and look into the code of gst-omx. On latest r32 release, most plugins are public so you can also look into nvvidconv plugin.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.