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 598342 - OGG Theora ignores rendering resolution
OGG Theora ignores rendering resolution
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Rendering
Git
Other Linux
: Normal normal
: 0.13.4
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-13 21:55 UTC by Jean-François Fortin Tam
Modified: 2010-04-25 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (50.04 KB, application/x-gzip)
2009-12-04 19:54 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2009-10-13 21:55:29 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.
Comment 1 Jean-François Fortin Tam 2009-11-28 22:29:03 UTC
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.
Comment 2 Jean-François Fortin Tam 2009-11-28 22:33:27 UTC
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.
Comment 3 Jean-François Fortin Tam 2009-12-04 19:54:22 UTC
Created attachment 149114 [details]
debug log

output of PITIVI_DEBUG=*:5 GST_DEBUG=2
Comment 4 Jean-François Fortin Tam 2009-12-04 21:43:20 UTC
<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.
Comment 5 Jean-François Fortin Tam 2010-01-25 20:54:38 UTC
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
Comment 6 Jean-François Fortin Tam 2010-02-24 15:04:42 UTC
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.
Comment 7 Jean-François Fortin Tam 2010-03-07 14:52:28 UTC
WTH, it works now, with lucid, with karmic + PPA, with jhbuild... Go figure.
Comment 8 Mathieu 2010-04-25 16:12:52 UTC
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.