After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678431 - [0.11] UVC H264 camerabin Source port
[0.11] UVC H264 camerabin Source port
Status: RESOLVED DUPLICATE of bug 692045
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-20 01:23 UTC by Youness Alaoui
Modified: 2013-01-23 12:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Youness Alaoui 2012-06-20 01:23:28 UTC
Hi,

I'm working on a source based on GstBaseCameraSrc which would be specific to uvc h264 cameras.
I have pushed my code here : http://cgit.collabora.com/git/user/kakaroto/gst-plugins-bad.git/log/?h=uvch264
It is not yet finished, but it is usable and ready for incremental review. Please start reviewing the code for integration into gst-plugins-bad. The mjpeg demuxer was already reviewed by Olivier Crete.

The UVC H264 spec allows for the source to multiplex the h264 (optionally with raw yuv) into an mjpeg image (or jpeg container-only). For that reason, I have chosen the camerabin source design that allows for a vidsrc and a vfsrc.
I also did not want to code this into v4l2src directly since that is specific to v4l2 and we need to use the uvc driver's ioctl in order to communicate with the H264 XU (Extension unit), which makes it uvc specific.
Upon negotiation, if the vidsrc pad requests h264, then the encoder gets configured and if vfsrc requires raw or jpeg, then the proper muxing mode is set.

Let me know if you have any comments.
Thank you.
Comment 1 Tim-Philipp Müller 2012-08-31 18:35:09 UTC
<KaKaRoTo> maybe I need to revert using the new ioctl since it doesn't look like it will get merged
Comment 2 Olivier Crête 2012-08-31 18:53:45 UTC
I pushed it to the 0.10 branch... We're still missing a 1.0 port though
Comment 3 Tim-Philipp Müller 2013-01-23 12:38:29 UTC

*** This bug has been marked as a duplicate of bug 692045 ***