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: 
Contributor
Contributor
134 Views
Registered: ‎10-04-2018

4K@30fps Multistream Decoding and Encoding

Hello,

I am using Zynq Ultrascale+ MPSoC ZCU104 to multistream transcoding of two videos at 4K@30fps.

I connected to my board via Tera Term. And for decoding them I use the command:

gst-launch-1.0 filesrc location=bbb_sunflower_part1.mp4 ! qtdemux name=demux1 demux1.video_0 ! h264parse ! queue ! omxh264dec ! queue max-size-bytes=0 ! filesink location="output_0.yuv" filesrc location=bbb_sunflower_part2.mp4 ! qtdemux name=demux2 demux2.video_0 ! h264parse ! queue ! omxh264dec ! queue max-size-bytes=0 ! filesink location="output_1.yuv" 

The same format has been worked for 2 videos at 1080p30fps. But this time I get the following errors:

 

fffffff.JPG

Can somebody please help me? I am stuck :(

Tags (3)
0 Kudos
4 Replies
Moderator
Moderator
79 Views
Registered: ‎11-09-2015

Re: 4K@30fps Multistream Decoding and Encoding

Hi @yildizbilgin 

Did you try all the option from the debugging section of the PG252? In particular did you try to change the CMA size?

Also on which stortage device are you saving the stream? You probably do not have enough space on your memory card. Maybe try to use an external drive

Regards,

 


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

Re: 4K@30fps Multistream Decoding and Encoding

Hello,

I am using a 16 GB SD card. I dont think I dont have enough space on my SD Card because I can encode and decode these videos one by one.

I dont understand how I can change CMA size.  I try this:

cma=250M

And nothing happened.

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

Re: 4K@30fps Multistream Decoding and Encoding

Hi @yildizbilgin 

The command cma=250M needs to be entered in u-boot each time the device boots.

You can also do it in the kernel configuration when builing your petalinux project:

In the kernel config (in petalinux, run petalinux-config -c kernel) change the size of the CMA under

-> Device Drivers

-> Generic Driver Option

-> DMA Contiguous Memory Allocation

-> Size in MegaBytes


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

Re: 4K@30fps Multistream Decoding and Encoding

-> Device Drivers

-> Generic Driver Option

-> DMA Contiguous Memory Allocation

-> Size in MegaBytes

It was 1000 and I made it 2000.  After that I build the pre-built images again. Nothing changed.

0 Kudos