imx6qsabresd Linux camera interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6qsabresd Linux camera interface

6,567 Views
riteshpanchal
Contributor II

I am using imx6qsabresd board.

I want to make one application on Linux Platform that use on board camera to record video/image and store and stream that video/image.

Currently i am using fsl-yocto-3.14.28-1.0.1. I followed the step as per the "Freescale_Yocto_Project_User's_Guide.pdf" and created the QT5 Weston Wayland image. Also i successfully flashed it on SD card and i can run linux on imx6sabresd board. But i can't find any camera app.

So how can i get camera app which can record 1080p video and also stream. And if this kind of app is not installed in this image. how can i add this kinda app in this image??

and if there is not any app available how can i create some app like this for this board?

My final requirement is to make my own board based on imx6 with camera and wifi module only. And the running linux contains only modules related to these modules.

So how can i build images for my custom board and having only some selected modules and recipes? 

Labels (4)
12 Replies

2,492 Views
VilemZ
NXP Employee
NXP Employee

Hi,

you can try Gstreamer for stream video from camera.

For example this:

gst-launch v4l2src device=/dev/video0 ! mfw_v4lsink device=/dev/video18 disp-width=1920 disp-height=1080

This command show video from v4l source to display or HDMI output.

Best regards,

Vilem

0 Kudos

2,492 Views
riteshpanchal
Contributor II

Hi.. Thanks for the Reply,

After executing "gst-launch v4l2src device=/dev/video0 ! mfw_v4lsink device=/dev/video18 disp-width=1920 disp-height=1080" i got below message and nothing shows up on the display.

WARNING: erroneous pipeline: no element "mfw_v4lsink"

So can you tell me some details procedure to see on board camera feed in display on imx6qsabresd.

0 Kudos

2,492 Views
jimmychan
NXP TechSupport
NXP TechSupport

As Vilem suggest, you can use the gstreamer to try the video streaming. You can search the "streaming" "gstreamer" in this community. There are many video streaming examples that using gstreamer and VLC. :smileyhappy:

0 Kudos

2,492 Views
riteshpanchal
Contributor II

Hi,

I have tried gstreamer and i can stream Audio+Video over ethernet using following command

gst-launch imxv4l2src capture-mode=4 fps-n=30 ! vpuenc codec=6 ! queue ! mux. alsasrc ! 'audio/x-raw-int,rate=44100,channels=2' ! mfw_mp3encoder ! queue ! mux. flvmux name=mux ! tcpserversink host=172.10.10.143 port=5000

I have testing streaming in VLC player. But my problem is the feed is around 10 sec delayed at starting. And after 30-40 min it gets more delayed around 20-30 sec. And after around 45 or 1 hr sometimes audio not coming or sometimes audio + video both stopped. So can you tell me whats the problem?

I have searched for UDP rtps but i am unable to succeed. Can you provide instruction to install and use rtsp in yocto 1.7 based fsl-image-multimedia-full image?

In this image gstreamer v0.10 package is added. And i am unable to add rtsp. i refered the iMX linux user guide.

Then i tried for live555, ffmpeg but i think this pakage is not included.

How to check list of all included package?

Below is my local.conf file

MACHINE ??= 'imx6qsabresd'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K"

IMAGE_INSTALL_append = " gst-ffmpeg"

LICENSE_FLAGS_WHITELIST = "commercial"

EXTRA_IMAGE_FEATURES += "tools-sdk"

CORE_IMAGE_EXTRA_INSTALL += "rpm live555 live555-openrtsp live555-playsip live555-mediaserver \

  gst-rtsp packagegroup-fsl-tools-testapps packagegroup-fsl-pulseaudio"

PACKAGECONFIG_append_pn-qemu-native = " sdl"

PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

ASSUME_PROVIDED += "libsdl-native"

CONF_VERSION = "1"

BB_NUMBER_THREADS = '4'

PARALLEL_MAKE = '-j 4'

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = ""

0 Kudos

2,491 Views
VilemZ
NXP Employee
NXP Employee

Hi,

please try this command:

gst-inspect

Then you will see available devices. It depends on version of Gstreamer and kernel. Now you need find output for v4l. I can be imxv4l2sink, too. This can be instead of mfw_v4lsink.

best Regards,

Vilem

0 Kudos

2,492 Views
riteshpanchal
Contributor II

Hi,

I have build image using following commands.

$ MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11

$ bitbake fsl-image-gui

as a build result i got following message

"Tasks Summary: Attempted 6778 tasks of which 42 didn't need to be rerun and all succeeded.

Summary: There were 64 WARNING messages shown."

here is my output of gst-inspect.

goom:  goom: GOOM: what a GOOM!

multifile:  multifilesrc: Multi-File Source

multifile:  multifilesink: Multi-File Sink

multifile:  splitfilesrc: Split-File Source

ossaudio:  ossmixer: OSS Mixer

ossaudio:  osssrc: Audio Source (OSS)

ossaudio:  osssink: Audio Sink (OSS)

y4menc:  y4menc: YUV4MPEG video encoder

audiorate:  audiorate: Audio rate adjuster

ipucsc.imx:  mfw_ipucsc: IPU-based video converter

wavparse:  wavparse: WAV audio demuxer

udp:  udpsink: UDP packet sender

udp:  multiudpsink: UDP packet sender

udp:  dynudpsink: UDP packet sender

udp:  udpsrc: UDP packet receiver

spectrum:  spectrum: Spectrum analyzer

png:  pngdec: PNG image decoder

png:  pngenc: PNG image encoder

alaw:  alawenc: A Law audio encoder

alaw:  alawdec: A Law audio decoder

replaygain:  rganalysis: ReplayGain analysis

replaygain:  rglimiter: ReplayGain limiter

replaygain:  rgvolume: ReplayGain volume

equalizer:  equalizer-nbands: N Band Equalizer

equalizer:  equalizer-3bands: 3 Band Equalizer

equalizer:  equalizer-10bands: 10 Band Equalizer

playback:  playbin: Player Bin

playback:  playbin2: Player Bin 2

playback:  playsink: Player Sink

playback:  subtitleoverlay: Subtitle Overlay

ffmpegcolorspace:  ffmpegcolorspace: FFMPEG Colorspace converter

debug:  breakmydata: Break my data

debug:  capssetter: CapsSetter

debug:  rndbuffersize: Random buffer size

debug:  navseek: Seek based on left-right arrows

debug:  pushfilesrc: Push File Source

debug:  progressreport: Progress report

debug:  taginject: TagInject

debug:  testsink: Test plugin

debug:  capsdebug: Caps debug

debug:  cpureport: CPU report

isomp4:  qtdemux: QuickTime demuxer

isomp4:  rtpxqtdepay: RTP packet depayloader

isomp4:  qtmux: QuickTime Muxer

isomp4:  mp4mux: MP4 Muxer

isomp4:  ismlmux: ISML Muxer

isomp4:  3gppmux: 3GPP Muxer

isomp4:  gppmux: 3GPP Muxer

isomp4:  mj2mux: MJ2 Muxer

isomp4:  qtmoovrecover: QT Moov Recover

videofilter:  gamma: Video gamma correction

videofilter:  videobalance: Video balance

videofilter:  videoflip: Video flipper

encoding:  encodebin: Encoder Bin

multipart:  multipartdemux: Multipart demuxer

multipart:  multipartmux: Multipart muxer

autodetect:  autovideosink: Auto video sink

autodetect:  autovideosrc: Auto video source

autodetect:  autoaudiosink: Auto audio sink

autodetect:  autoaudiosrc: Auto audio source

flv:  flvdemux: FLV Demuxer

flv:  flvmux: FLV muxer

vpu.imx:  vpudec: VPU-based video decoder

vpu.imx:  vpuenc: VPU-based video encoder

uridecodebin:  decodebin2: Decoder Bin

uridecodebin:  uridecodebin: URI Decoder

ximagesink:  ximagesink: Video sink

videorate:  videorate: Video rate adjuster

tcp:  tcpclientsink: TCP client sink

tcp:  tcpclientsrc: TCP client source

tcp:  tcpserversink: TCP server sink

tcp:  tcpserversrc: TCP server source

tcp:  multifdsink: Multi filedescriptor sink

id3demux:  id3demux: ID3 tag demuxer

typefindfunctions: video/x-ms-asf: asf, wm, wma, wmv

typefindfunctions: audio/x-musepack: mpc, mpp, mp+

typefindfunctions: audio/x-au: au, snd

typefindfunctions: video/x-msvideo: avi

typefindfunctions: audio/qcelp: qcp

typefindfunctions: video/x-cdxa: dat

typefindfunctions: video/x-vcd: dat

typefindfunctions: audio/x-imelody: imy, ime, imelody

typefindfunctions: audio/midi: mid, midi

typefindfunctions: audio/riff-midi: mid, midi

typefindfunctions: audio/mobile-xmf: mxmf

typefindfunctions: video/x-fli: flc, fli

typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta

typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta

typefindfunctions: application/x-apetag: mp3, ape, mpc, wv

typefindfunctions: audio/x-ttafile: tta

typefindfunctions: audio/x-mod: 669, amf, dsm, gdm, far, imf, it, med, mod, mtm, okt, sam, s3m, stm, stx, ult, xm

typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga

typefindfunctions: audio/x-ac3: ac3, eac3

typefindfunctions: audio/x-dts: dts

typefindfunctions: audio/x-gsm: gsm

typefindfunctions: video/mpeg-sys: mpe, mpeg, mpg

typefindfunctions: video/mpegts: ts, mts

typefindfunctions: application/ogg: anx, ogg, ogm

typefindfunctions: video/mpeg-elementary: mpv, mpeg, mpg

typefindfunctions: video/mpeg4: m4v

typefindfunctions: video/x-h263: h263, 263

typefindfunctions: video/x-h264: h264, x264, 264

typefindfunctions: video/x-nuv: nuv

typefindfunctions: audio/x-m4a: m4a

typefindfunctions: application/x-3gp: 3gp

typefindfunctions: video/quicktime: mov

typefindfunctions: image/x-quicktime: qif, qtif, qti

typefindfunctions: image/jp2: jp2

typefindfunctions: video/mj2: mj2

typefindfunctions: text/html: htm, html

typefindfunctions: application/vnd.rn-realmedia: ra, ram, rm, rmvb

typefindfunctions: application/x-pn-realaudio: ra, ram, rm, rmvb

typefindfunctions: application/x-shockwave-flash: swf, swfl

typefindfunctions: video/x-flv: flv

typefindfunctions: text/plain: txt

typefindfunctions: text/utf-16: txt

typefindfunctions: text/utf-32: txt

typefindfunctions: text/uri-list: ram

typefindfunctions: application/x-hls: m3u8

typefindfunctions: application/sdp: sdp

typefindfunctions: application/smil: smil

typefindfunctions: application/xml: xml

typefindfunctions: audio/x-wav: wav

typefindfunctions: audio/x-aiff: aiff, aif, aifc

typefindfunctions: audio/x-svx: iff, svx

typefindfunctions: audio/x-paris: paf

typefindfunctions: audio/x-nist: nist

typefindfunctions: audio/x-voc: voc

typefindfunctions: audio/x-sds: sds

typefindfunctions: audio/x-ircam: sf

typefindfunctions: audio/x-w64: w64

typefindfunctions: audio/x-shorten: shn

typefindfunctions: application/x-ape: ape

typefindfunctions: image/jpeg: jpg, jpe, jpeg

typefindfunctions: image/gif: gif

typefindfunctions: image/png: png

typefindfunctions: image/bmp: bmp

typefindfunctions: image/tiff: tif, tiff

typefindfunctions: image/x-portable-pixmap: pnm, ppm, pgm, pbm

typefindfunctions: video/x-matroska: mkv, mka

typefindfunctions: video/webm: webm

typefindfunctions: application/mxf: mxf

typefindfunctions: video/x-mve: mve

typefindfunctions: video/x-dv: dv, dif

typefindfunctions: audio/x-amr-nb-sh: amr

typefindfunctions: audio/x-amr-wb-sh: amr

typefindfunctions: audio/iLBC-sh: ilbc

typefindfunctions: audio/x-sid: sid

typefindfunctions: image/x-xcf: xcf

typefindfunctions: video/x-mng: mng

typefindfunctions: image/x-jng: jng

typefindfunctions: image/x-xpixmap: xpm

typefindfunctions: image/x-sun-raster: ras

typefindfunctions: application/x-bzip: bz2

typefindfunctions: application/x-gzip: gz

typefindfunctions: application/zip: zip

typefindfunctions: application/x-compress: Z

typefindfunctions: subtitle/x-kate: no extensions

typefindfunctions: audio/x-flac: flac

typefindfunctions: audio/x-vorbis: no extensions

typefindfunctions: video/x-theora: no extensions

typefindfunctions: application/x-ogm-video: no extensions

typefindfunctions: application/x-ogm-audio: no extensions

typefindfunctions: application/x-ogm-text: no extensions

typefindfunctions: audio/x-speex: no extensions

typefindfunctions: audio/x-celt: no extensions

typefindfunctions: application/x-ogg-skeleton: no extensions

typefindfunctions: text/x-cmml: no extensions

typefindfunctions: application/x-executable: no extensions

typefindfunctions: audio/aac: aac, adts, adif, loas

typefindfunctions: audio/x-spc: spc

typefindfunctions: audio/x-wavpack: wv, wvp

typefindfunctions: audio/x-wavpack-correction: wvc

typefindfunctions: application/postscript: ps

typefindfunctions: image/svg+xml: svg

typefindfunctions: application/x-rar: rar

typefindfunctions: application/x-tar: tar

typefindfunctions: application/x-ar: a

typefindfunctions: application/x-ms-dos-executable: dll, exe, ocx, sys, scr, msstyles, cpl

typefindfunctions: video/x-dirac: no extensions

typefindfunctions: multipart/x-mixed-replace: no extensions

typefindfunctions: application/x-mmsh: no extensions

typefindfunctions: video/vivo: viv

typefindfunctions: audio/x-nsf: nsf

typefindfunctions: audio/x-gym: gym

typefindfunctions: audio/x-ay: ay

typefindfunctions: audio/x-gbs: gbs

typefindfunctions: audio/x-vgm: vgm

typefindfunctions: audio/x-sap: sap

typefindfunctions: video/x-ivf: ivf

typefindfunctions: audio/x-kss: kss

typefindfunctions: application/pdf: pdf

typefindfunctions: application/msword: doc

typefindfunctions: application/octet-stream: DS_Store

typefindfunctions: image/vnd.adobe.photoshop: psd

typefindfunctions: image/vnd.wap.wbmp: no extensions

typefindfunctions: application/x-yuv4mpeg: y4m

typefindfunctions: image/x-icon: no extensions

typefindfunctions: xdgmime-base: no extensions

typefindfunctions: image/x-degas: no extensions

xvimagesink:  xvimagesink: Video sink

volume:  volume: Volume

mulaw:  mulawenc: Mu Law audio encoder

mulaw:  mulawdec: Mu Law audio decoder

smpte:  smpte: SMPTE transitions

smpte:  smptealpha: SMPTE transitions

amrdec.imx:  mfw_amrdecoder: amr audio decoder

speex:  speexenc: Speex audio encoder

speex:  speexdec: Speex audio decoder

soup:  souphttpsrc: HTTP client source

soup:  souphttpclientsink: HTTP client sink

tvsrc.imx:  tvsrc: v4l2 based tv src

alphacolor:  alphacolor: Alpha color filter

efence:  efence: Electric Fence

v4lsrc.imx:  imxv4l2src: v4l2 based camera src

app:  appsrc: AppSrc

app:  appsink: AppSink

audioparsers:  aacparse: AAC audio stream parser

audioparsers:  amrparse: AMR audio stream parser

audioparsers:  ac3parse: AC3 audio stream parser

audioparsers:  dcaparse: DTS Coherent Acoustics audio stream parser

audioparsers:  flacparse: FLAC audio parser

audioparsers:  mpegaudioparse: MPEG1 Audio Parser

subparse: subparse_typefind: srt, sub, mpsub, mdvd, smi, txt, dks

subparse:  subparse: Subtitle parser

subparse:  ssaparse: SSA Subtitle Parser

isink.imx:  mfw_isink: IPU-based video sink

decodebin:  decodebin: Decoder Bin

gdp:  gdpdepay: GDP Depayloader

gdp:  gdppay: GDP Payloader

theora:  theoradec: Theora video decoder

theora:  theoraenc: Theora video encoder

theora:  theoraparse: Theora video parser

alsa:  alsamixer: Alsa mixer

alsa:  alsasrc: Audio source (ALSA)

alsa:  alsasink: Audio sink (ALSA)

rtsp:  rtspsrc: RTSP packet receiver

rtsp:  rtpdec: RTP Decoder

videomixer:  videomixer: Video mixer

videomixer:  videomixer2: Video mixer 2

ogg:  oggdemux: Ogg demuxer

ogg:  oggmux: Ogg muxer

ogg:  ogmaudioparse: OGM audio stream parser

ogg:  ogmvideoparse: OGM video stream parser

ogg:  ogmtextparse: OGM text stream parser

ogg:  oggparse: Ogg parser

ogg:  oggaviparse: Ogg AVI parser

alpha:  alpha: Alpha filter

annodex:  cmmlenc: CMML streams encoder

annodex:  cmmldec: CMML stream decoder

cutter:  cutter: Audio cutter

videotestsrc:  videotestsrc: Video test source

mp3enc.imx:  mfw_mp3encoder: mp3 audio encoder

shapewipe:  shapewipe: Shape Wipe transition filter

audiopeq.imx:  mfw_audio_pp: audio post equalizer

effectv:  edgetv: EdgeTV effect

effectv:  agingtv: AgingTV effect

effectv:  dicetv: DiceTV effect

effectv:  warptv: WarpTV effect

effectv:  shagadelictv: ShagadelicTV

effectv:  vertigotv: VertigoTV effect

effectv:  revtv: RevTV effect

effectv:  quarktv: QuarkTV effect

effectv:  optv: OpTV effect

effectv:  radioactv: RadioacTV effect

effectv:  streaktv: StreakTV effect

effectv:  rippletv: RippleTV effect

coreelements:  capsfilter: CapsFilter

coreelements:  fakesrc: Fake Source

coreelements:  fakesink: Fake Sink

coreelements:  fdsrc: Filedescriptor Source

coreelements:  fdsink: Filedescriptor Sink

coreelements:  filesrc: File Source

coreelements:  funnel: Funnel pipe fitting

coreelements:  identity: Identity

coreelements:  input-selector: Input selector

coreelements:  output-selector: Output selector

coreelements:  queue: Queue

coreelements:  queue2: Queue 2

coreelements:  filesink: File Sink

coreelements:  tee: Tee pipe fitting

coreelements:  typefind: TypeFind

coreelements:  multiqueue: MultiQueue

coreelements:  valve: Valve element

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

videobox:  videobox: Video box filter

adder:  adder: Adder

audioresample:  audioresample: Audio resampler

cairo:  cairotextoverlay: Text overlay

cairo:  cairotimeoverlay: Time overlay

cairo:  cairooverlay: Cairo overlay

cairo:  cairorender: Cairo encoder

videoscale:  videoscale: Video scaler

opengl:  glupload: OpenGL upload

opengl:  gldownload: OpenGL video maker

opengl:  glimagesink: OpenGL video sink

opengl:  glfiltercube: OpenGL cube filter

opengl:  gleffects: Gstreamer OpenGL Effects

avi:  avidemux: Avi demuxer

avi:  avimux: Avi muxer

avi:  avisubtitle: Avi subtitle parser

videocrop:  videocrop: Crop

videocrop:  aspectratiocrop: aspectratiocrop

coreindexers:  memindex: A index that stores entries in memory

coreindexers:  fileindex: A index that stores entries in file

imagefreeze:  imagefreeze: Still frame stream generator

gstrtpmanager:  gstrtpbin: RTP Bin

gstrtpmanager:  gstrtpjitterbuffer: RTP packet jitter-buffer

gstrtpmanager:  gstrtpptdemux: RTP Demux

gstrtpmanager:  gstrtpsession: RTP Session

gstrtpmanager:  gstrtpssrcdemux: RTP SSRC Demux

gio:  giosink: GIO sink

gio:  giosrc: GIO source

gio:  giostreamsink: GIO stream sink

gio:  giostreamsrc: GIO stream source

gconfelements:  gconfvideosink: GConf video sink

gconfelements:  gconfvideosrc: GConf video source

gconfelements:  gconfaudiosink: GConf audio sink

gconfelements:  gconfaudiosrc: GConf audio source

level:  level: Level

oss4:  oss4sink: OSS v4 Audio Sink

oss4:  oss4src: OSS v4 Audio Source

oss4:  oss4mixer: OSS v4 Audio Mixer

flac:  flacenc: FLAC audio encoder

flac:  flacdec: FLAC audio decoder

flac:  flactag: FLAC tagger

navigationtest:  navigationtest: Video navigation test

audioconvert:  audioconvert: Audio converter

v4lsink.imx:  imxv4l2sink: v4l2 video sink

flxdec:  flxdec: FLX video decoder

pulseaudio:  pulsesink: PulseAudio Audio Sink

pulseaudio:  pulsesrc: PulseAudio Audio Source

pulseaudio:  pulseaudiosink: Bin wrapping pulsesink

pulseaudio:  pulsemixer: PulseAudio Mixer

vorbis:  vorbisenc: Vorbis audio encoder

vorbis:  vorbisdec: Vorbis audio decoder

vorbis:  vorbisparse: VorbisParse

vorbis:  vorbistag: VorbisTag

wavenc:  wavenc: WAV audio muxer

aiur.imx: webm: webm

aiur.imx:  aiurdemux: aiur universal demuxer

goom2k1:  goom2k1: GOOM: what a GOOM! 2k1 edition

matroska:  matroskademux: Matroska demuxer

matroska:  matroskaparse: Matroska parser

matroska:  matroskamux: Matroska muxer

matroska:  webmmux: WebM muxer

jpeg:  jpegenc: JPEG image encoder

jpeg:  jpegdec: JPEG image decoder

jpeg:  smokeenc: Smoke video encoder

jpeg:  smokedec: Smoke video decoder

video4linux2:  v4l2src: Video (video4linux2) Source

video4linux2:  v4l2radio: Radio (video4linux2) Tuner

icydemux:  icydemux: ICY tag demuxer

apetag:  apedemux: APE tag demuxer

rtp:  rtpdepay: Dummy RTP session manager

rtp:  rtpac3depay: RTP AC3 depayloader

rtp:  rtpac3pay: RTP AC3 audio payloader

rtp:  rtpbvdepay: RTP BroadcomVoice depayloader

rtp:  rtpbvpay: RTP BV Payloader

rtp:  rtpceltdepay: RTP CELT depayloader

rtp:  rtpceltpay: RTP CELT payloader

rtp:  rtpdvdepay: RTP DV Depayloader

rtp:  rtpdvpay: RTP DV Payloader

rtp:  rtpgstdepay: GStreamer depayloader

rtp:  rtpgstpay: RTP GStreamer payloader

rtp:  rtpilbcpay: RTP iLBC Payloader

rtp:  rtpilbcdepay: RTP iLBC depayloader

rtp:  rtpg722depay: RTP audio depayloader

rtp:  rtpg722pay: RTP audio payloader

rtp:  rtpg723depay: RTP G.723 depayloader

rtp:  rtpg723pay: RTP G.723 payloader

rtp:  rtpg726depay: RTP G.726 depayloader

rtp:  rtpg726pay: RTP G.726 payloader

rtp:  rtpg729depay: RTP G.729 depayloader

rtp:  rtpg729pay: RTP G.729 payloader

rtp:  rtpgsmdepay: RTP GSM depayloader

rtp:  rtpgsmpay: RTP GSM payloader

rtp:  rtpamrdepay: RTP AMR depayloader

rtp:  rtpamrpay: RTP AMR payloader

rtp:  rtppcmadepay: RTP PCMA depayloader

rtp:  rtppcmudepay: RTP PCMU depayloader

rtp:  rtppcmupay: RTP PCMU payloader

rtp:  rtppcmapay: RTP PCMA payloader

rtp:  rtpmpadepay: RTP MPEG audio depayloader

rtp:  rtpmpapay: RTP MPEG audio payloader

rtp:  rtpmparobustdepay: RTP MPEG audio depayloader

rtp:  rtpmpvdepay: RTP MPEG video depayloader

rtp:  rtpmpvpay: RTP MPEG2 ES video payloader

rtp:  rtph263ppay: RTP H263 payloader

rtp:  rtph263pdepay: RTP H263 depayloader

rtp:  rtph263depay: RTP H263 depayloader

rtp:  rtph263pay: RTP H263 packet payloader

rtp:  rtph264depay: RTP H264 depayloader

rtp:  rtph264pay: RTP H264 payloader

rtp:  rtpj2kdepay: RTP JPEG 2000 depayloader

rtp:  rtpj2kpay: RTP JPEG 2000 payloader

rtp:  rtpjpegdepay: RTP JPEG depayloader

rtp:  rtpjpegpay: RTP JPEG payloader

rtp:  rtpL16pay: RTP audio payloader

rtp:  rtpL16depay: RTP audio depayloader

rtp:  asteriskh263: RTP Asterisk H263 depayloader

rtp:  rtpmp1sdepay: RTP MPEG1 System Stream depayloader

rtp:  rtpmp2tdepay: RTP MPEG Transport Stream depayloader

rtp:  rtpmp2tpay: RTP MPEG2 Transport Stream payloader

rtp:  rtpmp4vpay: RTP MPEG4 Video payloader

rtp:  rtpmp4vdepay: RTP MPEG4 video depayloader

rtp:  rtpmp4apay: RTP MPEG4 audio payloader

rtp:  rtpmp4adepay: RTP MPEG4 audio depayloader

rtp:  rtpmp4gdepay: RTP MPEG4 ES depayloader

rtp:  rtpmp4gpay: RTP MPEG4 ES payloader

rtp:  rtpqcelpdepay: RTP QCELP depayloader

rtp:  rtpqdm2depay: RTP QDM2 depayloader

rtp:  rtpsirenpay: RTP Payloader for Siren Audio

rtp:  rtpsirendepay: RTP Siren packet depayloader

rtp:  rtpspeexpay: RTP Speex payloader

rtp:  rtpspeexdepay: RTP Speex depayloader

rtp:  rtpsv3vdepay: RTP SVQ3 depayloader

rtp:  rtptheoradepay: RTP Theora depayloader

rtp:  rtptheorapay: RTP Theora payloader

rtp:  rtpvorbisdepay: RTP Vorbis depayloader

rtp:  rtpvorbispay: RTP Vorbis depayloader

rtp:  rtpvrawdepay: RTP Raw Video depayloader

rtp:  rtpvrawpay: RTP Raw Video payloader

deinterlace:  deinterlace: Deinterlacer

audiofx:  audiopanorama: Stereo positioning

audiofx:  audioinvert: Audio inversion

audiofx:  audiokaraoke: AudioKaraoke

audiofx:  audioamplify: Audio amplifier

audiofx:  audiodynamic: Dynamic range controller

audiofx:  audiocheblimit: Low pass & high pass filter

audiofx:  audiochebband: Band pass & band reject filter

audiofx:  audioiirfilter: Audio IIR filter

audiofx:  audiowsinclimit: Low pass & high pass filter

audiofx:  audiowsincband: Band pass & band reject filter

audiofx:  audiofirfilter: Audio FIR filter

audiofx:  audioecho: Audio echo

auparse:  auparse: AU audio demuxer

audiotestsrc:  audiotestsrc: Audio test source

interleave:  interleave: Audio interleaver

interleave:  deinterleave: Audio deinterleaver

ximagesrc:  ximagesrc: Ximage video source

staticelements:  bin: Generic bin

staticelements:  pipeline: Pipeline object

Total count: 100 plugins (1 blacklist entry not shown), 448 features

Now i have following questions

1. how can i see video feed on kit's lcd screen?

2. how can i store video or still image to sd card?

3. how can i stream video feed to Ethernet?

0 Kudos

2,491 Views
VilemZ
NXP Employee
NXP Employee

Hi Ritesh,

Now i have following questions

1. how can i see video feed on kit's lcd screen?

gst-launch v4l2src device=/dev/video0 ! mfw_isink device=/dev/video16

OR

gst-launch v4l2src device=/dev/video0 ! imxv4l2sink device=/dev/video16

2. how can i store video or still image to sd card?

     - You have lot of ways, how to store video to your SD card.

     1. Insert SD card to your computer and mount in Linux. Then you can copy to File system (for example /home/)

     2. Connect board to LAN and use scp command in Linux to copy over LAN.

3. how can i stream video feed to Ethernet?

     - You can use gstreamer for streameng vide to LAN. It's depend on lot of parameters. Protocol, etc...

Best Regards

Vilem

0 Kudos

2,491 Views
riteshpanchal
Contributor II

Hi,

i got following error message after executing following commands.

1.  gst-launch v4l2src device=/dev/video0 ! mfw_isink device=/dev/video16

     set color key                                                                  

     MFW_GST_ISINK_PLUGIN 4.0.3 build on Jun 11 2015 17:33:41.                      

     WARNING: erroneous pipeline: no property "device" in element "mfwgstisink0"

2. gst-launch v4l2src device=/dev/video0 ! imxv4l2sink device=/dev/video16

     Setting pipeline to PAUSED ...

     and nothing appeared

I can see live video using below command

gst-launch imxv4l2src ! imxv4l2sink

And capture image using below command

gst-launch imxv4l2src num-buffers=1 ! jpegenc ! filesink location=sample.jpeg

I unable to use MIPI base embedded camera because this image doesn't having any mfw_xxx plugins.

In booting log 2 camera has been detected. so how can i use the above commands for other camera?

I find very difficult to use gstreamer in this board.

can you have any gstreamer user guide for freescale imx6 board.?

And my another questions are...

1. How can i add third party app in kit running fsl-image-gui image linux?

2. how can i add/remove recipe in fsl-image-gui image??

0 Kudos

2,492 Views
VilemZ
NXP Employee
NXP Employee

Hi,

if you want more information about GStreamer, please read this: GStreamer i.MX6 Multi-Overlay

Best regards,

Vilem

0 Kudos

2,492 Views
VilemZ
NXP Employee
NXP Employee

Hi,

If you want change source of video, you need change device (video0, video1, etc...). For example:

gst-launch imxv4l2src device=/dev/video0 ! imxv4l2sink

Please try all yours video devices.

Next questions:

1. If you have app for your processor, then you copy app to your file system and launch it.

     If you haven't app for you board/processor, then you need build application with your cross-compilator (toolchain).

2. Please read this Training: Yocto Training - HOME

Best Regards,

Vilem

0 Kudos

2,492 Views
jimmychan
NXP TechSupport
NXP TechSupport

I think you can write your apps and run it on QT5.

Qt 5 on Wayland

For the camera code, I think you can take the mxc_v4l2_capture which in the imx-test for reference.

2,492 Views
riteshpanchal
Contributor II

Thanks for the reply.

Making an QT app is an option but its more easy if any ready made app is available to record and stored videos from on board camera.

Because my final product will not having the display / hdmi output. I need to just stream or store video feed. But before that i need to evaluate the on sabresd board.

So can you tell me is there any app? and if yes how to install on QT5 Weston Wayland image running linux based on fsl-yocto-3.14.28-1.0.1.

or otherwise any guide to develop some test app?

0 Kudos