Errors were encountered during the processing of your file, and it cannot be uploaded at this time.

when i try to upload i get this at the end of the upload ....
Errors were encountered during the processing of your file, and it cannot be uploaded at this time. We apologize for this inconvenience. Our support team has been notified and will investigate into the cause and fix for this issue. If you continue to experience problems using this feature please contact us for further assistance.

the file is an mp4 video
i tried to attache a file here but did not seem to work ......
txt
txt
phpinfo.txt
31K

Comments

  • ooops sorry it did attache sorry
  • also there are no logs
    System Logs

    No log files available.
  • ok for the ones who use ispconfig 3 as web panel and have this error then check the domains error log eg client1/web2/log/error.log
    now if your error log holds this error or similar
    mod_fcgid: HTTP request length 136806 (so far) exceeds MaxRequestLen (131072)
    then log in to you ispconfig panel click tab sites click on the domain where you have installed this script then click options
    then set apache derictives like this
    FcgidMaxRequestLen 2147483648 save and restart apache
    and the problem is solved
  • only now i have this problem
    // Converter Called...
    Values passed to encoder:
    Array
    (
    [0] => /client1/web3/web/cc-core/system/encode.php
    [1] => --video=4
    )


    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: /client1/web3/web/cc-core/system/bin/ffmpeg-64-bit/ffmpeg -i /client1/web3/web/cc-content/uploads/temp/sVpLX4L2UJZyfKU45tOr.mp4 -vcodec libx264 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -vb 1000k -acodec libvo_aacenc -ab 96k -ar 44100 -f mp4 /client1/web3/web/cc-content/uploads/h264/sVpLX4L2UJZyfKU45tOr_temp.mp4 >> /client1/web3/web/cc-core/logs/sVpLX4L2UJZyfKU45tOr.log 2>&1
    Verifying H.264 video was created...
    The temp H.264 file was not created. The id of the video is: 4
  • Please attach this log file: cc-core/logs/sVpLX4L2UJZyfKU45tOr.log to the thread.
  • ok i have it all figured out now for 1 do not use the provided ffmpeg and the qt-faststart that comes with the script install ffmpeg with the ffmpeginstaller current version is 8.0
    then change the path to ffmpeg and the qt-faststart to the path that you can find by typing in ssh window which ffmpeg and which qt-faststart then enter the location in the video settings in the script then you have to adjust another thing
    change -acodec libvo_aacenc to -acodec aac in the H.264 Encoding Options....
    this solves 2 problems
    1 permission denied problem and
    2 the unkown libvo codec problem
    i am running a test now but i am pretty sure that it will convert and plays now i will report back when it is done encoding .... i hope this wil help other that have a similar problem with this script and ispconfig3 to make this script work :)
  • Damian this is the log you asked for ...
    ==================================================================
    H.264 ENCODING
    ==================================================================

    H.264 Encoding Command: /var/www/clients/client1/web3/web/cc-core/system/bin/ffmpeg-64-bit/ffmpeg -i /var/www/clients/client1/web3/web/cc-content/uploads/temp/sVpLX4L2UJZyfKU45tOr.mp4 -vcodec libx264 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -vb 1000k -acodec libvo_aacenc -ab 96k -ar 44100 -f mp4 /var/www/clients/client1/web3/web/cc-content/uploads/h264/sVpLX4L2UJZyfKU45tOr_temp.mp4 >> /var/www/clients/client1/web3/web/cc-core/logs/sVpLX4L2UJZyfKU45tOr.log 2>&1

    H.264 Encoding Output:

  • after my modifications success
    // Converter Called...
    Values passed to encoder:
    Array
    (
    [0] => /var/www/clients/client1/web3/web/cc-core/system/encode.php
    [1] => --video=7
    )


    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: /usr/local/bin/ffmpeg -i /var/www/clients/client1/web3/web/cc-content/uploads/temp/SdLvhk7jx6TSU4aK7Jt6.mp4 -vcodec libx264 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -vb 1000k -acodec aac -ab 96k -ar 44100 -f mp4 /var/www/clients/client1/web3/web/cc-content/uploads/h264/SdLvhk7jx6TSU4aK7Jt6_temp.mp4 >> /var/www/clients/client1/web3/web/cc-core/logs/SdLvhk7jx6TSU4aK7Jt6.log 2>&1
    Verifying H.264 video was created...

    Shifting moov atom on H.264 video...
    H.264 Shift Moov Atom Command: /usr/local/bin/qt-faststart /var/www/clients/client1/web3/web/cc-content/uploads/h264/SdLvhk7jx6TSU4aK7Jt6_temp.mp4 /var/www/clients/client1/web3/web/cc-content/uploads/h264/SdLvhk7jx6TSU4aK7Jt6.mp4 >> /var/www/clients/client1/web3/web/cc-core/logs/SdLvhk7jx6TSU4aK7Jt6.log 2>&1
    Verifying final H.264 file was created...

    Preparing for: Mobile Encoding...
    Mobile Encoding Command: /usr/local/bin/ffmpeg -i /var/www/clients/client1/web3/web/cc-content/uploads/temp/SdLvhk7jx6TSU4aK7Jt6.mp4 -vcodec libx264 -vf "scale=min(480\,iw):trunc(ow/a/2)*2" -vb 600k -ac 2 -ab 96k -ar 44100 -f mp4 /var/www/clients/client1/web3/web/cc-content/uploads/mobile/SdLvhk7jx6TSU4aK7Jt6_temp.mp4 >> /var/www/clients/client1/web3/web/cc-core/logs/SdLvhk7jx6TSU4aK7Jt6.log 2>&1
    Verifying Mobile video was created...

    Shifting moov atom on Mobile video...
    Faststart Command: /usr/local/bin/qt-faststart /var/www/clients/client1/web3/web/cc-content/uploads/mobile/SdLvhk7jx6TSU4aK7Jt6_temp.mp4 /var/www/clients/client1/web3/web/cc-content/uploads/mobile/SdLvhk7jx6TSU4aK7Jt6.mp4 >> /var/www/clients/client1/web3/web/cc-core/logs/SdLvhk7jx6TSU4aK7Jt6.log 2>&1
    Verifying final Mobile file was created...

    Retrieving video duration...
    Duration command results:
    Array
    (
    [0] => Duration: 00:03:40.03, start: 0.000000, bitrate: 252 kb/s
    )

    Duration in Seconds: 220
    Thumb Position: 110

    Preparing to create video thumbnail...
    Thumbnail Creation Command: /usr/local/bin/ffmpeg -i /var/www/clients/client1/web3/web/cc-content/uploads/temp/SdLvhk7jx6TSU4aK7Jt6.mp4 -ss 110 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -t 1 -r 1 -f mjpeg /var/www/clients/client1/web3/web/cc-content/uploads/thumbs/SdLvhk7jx6TSU4aK7Jt6.jpg >> /var/www/clients/client1/web3/web/cc-core/logs/SdLvhk7jx6TSU4aK7Jt6.log 2>&1
    Verifying valid thumbnail was created...

    Updating video information...
    Deleting raw video...
    Video ID: 7, has completed processing!
  • Wait I'm confused, you posted above that you're not using the FFMPEG & qt-faststart that were provided with the script, but the log you just posted says you are.

    Also, what were the two errors you were mentioning above (permission denied and unknown libvo code)? Where did you see those errors?
  • no it is using this ffmpeg if you look closely Command: /usr/local/bin/ffmpeg
    and the answers on this question
    Also, what were the two errors you were mentioning above (permission denied and unknown libvo code)? Where did you see those errors?

    i passed the command directly as root in the terminal and so seen the error outputs
    root@radioserver:/home/hiden/# /var/www/clients/client1/web3/web/cc-content/uploads/h264/XFfVCF9XuFkTBjs94IG0_temp.mp4 /var/www/clients/client1/web3/web/cc-content/uploads/h264/XFfVCF9XuFkTBjs94IG0.mp4
    bash: /var/www/clients/client1/web3/web/cc-content/uploads/h264/XFfVCF9XuFkTBjs94IG0_temp.mp4: Permission denied

    so i went a bit deeper and ispconfig3 forum said that ispconfig wont allow executeble files to run in the web folder so i did this work around hopt it clears it up :)
  • root@radioserver:/# which qt-faststart
    /usr/local/bin/qt-faststart
    root@radioserver:/# /usr/local/bin/qt-faststart /var/www/clients/client1/web3/web/cc-content/uploads/h264/XFfVCF9XuFkTBjs94IG0_temp.mp4 /var/www/clients/client1/web3/web/cc-content/uploads/h264/XFfVCF9XuFkTBjs94IG0.mp4
    ftyp 0 32
    free 32 8
    mdat 40 11649690
    moov 11649730 240014
    patching stco atom...
    patching stco atom...
    writing ftyp atom...
    writing moov atom...
    copying rest of file...

    this is the output from system installed in terminal qt output
  • ==================================================================
    H.264 ENCODING
    ==================================================================
    see called from local v v v v v v v v v v v v v v v v
    H.264 Encoding Command: /usr/local/bin/ffmpeg -i /var/www/clients/client1/web3/web/cc-content/uploads/temp/h1wP5GqOuTqxacba5Mfp.mp4 -vcodec libx264 -crf 18 -vf "scale=min(720\,iw):trunc(ow/a/2)*2" -vb 1000k -acodec aac -ab 96k -ar 44100 -f mp4 /var/www/clients/client1/web3/web/cc-content/uploads/h264/h1wP5GqOuTqxacba5Mfp_temp.mp4 >> /var/www/clients/client1/web3/web/cc-core/logs/h1wP5GqOuTqxacba5Mfp.log 2>&1

    H.264 Encoding Output:


    ffmpeg version N-78936-g247fe3e-syslint Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
    configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --disable-mmx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
    libavutil 55. 19.100 / 55. 19.100
    libavcodec 57. 27.101 / 57. 27.101
    libavformat 57. 28.100 / 57. 28.100
    libavdevice 57. 0.101 / 57. 0.101
    libavfilter 6. 39.100 / 6. 39.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/clients/client1/web3/web/cc-content/uploads/temp/h1wP5GqOuTqxacba5Mfp.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: isommp42
    creation_time : 2016-03-07 21:15:23
    Duration: 00:03:40.03, start: 0.000000, bitrate: 252 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 744x548 [SAR 1:1 DAR 186:137], 124 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
    Metadata:
    creation_time : 2016-03-07 21:15:23
    handler_name : Mainconcept MP4 Video Media Handler
    encoder : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
    creation_time : 2016-03-07 21:15:23
    handler_name : Mainconcept MP4 Sound Media Handler
    [libx264 @ 0x1fa0000] using SAR=1643/1644
    [libx264 @ 0x1fa0000] using cpu capabilities: none!
    [libx264 @ 0x1fa0000] profile High, level 3.1
    [libx264 @ 0x1fa0000] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=1 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/var/www/clients/client1/web3/web/cc-content/uploads/h264/h1wP5GqOuTqxacba5Mfp_temp.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: isommp42
    encoder : Lavf57.28.100
    Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x530 [SAR 1643:1644 DAR 186:137], q=-1--1, 1000 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
    Metadata:
    creation_time : 2016-03-07 21:15:23
    handler_name : Mainconcept MP4 Video Media Handler
    encoder : Lavc57.27.101 libx264
    Side data:
    cpb: bitrate max/min/avg: 0/0/1000000 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
    creation_time : 2016-03-07 21:15:23
    handler_name : Mainconcept MP4 Sound Media Handler
    encoder : Lavc57.27.101 aac
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    frame= 38 fps=0.0 q=0.0 size= 0kB time=00:00:00.97 bitrate= 0.4kbits/s speed=1.91x
    frame= 45 fps= 44 q=24.0 size= 103kB time=00:00:01.30 bitrate= 650.5kbits/s speed=1.26x
  • the problem is not the script ... it is a wonderful script the problem is ispconfig3 that restricts alot of things ..... so if some one uses ispconfig3 this is the solution to make it work :D
  • plus ubuntu does not build ffmpeg with libvo_aacenc even when configured as --enable-libvo_aacenc you get e configure error so by just using aac solved that and no one needs to recompile ffmpeg
  • You got the "Unknown encoder" error because you installed a version of FFMPEG that was not compiled with support for "libvo_aacenc". The version provided with the script has support built-in for "libvo_aacenc". That was the cause for that error. You did the correct thing in changing the audio encoder to one that is supported. I'm glad that fixed your issue.

    I'm having a hard time understanding you permission denied explanation.

    Correct me if I'm wrong. It sounds like you tried using the FFMPEG & qt-faststart provided with the script, but were receiving permission errors. The cause for the permission errors was that your hosting admin panel (ispconfig3) doesn't allow executables to be run from the web folder. So it blocked the execution of the script provided FFMPEG command with a permission denied error. Is that correct?

    If so, you could have simply moved the FFMPEG & qt-faststart provided with the script somewhere outside the web fold and updated the path in the CumulusClips admin panel. However what you did is fine too.

    Are there any other issues we can try and help you with?
  • yes you are correct but there i already had ffmpeg installed on the system it seemed safer to use the one installed already and knowing that version did work on my system..
    i hope that others with this kind of error can solve their problem with this post
  • the video is a bit fuzzy i try to find a better setting to encode so it is crisp but that is just something of try en see
  • Ok, good to hear everything is working. Since your original problem was resolved, I will close this thread. If you have any further issues, please open a new thread.
This discussion has been closed.