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.

AM5728: AM5728 h264 decoder artefacts

Part Number: AM5728
Other Parts Discussed in Thread: AM5749

I use AM57x IDK board as RTP (UDP) receiver and decoder  h264 stream. IDK board receive h264 stream from another system.

Using gstreamer and IDK I saved stream to mp4 file (without any manipulations, it is raw stream). This file is attached to this post (first file, name record*.mp4 (I divided it file by two partp using zip. Second part of this raw file is in next post)).

If you will play it on PC - file correct, I not see any artefacts. But if I will play it using gstreamer and ducati H264 decoder ob IDK board I see diagonal strips artefacts as in second attached video (on_monitor.mp4, attached next post). I haven't drops packets in /proc/net/udp. 

Please, try to play this file using IDK. You will see same artefacts.

I use Processor SDK Linux for AM57x v06.01.00.08. But I think we will faced this problem on last SDK. 

Could you explain why  it happened?

record_zip_part1_inside.zip

  • Attached files for start post

    record_zip_part2_inside.zip

  • Hi,

    I will get back to you next week because we have a public holiday + weekend.

    Thanks

    Gaviraju

  • Hi,

    Can please try with software decoder instead of Ducati decoder?

    This just makes sure the issue with Ducati or not

    Thanks

    Gaviraju

  • Thanks for your answer.

    Yes, I tried the software decoder. I had a slideshow, but no artefacts. And when I decoded attached file on PC - no artefacts too.

  • Hi,

    The attached stream is corrupted & I'm not able to playback in the PC player, so please share it again.

    Can you share the GST command used to decode the video using Ducati? & also share the GST command used for the SW decoder.

    Thanks

    Gaviraju

  • I checked share video - it OK. 

    But the size of it more than 20Mb. I don't want to cut it using PC because it raw video and PC can decode/encode it again. In this case Ducatti will decode it withour artefacts.

    Please, unsip two parts of attached files record_zip_part1_inside.zip and record_zip_part2_inside to one folder. You will get two files record-21-12-20.zip.001 and record-21-12-20.zip.002. Unzip record-21-12-20.zip.001 one time more and you will get record-21-12-20.mp4. I played it on PC using standart Windows Media Player and VLC.

    Pipeline for ducatti is:  

    gst-launch-1.0 filesrc location=record-21-12-20.mp4 ! qtdemux name=demux demux.video_0  ! queue ! h264parse ! ducatih264dec ! autovideosink

    in software case simply I change ducatih264dec to software decoder avdec_h264

  • Hi,

    Can you elaborate on "autovideosink"?

    Can you try with "kmssink" or "waylandsink" instead of autovideosink?

     

     


    Thanks

    Gaviraju

  • autovideosink choose kmssink automatically. I tried my file using wayland sink with same result.

    Please, try attached file with you AM57xx system. l'm sure you will face my problem

  • Hi,

    I verified in SDK 6.03, here it's working successfully & I will update the behavior In the SDK 6.01 asap.

    Thanks

    Gaviraju

  • Hi,

    I'm able to playback the shared mp4 files successfully & I din't see any artifacts on the display.

    The Board I used to test is IDK5749 & SDK is 06_01_00_08.

    I don't have AM5728 board to test.

    Are you using the AM5728 or AM5749?

    Meanwhile can you try with default prebuilt-binary provided in the below link?

    OR

    Direct Download link: 

    Let me know if the issue is again reproduced with default pre-build binary then I will check the AM5728 board.

    Are you trying with EVM board or custom board?

    Thanks

    Gaviraju

  • Thanks for your answer.

    Your results are unexpected for me... I use AM5728 IDK and custom board. I see same artefacts in IDK and my custom board.

    I used non-modified binary image for IDK.

    I will do it one time more using your links and let you know about results

  • I tried one time more with your links using IDK AM5728 and had same problem... Diagonal artefacts. Please, try it using AM5728

  • Hi,

    The HW decoder IP "IVAHD" is same in the both SOC platform. But the issue is not replicating in the AM574x, this looks strange.

    So can you share the artifacts video?

    Thanks

    Gaviraju