Gstream support on IMX53

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gstream support on IMX53

2,059 次查看
chintakanisiva
Contributor II

HI,

Present Gstream binaries not supporting the "smokeenc and smokedec" techniques. Please Can any one help me how to configure those "smokeenc/smokedec"   any run on IMX53-linux platfrom.

Please let me know is there any other "enc/dec" techniques are available on IMX53 to do video streaming..

Thanks

Ch.Siva

标签 (3)
0 项奖励
回复
5 回复数

1,385 次查看
chintakanisiva
Contributor II

Hi All,

Finally i found problem with camera, For live video streaming camera should support "UVC (USB VIdeo Class) Camera". I really spend so much time for this problem.

Please make sure to use UVC camera when implementing the video streaming application on IMX53 platform.

Thanks

Ch.Siva

0 项奖励
回复

1,385 次查看
chintakanisiva
Contributor II

Hi Fabio,

Thanks for clarification. But i am still getting the errors when i issue the command on IMX53 platform.

######## IMX53 ######

gst-launch-0.10 -v v4l2src device=/dev/video0 ! videoscale ! video/x-raw-yuv,width=1024, height=960,framerate=30/1 ! mfw_vpuencoder !  udpsink host=192.168.40.231 port=5000

Setting pipeline to PAUSED ...

[INFO]  Product Info: i.MX53

VPU Version: firmware 1.4.41; libvpu: 5.3.2

MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Sep 13 2012 11:57:38.

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format

Additional debug info:

gstbasesrc.c(2719): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

Check your filtered caps, if any

Setting pipeline to NULL ...

Freeing pipeline ...


I have tried with different encoder modes which is supporting on IMX53 platform. For all this modes also i have observed the same error which is mentioned in the above.

a) mulawenc

b) alawenc

c) cmmlenc


Can you please help to how to debug this problem. Is so much help us if you give correct sequence of "gst-launch" command for live video streaming on IMX53 using thirdparty USB camera(Quantum web camera).

Is this "mfw_v4lsrc" encoding and decoding will work on IMX53 with CMOS camera. And how to integrate that CMOS camera on IMX53-START-R/QSB board.

Thanks & Regards

Ch.Siva

0 项奖励
回复

1,385 次查看
chintakanisiva
Contributor II

Hi Fabio Estevam,

Thanks for you suggestions.

I have enter the following "gstream" command at IMX53 platform for streaming live video to Some other host platform using the "USB based Quantum web cam". I am failing with below errors while running the command on IMX53 platform.

######  IMX53 ##########

root@lucid-desktop:/# gst-launch-0.10 -v mfw_v4lsrc capture-width=640 capture-height=480 ! mfw_vpuencoder width=640 height=480 codec-type=std_avc ! rtph264pay ! udpsink host=192.168.40.235 port=5000

MFW_GST_V4LSRC_PLUGIN 2.0.3-1-179-e630aa8d build on Sep 28 2011 15:03:29.

Setting pipeline to PAUSED ...

[INFO]    Product Info: i.MX53

VPU Version: firmware 13.4.41; libvpu: 5.3.2

MFW_GST_VPU_ENCODER_PLUGIN 2.0.3-1-179-e630aa8d build on Sep 28 2011 15:00:51.

ERROR: Pipeline doesn't want to pause.

Setting pipeline to NULL ...

Freeing pipeline ...

root@lucid-desktop:/#

#### host side #####

Given below command at HOST side for receiving the streaming video. This command running and waiting to receive video from imx53.

[root@web pkgs]# gst-launch-0.10 -v --gst-debug=2 udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96, ssrc=(guint)715953095, clock-base=(guint)2547213349, seqnum-base=(guint)28113" ! rtph264depay ! decodebin ! autovideosink

Setting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

0:00:00.084560261  8281  0x9487050 WARN                     bin gstbin.c:2330:gst_bin_do_latency_func:<pipeline0> failed to query latency

New clock: GstSystemClock

Please suggest me what may be the problem in the above given commands. If possible please give me working commands on IMX53 for live video streaming. I appreciate your support.

Thanks

Ch.Siva

0 项奖励
回复

1,385 次查看
fabio_estevam
NXP Employee
NXP Employee

If you are using a webcam then the source element should be v4l2src instead.

mfw_v4lsrc is used when a sensor CMOS camera is used.

Regards,

Fabio Estevam

0 项奖励
回复

1,385 次查看
fabio_estevam
NXP Employee
NXP Employee

You should use mfw_vpudecoder and mfw_vpuencoder plugins for doing decoding/enconding using the VPU (Video Processing Unit) on mx53.

Regards,

Fabio Estevam