UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
342 Views
Registered: ‎03-10-2019

What is the decoded output of a video codec?

Jump to solution

someone can explain to me what exactly is the output of video decoding. Let's say it is a H.264 stream in an MP4 container and how to give decoder output to display port?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
176 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

Hi sy5809358@gmail.com 

This is because you didn't set any location constraint for the port pll_ref_clk. Again the BSP design has the full desing ready


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
14 Replies
Moderator
Moderator
283 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

Hi sy5809358@gmail.com 

The decoded video stream will be stored in memory. You can send it through displayport via the DPDMA.

For ZCU104 or ZCU106 (using the BSPs), there are some VCU Out of the Box examples available in PG252 from page 133.

The example Decode -> Display is doing what you want to do.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
243 Views
Registered: ‎03-10-2019

Re: What is the decoded output of a video codec?

Jump to solution
In example1 decode -> display there is no block design.how can i do?
0 Kudos
Moderator
Moderator
224 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

Hi sy5809358@gmail.com 

The vivado project with the block design is integrated in the BSP. Just create a new petalinux project with the BSP as source and you can see the vivado design in the hardware folder.

Note that the block design is really simple. You mainly have the VCU. The output is the Displayport controller which is inside the PS (Zynq MPSoC).

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
200 Views
Registered: ‎03-10-2019

Re: What is the decoded output of a video codec?

Jump to solution

i implemented blockdesign for video decoding using videocodec.but i got the errors.is it ok or any another blocks need to add? this example i taken from the videocodec unit userguide..in this block diagram where decoded data can store..please explain me.

1.png
0 Kudos
Moderator
Moderator
189 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

HI sy5809358@gmail.com 

What error do you get? Yes your design should be fine.

You might want to start directly with the BSP. It has everything you need.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
182 Views
Registered: ‎03-10-2019

Re: What is the decoded output of a video codec?

Jump to solution

synthesis and implementation completed successfully.Errors are occured while generating bitstream..i attached the screenshot.

2.png
0 Kudos
Moderator
Moderator
177 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

Hi sy5809358@gmail.com 

This is because you didn't set any location constraint for the port pll_ref_clk. Again the BSP design has the full desing ready


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
167 Views
Registered: ‎03-10-2019

Re: What is the decoded output of a video codec?

Jump to solution

i already added the constrain file and i mention the pin for pll ref clk.

3.png
0 Kudos
Moderator
Moderator
161 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

Hi sy5809358@gmail.com 

Are you sure the location is correct and not already used by another in/out?

You might want to have a look to your critical warnings and warnings, there might be more details about it


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
152 Views
Registered: ‎03-10-2019

Re: What is the decoded output of a video codec?

Jump to solution
thank you.bitstream is generated successfully.can u explain me where the decoded video is stored..what is the use of mcu?now i want to display using display port.from where can i take decoded output.
0 Kudos
Moderator
Moderator
148 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

Hi sy5809358@gmail.com 

an u explain me where the decoded video is stored

[Florent] - This is stored into the PS DDR. The exact address should be defined in the device tree. Once again, look at the BSP for an example

what is the use of mcu?

[Florent] - The MCU is a microcontroller inside the VCU to control it. From the MPSoC processor you only send high level command. The MCU coontrol completely the VCU

now i want to display using display port.from where can i take decoded output.

[Florent]  - You might want to use a gstreamer pipeline to avoid any complexity. As mentioned previously, there is an example in the PG252 from page 133 which does that.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
138 Views
Registered: ‎03-10-2019

Re: What is the decoded output of a video codec?

Jump to solution
Decoded video stored in ps ddr means no need to mention any block in the design is it right or wrong.earlier i posted the block design is it enough or any blocks are needed for decoding..in the pdf i cant get the exact address..please help me.
0 Kudos
112 Views
Registered: ‎03-10-2019

Re: What is the decoded output of a video codec?

Jump to solution

can u explain me....how to read and write from memory using s_axi_hp1_fpd and s_axi_hp2_fpd?how to set one for read operation and another one for write operation?

0 Kudos
Moderator
Moderator
36 Views
Registered: ‎11-09-2015

Re: What is the decoded output of a video codec?

Jump to solution

HI sy5809358@gmail.com 

Please use the ZCU104/ZCU106 BSPs + PG252 as a reference. This should have all the information you need


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos