thumbnail creation error

Here is the logs i got :

==================================================================
THUMB CREATION
==================================================================

Thumb Creation Command: /usr/bin/ffmpeg -i /var/www/cumulusclips/cc-content/uploads/temp/8gfrJJNfVq07xDpReA8x.wmv -ss 2898 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -t 1 -r 1 -f mjpeg /var/www/cumulusclips/cc-content/uploads/thumbs/8gfrJJNfVq07xDpReA8x.jpg >> /var/www/cumulusclips/cc-core/logs/8gfrJJNfVq07xDpReA8x.log 2>&1Thumb Creation Output:


ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Mar 16 2015 13:28:23 with gcc 4.6.3
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 10.00 (10/1)
Input #0, asf, from '/var/www/cumulusclips/cc-content/uploads/temp/8gfrJJNfVq07xDpReA8x.wmv':
Metadata:
WMFSDKVersion : 12.0.7600.16385
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1
VBR Peak : 186
Buffer Average : 153
Duration: 01:36:36.81, start: 0.000000, bitrate: 163 kb/s
Stream #0.0(eng): Audio: wmav2, 44100 Hz, 1 channels, s16, 48 kb/s
Stream #0.1(eng): Video: wmv1, yuv420p, 1024x728, 111 kb/s, 10 tbr, 1k tbn, 1k tbc
Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
[buffer @ 0x807a880] w:1024 h:728 pixfmt:yuv420p
[scale @ 0x807e060] w:1024 h:728 fmt:yuv420p -> w:640 h:454 fmt:yuvj420p flags:0x4
Output #0, mjpeg, to '/var/www/cumulusclips/cc-content/uploads/thumbs/8gfrJJNfVq07xDpReA8x.jpg':
Metadata:
WMFSDKVersion : 12.0.7600.16385
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1
VBR Peak : 186
Buffer Average : 153
encoder : Lavf53.21.1
Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x454, q=2-31, 200 kb/s, 90k tbn, 1 tbc
Stream mapping:
Stream #0.1 -> #0.0
Press ctrl-c to stop encoding
[buffer @ 0x807a880] Buffering several frames is not supported. Please consume all available frames before adding a new one.
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
Segmentation fault (core dumped)

=========================================================

Please kindly your suggestion for this matter.

Thank you

Comments

  • Your FFMPEG is throwing a segmentation fault error on your server. The cause could either be FFMPEG bug or issue with the machine. Let's try to update FFMPEG first to see if that fixes the issue.

    Please follow the instructions in the following post to upgrade to the latest version:

    http://cumulusclips.org/forums/index.php?p=/discussion/1370/how-to-use-static-ffmpeg-build-with-cumulusclip
  • I've follow the instruction and use the 32bit version. Error still occured but the log statement is different.
    here is the log :
    Past duration 0.809990 too large 138184kB time=01:34:55.16 bitrate= 198.8kbits/s dup=1 drop=0
    Last message repeated 118 times
    Past duration 0.809990 too large 138362kB time=01:35:06.68 bitrate= 198.6kbits/s dup=1 drop=0
    Last message repeated 117 times
    Past duration 0.809990 too large 138503kB time=01:35:18.57 bitrate= 198.4kbits/s dup=1 drop=0
    Last message repeated 120 times
    Past duration 0.809990 too large 138685kB time=01:35:30.46 bitrate= 198.3kbits/s dup=1 drop=0
    Last message repeated 118 times
    Past duration 0.809990 too large 138827kB time=01:35:42.72 bitrate= 198.0kbits/s dup=1 drop=0
    Last message repeated 119 times
    Past duration 0.809990 too large 139007kB time=01:35:54.61 bitrate= 197.9kbits/s dup=1 drop=0
    Last message repeated 116 times
    Past duration 0.809990 too large 139147kB time=01:36:06.50 bitrate= 197.7kbits/s dup=1 drop=0
    Last message repeated 92 times
    Past duration 0.689995 too large
    Past duration 0.809990 too large
    Past duration 0.799995 too large 139357kB time=01:36:21.19 bitrate= 197.5kbits/s dup=49 drop=0
    Past duration 0.889992 too large
    frame=57969 fps=225 q=-1.0 Lsize= 142719kB time=01:36:36.82 bitrate= 201.7kbits/s dup=66 drop=64
    video:72214kB audio:67933kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.835807%
    [libx264 @ 0xb943740] frame I:275 Avg QP: 0.12 size: 64682
    [libx264 @ 0xb943740] frame P:15250 Avg QP: 0.09 size: 2695
    [libx264 @ 0xb943740] frame B:42444 Avg QP: 3.98 size: 355
    [libx264 @ 0xb943740] consecutive B-frames: 2.2% 0.5% 0.6% 96.8%
    [libx264 @ 0xb943740] mb I I16..4: 72.3% 2.5% 25.1%
    [libx264 @ 0xb943740] mb P I16..4: 0.8% 0.1% 0.6% P16..4: 1.1% 0.2% 0.2% 0.0% 0.0% skip:97.1%
    [libx264 @ 0xb943740] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.7% 0.0% 0.0% direct: 0.1% skip:99.1% L0:43.8% L1:53.6% BI: 2.6%
    [libx264 @ 0xb943740] final ratefactor: -20.02
    [libx264 @ 0xb943740] 8x8 transform intra:3.3% inter:26.2%
    [libx264 @ 0xb943740] coded y,uvDC,uvAC intra: 41.7% 44.7% 44.5% inter: 0.3% 0.5% 0.5%
    [libx264 @ 0xb943740] i16 v,h,dc,p: 65% 33% 1% 0%
    [libx264 @ 0xb943740] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 28% 25% 2% 2% 2% 4% 2% 3%
    [libx264 @ 0xb943740] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 47% 12% 3% 3% 3% 5% 3% 5%
    [libx264 @ 0xb943740] i8c dc,h,v,p: 63% 26% 9% 2%
    [libx264 @ 0xb943740] Weighted P-Frames: Y:0.1% UV:0.0%
    [libx264 @ 0xb943740] ref P L0: 81.0% 5.8% 9.2% 4.0% 0.0%
    [libx264 @ 0xb943740] ref B L0: 82.0% 16.9% 1.2%
    [libx264 @ 0xb943740] ref B L1: 98.8% 1.2%
    [libx264 @ 0xb943740] kb/s:102.05

    Please kindly your advice
  • Is that the entire log file? It looks like parts are missing? Please purge all logs and retry your upload again. When it fails, provide both logs by attaching them here.
This discussion has been closed.