Results 1 to 8 of 8

Thread: Convert Error or converted video is less than 1 kb in size,

  1. #1
    Join Date
    May 2008
    Posts
    4

    Default Convert Error or converted video is less than 1 kb in size,

    Code:
    STARTING VIDEO CONVERSION (process_queue.id = 9)
    
    File: /home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv
    
    ####################################################
    
    SELECT * FROM `video` WHERE `VID`=8
    
    ####################################################
    
    Video id: 8
    
    Find video duration - START
    
    /usr/bin/ffmpeg -i /home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv
    
    FFmpeg version SVN-r11336, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --enable-gpl --enable-libmp3lame --enable-shared --enable-libxvid --enable-libvorbis --enable-libfaad --enable-libfaac --enable-liba52 --enable-libamr-nb --enable-libamr-wb
      libavutil version: 49.6.0
      libavcodec version: 51.49.0
      libavformat version: 52.3.0
      built on Jan 14 2008 02:30:01, gcc: 3.4.6 20060404 (Red Hat 3.4.6-9)
    [wmv3 @ 0xbb3bd0]Extra data: 8 bits left, value: 0
    
    Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
    Input #0, asf, from '/home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv':
      Duration: 00:00:43.2, start: 4.000000, bitrate: 1981 kb/s
        Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 64 kb/s
        Stream #0.1: Video: wmv3, yuv420p, 320x240 [PAR 0:1 DAR 0:1], 1900 kb/s, 30.00 tb(r)
    Must supply at least one output file
    
    Duration (ffmpeg): 43
    
    DURATION: 00:43
    
    Create Thumbnail - START
    Creating Thumbnail with ffmpeg
    
    /home/cwalscom/public_html/thumb/8.jpg
    
    /usr/bin/ffmpeg -i /home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv -ss 00:00:32 -t 00:00:01 -s 320x240 -r 1 -f mjpeg /home/cwalscom/public_html/thumb/8.jpg
    
    /home/cwalscom/public_html/thumb/1_8.jpg
    
    /usr/bin/ffmpeg -i /home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv -ss 00:00:02 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/cwalscom/public_html/thumb/1_8.jpg
    
    /home/cwalscom/public_html/thumb/2_8.jpg
    
    /usr/bin/ffmpeg -i /home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv -ss 00:00:17 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/cwalscom/public_html/thumb/2_8.jpg
    
    /home/cwalscom/public_html/thumb/3_8.jpg
    
    /usr/bin/ffmpeg -i /home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv -ss 00:00:25 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/cwalscom/public_html/thumb/3_8.jpg
    
    Create Thumbnail with ffmpeg - END
    
    CONVERT COMMAND: /usr/bin/mencoder '/home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv' -o /home/cwalscom/public_html/flvideo/1211922092551804284.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup
    
    ####################################################
    
    Array
    (
        [0] => MEncoder dev-SVN-r23722-3.4.6 (C) 2000-2007 MPlayer Team
        [1] => CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)
        [2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
        [3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
        [4] => 
        [5] => success: format: 0  data: 0x0 - 0xa36b5b
        [6] => ASF file format detected.
        [7] => [asfheader] Audio stream found, -aid 1
        [8] => [asfheader] Video stream found, -vid 2
        [9] => VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps  1900.0 kbps (231.9 kbyte/s)
        [10] => [V] filefmt:6  fourcc:0x33564D57  size:320x240  fps:1000.00  ftime:=0.0010
        [11] => ==========================================================================
        [12] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
        [13] => AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
        [14] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
        [15] => ==========================================================================
        [16] => 
        [17] => Exiting...
    )
    
    ####################################################
    
    Return value: Exiting...
    
    Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.
    
    Back

  2. #2

    Default Re: Convert Error or converted video is less than 1 kb in size,

    Please try to use this convert command.
    Code:
    $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";

  3. #3
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Convert Error or converted video is less than 1 kb in size,

    I have the same problem but that command doesnt work

    here is what Debug says

    Code:
    2009-05-06 1:00:24 ####################################################
    
    2009-05-06 1:00:24 MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
    
    CPU: Quad-Core AMD Opteron(tm) Processor 2352 (Family: 16, Model: 2, Stepping: 3)
    
    CPUflags: Type: 16 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    
    Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
    
    
    success: format: 0  data: 0x0 - 0x19f179
    
    ASF file format detected.
    
    VIDEO:  [WMV3]  320x240  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
    
    [V] filefmt:6  fourcc:0x33564D57  size:320x240  fps:29.97  ftime:=0.0334
    
    ==========================================================================
    
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    
    AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
    
    Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
    
    ==========================================================================
    
    
    Exiting...
    
    
    2009-05-06 1:00:24 ####################################################
    
    2009-05-06 1:00:24 Return value: Exiting...
    
    2009-05-06 1:00:24 Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.
    
    2009-05-06 1:00:24 Calling process_video[5,0]

  4. #4
    Join Date
    Jan 2008
    Posts
    147

    Default Re: Convert Error or converted video is less than 1 kb in size,

    Try to change the video conversion command in video_conversion.php(include\settings)

    To upload big video files http://forums.buyscripts.in/viewtopic.php?f=3&t=9

  5. #5
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Convert Error or converted video is less than 1 kb in size,

    Ok uploading a bigger file did not work. Same error

    and I did put my settings in video_conversion.php(include\settings)

    Here is what my php.ini is set at

    Code:
    max_execution_time = 8000
    max_input_time = 8000
    memory_limit = 256M
    register_globals = On
    post_max_size = 800M
    file_uploads = On
    upload_max_filesize = 800M
    session.gc_maxlifetime = 16000

  6. #6
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Convert Error or converted video is less than 1 kb in size,

    Any ideas? I cant do add any videos to my site right now

  7. #7
    Join Date
    Sep 2007
    Posts
    906

    Default Re: Convert Error or converted video is less than 1 kb in size,

    Code:
    /usr/bin/mencoder '/home/cwalscom/public_html/video/x4nxgbasaiqyu0tb.wmv' -o /home/cwalscom/public_html/flvideo/1211922092551804284.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup
    This command is not converting video to FLV format. Contact your web host and ask then why the command is not converting video to FLV format. If requirements are installed properly, the command will convert video to FLV format.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  8. #8
    Join Date
    Apr 2008
    Posts
    18

    Default

    Well since the debug didnt give me any info I upgraded and changed the command line that was in there and works fine now :D

Similar Threads

  1. error video convert
    By kraja in forum Installation Support
    Replies: 7
    Last Post: 09-17-2008, 02:48 PM
  2. Error when convert video at admin panel
    By ikalangita in forum Installation Support
    Replies: 5
    Last Post: 08-28-2008, 05:12 AM
  3. error to convert video from admin cp
    By paraisomaduro in forum Installation Support
    Replies: 1
    Last Post: 08-28-2008, 05:05 AM
  4. Error When I Convert an Imported Video
    By scobb77 in forum Installation Support
    Replies: 6
    Last Post: 02-04-2008, 04:08 AM
  5. size of convert not found
    By xony in forum Installation Support
    Replies: 2
    Last Post: 07-24-2007, 09:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •