Videos Uploading Error

videos were uploading fine before but when i upload after couple of days they are not converting
please solve this issue as soon as possible











==================================================================
H.264 ENCODING
==================================================================

H.264 Encoding Command: /home/alteryou/public_html/cc-core/system/bin/ffmpeg-64-bit/ffmpeg -i /home/alteryou/public_html/cc-content/uploads/temp/iKAAZKZdqvSVRinaRO5O.mp4 -vcodec libx264 -vf "scale=1280:trunc(ow/a/2)*2" -acodec aac -ab 128k -ar 44100 -f mp4 -strict -2 /home/alteryou/public_html/cc-content/uploads/h264/iKAAZKZdqvSVRinaRO5O_temp.mp4 >> /home/alteryou/public_html/cc-core/logs/iKAAZKZdqvSVRinaRO5O.log 2>&1

H.264 Encoding Output:


ffmpeg version 2.8.5-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.3 (Debian 4.9.3-10)
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --cc=gcc-4.9
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/alteryou/public_html/cc-content/uploads/temp/iKAAZKZdqvSVRinaRO5O.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
creation_time : 2012-04-07 20:41:19
encoder : Lavf52.54.0
Duration: 00:04:08.33, start: 0.000000, bitrate: 530 kb/s
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 320x240 [SAR 4:3 DAR 16:9], 386 kb/s, SAR 213:160 DAR 71:40, 15 fps, 15 tbr, 15 tbn, 15 tbc (default)
Metadata:
creation_time : 2012-04-07 20:41:19
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 140 kb/s (default)
Metadata:
creation_time : 2012-04-07 20:41:19
handler_name : SoundHandler
[libx264 @ 0x428f880] using SAR=213/160
[libx264 @ 0x428f880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x428f880] profile High, level 3.2
[libx264 @ 0x428f880] 264 - core 148 r209 7599210 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/home/alteryou/public_html/cc-content/uploads/h264/iKAAZKZdqvSVRinaRO5O_temp.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf56.40.101
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x960 [SAR 213:160 DAR 71:40], q=-1--1, 15 fps, 15360 tbn, 15 tbc (default)
Metadata:
creation_time : 2012-04-07 20:41:19
handler_name : VideoHandler
encoder : Lavc56.60.100 libx264
Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2012-04-07 20:41:19
handler_name : SoundHandler
encoder : Lavc56.60.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 46 fps=0.0 q=0.0 size= 0kB time=00:00:03.52 bitrate= 0.1kbits/s
x264 [error]: malloc of size 4208992 failed
Video encoding failed
[aac @ 0x429d2a0] 2 frames left in the queue on closing
Conversion failed!





// Converter Called...
Values passed to encoder:
Array
(
[0] => /home/alteryou/public_html/cc-core/system/encode.php
[1] => --video=96
)


Checking FFMPEG permissions...

Checking qt-faststart permissions...
Validating requested video...
Establishing variables...
Verifying raw video exists...
Verifying raw video was valid size...

Preparing for: H.264 Encoding...
H.264 Encoding Command: /home/alteryou/public_html/cc-core/system/bin/ffmpeg-64-bit/ffmpeg -i /home/alteryou/public_html/cc-content/uploads/temp/iKAAZKZdqvSVRinaRO5O.mp4 -vcodec libx264 -vf "scale=1280:trunc(ow/a/2)*2" -acodec aac -ab 128k -ar 44100 -f mp4 -strict -2 /home/alteryou/public_html/cc-content/uploads/h264/iKAAZKZdqvSVRinaRO5O_temp.mp4 >> /home/alteryou/public_html/cc-core/logs/iKAAZKZdqvSVRinaRO5O.log 2>&1
Verifying H.264 video was created...
The temp H.264 file was not created. The id of the video is: 96

Comments

  • Your log output shows the following error:

    x264 [error]: malloc of size 4208992 failed

    malloc is a C/C++ directive to allocate memory. Though there could be various reasons for this to fail, the main suspect is you just not having enough memory on your server. Do you know how much RAM you have? Is there a way to increase it?
  • no i dont know memory of my server.
    is there a way to solve this problem???



  • ==================================================================
    H.264 ENCODING
    ==================================================================

    H.264 Encoding Command: /home/alteryou/public_html/cc-core/system/bin/ffmpeg-64-bit/ffmpeg -i /home/alteryou/public_html/cc-content/uploads/temp/FYCd65TiyY8LXGtRekJo.mp4 -vcodec libx264 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -vb 800k -acodec aac -ab 96k -ar 44100 -f mp4 /home/alteryou/public_html/cc-content/uploads/h264/FYCd65TiyY8LXGtRekJo_temp.mp4 >> /home/alteryou/public_html/cc-core/logs/FYCd65TiyY8LXGtRekJo.log 2>&1

    H.264 Encoding Output:


    ffmpeg version 2.8.5-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.9.3 (Debian 4.9.3-10)
    configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --cc=gcc-4.9
    libavutil 54. 31.100 / 54. 31.100
    libavcodec 56. 60.100 / 56. 60.100
    libavformat 56. 40.101 / 56. 40.101
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 40.101 / 5. 40.101
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 2.101 / 1. 2.101
    libpostproc 53. 3.100 / 53. 3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/alteryou/public_html/cc-content/uploads/temp/FYCd65TiyY8LXGtRekJo.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2mp41
    creation_time : 2012-04-07 20:41:19
    encoder : Lavf52.54.0
    Duration: 00:04:08.33, start: 0.000000, bitrate: 530 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 320x240 [SAR 4:3 DAR 16:9], 386 kb/s, SAR 213:160 DAR 71:40, 15 fps, 15 tbr, 15 tbn, 15 tbc (default)
    Metadata:
    creation_time : 2012-04-07 20:41:19
    handler_name : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 140 kb/s (default)
    Metadata:
    creation_time : 2012-04-07 20:41:19
    handler_name : SoundHandler
    [libx264 @ 0x4bb3740] using SAR=213/160
    [libx264 @ 0x4bb3740] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x4bb3740] profile High, level 2.0
    [libx264 @ 0x4bb3740] 264 - core 148 r209 7599210 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=7 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [aac @ 0x4bc12c0] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
    [aac @ 0x4bc12c0] Alternatively use the non experimental encoder 'libvo_aacenc'.
    [libx264 @ 0x4bb3740] final ratefactor: 15.12
  • OK, in your last log snipped, the encoding failed since you are missing "-strict -2" in your encoding options. Try adding that to the end of the encoding options and try again.
Sign In or Register to comment.