Hii,
I am testing camera in custom RZ/G2UL board
Can u give command to test the camera in G2UL with video encoding and decoding?
Regards,
Ashritha
Please refer to this app note that includes example commands.
https://www.renesas.com/us/en/document/mas/rzg2l-group-and-rzv2l-group-linux-interface-specification-gstreamer-users-manual-software?utm_nooverride=1&language=en
Hii
Below are the encoders which are in use
root@iWave-G53M:~# gst-inspect-1.0 | grep -i encalaw: alawenc: A Law audio encoderpng: pngenc: PNG image encoderencoding: encodebin: Encoder Binaudiolatency: audiolatency: AudioLatencylibav: avmux_yuv4mpegpipe: libav YUV4MPEG pipe muxer (not recommended, use y4menc instead)libav: avmux_wav: libav WAV / WAVE (Waveform Audio) muxer (not recommended, use wavenc instead)libav: avdec_mts2: libav MS Expression Encoder Screen decoderlibav: avdec_h265: libav HEVC (High Efficiency Video Coding) decoderlibav: avenc_zmbv: libav Zip Motion Blocks Video encoderlibav: avenc_xwd: libav XWD (X Window Dump) image encoderlibav: avenc_xface: libav X-face image encoderlibav: avenc_xbm: libav XBM (X BitMap) image encoderlibav: avenc_wmv2: libav Windows Media Video 8 encoderlibav: avenc_wmv1: libav Windows Media Video 7 encoderlibav: avenc_vc2: libav SMPTE VC-2 encoderlibav: avenc_utvideo: libav Ut Video encoderlibav: avenc_tiff: libav TIFF image encoderlibav: avenc_targa: libav Truevision Targa image encoderlibav: avenc_svq1: libav Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1 encoderlibav: avenc_sunrast: libav Sun Rasterfile image encoderlibav: avenc_snow: libav Snow encoderlibav: avenc_sgi: libav SGI image encoderlibav: avenc_rv20: libav RealVideo 2.0 encoderlibav: avenc_rv10: libav RealVideo 1.0 encoderlibav: avenc_roqvideo: libav id RoQ video encoderlibav: avenc_r10k: libav AJA Kona 10-bit RGB Codec encoderlibav: avenc_qtrle: libav QuickTime Animation (RLE) video encoderlibav: avenc_prores_ks: libav Apple ProRes (iCodec Pro) encoderlibav: avenc_prores_aw: libav Apple ProRes encoderlibav: avenc_prores: libav Apple ProRes encoderlibav: avenc_ppm: libav PPM (Portable PixelMap) image encoderlibav: avenc_png: libav PNG (Portable Network Graphics) image encoderlibav: avenc_pgmyuv: libav PGMYUV (Portable GrayMap YUV) image encoderlibav: avenc_pgm: libav PGM (Portable GrayMap) image encoderlibav: avenc_pcx: libav PC Paintbrush PCX image encoderlibav: avenc_pbm: libav PBM (Portable BitMap) image encoderlibav: avenc_pam: libav PAM (Portable AnyMap) image encoderlibav: avenc_msvideo1: libav Microsoft Video-1 encoderlibav: avenc_msmpeg4: libav MPEG-4 part 2 Microsoft variant version 3 encoderlibav: avenc_msmpeg4v2: libav MPEG-4 part 2 Microsoft variant version 2 encoderlibav: avenc_mpeg4: libav MPEG-4 part 2 encoderlibav: avenc_mpeg2video: libav MPEG-2 video encoderlibav: avenc_mpeg1video: libav MPEG-1 video encoderlibav: avenc_mjpeg: libav MJPEG (Motion JPEG) encoderlibav: avenc_magicyuv: libav MagicYUV video encoderlibav: avenc_ljpeg: libav Lossless JPEG encoderlibav: avenc_jpegls: libav JPEG-LS encoderlibav: avenc_jpeg2000: libav JPEG 2000 encoderlibav: avenc_huffyuv: libav Huffyuv / HuffYUV encoderlibav: avenc_h263p: libav H.263+ / H.263-1998 / H.263 version 2 encoderlibav: avenc_h263: libav H.263 / H.263-1996 encoderlibav: avenc_h261: libav H.261 encoderlibav: avenc_flv: libav FLV / Sorenson Spark / Sorenson H.263 (Flash Video) encoderlibav: avenc_flashsv2: libav Flash Screen Video Version 2 encoderlibav: avenc_flashsv: libav Flash Screen Video encoderlibav: avenc_fits: libav Flexible Image Transport System encoderlibav: avenc_ffvhuff: libav Huffyuv FFmpeg variant encoderlibav: avenc_ffv1: libav FFmpeg video codec #1 encoderlibav: avenc_dvvideo: libav DV (Digital Video) encoderlibav: avenc_dpx: libav DPX (Digital Picture Exchange) image encoderlibav: avenc_dnxhd: libav VC3/DNxHD encoderlibav: avenc_cljr: libav Cirrus Logic AccuPak encoderlibav: avenc_cinepak: libav Cinepak encoderlibav: avenc_bmp: libav BMP (Windows and OS/2 bitmap) encoderlibav: avenc_avui: libav Avid Meridien Uncompressed encoderlibav: avenc_avrp: libav Avid 1:1 10-bit RGB Packer encoderlibav: avenc_asv2: libav ASUS V2 encoderlibav: avenc_asv1: libav ASUS V1 encoderlibav: avenc_apng: libav APNG (Animated Portable Network Graphics) image encoderlibav: avenc_amv: libav AMV Video encoderlibav: avenc_alias_pix: libav Alias/Wavefront PIX image encoderlibav: avenc_a64multi5: libav Multicolor charset for Commodore 64, extended with 5th color (colram) encoderlibav: avenc_a64multi: libav Multicolor charset for Commodore 64 encoderlibav: avenc_adpcm_yamaha: libav ADPCM Yamaha encoderlibav: avenc_adpcm_swf: libav ADPCM Shockwave Flash encoderlibav: avenc_adpcm_ms: libav ADPCM Microsoft encoderlibav: avenc_adpcm_ima_wav: libav ADPCM IMA WAV encoderlibav: avenc_adpcm_ima_qt: libav ADPCM IMA QuickTime encoderlibav: avenc_g726le: libav G.726 little endian ADPCM ("right-justified") encoderlibav: avenc_g726: libav G.726 ADPCM encoderlibav: avenc_g722: libav G.722 ADPCM encoderlibav: avenc_adpcm_adx: libav SEGA CRI ADX ADPCM encoderlibav: avenc_roq_dpcm: libav id RoQ DPCM encoderlibav: avenc_pcm_vidc: libav PCM Archimedes VIDC encoderlibav: avenc_wmav2: libav Windows Media Audio 2 encoderlibav: avenc_wmav1: libav Windows Media Audio 1 encoderlibav: avenc_wavpack: libav WavPack encoderlibav: avenc_tta: libav TTA (True Audio) encoderlibav: avenc_truehd: libav TrueHD encoderlibav: avenc_sonicls: libav Sonic lossless encoderlibav: avenc_sonic: libav Sonic encoderlibav: avenc_sbc: libav SBC (low-complexity subband codec) encoderlibav: avenc_real_144: libav RealAudio 1.0 (14.4K) encoderlibav: avenc_opus: libav Opus encoderlibav: avenc_nellymoser: libav Nellymoser Asao encoderlibav: avenc_mp2fixed: libav MP2 fixed point (MPEG audio layer 2) encoderlibav: avenc_mp2: libav MP2 (MPEG audio layer 2) encoderlibav: avenc_mlp: libav MLP (Meridian Lossless Packing) encoderlibav: avenc_g723_1: libav G.723.1 encoderlibav: avenc_eac3: libav ATSC A/52 E-AC-3 encoderlibav: avenc_dca: libav DCA (DTS Coherent Acoustics) encoderlibav: avenc_aptx_hd: libav aptX HD (Audio Processing Technology for Bluetooth) encoderlibav: avenc_aptx: libav aptX (Audio Processing Technology for Bluetooth) encoderlibav: avenc_alac: libav ALAC (Apple Lossless Audio Codec) encoderlibav: avenc_ac3_fixed: libav ATSC A/52A (AC-3) encoderlibav: avenc_ac3: libav ATSC A/52A (AC-3) encoderlibav: avenc_aac: libav AAC (Advanced Audio Coding) encoderlibav: avenc_s302m: libav SMPTE 302M encoderlibav: avenc_comfortnoise: libav RFC 3389 comfort noise generator encoderremovesilence: removesilence: RemoveSilencemulaw: mulawenc: Mu Law audio encoderpnm: pnmenc: PNM image encodertheora: theoraenc: Theora video encoderclosedcaption: line21encoder: Line 21 CC Encoderrtp: rtpulpfecenc: RTP FEC Encoderrtp: rtpredenc: Redundant Audio Data (RED) Encoderx264: x264enc: x264encflac: flacenc: FLAC audio encoderwebp: webpenc: WEBP image encoderadpcmenc: adpcmenc: ADPCM encoderfaac: faac: AAC audio encoderdtls: dtlssrtpenc: DTLS-SRTP Encoderdtls: dtlsenc: DTLS Encoder xy4menc: y4menc: YUV4MPEG video encoder fSetting pipeline to PAUSED ...er iPipeline is live and does not need PREROLL ... lSetting pipeline to PLAYING ...: Frequency spectrum scope eNew clock: GstSystemClocke encoder sRedistribute latency... Encoder element isubenc: webvttenc: WebVTT encoder subenc: srtenc: Srt encoder sbc: sbcenc: Bluetooth SBC audio encoder lame: lamemp3enc: L.A.M.E. mp3 encoder vorbis: vorbisenc: Vorbis audio encoder
The command which i am using is
gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=50 ! 'video/x-raw, format=(string)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1' ! autovideoconvert ! x264enc ! h264parse ! mp4mux ! filesink location=test.mp4
It takes more time to capture if i provide more buffers
After it is getting record the video will play in frame wise, it will not play the complete video,
Kindly give the solution for this
Any updates?