LIVE STREAMING OF VIDEO WITH AUDIO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LIVE STREAMING OF VIDEO WITH AUDIO

1,287件の閲覧回数
shanmugamsundar
Contributor IV

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:

  •   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.

Thanks

shan

ラベル(3)
0 件の賞賛
4 返答(返信)

781件の閲覧回数
LeonardoSandova
Specialist I

Hi Shanmugam,

I constructed some pipelines which does live streaming from/to iMX to/from PC

GStreamer Live Streaming

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.

781件の閲覧回数
johnturnur
Contributor III

Hi,

Is it possible to do live streaming audio without GStreamer command?

0 件の賞賛

781件の閲覧回数
LeonardoSandova
Specialist I

Any reason why you can not use GStreamer? I believe what you want is possible, check the ffmpeg project

0 件の賞賛

781件の閲覧回数
shanmugamsundar
Contributor IV

hi leonardo,

  Thanks for your reply,

I ll let you in one or two days with a positive result

Thanks,

shan

0 件の賞賛