GNOME Bugzilla – Bug 659965
mpeg2enc/x264enc: fails to encode 720x405 resolution
Last modified: 2018-11-03 13:09:15 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)
The sample clip to be used: http://jeff.ecchi.ca/public/pitivi-659965.ogv
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).
Ok, turns out this is a gst bug, not pitivi. Works fine with ffmpeg's mpeg2 encoder.
$ 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)
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.
-- 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.