[Bug 728438] v4l2: Implement a v4l2 video encoder

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 22 19:57:56 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=728438
  GStreamer | gst-plugins-good | git

--- Comment #18 from ayaka <lxr1234 at hotmail.com> 2014-05-23 02:57:53 UTC ---
I have fixed the requesting buffer in OUTPUT side
https://github.com/hizukiayaka/gst-plugins-good/commit/1ad98247291ff9d5c65a60c66123a1caa252dc21

but I got the problem below, it seems that it has some problem in CAPTURE side
and my code is not clean so may be your code is correct.
0:00:01.734592376   235    0xe0d80 DEBUG                   v4l2
gstv4l2bufferpool.c:438:gst_v4l2_buffer_pool_set_config:<v4l2video9enc0:poo
l:src> config GstBufferPoolConfig, caps=(GstCaps)"video/x-h264\,\
stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)au\,\ width\
=\(int\)320\,\ height\=\(int\)240\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\
framerate\=\(fraction\)30/1", size=(uint)0, min-buffers=(uint)0
, max-buffers=(uint)0, allocator=(GstAllocator)"NULL",
params=(GstAllocationParams)NULL;
0:00:01.734828335   235    0xe0d80 DEBUG                   v4l2
gstv4l2bufferpool.c:451:gst_v4l2_buffer_pool_set_config:<v4l2video9enc0:poo
l:src> can allocate is 0
0:00:01.734851876   235    0xe0d80 INFO                    v4l2
gstv4l2bufferpool.c:474:gst_v4l2_buffer_pool_set_config:<v4l2video9enc0:poo
l:src> increasing minimum buffers to 2
0:00:01.734870835   235    0xe0d80 INFO                    v4l2
gstv4l2bufferpool.c:480:gst_v4l2_buffer_pool_set_config:<v4l2video9enc0:poo
l:src> reducing maximum buffers to 32
0:00:01.734888751   235    0xe0d80 INFO                    v4l2
gstv4l2bufferpool.c:491:gst_v4l2_buffer_pool_set_config:<v4l2video9enc0:poo
l:src> can't allocate, setting maximum to minimum
0:00:01.734978418   235    0xe0d80 DEBUG                   v4l2
gstv4l2object.c:3118:gst_v4l2_object_decide_allocation:<v4l2video9enc0> all
ocation: size:0 min:0 max:0 pool:(NULL)
0:00:01.735018751   235    0xe0d80 DEBUG                   v4l2
gstv4l2object.c:3171:gst_v4l2_object_decide_allocation:<v4l2video9enc0> str
eaming mode: using our own pool <v4l2video9enc0:pool:src>
0:00:01.735177335   235    0xe0d80 WARN                    v4l2
gstv4l2object.c:3318:gst_v4l2_object_decide_allocation:<v4l2video9enc0> err
or: Video device did not suggest any buffer size.
ERROR: from element /GstPipeline:pipeline0/v4l2video9enc:v4l2video9enc0: Video
device did not suggest any buffer size.
Additional debug info:
gstv4l2object.c(3318): gst_v4l2_object_decide_allocation ():
/GstPipeline:pipeline0/v4l2video9enc:v4l2video9enc0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gstreamer-bugs mailing list