Uploaded videos are not showing.

edited December 2014 in General
I have installed script through softaculous into my site and I have done all initial settings , now when I upload any video , upload success message appears , but after that videos processing don't proceed , I checked videos are placed in temp folder and no video is showing in the site ,

Can any one help me that how to fix this one???

Comments

  • What do your log files say?

    Admin Panel -> Dashboard -> System Logs
  • edited December 2014
    // Converter Called...
    Values passed to encoder:
    Array
    (
    [0] => /home/****/public_html/demo/cc-core/system/encode.php
    [1] => --video=7
    )

    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 /home/*****/public_html/demo/cc-content/uploads/temp/5TcR87x1MdUIHQaFTDVh.flv -vcodec libx264 -vf \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"scale=min(640\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\,iw):trunc(ow/a/2)*2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" -vb 800k -acodec libfaac -ab 96k -ar 44100 -f mp4 /home/****/public_html/demo/cc-content/uploads/h264/5TcR87x1MdUIHQaFTDVh_temp.mp4 >> /home/******/public_html/demo/cc-core/logs/5TcR87x1MdUIHQaFTDVh.log 2>&1
    sh: -c: line 0: syntax error near unexpected token `('
    sh: -c: line 0: `/usr/local/bin/ffmpeg -i /home/****/public_html/demo/cc-content/uploads/temp/5TcR87x1MdUIHQaFTDVh.flv -vcodec libx264 -vf \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"scale=min(640\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\,iw):trunc(ow/a/2)*2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" -vb 800k -acodec libfaac -ab 96k -ar 44100 -f mp4 /home/*****/public_html/demo/cc-content/uploads/h264/5TcR87x1MdUIHQaFTDVh_temp.mp4 >> /home/****/public_html/demo/cc-core/logs/5TcR87x1MdUIHQaFTDVh.log 2>&1'
    Verifying H.264 video was created...
    The temp H.264 file was not created. The id of the video is: 7
  • edited December 2014
    ==================================================================
    H.264 ENCODING
    ==================================================================

    H.264 Encoding Command: /usr/local/bin/ffmpeg -i /home/*****/public_html/demo/cc-content/uploads/temp/5TcR87x1MdUIHQaFTDVh.flv -vcodec libx264 -vf \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"scale=min(640\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\,iw):trunc(ow/a/2)*2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" -vb 800k -acodec libfaac -ab 96k -ar 44100 -f mp4 /home/****/public_html/demo/cc-content/uploads/h264/5TcR87x1MdUIHQaFTDVh_temp.mp4 >> /home/****/public_html/demo/cc-core/logs/5TcR87x1MdUIHQaFTDVh.log 2>&1

    H.264 Encoding Output:
  • edited December 2014
    These are two logs that generated after uploading a video ,
  • I think magic_quotes_gpc is on in your PHP settings. Your command seems messed up. It has way too may "\".

    Go to: Admin Panel -> Settings -> Video -> H264 Encoding and remove all "\". There should only be one, right after the 640, i.e. min(640\,iw). Save the setting and try another upload.

    Can you confirm if you have magic_quotes_gpc turned on? Just create a file called info.php with the contents <?php phpinfo(); and post a link to it here. We can verify if this is the case.
  • Yes , magic_quotes_gpc is on ,

    This is the url to php info.
    http://demo.rohitube.com/info.php

    How I can turn it off ,
  • I am trying to remove all "\" but , I remove all except one , but when I update settings its automatically turns into 640\\,iw ,
    any fix for this one ? ?
  • Just as I suspected.

    magic_quotes_gpc is a PHP setting which automatically escapes (adds "\") to strings. You need to find your php.ini file and turn the setting off. Ask you web host for the location of your php.ini file.
  • Hello Damian,
    i find this software very interesting. Still Studying it though. I would like to know why my videos aren't completely processed two days after uploading it successfully. It is in "autoapprove" status yet it kept displaying"processing" each time i check to play it. Does it actually take that longer? May be you can take a look at it here www.kindredseedintl.org/video

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

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

    H.264 Encoding Output:


    ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 4 2013 12:45:33 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
    libavutil 51. 35.100 / 51. 35.100
    libavcodec 53. 61.100 / 53. 61.100
    libavformat 53. 32.100 / 53. 32.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 61.100 / 2. 61.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/kindred1/public_html/video/cc-content/uploads/temp/VSbOLgOUkToXlSUNhWfj.mp4':
    Metadata:
    major_brand : isom
    minor_version : 0
    compatible_brands: isom3gp4
    creation_time : 2014-11-29 11:13:08
    Duration: 00:00:10.60, start: 0.000000, bitrate: 11997 kb/s
    Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 12023 kb/s, 30.03 fps, 30 tbr, 90k tbn, 180k tbc
    Metadata:
    creation_time : 2014-11-29 11:13:08
    handler_name : VideoHandle
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, s16, 60 kb/s
    Metadata:
    creation_time : 2014-11-29 11:13:08
    handler_name : SoundHandle
    Unknown encoder 'libfaac'

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

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

    H.264 Encoding Output:


    ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 4 2013 12:45:33 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
    libavutil 51. 35.100 / 51. 35.100
    libavcodec 53. 61.100 / 53. 61.100
    libavformat 53. 32.100 / 53. 32.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 61.100 / 2. 61.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/kindred1/public_html/video/cc-content/uploads/temp/koEbURGaptqAOKR2DMJC.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2mp41
    encoder : Lavf54.29.104
    comment : 1356011498635556
    Duration: 00:01:00.71, start: 0.000000, bitrate: 334 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 400x300 [SAR 1:1 DAR 4:3], 272 kb/s, 14 fps, 14 tbr, 14 tbn, 14 tbc
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 58 kb/s
    Metadata:
    handler_name :
    Unknown encoder 'libfaac'

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

    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/bin/ffmpeg -i /home/kindred1/public_html/video/cc-content/uploads/temp/koEbURGaptqAOKR2DMJC.mp4 -vcodec libx264 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -vb 800k -acodec libfaac -ab 96k -ar 44100 -f mp4 /home/kindred1/public_html/video/cc-content/uploads/h264/koEbURGaptqAOKR2DMJC_temp.mp4 >> /home/kindred1/public_html/video/cc-core/logs/koEbURGaptqAOKR2DMJC.log 2>&1
    Verifying H.264 video was created...
    The temp H.264 file was not created. The id of the video is: 2


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

    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/bin/ffmpeg -i /home/kindred1/public_html/video/cc-content/uploads/temp/VSbOLgOUkToXlSUNhWfj.mp4 -vcodec libx264 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -vb 800k -acodec libfaac -ab 96k -ar 44100 -f mp4 /home/kindred1/public_html/video/cc-content/uploads/h264/VSbOLgOUkToXlSUNhWfj_temp.mp4 >> /home/kindred1/public_html/video/cc-core/logs/VSbOLgOUkToXlSUNhWfj.log 2>&1
    Verifying H.264 video was created...
    The temp H.264 file was not created. The id of the video is: 4
This discussion has been closed.