Results 1 to 4 of 4

Thread: Can not upload small avi file

  1. #1
    Join Date
    Jun 2007
    Posts
    16

    Default Can not upload small avi file

    Can not upload small avi file

    error
    File Size too small : 0 Bytes, Upload a big video.

    Please advise

  2. #2
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Can not upload small avi file

    Video less than 40 kb will not work.

    If you are uploading a video bigger than40 kb, try convert the video to FLV format and check its size. File size is checked after conversion.

  3. #3
    Join Date
    Jun 2007
    Posts
    16

    Default Re: Can not upload small avi file

    Thank you for your reply admin

    My video 2679 k and no problem to uplad on your demo site
    2007-10-05 8:59:55 Upload Finished

    2007-10-05 8:59:55 Video (108) Conversion starting...

    2007-10-05 8:59:55 File: /home/internev/public_html/video/Video10.avi

    2007-10-05 8:59:55 -------------------------------------------------------------

    2007-10-05 8:59:55 INSERT INTO video SET
    UID='2',
    title='video 10',
    description='video 10',
    keyword='video',
    channel='0|1|0',
    addtime='1191589195',
    adddate='2007-10-05',
    vkey='488860974',
    type='private',
    active='0',
    approve='1'

    2007-10-05 8:59:55 -------------------------------------------------------------

    2007-10-05 8:59:55 Video id: 87

    2007-10-05 8:59:55 Calling ffmpeg-php -> ffmpeg_movie()

    2007-10-05 8:59:55 Get video duration - START

    2007-10-05 8:59:55 Get video duration - END

    2007-10-05 8:59:55 DURATION: 3

    2007-10-05 8:59:55 Create Thumbnail - START

    2007-10-05 8:59:56 Create Thumbnail - END

    2007-10-05 8:59:56 CONVERT COMMAND:

    /usr/local/bin/mencoder '/home/internev/public_html/video/Video10.avi' -o /home/internev/public_html/flvideo/11915891961375430862.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050



    2007-10-05 8:59:59 -------------------------------------------------------------

    2007-10-05 8:59:59 MEncoder dev-SVN-r24685-3.4.6 (C) 2000-2007 MPlayer Team

    CPU: Intel(R) Celeron(R) D CPU 3.06GHz (Family: 15, Model: 6, Stepping: 4)

    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



    success: format: 0 data: 0x0 - 0x2b4400

    AVI file format detected.

    [aviheader] Video stream found, -vid 0

    [aviheader] Audio stream found, -aid 1

    VIDEO: [MJPG] 320x240 24bpp 29.970 fps 7272.9 kbps (887.8 kbyte/s)

    [V] filefmt:3 fourcc:0x47504A4D size:320x240 fps:29.97 ftime:=0.0334

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

    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

    AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)

    Selected audio codec: [ffadpcmimaamv] afm: ffmpeg (FFmpeg AMV IMA ADPCM audio)

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

    OK, exit

    Opening video filter: [expand osd=1]

    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1

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

    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

    Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)

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

    MP3 audio selected.

    VDec: vo config request - 320 x 240 (preferred colorspace: Planar 422P)

    Could not find matching colorspace - retrying with -vf scale...

    Opening video filter: [scale]

    VDec: using Planar 422P as output csp (no 1)

    Movie-Aspect is undefined - no prescaling applied.

    videocodec: libavcodec (320x240 fourcc=31564c46 [FLV1])

    [VE_LAVC] High quality encoding selected (non-realtime)!

    Pos: 0.0s 1f (31%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
    Pos: 0.1s 2f (52%) 0.00fps Trem: 0min 0mb A-V:0.003 [0:0]
    Pos: 0.1s 3f (76%) 0.00fps Trem: 0min 0mb A-V:0.007 [0:0]
    Pos: 0.1s 4f (93%) 0.00fps Trem: 0min 0mb A-V:0.010 [0:0]
    Pos: 0.2s 5f (96%) 0.00fps Trem: 0min 0mb A-V:0.013 [0:0]
    Pos: 0.2s 6f (100%) 0.00fps Trem: 0min 0mb A-V:0.017 [0:0]
    Pos: 0.2s 7f (100%) 0.00fps Trem: 0min 0mb A-V:0.020 [0:0]
    Pos: 0.3s 8f (100%) 0.00fps Trem: 0min 0mb A-V:0.023 [0:0]
    Pos: 0.3s 9f (100%) 0.00fps Trem: 0min 0mb A-V:0.027 [0:0]
    Pos: 0.3s 10f (100%) 0.00fps Trem: 0min 0mb A-V:0.030 [0:0]
    Pos: 0.4s 11f (100%) 0.00fps Trem: 0min 0mb A-V:0.033 [0:0]
    Pos: 0.4s 12f (100%) 0.00fps Trem: 0min 0mb A-V:0.037 [0:0]
    Pos: 0.4s 13f (100%) 0.00fps Trem: 0min 0mb A-V:0.040 [0:0]
    Pos: 0.5s 14f (100%) 0.00fps Trem: 0min 0mb A-V:0.043 [0:0]
    Pos: 0.5s 15f (100%) 0.00fps Trem: 0min 0mb A-V:0.047 [0:0]
    Pos: 0.5s 16f (100%) 0.00fps Trem: 0min 0mb A-V:0.050 [0:0]
    Pos: 0.6s 17f (100%) 0.00fps Trem: 0min 0mb A-V:0.053 [0:0]
    Pos: 0.6s 18f (100%) 0.00fps Trem: 0min 0mb A-V:0.057 [0:0]
    Pos: 0.6s 19f (100%) 0.00fps Trem: 0min 0mb A-V:0.060 [0:0]
    Pos: 0.7s 20f (100%) 0.00fps Trem: 0min 0mb A-V:0.063 [0:0]
    Pos: 0.7s 21f (100%) 0.00fps Trem: 0min 0mb A-V:0.067 [0:0]
    Pos: 0.7s 22f (100%) 0.00fps Trem: 0min 0mb A-V:0.070 [0:0]
    Pos: 0.7s 23f (100%) 0.00fps Trem: 0min 0mb A-V:0.040 [0:0]
    Pos: 0.8s 24f (100%) 0.00fps Trem: 0min 0mb A-V:0.043 [0:0]
    Pos: 0.8s 25f (100%) 0.00fps Trem: 0min 0mb A-V:0.047 [0:0]
    Pos: 0.8s 26f (100%) 0.00fps Trem: 0min 0mb A-V:0.050 [0:0]
    Pos: 0.9s 27f (100%) 0.00fps Trem: 0min 0mb A-V:0.053 [0:0]
    Pos: 0.9s 28f (100%) 0.00fps Trem: 0min 0mb A-V:0.057 [0:0]
    Pos: 0.9s 29f (100%) 0.00fps Trem: 0min 0mb A-V:0.060 [0:0]
    Pos: 1.0s 30f (100%) 0.00fps Trem: 0min 0mb A-V:0.063 [0:0]
    Pos: 1.0s 31f (100%) 0.00fps Trem: 0min 0mb A-V:0.067 [1094:0]
    Pos: 1.0s 32f (100%) 0.00fps Trem: 0min 0mb A-V:0.070 [1099:0]
    Pos: 1.0s 33f (100%) 0.00fps Trem: 0min 0mb A-V:0.040 [1099:0]
    Pos: 1.1s 34f (100%) 0.00fps Trem: 0min 0mb A-V:0.043 [1089:0]
    Pos: 1.1s 35f (100%) 0.00fps Trem: 0min 0mb A-V:0.047 [1075:0]
    Pos: 1.1s 36f (100%) 0.00fps Trem: 0min 0mb A-V:0.050 [1063:0]
    Pos: 1.2s 37f (100%) 0.00fps Trem: 0min 0mb A-V:0.053 [1049:0]
    Pos: 1.2s 38f (100%) 0.00fps Trem: 0min 0mb A-V:0.057 [1035:0]
    Pos: 1.2s 39f (100%) 0.00fps Trem: 0min 0mb A-V:0.060 [1027:0]
    Pos: 1.3s 40f (100%) 0.00fps Trem: 0min 0mb A-V:0.063 [1016:0]
    Pos: 1.3s 41f (100%) 0.00fps Trem: 0min 0mb A-V:0.067 [991:0]
    Pos: 1.3s 42f (100%) 0.00fps Trem: 0min 0mb A-V:0.070 [978:0]
    Pos: 1.3s 43f (100%) 0.00fps Trem: 0min 0mb A-V:0.040 [978:0]
    Pos: 1.4s 44f (100%) 0.00fps Trem: 0min 0mb A-V:0.043 [978:0]
    Pos: 1.4s 45f (100%) 0.00fps Trem: 0min 0mb A-V:0.047 [968:0]
    Pos: 1.4s 46f (100%) 0.00fps Trem: 0min 0mb A-V:0.050 [946:0]
    Pos: 1.5s 47f (100%) 0.00fps Trem: 0min 0mb A-V:0.053 [948:0]
    Pos: 1.5s 48f (100%) 0.00fps Trem: 0min 0mb A-V:0.057 [942:0]
    Pos: 1.5s 49f (100%) 0.00fps Trem: 0min 0mb A-V:0.060 [931:0]
    Pos: 1.6s 50f (100%) 0.00fps Trem: 0min 0mb A-V:0.063 [921:0]
    Pos: 1.6s 51f (100%) 0.00fps Trem: 0min 0mb A-V:0.067 [912:0]
    Pos: 1.6s 52f (100%) 0.00fps Trem: 0min 0mb A-V:0.070 [904:0]
    Pos: 1.6s 53f (100%) 0.00fps Trem: 0min 0mb A-V:0.040 [904:0]
    Pos: 1.7s 54f (100%) 0.00fps Trem: 0min 0mb A-V:0.043 [898:0]
    Pos: 1.7s 55f (100%) 54.40fps Trem: 0min 0mb A-V:0.047 [891:0]
    Pos: 1.7s 56f (100%) 54.58fps Trem: 0min 0mb A-V:0.050 [884:0]
    Pos: 1.8s 57f (100%) 54.76fps Trem: 0min 0mb A-V:0.053 [877:0]
    Pos: 1.8s 58f (100%) 54.87fps Trem: 0min 0mb A-V:0.057 [871:0]
    Pos: 1.8s 59f (100%) 54.99fps Trem: 0min 0mb A-V:0.060 [865:0]
    Pos: 1.9s 60f (100%) 55.10fps Trem: 0min 0mb A-V:0.063 [860:0]
    Pos: 1.9s 61f (100%) 55.15fps Trem: 0min 0mb A-V:0.067 [854:0]
    Pos: 1.9s 62f (100%) 55.26fps Trem: 0min 0mb A-V:0.070 [848:0]
    Pos: 1.9s 63f (100%) 56.10fps Trem: 0min 0mb A-V:0.040 [848:0]
    Pos: 2.0s 64f (100%) 55.85fps Trem: 0min 0mb A-V:0.043 [844:0]
    Pos: 2.0s 65f (100%) 55.94fps Trem: 0min 0mb A-V:0.047 [839:0]
    Pos: 2.0s 66f (100%) 56.03fps Trem: 0min 0mb A-V:0.050 [834:0]
    Pos: 2.1s 67f (100%) 56.02fps Trem: 0min 0mb A-V:0.053 [830:0]
    Pos: 2.1s 68f (100%) 56.11fps Trem: 0min 0mb A-V:0.057 [825:0]
    Pos: 2.1s 69f (100%) 56.05fps Trem: 0min 0mb A-V:0.060 [822:0]
    Pos: 2.2s 70f (100%) 56.09fps Trem: 0min 0mb A-V:0.063 [818:0]
    Pos: 2.2s 71f (100%) 54.49fps Trem: 0min 0mb A-V:0.067 [814:0]

    Flushing video frames.

    Writing index...

    Writing header...



    2007-10-05 8:59:59 -------------------------------------------------------------

    2007-10-05 8:59:59 Return value: Writing header...

    2007-10-05 8:59:59 File Size too small : 0 Bytes, Upload a big video.

    2007-10-05 8:59:59 Calling process_video[108,0]


    Any ideas

  4. #4
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Can not upload small avi file

    The problem is with mencoder.

    Code:
    /usr/local/bin/mencoder '/home/internev/public_html/video/Video10.avi' -o /home/internev/public_html/flvideo/11915891961375430862.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
    If your mencoder installation is proper, above command will convert the video to FLV format and will be available at

    /home/internev/public_html/flvideo/11915891961375430862.flv

    If this file is not created, the problem will be with mencoder installation.

    You can ask your web host why the command is not converting AVI video. Since this is a common format, it may be mplayer installation problem.

Similar Threads

  1. My video file is not upload
    By puspa in forum Installation Support
    Replies: 3
    Last Post: 03-28-2009, 05:11 PM
  2. How upload .jpg and .png file
    By mario2000 in forum Installation Support
    Replies: 2
    Last Post: 06-09-2008, 05:28 AM
  3. flv file upload
    By oldblackguy in forum General Discussions
    Replies: 4
    Last Post: 02-18-2008, 12:56 AM
  4. UPLOAD PROBLEM with wmv file
    By mario2000 in forum Installation Support
    Replies: 1
    Last Post: 12-29-2007, 01:04 AM
  5. I got this error when I was trying to upload a 67 mb file...
    By devarioj in forum Installation Support
    Replies: 3
    Last Post: 05-26-2007, 01:41 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
  •