← Back to team overview

linux-traipu team mailing list archive

[Bug 1066558] Re: .MTS video does not play in Openshot 1.4.3, some errors reported after running in shell

 

Thank's Andy,

I installed melt, I can play the .MTS file with melt 00001.MTS, it looks
fine, but send some reports that I pasted at the end of this message.

When I run openshot does not work, here is the message from openshot, followed by the test to load mlt 
which failed.

What should I do, I tried to reinstall python, which is the latest
version, there are many python modules that may be installed, which
should I install or what should I do with melt to work with Openshot?


 $ openshot

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.4.3)
--------------------------------
Process no longer exists: 17709.  Creating new pid lock file.
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/pymodules/python2.6/openshot/classes/thumbnail.py", line 240, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

*** ERROR: MLT Python bindings failed to import ***

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: /usr/lib/pymodules/python2.6/_mlt.so: undefined symbol: _ZN3Mlt16FilteredConsumerC1ERNS_7ProfileEPcS3_
----------------------------------------------------------------

OpenShot has failed to import some of the Python files or libraries 
required for our application to run.  Here are some trouble shooting
tips:

Tip 1) Check if MLT can be successfully imported in Python.  Run the 
 following commands, and see if any errors are displayed.  If you get 
 an error, you need to investigate the correct way to install MLT.
 NOTE:  Do not type the $ or >> characters in the examples below.

       $ python
       >> import mlt
       >> mlt.Factory().init()

Tip 2) If MLT is working from the first example, then the next tip is 
 to look at the above error messages very closely, and google for more 
 help.  It's likely the problem is already reported, and maybe there is
 a simple work-around.  Also, you can search for bugs or report a new 
 bug at https://bugs.launchpad.net/openshot.  Good luck!

I did the test here is the output:

$ sudo apt-get install python2.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python2.6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
elias@computer:~/tmp$ python
Python 2.6.5 (r265:79063, Oct  1 2012, 22:04:36) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/mlt.py", line 25, in <module>
    _mlt = swig_import_helper()
  File "/usr/lib/pymodules/python2.6/mlt.py", line 21, in swig_import_helper
    _mod = imp.load_module('_mlt', fp, pathname, description)
ImportError: /usr/lib/pymodules/python2.6/_mlt.so: undefined symbol: _ZN3Mlt16FilteredConsumerC1ERNS_7ProfileEPcS3_
>>>

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1066558

Title:
   .MTS video does not play in Openshot 1.4.3, some errors reported
  after running in shell

Status in OpenShot Video Editor:
  Invalid

Bug description:
  I like Openshot, I think it has a great design, thanks to Jonathan. But I have never been able to use it, because I have an AVC/HD camera, a complicated video format, even for the proprietary windows software included with the camera.
  In previous versions I could play inefficiently .MTS files, but in the present version 1.4.3 the screen shows white, and the soun stops every second. (I includded a screenshot attachment).
  The program crashes frequently.  Recently I reinstalled Openshot in this computer:

  $ uname -a
  Linux computer 3.0.0-24-generic #40~lucid1-Ubuntu SMP Wed Jul 25 14:03:01 UTC 2012 x86_64 GNU/Linux

  $ lscpu 
  Architecture:          x86_64
  CPU op-mode(s):        32-bit, 64-bit
  CPU(s):                2
  Thread(s) per core:    1
  Core(s) per socket:    2
  CPU socket(s):         1
  NUMA node(s):          1
  Vendor ID:             GenuineIntel
  CPU family:            6
  Model:                 15
  Stepping:              6
  CPU MHz:               2000.000
  Virtualization:        VT-x
  L1d cache:             32K
  L1i cache:             32K
  L2 cache:              4096K

  Here is the output, when launched from bash.

  $ openshot

  ------------------------- ERROR 1 ------------------------------
  Failed to import 'from openshot import main'
  Error Message: cannot import name main
  ----------------------------------------------------------------
  --------------------------------
     OpenShot (version 1.4.3)
  --------------------------------
  Process no longer exists: 2256.  Creating new pid lock file.

  Detecting formats, codecs, and filters...
  ---
  video_codecs:
    - asv1
    - asv2
    - bmp
    - dnxhd
    - dvvideo
    - ffv1
    - ffvhuff
    - flashsv
    - flv
    - gif
    - h261
    - h263
    - h263p
    - huffyuv
    - jpegls
    - ljpeg
    - mjpeg
    - mpeg1video
    - mpeg2video
    - mpeg4
    - msmpeg4v1
    - msmpeg4v2
    - msmpeg4
    - pam
    - pbm
    - pgm
    - pgmyuv
    - png
    - ppm
    - qtrle
    - rawvideo
    - roqvideo
    - rv10
    - rv20
    - sgi
    - snow
    - svq1
    - targa
    - tiff
    - wmv1
    - wmv2
    - zlib
    - zmbv
    - libdirac
    - libschroedinger
    - libtheora
    - libx264
    - libxvid
  ...
  Warning: Could not get list of video codecs using the MLT API.  Falling back to 'melt' executable.
  ---
  audio_codecs:
    - ac3
    - alac
    - flac
    - mp2
    - nellymoser
    - sonic
    - sonicls
    - vorbis
    - wmav1
    - wmav2
    - pcm_alaw
    - pcm_f32be
    - pcm_f32le
    - pcm_f64be
    - pcm_f64le
    - pcm_mulaw
    - pcm_s8
    - pcm_s16be
    - pcm_s16le
    - pcm_s24be
    - pcm_s24daud
    - pcm_s24le
    - pcm_s32be
    - pcm_s32le
    - pcm_u8
    - pcm_u16be
    - pcm_u16le
    - pcm_u24be
    - pcm_u24le
    - pcm_u32be
    - pcm_u32le
    - pcm_zork
    - roq_dpcm
    - adpcm_adx
    - g726
    - adpcm_ima_qt
    - adpcm_ima_wav
    - adpcm_ms
    - adpcm_swf
    - adpcm_yamaha
    - libgsm
    - libgsm_ms
    - libmp3lame
    - libvorbis
  ...
  Warning: Could not get list of audio codecs using the MLT API.  Falling back to 'melt' executable.
  ---
  formats:
    - ac3
    - adts
    - aiff
    - amr
    - asf
    - ass
    - asf_stream
    - au
    - avi
    - avm2
    - crc
    - daud
    - dirac
    - dnxhd
    - dts
    - dv
    - eac3
    - ffm
    - flac
    - flv
    - framecrc
    - gif
    - gxf
    - h261
    - h263
    - h264
    - image2
    - image2pipe
    - ipod
    - m4v
    - matroska
    - matroska
    - mjpeg
    - mmf
    - mov
    - mp2
    - mp3
    - mp4
    - mpeg
    - vcd
    - mpeg1video
    - dvd
    - svcd
    - mpeg2video
    - vob
    - mpegts
    - mpjpeg
    - mxf
    - mxf_d10
    - null
    - nut
    - ogg
    - alaw
    - mulaw
    - f64be
    - f64le
    - f32be
    - f32le
    - s32be
    - s32le
    - s24be
    - s24le
    - s16be
    - s16le
    - s8
    - u32be
    - u32le
    - u24be
    - u24le
    - u16be
    - u16le
    - u8
    - psp
    - rawvideo
    - rm
    - RoQ
    - rtp
    - swf
    - 3g2
    - 3gp
    - rcv
    - voc
    - wav
    - yuv4mpegpipe
    - alsa
    - oss
  ...
  Warning: Could not get list of formats using the MLT API.  Falling back to 'melt' executable.
  state saved
  on_frmMain_key_press_event

  Here is the version of melt

  $ melt --version
  MLT melt 0.5.4
  Copyright (C) 2002-2009 Ushodaya Enterprises Limited
  <http://www.mltframework.org/>
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  Openshot was installed copying the ppa lines in openshot page, to bash, then sudo apt-get install openshot
  As far as I know, I did not installed melt alone, It maybe was installed as a dependency when Openshot was installed.

  It seems that the problem is the melt version, because I can't neither
  play .MTS videos with  $ melt file.MTS

  Unfortunately Ubuntu freezes the last version of each application in
  each distribution. It could be the source of the problem, because apt-
  get does not install the newest melt version.

  It seems that Jonathan owns a Canon HD camera which records the same
  video format that has been shown problematic with Openshot and other
  applications in my system.

  I hope this helps to improve Openshot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1066558/+subscriptions


References