IMX8MM v4l2loopback

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

IMX8MM v4l2loopback

1,686件の閲覧回数
santhosh2
Contributor IV

I was able to cross compile and generate v4l2loopback.ko file and able to insmod in the imx8mm board i am trying to mount the one video node to another node (from  /dev/video0 to /dev/video1)

gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! 'video/x-raw,width=1920,height=1080' ! tee name=tp ! queue ! v4l2sink device=/dev/video1

But i am getting below error

ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Failed to allocated required me[ 728.907770] s_stream: 0
mory.
Additional debug info:
..[ 728.912043] LVDS enable_stream mute video
/../../git/sys/v4l2/gstv4l2sink.c(629): gst_v4l2sink_show_frame (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
Buffer pool activation failed
Execution ended after 0:00:01.341254250
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

 

How to solve this

0 件の賞賛
返信
3 返答(返信)

1,674件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi santhosh2

 

Can you offer the kernel log?

 

BR

Zhiming

0 件の賞賛
返信

1,656件の閲覧回数
santhosh2
Contributor IV


Factory Details:
Rank primary + 1 (257)
Long-name IMX VPU-based AVC/H264 video encoder
Klass Codec/Encoder/Video
Description Encode raw data to compressed video
Author Multimedia Team <shmmmw@freescale.com>

Plugin Details:
Name vpu
Description VPU video codec
Filename /usr/lib/gstreamer-1.0/libgstvpu.so
Version 4.4.4
License LGPL
Source module imx-gst1.0-plugin
Binary package Freescle Gstreamer Multimedia Plugins
Origin URL http://www.freescale.com

GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstVideoEncoder
+----vpuenc_h264

Implemented Interfaces:
GstPreset

Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-raw
format: { (string)NV12, (string)I420, (string)YUY2, (string)UYVY, (string)RGBA, (string)RGBx, (string)RGB16, (string)RGB15, (string)BGRA, (string)BGRx, (string)BGR16 }
width: [ 64, 1920, 8 ]
height: [ 64, 1088, 8 ]
framerate: [ 0/1, 2147483647/1 ]

SRC template: 'src'
Availability: Always
Capabilities:
video/x-h264
stream-format: { (string)avc, (string)byte-stream }
alignment: { (string)au, (string)nal }

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
SINK: 'sink'
Pad Template: 'sink'
SRC: 'src'
Pad Template: 'src'

Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "vpuenc_h264-0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
qos : Handle Quality-of-Service events from downstream
flags: readable, writable
Boolean. Default: false
bitrate : set bit rate in kbps (0 for automatic)
flags: readable, writable
Unsigned Integer. Range: 0 - 2147483647 Default: 0
gop-size : How many frames a group-of-picture shall contain
flags: readable, writable
Unsigned Integer. Range: 0 - 32767 Default: 30
quant : set quant value: H.264(0-51) (-1 for automatic)
flags: readable, writable
Integer. Range: -1 - 51 Default: -1
root@imx8mmevk:~#

0 件の賞賛
返信

1,666件の閲覧回数
santhosh2
Contributor IV

Please find the log attached

Regards

Santhosh

0 件の賞賛
返信