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 659965 - mpeg2enc/x264enc: fails to encode 720x405 resolution
mpeg2enc/x264enc: fails to encode 720x405 resolution
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:
 
 
Reported: 2011-09-23 20:17 UTC by Jean-François Fortin Tam
Modified: 2018-11-03 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2011-09-23 20:17:02 UTC
+++ This bug was initially created as a clone of Bug #658303 +++

Steps to reproduce:
0. Insert the theora clip I'm linking here in the timeline
1. Click the render button to render a project
2. Click the "DVD" render preset
3. Try to render

Result: **ERROR: [python] vertical_size must be a even (4:2:0)
Comment 1 Jean-François Fortin Tam 2011-09-23 20:18:34 UTC
The sample clip to be used: http://jeff.ecchi.ca/public/pitivi-659965.ogv
Comment 2 Jean-François Fortin Tam 2011-09-23 20:34:48 UTC
The trick to trigger this is to set the project settings to have a resolution of 720x405 (not 720x404 or anything else), with a 1:1 pixel aspect ratio (16:9 DAR).
Comment 3 Jean-François Fortin Tam 2011-09-23 20:38:39 UTC
Ok, turns out this is a gst bug, not pitivi. Works fine with ffmpeg's mpeg2 encoder.
Comment 4 Tim-Philipp Müller 2011-09-23 22:20:39 UTC
$ gst-launch-0.10 videotestsrc ! video/x-raw-yuv,width=720,height=405 ! mpeg2enc ! fakesink

0:00:23.798197588 20392      0x212ec90 ERROR               mpeg2enc :0:: vertical_size must be a even (4:2:0)
**ERROR: [lt-gst-launch-0.10] vertical_size must be a even (4:2:0)
Comment 5 Nicolas Dufresne (ndufresne) 2017-11-27 01:34:00 UTC
Same issue with x264enc that complains in 4:2:2 and 4:2:0. Somehow we fail at padding and then setting a crop region.
Comment 6 GStreamer system administrator 2018-11-03 13:09:15 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/48.