VAR-SOM-MX6 GSTREAM: Difference between revisions

From Variscite Wiki
Line 31: Line 31:


= Stream Camera with gstream =
= Stream Camera with gstream =
{| class="wikitable"
|-
! scope="col" | Image Name<br/>
! scope="col" | How to use<br/>
|-
| Capacitive LVDS touch
| VAR-STK-DT6.VAR-DVK-DT6
|-
|}
mp3enc.imx:  mfw_mp3encoder: mp3 audio encoder
v4lsink.imx:  imxv4l2sink: v4l2 video sink
isink.imx:  mfw_isink: IPU-based video sink
aiur.imx: webm: webm
aiur.imx:  aiurdemux: aiur universal demuxer
tvsrc.imx:  tvsrc: v4l2 based tv src
v4lsrc.imx:  imxv4l2src: v4l2 based camera src
audiopeq.imx:  mfw_audio_pp: audio post equalizer
beep.imx: ac3: ac3
beep.imx: 3ca: ac3
beep.imx:  beepdec: beep audio decoder
beep.imx:  beepdec.vorbis: Vorbis decoder
beep.imx:  beepdec.mp3: MP3 decoder
beep.imx:  beepdec.aac: AAC LC decoder
amrdec.imx:  mfw_amrdecoder: amr audio decoder
vpu.imx:  vpudec: VPU-based video decoder
vpu.imx:  vpuenc: VPU-based video encoder
ipucsc.imx:  mfw_ipucsc: IPU-based video converter

Revision as of 09:46, 16 December 2015

VAR-SOM-MX6 - Streaming Video

Under construction!!!

Stream Camera with imxcamera application

On your host machine install Video Lan VLC VideoLan

  • Find out your host IP address (Windows:ipconfig Linux:ifconfig)
  • Start VLC, Media->Open Network Stream. Set the URL to "rtp://@:5004" and hit "Play".
  • On target start imxcamera application.
    • Hit the Settigns button. Select "Enable RTP" box and set the IP to you host machine. Hit OK.
    • Push the Camera button to get a Video camera Image.
    • Hit the blue button and the camera will be streamed to you host VLC.

Introduction to gstream

GStreamer
GStreamer is a powerful pipeline-based multimedia framework.
GStreamer allows a programmer to create a variety of media-handling components, including simple audio playback, audio and video playback, recording, streaming and editing. This is not a GStreamer reference manual but a overview for using in on Variscite i.MX6 products.

Major GStreamer commands

Two major commands, the first one allow you to to get documentation on available elements and detail information on a specific element. The second one allow you to create and execute GStreamer pipelines.

gst-inspect

List all available elements:

$ gst-inspect 

List all avilable i.MX6 specific elements:

$ gst-inspect | grep imx

Detail help information on a specific element:

$ gst-inspect imxv4l2sink

gst-launch

Simple example:

gst-launch -v videotestsrc ! imxv4l2sink

i.MX6 specific elements

Stream Camera with gstream

Image Name
How to use
Capacitive LVDS touch VAR-STK-DT6.VAR-DVK-DT6

mp3enc.imx: mfw_mp3encoder: mp3 audio encoder v4lsink.imx: imxv4l2sink: v4l2 video sink isink.imx: mfw_isink: IPU-based video sink aiur.imx: webm: webm aiur.imx: aiurdemux: aiur universal demuxer tvsrc.imx: tvsrc: v4l2 based tv src v4lsrc.imx: imxv4l2src: v4l2 based camera src audiopeq.imx: mfw_audio_pp: audio post equalizer beep.imx: ac3: ac3 beep.imx: 3ca: ac3 beep.imx: beepdec: beep audio decoder beep.imx: beepdec.vorbis: Vorbis decoder beep.imx: beepdec.mp3: MP3 decoder beep.imx: beepdec.aac: AAC LC decoder amrdec.imx: mfw_amrdecoder: amr audio decoder vpu.imx: vpudec: VPU-based video decoder vpu.imx: vpuenc: VPU-based video encoder ipucsc.imx: mfw_ipucsc: IPU-based video converter