Hello again,

I'm running Plumi3rc3 on Mac OS 10.5 server as you probably know. Everything is 
working beautifuly now, except for the ffmpeg transcoding of files into MP4's. 
The Theora files are created in no time what so ever the same with the 
thumbnail but the MP4's fail.

I've done a recompile of FFMPEG using macports but still no luck with getting 
this to work..

Here's the log from transcodedaemon -fg

------------

athena:athena admin$ sudo ./bin/transcodedaemon fg
Password:
2010/05/21 15:30 +0100 [-] Log opened.
2010/05/21 15:30 +0100 [-] twistd 2.5.0 
(/Users/admin/Plone/Python-2.4/bin/python 2.4.6) starting up
2010/05/21 15:30 +0100 [-] reactor class: <class 
'twisted.internet.selectreactor.SelectReactor'>
2010/05/21 15:30 +0100 [-] Loading 
/Users/admin/Plone/athena/src/collective.transcode.daemon/collective/transcode/daemon/common/transcodedaemon.py...
2010/05/21 15:30 +0100 [-] Initializing
2010/05/21 15:30 +0100 [-] Launched http channel
2010/05/21 15:30 +0100 [-] Launched TranscodeDaemon scheduler thread....
2010/05/21 15:30 +0100 [-] Loaded.
2010/05/21 15:30 +0100 [-] twisted.web2.channel.http.HTTPFactory starting on 
8888
2010/05/21 15:30 +0100 [-] Starting factory 
<twisted.web2.channel.http.HTTPFactory instance at 0x11de828>
2010/05/21 15:30 +0100 [-] Scheduler thread running
2010/05/21 15:31 +0100 [-] ['jpeg', 'mp4', 'ogg']
2010/05/21 15:31 +0100 [-] New job
2010/05/21 15:31 +0100 [-] DOWNLOADING 
http://athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi
2010/05/21 15:31 +0100 [-] RUNNING: scripts/getThumb /tmp/tmpMEmCa5.avi 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/jpeg/cartoon.jpg
FFmpeg version 0.5.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/opt/local --disable-vhook --enable-gpl 
--enable-postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf 
--enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac 
--enable-libschroedinger --enable-libfaac --enable-libfaad --enable-libxvid 
--enable-libx264 --enable-nonfree --mandir=/opt/local/share/man --enable-shared 
--enable-pthreads --cc=/usr/bin/gcc-4.0 --arch=i386
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    1. 4. 0 /  1. 4. 0
  libswscale     1. 7. 1 /  1. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on May 21 2010 13:53:07, gcc: 4.0.1 (Apple Inc. build 5493)
Input #0, avi, from '/tmp/tmpMEmCa5.avi':
  Duration: 00:00:08.06, start: 0.000000, bitrate: 3461 kb/s
    Stream #0.0: Video: msvideo1, rgb555, 320x240, 15 tbr, 15 tbn, 15 tbc
Output #0, image2, to 
'transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/jpeg/cartoon.jpg':
    Stream #0.0: Video: mjpeg, yuvj420p, 320x270, q=2-31, 200 kb/s, 90k tbn, 15 
tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=    1 fps=  0 q=3.4 Lsize=      -0kB time=0.07 bitrate=  -2.6kbits/s    
video:10kB audio:0kB global headers:0kB muxing overhead -100.204975%
2010/05/21 15:31 +0100 [-] Transcoder returned 0 {'path': 
'transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/jpeg/cartoon.jpg',
 'type': 'image/jpeg'}
2010/05/21 15:31 +0100 [-] 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/jpeg/cartoon.jpg
2010/05/21 15:31 +0100 [-] New job
2010/05/21 15:31 +0100 [-]  called back plone
2010/05/21 15:31 +0100 [-] callbackURL = 
http://admin:*******[email protected]/videos/avi/@@streaming_RPC
2010/05/21 15:31 +0100 [-] DOWNLOADING 
http://athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi
2010/05/21 15:31 +0100 [-] callback return for profile jpeg is SUCCESS 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/jpeg/cartoon.jpg
2010/05/21 15:31 +0100 [-] RUNNING: scripts/transcodeMp4 /tmp/tmp-NyMC_.avi 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/mp4/cartoon.mp4
FFmpeg version 0.5.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/opt/local --disable-vhook --enable-gpl 
--enable-postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf 
--enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac 
--enable-libschroedinger --enable-libfaac --enable-libfaad --enable-libxvid 
--enable-libx264 --enable-nonfree --mandir=/opt/local/share/man --enable-shared 
--enable-pthreads --cc=/usr/bin/gcc-4.0 --arch=i386
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    1. 4. 0 /  1. 4. 0
  libswscale     1. 7. 1 /  1. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on May 21 2010 13:53:07, gcc: 4.0.1 (Apple Inc. build 5493)
Input #0, avi, from '/tmp/tmp-NyMC_.avi':
  Duration: 00:00:08.06, start: 0.000000, bitrate: 3461 kb/s
    Stream #0.0: Video: msvideo1, rgb555, 320x240, 15 tbr, 15 tbn, 15 tbc
Output #0, mp4, to 
'transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/mp4/cartoon.mp4':
    Stream #0.0: Video: libx264, yuv420p, 640x480, q=10-51, 200 kb/s, 90k tbn, 
50 tbc
Stream mapping:
  Stream #0.0 -> #0.0
[libx264 @ 0x1804600]using cpu capabilities: none!
[libx264 @ 0x1804600]profile High, level 3.1
Press [q] to stop encoding
frame=  121 fps=  2 q=-1.0 Lsize=     827kB time=7.96 bitrate= 850.7kbits/s    
its/s    
video:824kB audio:0kB global headers:0kB muxing overhead 0.358519%
[libx264 @ 0x1804600]frame I:1     Avg QP:21.28  size: 10859
[libx264 @ 0x1804600]frame P:52    Avg QP:22.80  size:  6757
[libx264 @ 0x1804600]frame B:68    Avg QP:25.85  size:  7068
[libx264 @ 0x1804600]consecutive B-frames: 23.3%  1.7%  5.0% 70.0%
[libx264 @ 0x1804600]mb I  I16..4: 44.8% 52.7%  2.5%
[libx264 @ 0x1804600]mb P  I16..4:  7.7% 12.6%  1.2%  P16..4: 22.1% 11.6%  7.5% 
 0.0%  0.0%    skip:37.3%
[libx264 @ 0x1804600]mb B  I16..4:  3.7%  6.4%  0.4%  B16..8: 30.2% 23.5%  5.9% 
 direct:16.0%  skip:13.9%  L0:56.9% L1:35.6% BI: 7.5%
[libx264 @ 0x1804600]8x8 transform intra:59.1% inter:57.8%
[libx264 @ 0x1804600]direct mvs  spatial:98.5% temporal:1.5%
[libx264 @ 0x1804600]coded y,uvDC,uvAC intra: 41.1% 94.9% 15.9% inter: 29.3% 
58.8% 2.8%
[libx264 @ 0x1804600]i16 v,h,dc,p: 27% 48% 13% 13%
[libx264 @ 0x1804600]i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 28% 26%  4%  3%  3%  4% 
 3%  7%
[libx264 @ 0x1804600]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 29% 14%  6%  6%  6%  7% 
 5%  8%
[libx264 @ 0x1804600]Weighted P-Frames: Y:3.8%
[libx264 @ 0x1804600]ref P L0: 53.3% 11.3%  8.3% 17.9%  8.2%  1.1%
[libx264 @ 0x1804600]ref B L0: 56.5%  8.4% 35.1%
[libx264 @ 0x1804600]kb/s:836.53
scripts/transcodeMp4: line 4: qt-faststart: command not found
mv: 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/mp4/cartoon.mp4.fst:
 No such file or directory
2010/05/21 15:32 +0100 [-] Transcoder returned 256 {'path': 
'transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/mp4/cartoon.mp4',
 'type': 'video/mp4'}
2010/05/21 15:32 +0100 [-] 
/Users/admin/Plone/athena/eggs/zope.app.twisted-3.5.0-py2.4.egg/twisted/internet/defer.py:259:
 exceptions.DeprecationWarning: Don't pass strings (like 'FAIL 256') to 
failure.Failure (replacing with a DefaultException).
2010/05/21 15:32 +0100 [-] New job
2010/05/21 15:32 +0100 [-]  called back plone
2010/05/21 15:32 +0100 [-] DOWNLOADING 
http://athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi
2010/05/21 15:32 +0100 [-] callbackURL = 
http://admin:*******[email protected]/videos/avi/@@streaming_RPC
2010/05/21 15:32 +0100 [-] callback return for profile mp4 is [Failure 
instance: Traceback (failure with no frames): 
twisted.python.failure.DefaultException: FAIL 256
2010/05/21 15:32 +0100 [-] ]
2010/05/21 15:32 +0100 [-] RUNNING: scripts/transcodeTheora /tmp/tmpabzAD2.avi 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/ogg/cartoon.ogv
Input #0, avi, from '/tmp/tmpabzAD2.avi':
  Duration: 00:00:08.06, start: 0.000000, bitrate: 3461 kb/s
    Stream #0.0: Video: msvideo1, rgb555le, 320x240, 15 tbr, 15 tbn, 15 tbc

  0:00:08.06 audio: 0kbps video: 123kbps, time elapsed: 00:00:01            
2010/05/21 15:32 +0100 [-] Transcoder returned 0 {'path': 
'transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/ogg/cartoon.ogv',
 'type': 'video/ogg'}
2010/05/21 15:32 +0100 [-] 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/ogg/cartoon.ogv
2010/05/21 15:32 +0100 [-] called back plone
2010/05/21 15:32 +0100 [-] callbackURL = 
http://admin:*******[email protected]/videos/avi/@@streaming_RPC
2010/05/21 15:32 +0100 [-] callback return for profile ogg is SUCCESS 
transcoded/http/athena.students.sthelens.ac.uk/videos/avi/download/video_file/cartoon.avi/ogg/cartoon.ogv
^C2010/05/21 15:34 +0100 [-] Received SIGINT, shutting down.
2010/05/21 15:34 +0100 [-] (Port 8888 Closed)
2010/05/21 15:34 +0100 [-] Stopping factory 
<twisted.web2.channel.http.HTTPFactory instance at 0x11de828>
2010/05/21 15:34 +0100 [-] reactor stopped
2010/05/21 15:34 +0100 [-]  New job
2010/05/21 15:34 +0100 [-] Main loop terminated.
2010/05/21 15:34 +0100 [-] Server Shut Down.

--------------------------

Obviously any help anyone can shed on this will be greatly appreciated and you 
will be credited when this is online and presented to the college's board.

Many thanks
Andy Thompson
_____________
IT Technician
Facilities Management
St.Helens College
http://www.sthelens.ac.uk
t:01744623328
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to