Hello,
I am trying to use MJPEG on the Leopard Board but apparently, it is not supported. Only MPEG4 is...
I tested it using gst-launch ! TIVidenc1 codecName=mjpegenc engineName=encode ...
Any idea on how to install codecs?
Thanks,
Mike
Mike,
I think you should use TIImgenc1 instead of TIVidenc1 (but have never test it on DM355). The DDOMPE branch has support for mjpeg either with dmaienc_mjpeg or dmaienc_jpeg.
Diego
Hi Diego,
It's weird because I chose the DDOMPE branch and it seems that its components are not seen by the app...
For example when I'm running the ./demo.sh script, it says "WARNING: erroneous pipeline: no element 'dmaiaccel' " (dmaiperf is seen).
Consequently, I cannot use dmaienc_mjpeg or dmaienc_jpeg.
Any idea why?
Btw I'm using Leopard Board DM365 with the latest RidgeRun SDK
What's the output from your gst-inspect?
gstrtpmanager: gstrtpssrcdemux: RTP SSRC Demuxgstrtpmanager: gstrtpsession: RTP Sessiongstrtpmanager: gstrtpptdemux: RTP Demuxgstrtpmanager: gstrtpjitterbuffer: RTP packet jitter-buffergstrtpmanager: gstrtpclient: RTP Clientgstrtpmanager: gstrtpbin: RTP Binicydemux: icydemux: ICY tag demuxersmpte: smptealpha: SMPTE transitionssmpte: smpte: SMPTE transitionsmpegaudioparse: mp3parse: MPEG1 Audio Parsermpegaudioparse: xingmux: MP3 Xing muxerfbdevsink: fbdevsink: fbdev video sinkvideocrop: aspectratiocrop: aspectratiocropvideocrop: videocrop: Cropvideoscale: videoscale: Video scalervideorate: videorate: Video rate adjusteralphacolor: alphacolor: Alpha color filtervideobox: videobox: Video box filterinterleave: deinterleave: Audio deinterleaverinterleave: interleave: Audio interleaverqtmux: mj2mux: MJ2 Muxerqtmux: gppmux: 3GPP Muxerqtmux: mp4mux: MP4 Muxerqtmux: qtmux: QuickTime Muxerautoconvert: autoconvert: Select convertor based on capsqueue2: queue2: Queuedvdsub: dvdsubparse: DVD subtitle parserdvdsub: dvdsubdec: DVD subtitle decoderdvdspu: dvdspu: GStreamer Sub-picture Overlayadder: adder: Addeross4: oss4mixer: OSS v4 Audio Mixeross4: oss4src: OSS v4 Audio Sourceoss4: oss4sink: OSS v4 Audio Sinkgoom2k1: goom2k1: GOOM: what a GOOM! 2k1 editionrawparse: audioparse: Audio Parserawparse: videoparse: Video Parselevel: level: Levelhdvparse: hdvparse: HDVParservideobalance: videobalance: Video balanceapetag: apedemux: APE tag demuxerautodetect: autoaudiosrc: Auto audio sourceautodetect: autoaudiosink: Auto audio sinkautodetect: autovideosrc: Auto video sourceautodetect: autovideosink: Auto video sinkid3tag: id3mux: ID3 v1 and v2 Muxerequalizer: equalizer-10bands: 10 Band Equalizerequalizer: equalizer-3bands: 3 Band Equalizerequalizer: equalizer-nbands: N Band Equalizermultifile: multifilesink: Multi-File Sinkmultifile: multifilesrc: Multi-File Sourcemonoscope: monoscope: Monoscopeliveadder: liveadder: Live Adder elementauparse: auparse: AU audio demuxerflxdec: flxdec: FLX audio decodergstsiren: sirenenc: Siren Encoder elementgstsiren: sirendec: Siren Decoder elementmulaw: mulawdec: Mu Law audio decodermulaw: mulawenc: Mu Law audio encodervideomixer: videomixer: Video mixerwavenc: wavenc: WAV audio muxeraudiofx: audioecho: Audio echoaudiofx: audiofirfilter: Audio FIR filteraudiofx: audiowsincband: Band pass & band reject filteraudiofx: audiowsinclimit: Low pass & high pass filteraudiofx: audioiirfilter: Audio IIR filteraudiofx: audiochebband: Band pass & band reject filteraudiofx: audiocheblimit: Low pass & high pass filteraudiofx: audiodynamic: Dynamic range controlleraudiofx: audioamplify: Audio amplifieraudiofx: audiokaraoke: AudioKaraokeaudiofx: audioinvert: Audio inversionaudiofx: audiopanorama: Stereo positioningmpegvideoparse: mpegvideoparse: MPEG video elementary stream parsernavigationtest: navigationtest: Video navigation testiec958: ac3iec958: AC3 to IEC958 filterstereo: stereo: Stereo effectrtpmux: rtpdtmfmux: RTP muxerrtpmux: rtpmux: RTP muxerquicktime: rtpxqtdepay: RTP packet depayloaderquicktime: qtdemux: QuickTime demuxermpeg4videoparse: mpeg4videoparse: MPEG 4 video elementary stream parservmnc: vmncdec: VMnc video decodercoreelements: multiqueue: MultiQueuecoreelements: typefind: TypeFindcoreelements: tee: Tee pipe fittingcoreelements: filesink: File Sinkcoreelements: queue: Queuecoreelements: identity: Identitycoreelements: filesrc: File Sourcecoreelements: fdsink: Filedescriptor Sinkcoreelements: fdsrc: Filedescriptor Sourcecoreelements: fakesink: Fake Sinkcoreelements: fakesrc: Fake Sourcecoreelements: capsfilter: CapsFilterid3demux: id3demux: ID3 tag demuxerbayer: bayer2rgb: Bayer to RGB decoder for camerasreplaygain: rgvolume: ReplayGain volumereplaygain: rglimiter: ReplayGain limiterreplaygain: rganalysis: ReplayGain analysisffmpegcolorspace: ffmpegcolorspace: FFMPEG Colorspace convertergoom: goom: GOOM: what a GOOM!legacyresample: legacyresample: Audio scaleraudiorate: audiorate: Audio rate adjusteralsaspdif: alsaspdifsink: S/PDIF ALSA audiosinkvalve: valve: Valve elementalpha: alpha: Alpha filteraudioconvert: audioconvert: Audio converteraudioresample: audioresample: Audio resamplergamma: gamma: Video gamma correctioncoreindexers: memindex: A index that stores entries in memoryvolume: volume: Volumedebugutilsbad: fpsdisplaysink: Measure and show framerate on videosinkvideosignal: videomark: Video markervideosignal: videodetect: Video detectervideosignal: videoanalyse: Video analysermultipart: multipartmux: Multipart muxermultipart: multipartdemux: Multipart demuxercutter: cutter: Audio cutterpcapparse: pcapparse: PCapParsecdxaparse: vcdparse: (S)VCD stream parsercdxaparse: cdxaparse: (S)VCD parservideo4linux: v4lsrc: Video (video4linux/raw) Sourcerfbsrc: rfbsrc: Rfb sourceaacparse: aacparse: AAC audio stream parserspectrum: spectrum: Spectrum analyzersdp: sdpdemux: SDP session setupwavparse: wavparse: WAV audio demuxerrtsp: rtpdec: RTP Decoderrtsp: rtspsrc: RTSP packet receiveradpcmdec: msadpcmdec: MS-ADPCM decoderdvdlpcmdec: dvdlpcmdec: DVD LPCM Audio decoderdtmf: rtpdtmfdepay: RTP DTMF packet depayloaderdtmf: rtpdtmfsrc: RTP DTMF packet generatordtmf: dtmfsrc: DTMF tone generatorselector: output-selector: Output selectorselector: input-selector: Input selectormatroska: matroskamux: Matroska muxermatroska: matroskademux: Matroska demuxerdebug: testsink: Test plugindebug: taginject: TagInjectdebug: progressreport: Progress reportdebug: navseek: Seek based on left-right arrowsdebug: rndbuffersize: Random buffer sizedebug: breakmydata: Break my datanuvdemux: nuvdemux: Nuv demuxeraudiotestsrc: audiotestsrc: Audio test sourceaiffparse: aiffparse: AIFF audio demuxerscaletempo: scaletempo: Scaletempovideotestsrc: videotestsrc: Video test sourcempegdemux2: mpegtsparse: MPEG transport stream parsermpegdemux2: mpegtsdemux: The Fluendo MPEG Transport stream demuxermpegdemux2: mpegpsdemux: The Fluendo MPEG Program Stream Demuxerossaudio: osssink: Audio Sink (OSS)ossaudio: osssrc: Audio Source (OSS)ossaudio: ossmixer: OSS Mixertypefindfunctions: image/vnd.adobe.photoshop: psdtypefindfunctions: application/octet-stream: DS_Storetypefindfunctions: application/msword: doctypefindfunctions: application/pdf: pdftypefindfunctions: audio/x-nsf: nsftypefindfunctions: video/vivo: vivtypefindfunctions: application/x-mmsh: no extensionstypefindfunctions: multipart/x-mixed-replace: no extensionstypefindfunctions: video/x-dirac: no extensionstypefindfunctions: application/x-ms-dos-executable: cpl, msstyles, scr, sys, ocltypefindfunctions: application/x-ar: atypefindfunctions: application/x-tar: tartypefindfunctions: application/x-rar: rartypefindfunctions: audio/x-wavpack-correction: wvctypefindfunctions: audio/x-wavpack: wvp, wvtypefindfunctions: audio/x-spc: spctypefindfunctions: adts_mpeg_stream: aactypefindfunctions: application/x-executable: no extensionstypefindfunctions: text/x-cmml: no extensionstypefindfunctions: application/x-ogg-skeleton: no extensionstypefindfunctions: audio/x-celt: no extensionstypefindfunctions: audio/x-speex: no extensionstypefindfunctions: application/x-ogm-text: no extensionstypefindfunctions: application/x-ogm-audio: no extensionstypefindfunctions: application/x-ogm-video: no extensionstypefindfunctions: video/x-theora: no extensionstypefindfunctions: audio/x-vorbis: no extensionstypefindfunctions: audio/x-flac: flactypefindfunctions: application/x-kate: no extensionstypefindfunctions: application/x-compress: Ztypefindfunctions: application/zip: ziptypefindfunctions: application/x-gzip: gztypefindfunctions: application/x-bzip: bz2typefindfunctions: image/x-sun-raster: rastypefindfunctions: image/x-xpixmap: xpmtypefindfunctions: image/x-jng: jngtypefindfunctions: video/x-mng: mngtypefindfunctions: image/x-xcf: xcftypefindfunctions: audio/x-sid: sidtypefindfunctions: audio/iLBC-sh: ilbctypefindfunctions: audio/x-amr-wb-sh: amrtypefindfunctions: audio/x-amr-nb-sh: amrtypefindfunctions: video/x-dv: dif, dvtypefindfunctions: video/x-mve: mvetypefindfunctions: application/mxf: mxftypefindfunctions: video/x-matroska: mka, mkvtypefindfunctions: image/tiff: tiff, tiftypefindfunctions: image/bmp: bmptypefindfunctions: image/png: pngtypefindfunctions: image/gif: giftypefindfunctions: image/jpeg: jpeg, jpe, jpgtypefindfunctions: application/x-ape: apetypefindfunctions: audio/x-shorten: shntypefindfunctions: audio/x-w64: w64typefindfunctions: audio/x-ircam: sftypefindfunctions: audio/x-sds: sdstypefindfunctions: audio/x-voc: voctypefindfunctions: audio/x-nist: nisttypefindfunctions: audio/x-paris: paftypefindfunctions: audio/x-svx: svx, ifftypefindfunctions: audio/x-aiff: aifc, aif, aifftypefindfunctions: audio/x-wav: wavtypefindfunctions: application/xml: xmltypefindfunctions: application/smil: smiltypefindfunctions: application/sdp: sdptypefindfunctions: text/uri-list: ramtypefindfunctions: text/plain: txttypefindfunctions: video/x-flv: flvtypefindfunctions: application/x-shockwave-flash: swfl, swftypefindfunctions: application/x-pn-realaudio: rmvb, rm, ram, ratypefindfunctions: application/vnd.rn-realmedia: rmvb, rm, ram, ratypefindfunctions: text/html: html, htmtypefindfunctions: video/mj2: mj2typefindfunctions: image/jp2: jp2typefindfunctions: image/x-quicktime: qti, qtif, qiftypefindfunctions: video/quicktime: movtypefindfunctions: application/x-3gp: 3gptypefindfunctions: audio/x-m4a: m4atypefindfunctions: video/x-nuv: nuvtypefindfunctions: video/x-h264: 264, x264, h264typefindfunctions: video/mpeg4: m4vtypefindfunctions: video/mpeg-elementary: mpg, mpeg, mpvtypefindfunctions: application/ogg: ogm, ogg, anxtypefindfunctions: video/mpegts: tstypefindfunctions: video/mpeg-sys: mpg, mpeg, mpetypefindfunctions: audio/x-gsm: gsmtypefindfunctions: audio/x-ac3: ac3typefindfunctions: audio/mpeg: mpga, mp1, mp2, mp3typefindfunctions: audio/x-mod: xm, ult, stx, stm, s3m, sam, okt, mtm, mod, med9typefindfunctions: audio/x-ttafile: ttatypefindfunctions: application/x-apetag: wv, mpc, apetypefindfunctions: application/x-id3v1: tta, flac, ogg, mpga, mp1, mp2, mp3typefindfunctions: application/x-id3v2: tta, flac, ogg, mpga, mp1, mp2, mp3typefindfunctions: video/x-fli: fli, flctypefindfunctions: audio/mobile-xmf: mxmftypefindfunctions: audio/midi: midi, midtypefindfunctions: audio/x-imelody: imelody, ime, imytypefindfunctions: video/x-vcd: dattypefindfunctions: video/x-cdxa: dattypefindfunctions: audio/qcelp: qcptypefindfunctions: video/x-msvideo: avitypefindfunctions: audio/x-au: snd, autypefindfunctions: audio/x-musepack: mp+, mpp, mpctypefindfunctions: video/x-ms-asf: wmv, wma, wm, asftta: ttadec: TTA audio decodertta: ttaparse: TTA file parserudp: udpsrc: UDP packet receiverudp: dynudpsink: UDP packet senderudp: multiudpsink: UDP packet senderudp: udpsink: UDP packet sendertcp: multifdsink: Multi filedescriptor sinktcp: tcpserversrc: TCP server sourcetcp: tcpserversink: TCP server sinktcp: tcpclientsrc: TCP client sourcetcp: tcpclientsink: TCP client sinkrtp: rtpvrawpay: RTP Raw Video payloaderrtp: rtpvrawdepay: RTP Raw Video depayloaderrtp: rtpvorbispay: RTP Vorbis depayloaderrtp: rtpvorbisdepay: RTP Vorbis depayloaderrtp: rtptheorapay: RTP Theora depayloaderrtp: rtptheoradepay: RTP Theora depayloaderrtp: rtpsv3vdepay: RTP SVQ3 depayloaderrtp: rtpspeexdepay: RTP Speex depayloaderrtp: rtpspeexpay: RTP Speex payloaderrtp: rtpmp4gpay: RTP MPEG4 ES payloaderrtp: rtpmp4gdepay: RTP MPEG4 ES depayloaderrtp: rtpmp4adepay: RTP MPEG4 audio depayloaderrtp: rtpmp4apay: RTP MPEG4 audio payloaderrtp: rtpmp4vdepay: RTP MPEG4 video depayloaderrtp: rtpmp4vpay: RTP MPEG4 Video payloaderrtp: rtpmp2tpay: RTP MPEG2 Transport Stream payloaderrtp: rtpmp2tdepay: RTP MPEG Transport Stream depayloaderrtp: rtpmp1sdepay: RTP MPEG1 System Stream depayloaderrtp: asteriskh263: RTP Asterisk H263 depayloaderrtp: rtpL16depay: RTP audio depayloaderrtp: rtpL16pay: RTP audio payloaderrtp: rtpjpegpay: RTP JPEG payloaderrtp: rtpjpegdepay: RTP JPEG depayloaderrtp: rtph264pay: RTP H264 payloaderrtp: rtph264depay: RTP H264 depayloaderrtp: rtph263pay: RTP H263 payloaderrtp: rtph263depay: RTP H263 depayloaderrtp: rtph263pdepay: RTP H263 depayloaderrtp: rtph263ppay: RTP H263 payloaderrtp: rtpmpvpay: RTP MPEG2 ES video payloaderrtp: rtpmpvdepay: RTP MPEG video depayloaderrtp: rtpmpapay: RTP MPEG audio payloaderrtp: rtpmpadepay: RTP MPEG audio depayloaderrtp: rtppcmapay: RTP PCMA payloaderrtp: rtppcmupay: RTP PCMU payloaderrtp: rtppcmudepay: RTP PCMU depayloaderrtp: rtppcmadepay: RTP PCMA depayloaderrtp: rtpamrpay: RTP AMR payloaderrtp: rtpamrdepay: RTP AMR depayloaderrtp: rtpgsmpay: RTP GSM payloaderrtp: rtpgsmdepay: RTP GSM depayloaderrtp: rtpg729pay: RTP G.729 payloaderrtp: rtpg729depay: RTP G.729 depayloaderrtp: rtpg726pay: RTP G.726 payloaderrtp: rtpg726depay: RTP G.726 depayloaderrtp: rtpilbcdepay: RTP iLBC depayloaderrtp: rtpilbcpay: RTP iLBC Payloaderrtp: rtpdvpay: RTP DV Payloaderrtp: rtpdvdepay: RTP DV Depayloaderrtp: rtpac3depay: RTP AC3 depayloaderrtp: rtpdepay: Dummy RTP session managerTICodecPlugin: dmaiperf: Dmai Performance Identity elementTICodecPlugin: TIVidResize: TI video scaleTICodecPlugin: TIDmaiVideoSink: TI DMAI Video SinkTICodecPlugin: TIAudenc1: TI xDM 1.x Audio EncoderTICodecPlugin: TIAuddec1: TI xDM 1.x Audio DecoderTICodecPlugin: TIAuddec: TI xDM 0.9 Audio DecoderTICodecPlugin: TIImgdec: TI xDM 0.9 Image DecoderTICodecPlugin: TIImgdec1: TI xDM 1.0 Image DecoderTICodecPlugin: TIImgenc: TI xDM 0.9 Image EncoderTICodecPlugin: TIImgenc1: TI xDM 1.0 Image EncoderTICodecPlugin: TIViddec2: TI xDM 1.2 Video DecoderTICodecPlugin: TIViddec: TI xDM 0.9 Video DecoderTICodecPlugin: TIVidenc: TI xDM 0.9 Video EncoderTICodecPlugin: TIVidenc1: TI xDM 1.x Video Encoderdccp: dccpserversrc: DCCP server sourcedccp: dccpclientsink: DCCP client sinkdccp: dccpserversink: DCCP server sinkdccp: dccpclientsrc: DCCP client sourcempegstream: dvddemux: DVD Demuxermpegstream: mpegdemux: MPEG Demuxermpegstream: mpegparse: MPEG System Parsernsfdec: nsfdec: Nsf decoderdecodebin: decodebin: Decoder Binmxf: mxfmux: MXF muxermxf: mxfdemux: MXF Demuxerfreeze: freeze: Stream freezermve: mvemux: MVE Multiplexermve: mvedemux: MVE Demuxersubparse: ssaparse: SSA Subtitle Parsersubparse: subparse: Subtitle parsersubparse: subparse_typefind: txt, smi, mdvd, mpsub, sub, srtrealmedia: pnmsrc: PNM packet receiverrealmedia: rtspreal: RealMedia RTSP Extensionrealmedia: rdtmanager: RTP Decoderrealmedia: rdtdepay: RDT packet parserrealmedia: rademux: RealAudio Demuxerrealmedia: rmdemux: RealMedia Demuxeramrparse: amrparse: AMR audio stream parservideo4linux2: v4l2src: Video (video4linux2/raw) Sourceh264parse: h264parse: H264Parsegdp: gdppay: GDP Payloadergdp: gdpdepay: GDP Depayloaderplayback: playbin2: Player Bin 2playback: playbin: Player Binspeed: speed: Speedvideoflip: videoflip: Video flipperavi: avisubtitle: Avi subtitle parseravi: avimux: Avi muxeravi: avidemux: Avi demuxerasf: rtpasfdepay: RTP ASF packet depayloaderasf: rtspwms: WMS RTSP Extensionasf: asfdemux: ASF Demuxerapp: appsink: AppSinkapp: appsrc: AppSrcfestival: festival: Festival Text-to-Speech synthesizersubenc: srtenc: Srt encodermpegtsmux: mpegtsmux: MPEG Transport Stream Muxereffectv: quarktv: QuarkTV effecteffectv: revtv: RevTV effecteffectv: vertigotv: VertigoTV effecteffectv: shagadelictv: ShagadelicTVeffectv: warptv: WarpTV effecteffectv: dicetv: DiceTV effecteffectv: agingtv: AgingTV effecteffectv: edgetv: EdgeTV effectalsa: alsasink: Audio sink (ALSA)alsa: alsasrc: Audio source (ALSA)alsa: alsamixer: Alsa mixeralaw: alawdec: A Law audio decoderalaw: alawenc: A Law audio encoderuridecodebin: uridecodebin: URI Decoderuridecodebin: decodebin2: Decoder Binstaticelements: bin: Generic binstaticelements: pipeline: Pipeline object
I am sure I chose the DDOMPE branch in the "make config" and I can see the files (like dmaiaccel) in the "proprietary/gst-dmai-plugins/src/src" dir before compiling and installing the file system. I run the installation multiple times and cleaned all the image files but the result is the same...