← Back to team overview

openshot.bugs team mailing list archive

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

 

Thanks Andy,
this last issue is solved!

I found the solution in this bug report:

https://bugs.launchpad.net/openshot/+bug/1036097

For those who have the same problem, be aware that python-mlt is not
automatically upgraded.

When python failed to load melt, I marked to complete remove in synaptic
package manager, then I installed again, but that did not remove the
python-mlt, that I found searching mlt in the installed section, where I
saw it was a 0.5.x version, so I removed it manually, and installed the
last version 0.8.2 at this time.

-- 
You received this bug notification because you are a member of OpenShot
Bugs, 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