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?
- I had Live streamed the video without audio on various resolution such as 720p and 480p
- And i recorded the video with audio by storing it to the SD card in correct sync between the audio and video for that i am using the following command
- When i use to record the video with audio through the LAN the sync between the both is missing
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.