Cómo Puedo desplegar un video en el iMX6UL?

cancel
Showing results for 
Search instead for 
Did you mean: 

Cómo Puedo desplegar un video en el iMX6UL?

98 Views
PaulVelasquez
Contributor I

Alguien sabe como, o que debo instalar para reproducir un video con el IMX6UL? Tengo Yocto Krogoth.

Gracias.

Labels (1)
0 Kudos
1 Reply

36 Views
Carlos_Musich
NXP Employee
NXP Employee

Hola Paul,

pondre al respuesta en ingles para que pueda ayudarle al mayor numero de gente.

You can play a video using cpp code with opencv. You need to add the opencv and the sdk packages to the image, the simplest way may be to add to the end of your build/conf/local.conf file:


IMAGE_INSTALL-append += "\
opencv \
opencv-samples \
packagegroup-sdk-target \
"

Then build fsl-image-gui. Once you deploy the image in the sdcard you need to copy the attached .cpp file into your sdcard image and build it in the terminal using the following command:


arm-poky-linux-gnueabi-g++ inputFileName.cpp -lopencv_core -lopencv_highgui -lopencv_imgproc -I/usr/include/opencv -o outputFileName and run the executable file generated.

Please note that in this example you need to edit the sourcefile to put the name of the video you want to play. You must also be sure that you have the necessary codec.


Regards,
Carlos

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

0 Kudos