Results 1 to 4 of 4

Thread: converting problem

  1. #1
    Join Date
    Jul 2007
    Posts
    4

    Default converting problem

    HI ,

    I think i have a problem with the converting ti FLV , i upload WMV ,3gp file and it didnt work when i go to fvideo file i fount created file with 0 Bytes
    this is my debug.txt

    2007-10-29 5:40:12 Upload Finished

    2007-10-29 5:40:12 Video (23) Conversion starting...

    2007-10-29 5:40:12 File: /home/espotws/public_html/video/strandgein.wmv

    2007-10-29 5:40:12 -------------------------------------------------------------

    2007-10-29 5:40:12 INSERT INTO video SET
    UID='2',
    title='test',
    description='Description test',
    keyword='tag1 tag2 tag3',
    channel='0|9|0',
    addtime='1193650812',
    adddate='2007-10-29',
    vkey='1341624447',
    type='public',
    active='0',
    approve='1'
    2007-10-29 5:40:12 -------------------------------------------------------------

    2007-10-29 5:40:12 Video id: 22

    2007-10-29 5:40:12 Calling ffmpeg-php -> ffmpeg_movie()

    2007-10-29 5:40:12 Get video duration - START

    2007-10-29 5:40:12 Get video duration - END

    2007-10-29 5:40:12 DURATION: 16.032

    2007-10-29 5:40:12 Create Thumbnail - START

    2007-10-29 5:40:12 Create Thumbnail - END

    2007-10-29 5:40:12 CONVERT COMMAND:

    /usr/bin/mencoder '/home/espotws/public_html/video/strandgein.wmv' -o /home/espotws/public_html/flvideo/1193650812396910797.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 -ofps 24 -vf harddup



    2007-10-29 5:40:12 -------------------------------------------------------------

    2007-10-29 5:40:12 MEncoder 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team

    CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (Family: 6, Model: 15, Stepping: 6)

    CPUflags: Type: 6 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 - 0xb5eb2

    ASF file format detected.

    VIDEO: [WMV1] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)

    [V] filefmt:6 fourcc:0x31564D57 size:320x240 fps:30.00 ftime:=0.0333

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

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

    AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)

    Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))

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


    Exiting...


    2007-10-29 5:40:12 -------------------------------------------------------------

    2007-10-29 5:40:12 Return value: Exiting...

    2007-10-29 5:40:12 File Size too small : 0 Bytes, Upload a big video.

    2007-10-29 5:40:12 Calling process_video[23,0]




    Thanks

  2. #2

    Default

    edit the video_conversion.php (include\settings) and replace the existing code and add the following.
    <?php

    Code:
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
    
    // For rpm (old) version of mplayer
    $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";
    
    
    $cmd_all = $cmd_mencoder;
    
    $convert_3gp = $cmd_all;
    $convert_mp4 = $cmd_all;
    $convert_mov = $cmd_all;
    $convert_asf = $cmd_all;
    $convert_mpg = $cmd_all;
    $convert_avi = $cmd_all;
    $convert_mpeg = $cmd_all;
    $convert_wmv = $cmd_all;
    $convert_rm = $cmd_all;
    $convert_dat = $cmd_all;

  3. #3
    Join Date
    Sep 2007
    Posts
    906

    Default Re: converting problem

    You need to check if your concvert command can convert the video to FLV

    Code:
    /usr/bin/mencoder '/home/espotws/public_html/video/strandgein.wmv' -o /home/espotws/public_html/flvideo/1193650812396910797.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
    mencoder do not support all the codecs, so verify problem is not with the video you are trying to upload by loading the video to some other vshare sites and see if that works.

    If it works on another site and not in your web site, you need to contact your web host, it can be a mencoder installation problem.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  4. #4
    Join Date
    Jul 2007
    Posts
    4

    Default Re: converting problem

    Thanks buyscripts ,hostonnet

    When i change the video_conversion.php its work Direct but i have a problem with the video buffering if the video buffering its replay the video until all video buffered.

    Please check how the video work in http://www.esport.ws/view/25/test-6/

Similar Threads

  1. Converting little
    By Boxerman in forum Installation Support
    Replies: 2
    Last Post: 10-09-2008, 09:29 AM
  2. CONVERTING ERRORS!
    By bren13240 in forum Installation Support
    Replies: 4
    Last Post: 06-30-2008, 04:52 PM
  3. Converting Problem
    By lehjohns in forum Installation Support
    Replies: 2
    Last Post: 03-08-2008, 06:47 AM
  4. converting problem
    By feher in forum Installation Support
    Replies: 19
    Last Post: 06-20-2007, 10:13 PM
  5. not converting to flv
    By fugasi in forum Installation Support
    Replies: 2
    Last Post: 06-07-2007, 12:51 AM

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
  •