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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,236 Views
toanjunifer
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
1,126 Views
igorpadykov
NXP Employee
NXP Employee

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
1,127 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

1,126 Views
toanjunifer
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
Reply