ERROR! CONVERSION OF 19 MINUTES VIDEOS ..

edited February 2012 in Bugs and Errors
ERROR! CONVERSION OF 19 MINUTES VIDEOS ..

videos with up to 5 minutes are converted to normal ... and made available for strean ..

More videos to 19 minutes, suffer an error.
cumulusclip convert the flv to normal, but when the conversion ends in the folder of flv rais. conversion starts on the mobile folder. the cumulusclip creates a temp file folder mobilie, and that ends the conversion of this temp file it creates another one .. mp4 plus does not delete temp .. then the two files in the folder is converted and temp, temporary .. and then nothing happens. 19 minutes of video is not available for strean to be watched.

videos 5 minutes and converted to normal. more videos 19 minutes suffers this problem of error.

Please help me,

My ffmpeg hosting unlimited

I am Brazilian and I live in Brazil
I do not speak nor write English
I'm using google translator

Comments

  • Hello

    First we beed you to turn "Log Encoding" on. You can do this at: Admin Panel -> Settings -> Video.

    Next delete any files currently in your log directory: /cc-core/logs

    Then try to upload a 19 minute video again.

    When it fails, please provide us with a link to all the new files in the log directory: /cc-core/logs




  • ==================================================================
    FLV ENCODING
    ==================================================================

    FLV Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/temp/LBmHoPod6QrGAdTeWwkI.mp4 -s 640x480 -b 800k -ac 2 -ab 64k -ar 22050 -f flv /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/flv/LBmHoPod6QrGAdTeWwkI.flv >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1FLV Encoding Output:


    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 24 2011 05:29:48 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --disable-mmx --enable-libvorbis --enable-libtheora --enable-avcore --enable-avdevice --enable-avcodec --enable-avformat
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.93. 0 / 52.93. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/temp/LBmHoPod6QrGAdTeWwkI.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.94.0
    Duration: 00:19:40.67, start: 0.000000, bitrate: 499 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 704x400 [PAR 1:1 DAR 44:25], 431 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 22050 Hz, stereo, s16, 63 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    [buffer @ 0x98fad60] w:704 h:400 pixfmt:yuv420p
    [scale @ 0x98fb0c0] w:704 h:400 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0x4
    Output #0, flv, to '/home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/flv/LBmHoPod6QrGAdTeWwkI.flv':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.93.0
    Stream #0.0(und): Video: flv, yuv420p, 640x480 [PAR 33:25 DAR 44:25], q=2-31, 800 kb/s, 1k tbn, 29.97 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop encoding

    frame=35257 fps= 51 q=5.7 size= 125664kB time=1176.19 bitrate= 875.2kbits/s
    frame=35277 fps= 51 q=6.2 size= 125711kB time=1176.89 bitrate= 875.0kbits/s
    frame=35301 fps= 51 q=5.7 size= 125794kB time=1177.68 bitrate= 875.0kbits/s
    frame=35330 fps= 51 q=4.8 size= 125906kB time=1178.64 bitrate= 875.1kbits/s
    frame=35358 fps= 51 q=5.5 size= 125998kB time=1179.59 bitrate= 875.0kbits/s
    frame=35381 fps= 51 q=4.8 size= 126078kB time=1180.32 bitrate= 875.0kbits/s
    frame=35384 fps= 51 q=3.8 Lsize= 126116kB time=1180.58 bitrate= 875.1kbits/s
    video:115634kB audio:9223kB global headers:0kB muxing overhead 1.008720%



  • ==================================================================
    MOBILE ENCODING
    ==================================================================

    Mobile Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/temp/LBmHoPod6QrGAdTeWwkI.mp4 -s 480x360 -b 389k -ac 2 -ab 64k -ar 22050 -f mp4 /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/mobile/LBmHoPod6QrGAdTeWwkI_temp.mp4 >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1
    Mobile Encoding Output:


    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 24 2011 05:29:48 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --disable-mmx --enable-libvorbis --enable-libtheora --enable-avcore --enable-avdevice --enable-avcodec --enable-avformat
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.93. 0 / 52.93. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/temp/LBmHoPod6QrGAdTeWwkI.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.94.0
    Duration: 00:19:40.67, start: 0.000000, bitrate: 499 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 704x400 [PAR 1:1 DAR 44:25], 431 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 22050 Hz, stereo, s16, 63 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    [buffer @ 0x5317d60] w:704 h:400 pixfmt:yuv420p
    [scale @ 0x5318130] w:704 h:400 fmt:yuv420p -> w:480 h:360 fmt:yuv420p flags:0x4
    Output #0, mp4, to '/home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/mobile/LBmHoPod6QrGAdTeWwkI_temp.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.93.0
    Stream #0.0(und): Video: mpeg4, yuv420p, 480x360 [PAR 33:25 DAR 44:25], q=2-31, 389 kb/s, 30k tbn, 29.97 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: libfaac, 22050 Hz, stereo, s16, 64 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop encoding
    frame= 22 fps= 0 q=3.4 size= 36kB time=0.46 bitrate= 633.1kbits/s
    frame= 43 fps= 42 q=6.5 size= 146kB time=1.16 bitrate=1027.9kbits/s

    frame=34856 fps= 64 q=26.9 size= 64643kB time=1162.76 bitrate= 455.4kbits/s
    frame=34881 fps= 64 q=25.4 size= 64693kB time=1163.60 bitrate= 455.5kbits/s
    frame=34914 fps= 64 q=27.9 size= 64752kB time=1164.71 bitrate= 455.4kbits/s
    frame=34943 fps= 64 q=24.8 size= 64806kB time=1165.69 bitrate= 455.4kbits/s
    frame=34969 fps= 64 q=27.1 size= 64853kB time=1166.52 bitrate= 455.4kbits/s
    frame=35000 fps= 64 q=26.9 size= 64910kB time=1167.59 bitrate= 455.4kbits/s
    frame=35024 fps= 64 q=26.2 size= 64956kB time=1168.38 bitrate= 455.4kbits/s
    frame=35055 fps= 64 q=14.7 size= 65008kB time=1169.40 bitrate= 455.4kbits/s
    frame=35095 fps= 64 q=7.7 size= 65074kB time=1170.80 bitrate= 455.3kbits/s
    frame=35121 fps= 64 q=15.1 size= 65112kB time=1171.63 bitrate= 455.3kbits/s
    frame=35160 fps= 64 q=9.0 size= 65182kB time=1172.93 bitrate= 455.2kbits/s
    frame=35199 fps= 64 q=8.7 size= 65248kB time=1174.23 bitrate= 455.2kbits/s
    frame=35237 fps= 64 q=9.4 size= 65315kB time=1175.49 bitrate= 455.2kbits/s
    frame=35275 fps= 64 q=6.6 size= 65379kB time=1176.74 bitrate= 455.1kbits/s
    frame=35306 fps= 64 q=6.2 size= 65440kB time=1177.81 bitrate= 455.2kbits/s
    frame=35336 fps= 64 q=6.2 size= 65486kB time=1178.78 bitrate= 455.1kbits/s
    frame=35366 fps= 64 q=5.9 size= 65547kB time=1179.81 bitrate= 455.1kbits/s
    frame=35384 fps= 64 q=6.2 Lsize= 66073kB time=1180.36 bitrate= 458.6kbits/s
    video:56358kB audio:9227kB global headers:0kB muxing overhead 0.744083%




    ==================================================================
    FASTSTART
    ==================================================================

    Faststart Command: /home/narutofu/public_html/amantesbelem.net/tv/cc-core/system/bin/qtfaststart /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/mobile/LBmHoPod6QrGAdTeWwkI_temp.mp4 /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/mobile/LBmHoPod6QrGAdTeWwkI.mp4 >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1
    Faststart Output:


    Removing free atom at 28 (8 bytes)
    Patching stco with 35384 entries
    Patching stco with 25417 entries
    Writing output...

  • ==================================================================
    THUMB CREATION
    ==================================================================

    Thumb Creation Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/flv/LBmHoPod6QrGAdTeWwkI.flv -ss 590 -s 640x480 -t 1 -r 1 -f mjpeg /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/thumbs/LBmHoPod6QrGAdTeWwkI.jpg >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1

    Thumb Creation Output:


    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 24 2011 05:29:48 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --disable-mmx --enable-libvorbis --enable-libtheora --enable-avcore --enable-avdevice --enable-avcodec --enable-avformat
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.93. 0 / 52.93. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    [flv @ 0x19bbb9d0] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
    Input #0, flv, from '/home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/flv/LBmHoPod6QrGAdTeWwkI.flv':
    Metadata:
    duration : 1181
    width : 640
    height : 480
    videodatarate : 781
    framerate : 30
    videocodecid : 2
    audiodatarate : 62
    audiosamplerate : 22050
    audiosamplesize : 16
    stereo : true
    audiocodecid : 2
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.93.0
    filesize : 129143117
    Duration: 00:19:40.67, start: 0.000000, bitrate: 864 kb/s
    Stream #0.0: Video: flv, yuv420p, 640x480, 800 kb/s, 29.92 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 64 kb/s
    [buffer @ 0x19bc3080] w:640 h:480 pixfmt:yuv420p
    [ffsink @ 0x19bc3320] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x19bc35f0] w:640 h:480 fmt:yuv420p -> w:640 h:480 fmt:yuvj420p flags:0x4
    Output #0, mjpeg, to '/home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/thumbs/LBmHoPod6QrGAdTeWwkI.jpg':
    Metadata:
    duration : 1181
    width : 640
    height : 480
    videodatarate : 781
    framerate : 30
    videocodecid : 2
    audiodatarate : 62
    audiosamplerate : 22050
    audiosamplesize : 16
    stereo : true
    audiocodecid : 2
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    filesize : 129143117
    encoder : Lavf52.93.0
    Stream #0.0: Video: mjpeg, yuvj420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 1 tbc
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop encoding
    [buffer @ 0x19bc3080] 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
    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
    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
    Last message repeated 17681 times
    frame= 3 fps= 0 q=1.6 Lsize= 77kB time=3.00 bitrate= 209.6kbits/s dup=0 drop=27
    video:77kB audio:0kB global headers:0kB muxing overhead 0.000000%
  • Thank you for that. There should also be another file. I believe it's called 'converter.log' I would need that file as well.


  • ### Converter Called...
    Values passed to encoder:
    Array
    (
    [0] => /home/narutofu/public_html/amantesbelem.net/tv/cc-core/system/encode.php
    [1] => --video=23
    )

    Validating requested video...
    Establishing variables...
    Verifying raw video exists...
    Verifying raw video was valid size...

    Preparing for: FLV Encoding...
    FLV Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/temp/LBmHoPod6QrGAdTeWwkI.mp4 -s 640x480 -b 800k -ac 2 -ab 64k -ar 22050 -f flv /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/flv/LBmHoPod6QrGAdTeWwkI.flv >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1
    Verifying FLV video was created...

    Preparing for: Mobile Encoding...
    Mobile Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/temp/LBmHoPod6QrGAdTeWwkI.mp4 -s 480x360 -b 389k -ac 2 -ab 64k -ar 22050 -f mp4 /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/mobile/LBmHoPod6QrGAdTeWwkI_temp.mp4 >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1
    Verifying temp Mobile file was created...

    Checking qt-faststart permissions...

    Shifting moov atom on Mobile video...
    Faststart Command: /home/narutofu/public_html/amantesbelem.net/tv/cc-core/system/bin/qtfaststart /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/mobile/LBmHoPod6QrGAdTeWwkI_temp.mp4 /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/mobile/LBmHoPod6QrGAdTeWwkI.mp4 >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1
    Verifying final Mobile file was created...

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

    Duration in Seconds: 1180
    Thumb Position: 590

    Preparing to create video thumbnail...
    Thumbnail Creation Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/flv/LBmHoPod6QrGAdTeWwkI.flv -ss 590 -s 640x480 -t 1 -r 1 -f mjpeg /home/narutofu/public_html/amantesbelem.net/tv/cc-content/uploads/thumbs/LBmHoPod6QrGAdTeWwkI.jpg >> /home/narutofu/public_html/amantesbelem.net/tv/cc-core/logs/LBmHoPod6QrGAdTeWwkI.log 2>&1
    Verifying valid thumbnail was created...

    Updating video information...
    Unable to select database
  • Thank you for complying with our rules. We hope you understand why we take this stand on that type of content. Now back to your problem.

    After reviewing your logs, it seems like your videos are converting properly. The error occurs when attempting to save data into the database. Your database connection is getting terminated by one of two things:

    1) The video conversion is hitting the MySQL 'wait_timeout' limit on your server and the connection is lost.

    2) Your web host is automatically terminating the script or database connection after a certain amount of time.

    Since you are uploading a very long video, the script takes a long time. Most web hosts do not allow scripts to run past a certain amount of time, usually 10 minutes. When a script hits this limit it is terminated by the server / web host automatically. This is very common in shared web hosts.

    This is what I recommend:

    Open the file: /cc-core/lib/Database.php and remove the @ symbols. Also find the line:

    self::$db = new self;

    and add: mysql_close(); before it, so that it looks like this:

    mysql_close();
    self::$db = new self;

    Save the file. Then delete all the log files in /cc-core/logs and try your upload again. Please post all files here again when you are complete.

    Assuming your problem is #1 from above, you can try to modify the 'wait_timeout' MySQL setting to a higher value.
  • Hello this tip did not work ..
    found a solution ..

    I went to phpMyAdmin .. / structure VIDEOS

    and I changed the status:

    UPDATE `` narutofu_cumu. `Videos` SET `status` = 'approved' WHERE `videos`. `` Video_id = 5;

    was processing
    then I moved to approved

    and at the time the video was available to stream

    the whole video over 5 minutes, after processing by the mobile folder, it stays in the database as processed, and the process in flv folder and mobile have ended.

    folder / mobile
    a32Qcv3SSfoUXva5FMRG.mp4
    a32Qcv3SSfoUXva5FMRG_temp.mp4

    this is the way up.

    tem.mp4 not add the file after it has completed the conversion
    it only creates the. mp4 like this up .. plus it does not tell the database that aconversão over.

    and find out casually, changing the status in the database in phpmyadmin

    summarizing. any video over 5 minutes has to manually approve the database in phpmyadmin
  • Hello
    some solution
  • please help me, like a solution to this problem
  • Do not modify the values manually in the database. This will bypass the proper path to approving a video and will cause problems with your system. Let's try to figure out why your database is not responding.

    Can you do what I suggested.

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

    Open the file: /cc-core/lib/Database.php and remove the @ symbols. Also find the line:

    self::$db = new self;

    and add: mysql_close(); before it, so that it looks like this:

    mysql_close();
    self::$db = new self;

    Save the file. Then delete all the log files in /cc-core/logs and try your upload again. When your upload fails, please post all your log files here again.

    ==============================
  • okay
    I thought you had gone
    and was abandoned me

    I'll do it ..

    I had already done so.
    I contacted with my hosting to increase the connection time mysql 'wait_timeout' MySQL

    and I replied:

    Good night Ivo
    Sorry, more shared hosting is not possible to increase the time of connection to the database, you will find this service on dedicated servers.
    For this script is not designed for shared hosting, it ultiliza many resources on the shared server.
    Any questions please contact our support.

    end of the response ...

    Please wait for me, I'm doing what you suggested
  • edited February 2012
    I got!!!!
    could!

    I got

    I had previously tried to put the mysql_close ();
    its just not right

    / / Re-connect if connection is no longer valid
    if (! mysql_ping ($ this-> dbc)) {
    mysql_close ();
    self :: $ db = new self;
    $ this-> dbc = self :: $ db-> dbc;
    }



    worked
    now all videos are converted after being updated in the db
    and available on home
  • That seems very odd to me. I'm not sure how that works, but if you say it does I'll take your word for it.
  • now I'm in trouble, the mobile site

    the videos are not available there

    html5 the play should be available in the desktop site

    the videos are converted after being available in the home
    more on mobile I do not follow the log




    ### Converter Called...
    Values passed to encoder:
    Array
    (
    [0] => /home/narutofu/public_html/megafusion.net/cc-core/system/encode.php
    [1] => --video=38
    )

    Validating requested video...
    Establishing variables...
    Verifying raw video exists...
    Verifying raw video was valid size...

    Preparing for: FLV Encoding...
    FLV Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/megafusion.net/cc-content/uploads/temp/p6zRRdyJX6MLNZSJ2Ctf.mp4 -s 640x398 -vb 448k -ac 2 -ab 64k -ar 22050 -f flv /home/narutofu/public_html/megafusion.net/cc-content/uploads/flv/p6zRRdyJX6MLNZSJ2Ctf.flv >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1
    Verifying FLV video was created...

    Preparing for: Mobile Encoding...
    Mobile Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/megafusion.net/cc-content/uploads/temp/p6zRRdyJX6MLNZSJ2Ctf.mp4 -s 480x360 -vb 256k -ac 2 -ab 64k -ar 22050 -f mp4 /home/narutofu/public_html/megafusion.net/cc-content/uploads/mobile/p6zRRdyJX6MLNZSJ2Ctf_temp.mp4 >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1
    Verifying temp Mobile file was created...

    Checking qt-faststart permissions...

    Shifting moov atom on Mobile video...
    Faststart Command: /home/narutofu/public_html/megafusion.net/cc-core/system/bin/qtfaststart /home/narutofu/public_html/megafusion.net/cc-content/uploads/mobile/p6zRRdyJX6MLNZSJ2Ctf_temp.mp4 /home/narutofu/public_html/megafusion.net/cc-content/uploads/mobile/p6zRRdyJX6MLNZSJ2Ctf.mp4 >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1
    Verifying final Mobile file was created...

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

    Duration in Seconds: 1119
    Thumb Position: 560

    Preparing to create video thumbnail...
    Thumbnail Creation Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/megafusion.net/cc-content/uploads/flv/p6zRRdyJX6MLNZSJ2Ctf.flv -ss 560 -s 640x398 -t 1 -r 1 -f mjpeg /home/narutofu/public_html/megafusion.net/cc-content/uploads/thumbs/p6zRRdyJX6MLNZSJ2Ctf.jpg >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1
    Verifying valid thumbnail was created...

    Updating video information...
    Deleting raw video...
    Video ID: 38, has completed processing!




  • ==================================================================
    FLV ENCODING
    ==================================================================

    FLV Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/megafusion.net/cc-content/uploads/temp/p6zRRdyJX6MLNZSJ2Ctf.mp4 -s 640x398 -vb 448k -ac 2 -ab 64k -ar 22050 -f flv /home/narutofu/public_html/megafusion.net/cc-content/uploads/flv/p6zRRdyJX6MLNZSJ2Ctf.flv >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1FLV Encoding Output:


    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 24 2011 05:29:48 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --disable-mmx --enable-libvorbis --enable-libtheora --enable-avcore --enable-avdevice --enable-avcodec --enable-avformat
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.93. 0 / 52.93. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/narutofu/public_html/megafusion.net/cc-content/uploads/temp/p6zRRdyJX6MLNZSJ2Ctf.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.94.0
    Duration: 00:18:39.66, start: 0.000000, bitrate: 514 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 447 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 22050 Hz, stereo, s16, 63 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    [buffer @ 0xdd8f50] w:640 h:480 pixfmt:yuv420p
    [scale @ 0xdd9320] w:640 h:480 fmt:yuv420p -> w:640 h:398 fmt:yuv420p flags:0x4
    Output #0, flv, to '/home/narutofu/public_html/megafusion.net/cc-content/uploads/flv/p6zRRdyJX6MLNZSJ2Ctf.flv':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.93.0
    Stream #0.0(und): Video: flv, yuv420p, 640x398 [PAR 199:240 DAR 4:3], q=2-31, 448 kb/s, 1k tbn, 23.98 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop encoding
    frame= 10 fps= 0 q=2.0 size= 25kB time=0.18 bitrate=1109.6kbits/s
    frame= 26 fps= 25 q=6.5 size= 99kB time=0.89 bitrate= 916.5kbits/s
    frame= 52 fps= 34 q=15.6 size= 266kB time=1.96 bitrate=1114.2kbits/s

    video:61486kB audio:8747kB global headers:0kB muxing overhead 1.551296%


    MOBILE ENCODING


    Mobile Encoding Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/megafusion.net/cc-content/uploads/temp/p6zRRdyJX6MLNZSJ2Ctf.mp4 -s 480x360 -vb 256k -ac 2 -ab 64k -ar 22050 -f mp4 /home/narutofu/public_html/megafusion.net/cc-content/uploads/mobile/p6zRRdyJX6MLNZSJ2Ctf_temp.mp4 >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1
    Mobile Encoding Output:


    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 24 2011 05:29:48 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --disable-mmx --enable-libvorbis --enable-libtheora --enable-avcore --enable-avdevice --enable-avcodec --enable-avformat
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.93. 0 / 52.93. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/narutofu/public_html/megafusion.net/cc-content/uploads/temp/p6zRRdyJX6MLNZSJ2Ctf.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.94.0
    Duration: 00:18:39.66, start: 0.000000, bitrate: 514 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 447 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 22050 Hz, stereo, s16, 63 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    [buffer @ 0x5a88f70] w:640 h:480 pixfmt:yuv420p
    [scale @ 0x5a89340] w:640 h:480 fmt:yuv420p -> w:480 h:360 fmt:yuv420p flags:0x4
    Output #0, mp4, to '/home/narutofu/public_html/megafusion.net/cc-content/uploads/mobile/p6zRRdyJX6MLNZSJ2Ctf_temp.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.93.0
    Stream #0.0(und): Video: mpeg4, yuv420p, 480x360 [PAR 1:1 DAR 4:3], q=2-31, 256 kb/s, 24k tbn, 23.98 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: libfaac, 22050 Hz, stereo, s16, 64 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop encoding

    kbits/s
    frame=26740 fps= 56 q=7.6 size= 43754kB time=1115.02 bitrate= 321.5kbits/s
    frame=26776 fps= 56 q=6.4 size= 43824kB time=1116.51 bitrate= 321.5kbits/s
    frame=26811 fps= 56 q=8.9 size= 43888kB time=1117.99 bitrate= 321.6kbits/s
    frame=26844 fps= 56 q=7.7 Lsize= 44343kB time=1119.34 bitrate= 324.5kbits/s
    video:35186kB audio:8749kB global headers:0kB muxing overhead 0.929195%


  • FASTSTART


    Faststart Command: /home/narutofu/public_html/megafusion.net/cc-core/system/bin/qtfaststart /home/narutofu/public_html/megafusion.net/cc-content/uploads/mobile/p6zRRdyJX6MLNZSJ2Ctf_temp.mp4 /home/narutofu/public_html/megafusion.net/cc-content/uploads/mobile/p6zRRdyJX6MLNZSJ2Ctf.mp4 >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1
    Faststart Output:


    Removing free atom at 28 (8 bytes)
    Patching stco with 26844 entries
    Patching stco with 24103 entries
    Writing output...


    THUMB CREATION

    Thumb Creation Command: /usr/local/bin/ffmpeg -i /home/narutofu/public_html/megafusion.net/cc-content/uploads/flv/p6zRRdyJX6MLNZSJ2Ctf.flv -ss 560 -s 640x398 -t 1 -r 1 -f mjpeg /home/narutofu/public_html/megafusion.net/cc-content/uploads/thumbs/p6zRRdyJX6MLNZSJ2Ctf.jpg >> /home/narutofu/public_html/megafusion.net/cc-core/logs/p6zRRdyJX6MLNZSJ2Ctf.log 2>&1

    Thumb Creation Output:


    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 24 2011 05:29:48 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --disable-mmx --enable-libvorbis --enable-libtheora --enable-avcore --enable-avdevice --enable-avcodec --enable-avformat
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.93. 0 / 52.93. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    [flv @ 0x2fc39d0] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 23.98 (24000/1001)
    Input #0, flv, from '/home/narutofu/public_html/megafusion.net/cc-content/uploads/flv/p6zRRdyJX6MLNZSJ2Ctf.flv':
    Metadata:
    duration : 1120
    width : 640
    height : 398
    videodatarate : 438
    framerate : 24
    videocodecid : 2
    audiodatarate : 62
    audiosamplerate : 22050
    audiosamplesize : 16
    stereo : true
    audiocodecid : 2
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    encoder : Lavf52.93.0
    filesize : 73034059
    Duration: 00:18:39.66, start: 0.000000, bitrate: 512 kb/s
    Stream #0.0: Video: flv, yuv420p, 640x398, 448 kb/s, 23.98 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 64 kb/s
    [buffer @ 0x2fcc450] w:640 h:398 pixfmt:yuv420p
    [ffsink @ 0x2fcc6f0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x303d120] w:640 h:398 fmt:yuv420p -> w:640 h:398 fmt:yuvj420p flags:0x4
    Output #0, mjpeg, to '/home/narutofu/public_html/megafusion.net/cc-content/uploads/thumbs/p6zRRdyJX6MLNZSJ2Ctf.jpg':
    Metadata:
    duration : 1120
    width : 640
    height : 398
    videodatarate : 438
    framerate : 24
    videocodecid : 2
    audiodatarate : 62
    audiosamplerate : 22050
    audiosamplesize : 16
    stereo : true
    audiocodecid : 2
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    filesize : 73034059
    encoder : Lavf52.93.0
    Stream #0.0: Video: mjpeg, yuvj420p, 640x398, q=2-31, 200 kb/s, 90k tbn, 1 tbc
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop encoding
    [buffer @ 0x2fcc450] 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
    me=10000000000.00 bitrate= 0.0kbits/s
    frame= 0 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbits/s
    Last message repeated 13425 times
    frame= 3 fps= 0 q=1.6 Lsize= 28kB time=3.00 bitrate= 77.4kbits/s dup=0 drop=21
    video:28kB audio:0kB global headers:0kB muxing overhead 0.000000%
  • The videos that are missing from your mobile site are gated or private videos. Videos that are gated or private will not show up on the mobile site.
  • but now I understand,
    you're right, I'm putting the videos private
    who can only watch log.
    Now it's all perfect.

    I'm looking for here, as increase and decrease the size of the video to upload.

    I translate all admin panel to Portuguese Brazil
  • I'm not able to put the videos below advertisement

    suggestions
    No suggestion can be made.

    I'm using cumulustube

    most have not found any option to put the videos of suggestion
This discussion has been closed.