GNOME Bugzilla – Bug 598342
OGG Theora ignores rendering resolution
Last modified: 2010-04-25 16:12:52 UTC
It just gets weirder and weirder; trying to render a wide angle test project, I set the rendering settings to size down to 640x360, but the resulting file is 1280x720.
It happens only with that particular project. To reproduce myself: 1- load "wide-angle.xptv" 2- seek in the timeline to prevent bug #603102 3- in the render settings, set a *custom* resolution of 320x180 or something 4- render Output is 1280x720. Interesting. It does *sometimes* take the resolution into account if I use one of the presets, just not if I set the resolution manually. And sometimes both techniques work. It's really hard to predict.
Hrm. It does *not* only happen with that particular project, sorry. So, after further testing, general rule of thumb in most cases, it will work if you set the resolution using one of the presets, but not if you use a custom resolution.
Created attachment 149114 [details] debug log output of PITIVI_DEBUG=*:5 GST_DEBUG=2
<nekohayo> emdash, now I'm completely confused. It works if I render in mp4{h.264+aac}... until now I used theora+vorbis <emdash> interesting, that's helpful actually. It might be an issue with the theora encoder. The other thought is that maybe swtiching codecs forced something; ie, maybe if you just go with the default, the caps aren't properly set <nekohayo> oh yeah perhaps <emdash> then try setting it mp4, then set it back again, and see if the bug goes away *time passes* <nekohayo> emdash, just tried, and it seems to be theora-specific (re-rendering in ogg theora+vorbis, after having successfully rendered with mp4, makes the problem reappear) Note: I am using theora 1.1 from https://launchpad.net/~theora/+archive/ppa ffmpeg2theora has no such problems regarding resolution. As for gst, I don't know if it's pitivi-specific or not.
Easy to use test case project for reproducing: just load the project and render (it's set to render at 360x240), or just add water! http://jeff.ecchi.ca/public/bug-pitivi-598342-buggy-resolution-rendering.tar.bz2
This happens on both theora 1.0 and 1.1. Will affect my ability to release a proper pitivi demo screencast. It's also a perf bug in the sense that rendering to 320x240 is much faster than rendering at a 1080p resolution for example.
WTH, it works now, with lucid, with karmic + PPA, with jhbuild... Go figure.
I'll try to give some additional comments to the (seemingly) same bug. Situation: trying to reduce the resolution of a (.mov) video, with the same ratio as output. The original video is 1280×720, output as ogg, with default settings. With PiTiVi 0.13.3 (Ubuntu Karmic, version in the official repository), the output video was with 1280×720 resolution (i.e. no changes), if the output setting was with the same ratio (i.e. 640×360, 320×180). It worked fine with other ratios, e.g. with some of the presets. Now with PiTiVi 0.13.4 (Ubuntu Karmic, version of the PPA), the resolution of the output video is correct (e.g. 640×360), but the video renders with black borders all around instead of a full frame video (which means that the resolution of each image is lower than expected). Does not seem to be fixed for me.