Comment 11 for bug 481500

Revision history for this message
sk8dork (sk8dork) wrote :

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.