11-26-2020 12:53 AM - edited 11-28-2020 10:28 PM
Hello,
I have a design based on VCU TRD 2018.3. The input HDMI video varies in resolution from 800x600 to 1920x1200. Recording of all these resolutions works fine. However, when I try to playback, resolutions 1024x768 and lower do not work. I get this error -
root@zcu106_vcu_trd:/media/usb/test# gst-launch-1.0 filesrc location=test.ts ! tsdemux ! video/x-h265 ! h265parse ! omxh265dec ! videoconvert ! kmssink bus-id="a0240000.v_mix"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
terminate called after throwing an instance of 'std::invalid_argument'
what(): fd
Aborted
There's something wrong in the connection between omxh265dec -> kmssink. If I launch a videotestsrc on kmssink, all resolutions work. And if I output omxh265dec into fakesink, I don't get any error.
I've verified that the recorded file is good by playing it on my host computer. If I transcode the 1024x768 file into a higher resolution, say 1280x720, then I can playback successfully on the FPGA.
Why do lower resolutions not playback? Is there a known AR somewhere? (I couldn't find anything)
I've attached the GST_DEBUG=5 log for the failure. But, really up to the point of failure, there's nearly no difference when compared to a working resolution. The only difference (I see) is the size of the dec buffer being allocated.
11-30-2020 08:53 AM
Hello @rajatrao
can you try latest 2020.2 release?
Let us know if you face any challenge with that.
regards
Kunal
11-28-2020 10:45 PM
Turns out it's here: https://www.xilinx.com/support/answers/72732.html
I'll upgrade to 2019.2 soon.
I'm also facing the same issue with H264 for a variety of resolutions - 1280x1024, 1280x960, 1024x768. Does this patch apply to H264 as well?
11-30-2020 08:53 AM
Hello @rajatrao
can you try latest 2020.2 release?
Let us know if you face any challenge with that.
regards
Kunal