IMX535 QSB 1080p video encoding

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

IMX535 QSB 1080p video encoding

1,114 Views
shanmugamsundar
Contributor IV

hi all,

     i am using imx535qsb board in that we include a camera interface application ov5640. we have captured the resolutions 640x480 and 720p video. when i tried to captured the 1080p video my application[mxc_v4l2_capture.c] does not supports it prints the following error message can anyone help me with this error message

ERROR:


root@freescale ~$ gst-launch mfw_v4lsrc fps-n=10 capture-width=1920 capture-heig

ht=1080 capture-mode=5  ! queue ! mfw_vpuencoder codec-type=0 ! avimux ! filesin

k location=shan3.avi sync=false

MFW_GST_V4LSRC_PLUGIN 2.0.3 build on Sep 29 2011 15:40:54.

(gst-launch-0.10:2252): GLib-GObject-WARNING **: value "1920" of type `gint' is invalid or out of range for property `capture-width' of type `gint'

Setting pipeline to PAUSED ...

[ALLOC] mem alloc cpu_addr = 0x0  Size 0x150b8

[INFO]  Product Info: i.MX53

VPU Versi[ALLOC] mem alloc cpu_addr = 0x0  Size 0x100000

on: firmware 13.4.41; libvpu: 5.3.2

MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Sep 29 2011 15:40:26.

ERROR: v4l2 capture: width exceeds limit resize to 240.

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

Caught SIGSEGV accessing address 0x18

Spinning.  Please run 'gdb gst-launch 2252' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.


Labels (2)
0 Kudos
7 Replies

618 Views
daiane_angolini
NXP Employee
NXP Employee

VPU encoding can go up to 720p@30 for some codecs. So you will not be able to encode 1080p stream. (I just double checked it on VPU specifications)

Does your usecase needs the encoding?

0 Kudos

618 Views
shanmugamsundar
Contributor IV

hi daiane,

       yes, i also checked the vpu specification. is there any chance to encode 1080p in imx535 qsb and this also need to my usecase

     sorry for the delay , last four days i am out of station today only i came

0 Kudos

618 Views
daiane_angolini
NXP Employee
NXP Employee

I´ve never heard about 1080p encode on imx53.

Even if you was able to encode 1080p with qsb, i think it will not get a feasible performance.

0 Kudos

618 Views
shanmugamsundar
Contributor IV

yes, you are correct we cant able to encode the 1080p video in imx qsb, we kept this process in hold. let see

Thanks

shan

0 Kudos

618 Views
fabio_estevam
NXP Employee
NXP Employee

If 1080p encoding is needed, please consider mx6q.

Regards,

Fabio Estevam

0 Kudos

618 Views
daiane_angolini
NXP Employee
NXP Employee

Instead of encode it into a file. Are you able to preview it? (mfw_v4lsrc -> autovideosink)

0 Kudos

618 Views
shanmugamsundar
Contributor IV

no i cant ,  Also i tried by taking the encoder in command but it remains same

Regards

shan

0 Kudos