← Back to team overview

openshot.developers team mailing list archive

[Bug 481500] Re: openshot bleeding-edge PPA ubuntu 9.10 karmic export crashes

 

first off: i'm doing this now on a netbook with karmic installed. i compiled and installed x264 and ffmpeg from source following this how-to:
http://ubuntuforums.org/showthread.php?t=786095

now, i completely uninstalled openshot and mlt. i looked at the other
bug report and i followed the advice there and there is no trace of mlt
or openshot anywhere on my system. i did "sudo updatedb" and "locate
openshot" and "locate mlt" and there are only listings for the apt repos
and such (and stuff like htmltree)

now i can do the following command:
rgoebel@rgoebel-netbook:~$ ffmpeg -i 818_1448.MOV -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre hq -threads 0 output.mp4

with the following results:
FFmpeg version SVN-r20544, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Nov 16 2009 18:17:50 with gcc 4.4.1
  configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
  libavutil     50. 4. 0 / 50. 4. 0
  libavcodec    52.41. 0 / 52.41. 0
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1

Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '818_1448.MOV':
  Duration: 00:06:06.63, start: 0.000000, bitrate: 4291 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 4157 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
  Metadata
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    comment         : KODAK Zi8 Pocket Video Camera
    comment-eng     : KODAK Zi8 Pocket Video Camera
[libx264 @ 0x98ba000]using SAR=1/1
[libx264 @ 0x98ba000]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x98ba000]profile High, level 3.1
Output #0, mp4, to 'output.mp4':
    Stream #0.0(eng): Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=10-51, 200 kb/s, 30k tbn, 29.97 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[h264 @ 0x98a2990]B picture before any references, skipping
[h264 @ 0x98a2990]decode_slice_header error
[h264 @ 0x98a2990]no frame!
Error while decoding stream #0.0
[h264 @ 0x98a2990]B picture before any references, skipping
[h264 @ 0x98a2990]decode_slice_header error
[h264 @ 0x98a2990]no frame!
Error while decoding stream #0.0
frame=  253 fps=  2 q=51.0 size=     279kB time=6.87 bitrate= 331.9kbits/s    s/s    

now i'm going to install openshot from synaptic, which should install
mlt and everything else it needs.

drum roll...

rgoebel@rgoebel-netbook:~$ openshot --verbose
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 0.9.53)
--------------------------------
/usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
on_tlbMakeMovie_clicked called with self.tlbMakeMovie
on_cboProjectType_changed
on_cboExportTo_changed
on_btnExportVideo_clicked
consumer_avformat.c: audio codec libfaac unrecognised - ignoring
consumer_avformat.c: Unable to encode audio - disabling audio output.
[mp4 @ 0xa2b79e0]track 1: codec frame size is not set
[h264 @ 0x9cffc00]B picture before any references, skipping
[h264 @ 0x9cffc00]decode_slice_header error
[h264 @ 0x9cffc00]no frame!
Floating point exception

now, i really really appreciate all the work being done with openshot.
i'm really quite surprised at how good it is so early in development.
but could someone at least please tell me that they can export video
using the youtube-hd preset, or any format that uses libfaac, and NOT
get the error? maybe next i need to build mlt from source =/ i would
hope that the version that's coming from the openshot repos would work,
though.

it would also be awesome for anyone else not able to export to libfaac
to speak up.

-- 
openshot bleeding-edge PPA ubuntu 9.10 karmic export crashes
https://bugs.launchpad.net/bugs/481500
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
similar to bug#442647
ubuntu 9.10 karmic 32bit, OpenShot (version 0.9.53) installed from experimental bleeding edge ppa.

i installed openshot with one of the methods prior to the experimental bleeding edge ppa being released, and i edited video from a flip ultraHD and exported to DVD format just fine. i can't recall which method i used, but it could have been either the 9.04 deb or the dev ppa for 9.10. at any rate, i had a previous version installed. i recently bought a kodak zi8 and wanted to try editing video from it in openshot. at the same time i noticed you released the experimental bleeding edge ppa that is supposed to work for 9.10 32bit without breaking other programs, so i wanted to try that. openshot kept crashing whenever i tried to export video to Youtube-HD and Vimeo-HD presets. i think i've narrowed it down to having to be related to the audio codecs, but i'm not sure what to do. i am able to export to the Flickr-HD preset just fine, which uses the same video codec i think but ac3 audio, and it plays in totem. if i pick the Vimeo-HD or Youtube-HD presets and change the audio to ac3 they export fine as well. i tried to read around to figure out what i might need to do to fix this, and ended up completely removing all packages related to mlt, ffmpeg, x264, openshot, and then reinstalling openshot and letting it pick its dependencies from the bleeding edge ppa. anyway here is what i found from running openshot in verbose mode from the terminal, my comments after //

//youtube-HD- uses mp4 and x264 codec for vid, libfaac for aud
on_cboExportTo_changed
on_btnExportVideo_clicked
[mp3 @ 0x9422c70]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x97f8e30]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x8f0a870]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x9231a20]mdb:124, lastbuf:0 skipping granule 0
consumer_avformat.c: audio codec libfaac unrecognised - ignoring
consumer_avformat.c: video codec libx264 unrecognised - ignoring
consumer_avformat.c: Unable to encode audio - disabling audio output.
[mp4 @ 0x8f1ff80]track 1: codec frame size is not set
[mp3 @ 0x9440210]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x94175f0]mdb:124, lastbuf:0 skipping granule 0
Floating point exception
//crashed

//flickr-HD- uses mov and x264 codec for vid, ac3 for aud
on_cboExportTo_changed
on_btnExportVideo_clicked
[mp3 @ 0x8dcd370]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x8dcd970]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x8dca470]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x8c6e010]mdb:124, lastbuf:0 skipping granule 0
consumer_avformat.c: video codec libx264 unrecognised - ignoring
[mp3 @ 0x8901f10]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0x8e901f0]mdb:124, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[h264 @ 0x901ad00]B picture before any references, skipping
[h264 @ 0x901ad00]decode_slice_header error
[h264 @ 0x901ad00]no frame!
[h264 @ 0x901ad00]B picture before any references, skipping
[h264 @ 0x901ad00]decode_slice_header error
[h264 @ 0x901ad00]no frame!
on_frmExportVideo_destroy
//video exported, had to install libmpeg4ip-0 to view in totem

//youtube-HD, just changed advanced audio to ac3, exports
on_cboExportTo_changed
on_btnExportVideo_clicked
[mp3 @ 0xa8f14e0]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0xa8f1950]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0xa7cb700]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0xa7cbd20]mdb:124, lastbuf:0 skipping granule 0
consumer_avformat.c: video codec libx264 unrecognised - ignoring
[mp3 @ 0xa59cb40]mdb:124, lastbuf:0 skipping granule 0
[mp3 @ 0xa90a830]mdb:124, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[h264 @ 0xac81060]B picture before any references, skipping
[h264 @ 0xac81060]decode_slice_header error
[h264 @ 0xac81060]no frame!
[h264 @ 0xac81060]B picture before any references, skipping
[h264 @ 0xac81060]decode_slice_header error
[h264 @ 0xac81060]no frame!
on_frmExportVideo_destroy
//video exported fine

//installed lame and ubuntu-restricted-extras, and faac
//same exact crash errors when trying to export with libfaac or lamemp3 audio

at this point i have the following versions installed:
mlt-python - 0.4.7e-0ubuntu4~ppa1k
libmlt++2 - 0.4.4-2build1
openshot - 0.9.53-0ubuntu4~ppa1k
libmlt-data - 0.4.4-2build1
libmlt1 - 0.4.4-2build1
frei0r-plugins 1.1.22git20090409+repack-0ubuntu1
ffmpeg - 4:0.5+svn20090706-2ubuntu2
gstreamer0.10-ffmpeg - 0.10.9-1
libavcodec52 - 4:0.5+svn20090706-2ubuntu2
libavdevice52 - 4:0.5+svn20090706-2ubuntu2
libavfilter0 - 4:0.5+svn20090706-2ubuntu2
libavformat52 - 4:0.5+svn20090706-2ubuntu2
libavutil49 - 4:0.5+svn20090706-2ubuntu2
libmpeg4ip-0 - 1:1.6dfsg-0.2ubuntu5
libpostproc51 - 4:0.5+svn20090706-2ubuntu2
libswscale0 - 4:0.5+svn20090706-2ubuntu2
x264 - 1:0.svn20090621+git364d7d-0ubuntu2
libx264-67 - 1:0.svn20090621+git364d7d-0ubuntu2
faac - 1.26-0.1ubuntu2
libfaac0 -  - 1.26-0.1ubuntu2
lame - 3.98.2+debian-0ubuntu2
libmp3lame0 - 3.98.2+debian-0ubuntu2
sox - 14.3.0-1build1

let me know if i forgot something.





References