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 674920 - mpeg2enc: discards downstream mpegversion restrictions
mpeg2enc: discards downstream mpegversion restrictions
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 672439
 
 
Reported: 2012-04-27 08:20 UTC by Jens Georg
Modified: 2018-11-03 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample program (5.18 KB, text/plain)
2012-04-27 08:20 UTC, Jens Georg
Details
GST_DEBUG output (11.33 KB, application/octet-stream)
2012-04-27 08:27 UTC, Jens Georg
Details

Description Jens Georg 2012-04-27 08:20:54 UTC
Created attachment 212932 [details]
Sample program

Using the attached program with only mpeg2enc available (no ffenc_mpeg2video) to simulate the situation on Ubuntu 12.04 where encodebin seems to chose mpeg2enc over ffenc_mpeg2video (bug 672439)
Comment 1 Jens Georg 2012-04-27 08:27:56 UTC
Created attachment 212934 [details]
GST_DEBUG output

GST_DEBUG=encodebin:5,mpeg2enc:5
Comment 2 Mark Nauwelaerts 2012-10-26 11:38:20 UTC
This is due to a capsfilter video/mpeg,mpegversion=2,systemstream=false downstream of mpeg2enc, which does not consider that one and produces mpegversion=1 (as dictated by the default format setting).

So maybe we should add a 'auto' option to the format property in which case mpeg2enc should negotiate with downstream, though that might also be a confusing way to go about it.
Comment 3 Tim-Philipp Müller 2012-10-26 11:49:58 UTC
I think it should negotiate as much as possible based on downstream caps restrictions, if there are any.

And we should change the default at least to Generic Mpeg-2 or something (I thought I'd done that already, but maybe it was elsewhere such as in mplex).
Comment 4 Mark Nauwelaerts 2012-10-26 19:24:30 UTC
Agreed, unfortunately the downstream restrictions do not readily/evidently map to a particular choice of format (where there are still a few for version 1, 2 etc).  One could try to include resolutions wrt DVD but that still leaves some ambiguity.
Comment 5 GStreamer system administrator 2018-11-03 13:11:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/70.