cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rajatrao
Explorer
Explorer
433 Views
Registered: ‎08-04-2016

VCU omxh265dec fails for low resolutions (1024x768 and below)

Jump to solution

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.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
kvasantr
Moderator
Moderator
359 Views
Registered: ‎04-12-2017

Hello @rajatrao 

can you try latest 2020.2 release?

Let us know if you face any challenge with that.

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/1010303044/Zynq+UltraScale+MPSoC+VCU+TRD+2020.2

regards

Kunal

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
rajatrao
Explorer
Explorer
382 Views
Registered: ‎08-04-2016

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?

kvasantr
Moderator
Moderator
360 Views
Registered: ‎04-12-2017

Hello @rajatrao 

can you try latest 2020.2 release?

Let us know if you face any challenge with that.

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/1010303044/Zynq+UltraScale+MPSoC+VCU+TRD+2020.2

regards

Kunal

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos