How to write video *.mp4 with OpenCV Python on iMX6UL-EVK?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write video *.mp4 with OpenCV Python on iMX6UL-EVK?

Jump to solution
183 Views
Senior Contributor I

Hi NXPs,

At present, I'm using iMX6UL-EVK to write * .mp4 to save my memory but it's not working. I can write to * .avi, * .mpg2, * .mpg3 and * .mkv and it 's working good but it's take a lot of memory. 

I refer follow 6.2.1. Parser / Demuxer specifications iMX6 Linux Release Notes section to select video codec. 

So how can I write video type * .mp4 with OpenCV Python?

Note: I tried to write in my PC with "mp4v", "divx" codec. It's working with PC but with iMX6 is not.  

Labels (1)
1 Solution
73 Views
NXP TechSupport
NXP TechSupport

Hi Dao

according to below i.mx comparison table i.MX6UL has not video/graphic hardware accelerators

https://www.nxp.com/docs/en/brochure/FLYRIMXPRDCMPR.pdf 

and section 6.2.1. Parser / Demuxer specifications iMX6 Linux Release Notes is not applicable

to i.MX6UL EVK. So encoding can be implemented only in software, as example one can refer

to "SW plugins" on link https://community.nxp.com/docs/DOC-343017 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
74 Views
NXP TechSupport
NXP TechSupport

Hi Dao

according to below i.mx comparison table i.MX6UL has not video/graphic hardware accelerators

https://www.nxp.com/docs/en/brochure/FLYRIMXPRDCMPR.pdf 

and section 6.2.1. Parser / Demuxer specifications iMX6 Linux Release Notes is not applicable

to i.MX6UL EVK. So encoding can be implemented only in software, as example one can refer

to "SW plugins" on link https://community.nxp.com/docs/DOC-343017 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

73 Views
Senior Contributor I

You 're right. Thank you. It solved my problem.

Note: My iMX6YL-EVK can only install "gstreamer1.0-plugins-ugly-meta". But It's still can write .mp4 video. 

0 Kudos