imx53 custom linux, recording HD video

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

imx53 custom linux, recording HD video

Jump to solution
821 Views
janiscoders
Contributor III

Hi. We have created our own board based on SMD and LOCO and added camera ov5640.

I am using kernel patches-imx-2.6.35_11.09.0 from github. Filesystem is Ubuntu armhf.

Camera driver is loaded with all dependencies and I can record videos with tools like avconv, ffmpeg. But everything hangs when using mencoder of gstreamer, and in kernel log I can see calling this all the time:

     In MVC:mxc_v4l_ioctl

     In MVC: mxc_v4l_do_ioctl c0485619

     case VIDIOC_ENUMSTD


What I really want is to get better video cam resolution and it doesn really get  better changing ffmpeg parameters. As I've seen others on IMX community use gstreamer, but I can't get it working with parameter "mfw_v4lsrc".

Should I install Freescale provided .deb packages to get this working? But they all are armel, but I have armhf system.

I've tried to change capture mode in driver and it changes to 1280x720, but what is the v2f value, which still stays low?
          KERNEL LOG:  End of mxc_v4l_open: v2f pix widthxheight 288 x 352

Because it looks like ffmpeg is using this resolution.

0 Kudos
1 Solution
542 Views
jimmychan
NXP TechSupport
NXP TechSupport

Yes, it is better to install all the deb packages that Freescale provided.

View solution in original post

0 Kudos
1 Reply
543 Views
jimmychan
NXP TechSupport
NXP TechSupport

Yes, it is better to install all the deb packages that Freescale provided.

0 Kudos