[Bug 739196] New: video/x-xvid changed to video/mpeg,mpegversion=4
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Oct 25 23:40:58 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=739196
GStreamer | gst-plugins-base | 1.x
Summary: video/x-xvid changed to video/mpeg,mpegversion=4
Classification: Platform
Product: GStreamer
Version: 1.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: athoik at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Back to GStreamer 0.10 days xvid was reveived by dvbmediasink[1] as
video/x-xvid. But this is not hapening any more because of the
following commits:
video/x-xvid -> video/mpeg,mpegversion=4
http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=ba7d738d9e53b33907c607b8003014f7b5b0cb7f
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9bf90f47cf789876c91d807bc70866f23875d3a5
Now we are receiving video/mpeg and dvbmediasink uses wrong ioctl
against hardware drivers, causing xvid videos not playing smoothly any
more. (video/mpeg
http://sourceforge.net/p/openpli/gst-plugin-dvbmediasink/ci/gst-1.0/tree/gstdvbvideosink.c#l1297
informs drivers with ioctl 4 and video/x-xvid
http://sourceforge.net/p/openpli/gst-plugin-dvbmediasink/ci/gst-1.0/tree/gstdvbvideosink.c#l1455
informs drivers with ioctl 10)
We tried to get initial fourcc information using the following ways
inside gst_dvbvideosink_set_caps:
const char* fourccc = gst_structure_get_string(structure, "format");
fourcc = GST_STR_FOURCC(value);
GstVideoInfo vinfo;
gst_video_info_from_caps (&vinfo, caps)
fourcc = gst_video_format_to_fourcc (GST_VIDEO_INFO_FORMAT(&vinfo));
But unfortunatelly none of the above returned something in fourcc.
Is there any other way to find that video/mpeg, mpegversion=4 is
actually from video/x-xvid?
Above "issue" initially asked on GStreamer devel mailing list[2] but without
any activity.
[1] http://sourceforge.net/p/openpli/gst-plugin-dvbmediasink/ci/gst-1.0/tree/
[2]
http://lists.freedesktop.org/archives/gstreamer-devel/2014-October/050084.html
--
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