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: 
Highlighted
Contributor
Contributor
488 Views
Registered: ‎10-21-2018

What's the output format of ctrlsw_decoder on zcu106 board

I have a h264 encoded file which format is 4:2:2 10bit

Then use ctrlsw_decoder to decode this file and stored in a output.yuv file:

   ctrlsw_decode  -i  4k_input.h264 -out output.yuv -avc --prealloc-args 3840x2160:progr:422:10:11:52

Next I encode the output.yuv file using:

 gst-launch-1.0 filesrc location="4k_input.yuv"  !  videoparse  format=nv16-le32 width=3840 height=2160 framerate=50/1  !  omxh264enc ! filesink location="output.h264"

but unfortunately,  the output.h264 cannot be decoded rightly in the PC.

 

 

Tags (2)
0 Kudos
2 Replies
Moderator
Moderator
415 Views
Registered: ‎11-09-2015

Re: What's the output format of ctrlsw_decoder on zcu106 board

HI @gefei-liuqi,

It should be a kind of RAW YUV data. I believe it should be the same way as it should be in memory. To read it with a PC, the best way might be a test editor.

Regards,


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

Re: What's the output format of ctrlsw_decoder on zcu106 board

HI @gefei-liuqi,

Do you have any update on this?

If your question is answered or your issue is solved, please kindly mark the response which helped as solution (click on "Accept as solution" button below the reply)

If this is not solved/answered, please reply in the topic giving more information on your current status.

Thanks and Regards,


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