GNOME Bugzilla – Bug 678431
[0.11] UVC H264 camerabin Source port
Last modified: 2013-01-23 12:38:29 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.
<KaKaRoTo> maybe I need to revert using the new ioctl since it doesn't look like it will get merged
I pushed it to the 0.10 branch... We're still missing a 1.0 port though
*** This bug has been marked as a duplicate of bug 692045 ***