hi all,
I am new to i.MX I am using i.MX535qsb board with an interface application of ov5640 cmos camera. In that i need to live stream and record the video with audio from board to the server PC.
Does anyone have any idea about this?
NOTE:
COMMAND FOR STORING THE VIDEO WITH AUDIO IN SD CARD:
gst-launch-0.10 mfw_v4lsrc capture-mode=4 capture-width=1280 capture-height=720 fps-n=30 num-buffers=400000 blocksize=115200 ! queue2 max-size-buffers=500000 max-size-bytes=0 max-size-time=0 ! ffmpegcolorspace ! mfw_vpuencoder codec-type=0 name=venc alsasrc num-buffers=400000 ! audio/x-raw-int,rate=32000,channels=1,depth=16 !audioconvert ! queue2 max-size-buffers=500000 max-size-bytes=0 max-size-time=0 ! mfw_mp3encoder name=aenc matroskamux name=mux ! filesink location=all1_in_one.avi aenc. ! mux. venc. ! mux.
Thanks
shan
Hi Shanmugam,
I constructed some pipelines which does live streaming from/to iMX to/from PC
However, I work on a MX6Q board which is not your case so I am not sure how useful these pipelines can be in your case. Another problem I faced is that in case you want to do the streaming from your board to the PC, you need to install an audio ENCODER which has its corresponding (rtp-)pay-loader, which I only found the duple 'amrnbenc ! rtpamrpay'. In case you need to stream MP3 data, I did not find its pay-loader counterpart (you may need to ask this question to the GST community, which is pretty active). You can also find more info on gstrtpbin
Hope it helps.
Hi,
Is it possible to do live streaming audio without GStreamer command?
Any reason why you can not use GStreamer? I believe what you want is possible, check the ffmpeg project
hi leonardo,
Thanks for your reply,
I ll let you in one or two days with a positive result
Thanks,
shan