[Bug 728438] v4l2: Implement a v4l2 video encoder

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 5 01:16:17 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=728438

--- Comment #70 from ayaka <ayaka at soulik.info> ---
(In reply to Todor Tomov from comment #69)

> 
> v4l2src device=/dev/video3 io-mode=dmabuf-import !
> video/x-raw,format=NV12,width=1280,height=960,framerate=30/1 !
> v4l2video4h264enc output-io-mode=dmabuf
> extra-controls="controls,h264_profile=4,video_bitrate=200000;" ! h264parse !
> mp4mux ! filesink
> 
> Is it the case that the encoder plugin does not support
> "output-io-mode=dmabuf" correctly?
I think so, it should support userptr, but I don't think it is necessary to do
that as it would invoke the IOMMU which decrease the speed.
> 
> > Another future note, this exportation/importation
> > should be negotiated, and should happen automatically. Final note, upstream
> > importation like this does only works if by chance the selected stride in
> > your source matches the selected encoder stride. We are missing code to
> > setup the source to use the downstream stride here.
> In my case both match. But in general case it could be a problem, thanks for
> this info.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list