Fails to export as avi and mpeg2

Bug #528742 reported by jorge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Luciole
New
Undecided
Unassigned

Bug Description

With luciole_0.8.4 (rev. 75) on Ubuntu Karmic.

Exporting as DV works, but both "divx/xvid (avi)" and "DVD (Mpeg2)" fail silently (the exported file is not generated). When this happens, i get the following output on the console:

--------------------------------------------------------------
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/home/xopxe/workspace/luciole/lucioLib/lcl_export/lcl_export_video.py", line 241, in run
    self._mencoder_launcher()
  File "/home/xopxe/workspace/luciole/lucioLib/lcl_export/lcl_export_video.py", line 348, in _mencoder_launcher
    re_res = pattern.search(aLine)
UnboundLocalError: local variable 'aLine' referenced before assignment
--------------------------------------------------------------

mencoder version 2:1.0rc3
ffmpeg version 5:0.5

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Hi,

I not success yet to reproduce the problem.

Could you try the joined mencoder command
Put this file in <luciole_project_dir>/tmp/export

and launch it in a terminal.

Is the mencoder conversion runs corretly ?
Is line like :
Video stream: 671.042 kbit/s (83880 B/s) size: 268417 bytes 3.200 secs 80 frames
appears ?

This is the line processed by the aLine variable

Thks for help !

Revision history for this message
jorge (xxopxe) wrote :

All i get from mencoder is this:

mencoder: symbol lookup error: mencoder: undefined symbol: codec_wav_tags

Seems i have this problem: https://bugs.launchpad.net/ubuntu/+source/mplayer/+bug/461966

So, it is unrelated to luciole: there are some conflicting version of ffmpeg libraries around. Perhaps luciole could detect there was a failure exporting?

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Yes I agree, luciole should detect this kind of problem.

Is there a workaround ? Could be useful for a FAQ
did you have the libavcodec-extra-52 packaged installed ?

Revision history for this message
jorge (xxopxe) wrote :

I don't understand very well what happens, but this seems to work: just downgrade ffmpeg to 4:05 (i had the 5:05 version trough the http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu PPA, now i disabled it).
I still have the libavcodec-extra-52 installed (v. 4:05, needed by ffmpeg), but removed libavcodec52 (which conflict with ffmpeg).

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.