Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-v4l2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
gst-v4l2
Commits
a87e3848
Commit
a87e3848
authored
Aug 01, 2026
by
Ran Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
0 deletions
+80
-0
Makefile
Makefile
+8
-0
gst-nvvideo4linux2_src-no_sei_meta.patch
gst-nvvideo4linux2_src-no_sei_meta.patch
+72
-0
gst-nvvideo4linux2_src.tbz2
gst-nvvideo4linux2_src.tbz2
+0
-0
No files found.
Makefile
0 → 100644
View file @
a87e3848
all
:
mkdir
gst-v4l2
tar
xf gst-nvvideo4linux2_src.tbz2
-C
gst-v4l2
patch
-Np1
-d
gst-v4l2 < gst-nvvideo4linux2_src-no_sei_meta.patch
cd
gst-v4l2/gst-v4l2
&&
$(MAKE)
cd
gst-v4l2/gst-v4l2
&&
$(MAKE)
install
GST_INSTALL_DIR
=
/usr/lib/gstreamer-1.0
rm
-rf
gst-v4l2
gst-nvvideo4linux2_src-no_sei_meta.patch
0 → 100644
View file @
a87e3848
diff --git a/gst-v4l2/Makefile b/gst-v4l2/Makefile
index 522a1f5..789567d 100644
--- a/gst-v4l2/Makefile
+++ b/gst-v4l2/Makefile
@@ -27,7 +27,7 @@
else
CFLAGS:= -DUSE_V4L2_TARGET_NV_CODECSDK=1 -DUSE_V4L2_TARGET_NV_X86=1 -DUSE_V4L2_GST_HEADER_VER_1_8
endif
-LIBS:= -lnvbufsurface -lnvbufsurftransform -lgstnvdsseimeta -lgstnvcustomhelper
+LIBS:= -lnvbufsurface -lnvbufsurftransform -lgstnvcustomhelper
SRCS := $(wildcard *.c)
INCLUDES += -I./ -I../
diff --git a/gst-v4l2/gstv4l2videodec.c b/gst-v4l2/gstv4l2videodec.c
index 9bbb774..d180d73 100644
--- a/gst-v4l2/gstv4l2videodec.c
+++ b/gst-v4l2/gstv4l2videodec.c
@@ -30,7 +30,7 @@
#include "gstv4l2h26xparser.h"
#include "gstv4l2object.h"
#include "gstv4l2videodec.h"
-#include "gstnvdsseimeta.h"
+//#include "gstnvdsseimeta.h"
#include "gst-nvcustomevent.h"
#include "stdlib.h"
@@ -2195,6 +2195,7 @@
gst_v4l2_video_dec_handle_frame (GstVideoDecoder * decoder,
GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS |
GST_BUFFER_COPY_META, 0, 0);
+#if 0
/* Parse SEI data from the bitsream */
if ((is_cuvid == TRUE) && (self->extract_sei_type5_data == TRUE))
{
@@ -2225,6 +2226,7 @@
gst_v4l2_video_dec_handle_frame (GstVideoDecoder * decoder,
gst_buffer_unmap (tmp, &map);
}
}
+#endif
gst_buffer_unref (tmp);
diff --git a/gst-v4l2/gstv4l2videoenc.c b/gst-v4l2/gstv4l2videoenc.c
index bbf2c23..988f03c 100644
--- a/gst-v4l2/gstv4l2videoenc.c
+++ b/gst-v4l2/gstv4l2videoenc.c
@@ -39,7 +39,7 @@
#include "gstv4l2object.h"
#include "gstv4l2videoenc.h"
-#include "gstnvdsseimeta.h"
+//#include "gstnvdsseimeta.h"
#include "gst-nvcustomevent.h"
#include <string.h>
@@ -1713,7 +1713,7 @@
gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
}
if (frame->input_buffer) {
-
+#if 0
GstVideoSEIMeta *meta =
(GstVideoSEIMeta *) gst_buffer_get_meta (frame->input_buffer,
GST_VIDEO_SEI_META_API_TYPE);
@@ -1734,6 +1734,7 @@
gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
self->v4l2output->sei_payload = (void *) meta->sei_metadata_ptr;
}
}
+#endif
GST_VIDEO_ENCODER_STREAM_UNLOCK (encoder);
ret =
gst-nvvideo4linux2_src.tbz2
0 → 100644
View file @
a87e3848
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment