[Bug 679060] New: can't get video from camera for new Apple's devices with "avfvideosrc" element/plugin

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 28 06:31:45 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=679060
  GStreamer | gst-plugins-bad | 0.10.x

           Summary: can't get video from camera for new Apple's devices
                    with "avfvideosrc" element/plugin
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: stas.ponomarenko at hiq.ru
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=217521)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=217521)
file to replace

I think that the issue appears because the library was tuned to work with
earlier devices (before iPhone 3Gs) and most probably new devices (iPhone 3Gs,
4, 4s, iPad 2) are give out the video stream in new format, so for this devices
need to change the library module setting. Now Apple supported only new device,
so I think no needed supported old device in this plugin.

the changes are next

in file: gst-plugins-bad/sys/applemedia/avfvideosrc.m

original
30 line: #define DEVICE_VIDEO_FORMAT   GST_VIDEO_FORMAT_YUY2
31 line: #define DEVICE_YUV_FOURCC     "YUY2"

modification
30 line: #define DEVICE_VIDEO_FORMAT   GST_VIDEO_FORMAT_NV12
31 line: #define DEVICE_YUV_FOURCC     "NV12"

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


More information about the gstreamer-bugs mailing list