Fails to create video when image format is 4:3 and video format is HD 720 or 1080

Bug #629930 reported by Richard Griswold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
videoporama (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: videoporama

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.

~ > lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.

~ > apt-cache policy videoporama
videoporama:
  Installed: 0.7.6-0ubuntu3
  Candidate: 0.7.6-0ubuntu3
  Version table:
 *** 0.7.6-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

3) What you expected to happen

a) Select pictures for the video
b) Set the image format to "Normal - 4:3"
c) Set the video format to "HD 720" or "HD 1080"
d) Set the remaining parameters (output file format, sound file, and output file)
e) Click "Preview montage" and check the preview
f) Click "Start processing" and watch the progress bar in the dialog as the video file is created
g) Play the video file

4) What happened instead

When I click "Start processing", the processing dialog comes up, but nothing happens. The console has the following error:

Traceback (most recent call last):
  File "/usr/share/videoporama/process.py", line 617, in run
    famg=self.choiceTransition(transitype,im1,im2,dissolve,optTr)
  File "/usr/share/videoporama/process.py", line 444, in choiceTransition
    resu=self.fadepil(previous,image,dissolve)
  File "/usr/share/videoporama/process.py", line 302, in fadepil
    imf=Image.blend(previouspil,impil,percent)
  File "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 2008, in blend
    return im1._new(core.blend(im1.im, im2.im, alpha))
ValueError: images do not match

I traced this down to a mismatch in size between the background image and the first image. Videoporama creates a background image ("black.ppm" in the temp directory) that is 1920x1080, but when it processes the rest of the images, it sets the size to 1440x1080. The original images were all 4000x3000.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: videoporama 0.7.6-0ubuntu3 [modified: usr/share/videoporama/process.py]
Uname: Linux 2.6.34-020634-generic x86_64
NonfreeKernelModules: vboxnetadp vboxnetflt vboxdrv
Architecture: amd64
Date: Fri Sep 3 16:13:39 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: videoporama

Revision history for this message
Richard Griswold (richgriswold) wrote :
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to reproduce this with the latest upstream release available in Maverick.

Changed in videoporama (Ubuntu):
status: New → Incomplete
Revision history for this message
Richard Griswold (richgriswold) wrote :

I installed the latest upstream from Maverick (0.8.0), and it fixes this problem. However, I discovered that version will not open or save project files that have non-ASCII characters in the path (for example /home/user/Perú/intro.idv), but that's a different bug for a different report...

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Yes, please file a new bug.
Closing this for now.

Changed in videoporama (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.