← Back to team overview

linux-traipu team mailing list archive

[Bug 1242585] [NEW] Exporting videos in openshot results in a segfault

 

Public bug reported:

I have been trying to edit a video for my blog, I usually do this by
importing the clips (in mp4 format from my nexus 4) into openshot, then
make any changes, edits and add any effects and such like.

Then I usually export the file by selecting 'profile - web'

Then for target - 'youtube hd'

For video profile ' hd 720 25 fps'

For quality - 'high'

I have used openshot like this for a while now, and had no issues,
however it now crashes everytime, in fact after going through various
things I can only seem to get it to export to ogg, I have the required
packages installed to play various formats (free and non free)

Odd thing is it was working when I first installed Saucy (13.10 64bit) I
have tried using openshot from the development ppa, I've also tried
using ffmpeg from ppa:jon-severinsson/ffmpeg and again it crashes.

This is the output from running openshot in terminal.


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

Detecting formats, codecs, and filters...
---
video_codecs:
  - a64multi
  - a64multi5
  - amv
  - asv1
  - asv2
  - avrp
  - bmp
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - ffv1
  - ffvhuff
  - flashsv
  - flashsv2
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - j2k
  - jpegls
  - ljpeg
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - msvideo1
  - pam
  - pbm
  - pcx
  - pgm
  - pgmyuv
  - png
  - ppm
  - prores
  - qtrle
  - r10k
  - r210
  - rawvideo
  - roqvideo
  - rv10
  - rv20
  - sgi
  - snow
  - svq1
  - targa
  - tiff
  - v210
  - v308
  - v410
  - wmv1
  - wmv2
  - xwd
  - y41p
  - yuv4
  - zlib
  - zmbv
  - libopenjpeg
  - libschroedinger
  - libtheora
  - libvpx
  - libx264
  - libx264rgb
...
---
audio_codecs:
  - aac
  - ac3
  - ac3_fixed
  - alac
  - dca
  - eac3
  - flac
  - g723_1
  - mp2
  - nellymoser
  - real_144
  - sonic
  - sonicls
  - vorbis
  - wmav1
  - wmav2
  - roq_dpcm
  - adpcm_adx
  - g722
  - g726
  - adpcm_ima_qt
  - adpcm_ima_wav
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libgsm
  - libgsm_ms
  - libmp3lame
  - libopencore_amrnb
  - libspeex
  - libvo_aacenc
  - libvo_amrwbenc
  - libvorbis
...
---
formats:
  - a64
  - ac3
  - adts
  - adx
  - aiff
  - amr
  - asf
  - ass
  - asf_stream
  - au
  - avi
  - avm2
  - bit
  - caf
  - cavsvideo
  - crc
  - daud
  - dirac
  - dnxhd
  - dts
  - dv
  - eac3
  - ffm
  - ffmetadata
  - filmstrip
  - flac
  - flv
  - framecrc
  - framemd5
  - g722
  - g723_1
  - gif
  - gxf
  - h261
  - h263
  - h264
  - image2
  - image2pipe
  - ipod
  - ismv
  - ivf
  - latm
  - m4v
  - md5
  - matroska
  - matroska
  - microdvd
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - null
  - nut
  - ogg
  - oma
  - alaw
  - mulaw
  - f64be
  - f64le
  - f32be
  - f32le
  - s32be
  - s32le
  - s24be
  - s24le
  - s16be
  - s16le
  - s8
  - u32be
  - u32le
  - u24be
  - u24le
  - u16be
  - u16le
  - u8
  - psp
  - rawvideo
  - rm
  - RoQ
  - rso
  - rtp
  - rtsp
  - sap
  - segment
  - smjpeg
  - sox
  - spdif
  - srt
  - swf
  - 3g2
  - 3gp
  - mkvtimestamp_v2
  - truehd
  - rcv
  - voc
  - wav
  - webm
  - wtv
  - yuv4mpegpipe
  - alsa
  - oss
  - sdl
...
state saved
on_tlbImportFiles_clicked called with self.GtkToolButton
[swscaler @ 0x7f02388603a0] Warning: data is not aligned! This can lead to a speedloss
project state modified
state saved
project state modified
state saved
project state modified
state saved
on_mnuFade_activate
project state modified
state saved
on_nbFiles_switch_page
Warning: effect not found in your version of Frei0r: frei0r.alphagrad
Warning: effect not found in your version of Frei0r: frei0r.coloradj_RGB
Warning: effect not found in your version of Frei0r: frei0r.defish0r
Warning: effect not found in your version of Frei0r: frei0r.sharpness
Warning: effect not found in your version of Frei0r: frei0r.vignette
Init Effects tab
project state modified
state saved
on_tlbUndo_clicked
on_mnuMakeMovie1_activate called with self.GtkImageMenuItem
on_tlbMakeMovie_clicked called with self.GtkImageMenuItem
on_cboExportType_changed
on_cboUploadServices_changed
on_cboProjectType_changed
on_cboExportTo_changed
on_cboProjectType_changed
on_btnExportVideo_clicked
NEW SDL CONSUMER
Segmentation fault (core dumped)

If anything further is needed please let me know.

I'm running 13.10 64bit.

openshot - 1.4.3-1
MLT/melt - 0.8.8-2
ffmpeg - 7:0.10.9-1~saucy1 (also tried with ffmpeg version - 6:0.8.7-1ubuntu2)

I have also run and attached the pythong debug script.

** Affects: openshot
     Importance: Undecided
         Status: New

** Attachment added: "openshot debug"
   https://bugs.launchpad.net/bugs/1242585/+attachment/3885938/+files/openshot.debug

-- 
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/1242585

Title:
  Exporting videos in openshot results in a segfault

Status in OpenShot Video Editor:
  New

Bug description:
  I have been trying to edit a video for my blog, I usually do this by
  importing the clips (in mp4 format from my nexus 4) into openshot,
  then make any changes, edits and add any effects and such like.

  Then I usually export the file by selecting 'profile - web'

  Then for target - 'youtube hd'

  For video profile ' hd 720 25 fps'

  For quality - 'high'

  I have used openshot like this for a while now, and had no issues,
  however it now crashes everytime, in fact after going through various
  things I can only seem to get it to export to ogg, I have the required
  packages installed to play various formats (free and non free)

  Odd thing is it was working when I first installed Saucy (13.10 64bit)
  I have tried using openshot from the development ppa, I've also tried
  using ffmpeg from ppa:jon-severinsson/ffmpeg and again it crashes.

  This is the output from running openshot in terminal.

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

  Detecting formats, codecs, and filters...
  ---
  video_codecs:
    - a64multi
    - a64multi5
    - amv
    - asv1
    - asv2
    - avrp
    - bmp
    - cljr
    - dnxhd
    - dpx
    - dvvideo
    - ffv1
    - ffvhuff
    - flashsv
    - flashsv2
    - flv
    - gif
    - h261
    - h263
    - h263p
    - huffyuv
    - j2k
    - jpegls
    - ljpeg
    - mjpeg
    - mpeg1video
    - mpeg2video
    - mpeg4
    - msmpeg4v2
    - msmpeg4
    - msvideo1
    - pam
    - pbm
    - pcx
    - pgm
    - pgmyuv
    - png
    - ppm
    - prores
    - qtrle
    - r10k
    - r210
    - rawvideo
    - roqvideo
    - rv10
    - rv20
    - sgi
    - snow
    - svq1
    - targa
    - tiff
    - v210
    - v308
    - v410
    - wmv1
    - wmv2
    - xwd
    - y41p
    - yuv4
    - zlib
    - zmbv
    - libopenjpeg
    - libschroedinger
    - libtheora
    - libvpx
    - libx264
    - libx264rgb
  ...
  ---
  audio_codecs:
    - aac
    - ac3
    - ac3_fixed
    - alac
    - dca
    - eac3
    - flac
    - g723_1
    - mp2
    - nellymoser
    - real_144
    - sonic
    - sonicls
    - vorbis
    - wmav1
    - wmav2
    - roq_dpcm
    - adpcm_adx
    - g722
    - g726
    - adpcm_ima_qt
    - adpcm_ima_wav
    - adpcm_ms
    - adpcm_swf
    - adpcm_yamaha
    - libgsm
    - libgsm_ms
    - libmp3lame
    - libopencore_amrnb
    - libspeex
    - libvo_aacenc
    - libvo_amrwbenc
    - libvorbis
  ...
  ---
  formats:
    - a64
    - ac3
    - adts
    - adx
    - aiff
    - amr
    - asf
    - ass
    - asf_stream
    - au
    - avi
    - avm2
    - bit
    - caf
    - cavsvideo
    - crc
    - daud
    - dirac
    - dnxhd
    - dts
    - dv
    - eac3
    - ffm
    - ffmetadata
    - filmstrip
    - flac
    - flv
    - framecrc
    - framemd5
    - g722
    - g723_1
    - gif
    - gxf
    - h261
    - h263
    - h264
    - image2
    - image2pipe
    - ipod
    - ismv
    - ivf
    - latm
    - m4v
    - md5
    - matroska
    - matroska
    - microdvd
    - mjpeg
    - mlp
    - mmf
    - mov
    - mp2
    - mp3
    - mp4
    - mpeg
    - vcd
    - mpeg1video
    - dvd
    - svcd
    - mpeg2video
    - vob
    - mpegts
    - mpjpeg
    - mxf
    - mxf_d10
    - null
    - nut
    - ogg
    - oma
    - alaw
    - mulaw
    - f64be
    - f64le
    - f32be
    - f32le
    - s32be
    - s32le
    - s24be
    - s24le
    - s16be
    - s16le
    - s8
    - u32be
    - u32le
    - u24be
    - u24le
    - u16be
    - u16le
    - u8
    - psp
    - rawvideo
    - rm
    - RoQ
    - rso
    - rtp
    - rtsp
    - sap
    - segment
    - smjpeg
    - sox
    - spdif
    - srt
    - swf
    - 3g2
    - 3gp
    - mkvtimestamp_v2
    - truehd
    - rcv
    - voc
    - wav
    - webm
    - wtv
    - yuv4mpegpipe
    - alsa
    - oss
    - sdl
  ...
  state saved
  on_tlbImportFiles_clicked called with self.GtkToolButton
  [swscaler @ 0x7f02388603a0] Warning: data is not aligned! This can lead to a speedloss
  project state modified
  state saved
  project state modified
  state saved
  project state modified
  state saved
  on_mnuFade_activate
  project state modified
  state saved
  on_nbFiles_switch_page
  Warning: effect not found in your version of Frei0r: frei0r.alphagrad
  Warning: effect not found in your version of Frei0r: frei0r.coloradj_RGB
  Warning: effect not found in your version of Frei0r: frei0r.defish0r
  Warning: effect not found in your version of Frei0r: frei0r.sharpness
  Warning: effect not found in your version of Frei0r: frei0r.vignette
  Init Effects tab
  project state modified
  state saved
  on_tlbUndo_clicked
  on_mnuMakeMovie1_activate called with self.GtkImageMenuItem
  on_tlbMakeMovie_clicked called with self.GtkImageMenuItem
  on_cboExportType_changed
  on_cboUploadServices_changed
  on_cboProjectType_changed
  on_cboExportTo_changed
  on_cboProjectType_changed
  on_btnExportVideo_clicked
  NEW SDL CONSUMER
  Segmentation fault (core dumped)

  If anything further is needed please let me know.

  I'm running 13.10 64bit.

  openshot - 1.4.3-1
  MLT/melt - 0.8.8-2
  ffmpeg - 7:0.10.9-1~saucy1 (also tried with ffmpeg version - 6:0.8.7-1ubuntu2)

  I have also run and attached the pythong debug script.

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


Follow ups

References