Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Convert Error

  1. #1

    Default Convert Error

    Hi there!

    I've moved to an other host and i got a problem with the script, everything is installed fine, this is the output:

    Code:
    STARTING VIDEO CONVERSION (process_queue.id = 9049)
    
    File: /www/virtual/www.domain.com/html/video/video.wmv
    
    ####################################################
    
    SELECT * FROM `video` WHERE `VID`=9654
    
    ####################################################
    
    Video id: 9654
    
    Find video duration - START
    
    Duration (ffmpeg-php): 179
    
    DURATION: 02:59
    
    Create Thumbnail - START
    
    Create Thumbnail with ffmpeg-php - END
    
    CONVERT COMMAND: /usr/local/bin/mencoder /www/virtual/www.domain.com/html/video/video.wmv -o /www/virtual/www.domain.com/html/flvideo/1231875991439751681.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
    
    ####################################################
    Array
    (
    )
    
    ####################################################
    
    Return value: 
    
    Running flvtool2: /usr/local/bin/flvtool2 -U /www/virtual/www.domain.com/html/flvideo/1231875991439751681.flv
    (changed the actual domain to domain) :)

    Thank you!

  2. #2
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Convert Error

    Hi,

    check which version of mencoder new hosting is using, I mean if is the same of the old one.
    And check path of flvtool.

    I hope you solve ;)

  3. #3

    Default Re: Convert Error

    Have no idea what was the version of the mencoder on the old host :)
    Btw i've enabled flvtool in the miscelious setting in admin panel is that ok?
    PS: checking the path with the host at the moment

    EDIT: so the paths are correct, version of mencoder: MEncoder 1.0rc2-3.4.2 (C) 2000-2007 MPlayer Team

    Thank you

  4. #4
    Join Date
    Jan 2008
    Posts
    147

    Default Re: Convert Error

    Edit the video_conversion.php (include/settings)
    Try to use the following 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";

  5. #5

    Default Re: Convert Error

    Tried before also tried now, but with no luck.. :(

    Also should i enable flvtool in the admin menu or not?

  6. #6

    Default Re: Convert Error

    btw version of mencoder, in case it helps:
    MEncoder 1.0rc2-3.4.2 (C) 2000-2007 MPlayer Team

  7. #7
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Convert Error

    The command you should be using with Mencoder RC2 is:

    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 -ofps 24 -vf harddup";
    As for flvtool, turning it on or off is your choice. Basically, the tool creates metadata inside of the FLV file. Default installs of vShare do not have a need for the flvtool. However, if you use streaming products such as RTMP, Lighttpd, or some sort of PHP based streaming, you will need to have metadata in your FLV files.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  8. #8

    Default Re: Convert Error

    Quote Originally Posted by bplex
    The command you should be using with Mencoder RC2 is:

    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 -ofps 24 -vf harddup";
    As for flvtool, turning it on or off is your choice. Basically, the tool creates metadata inside of the FLV file. Default installs of vShare do not have a need for the flvtool. However, if you use streaming products such as RTMP, Lighttpd, or some sort of PHP based streaming, you will need to have metadata in your FLV files.
    I think i was using that command (only the arguments were in different order however i think that can't be a problem)

    output:
    Code:
    CONVERT COMMAND: /usr/local/bin/mencoder '/www/virtual/www.domain.com/html/video/video.wmv' -o /www/virtual/www.domain.com/html/flvideo/12319535822112060445.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
    (
    )
    
    ####################################################
    
    Return value:

  9. #9
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Convert Error

    Login to your server via SSH and type in the output command that is showing up and see if you get an error. A blank array means that mencoder is not being loaded. I have seen this happen with people who have jailed accounts.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  10. #10

    Default Re: Convert Error

    the output:

    Code:
    [name@name ~/www.domain.com/html/video]$ /usr/local/bin/mencoder /www/virtual/www.domain.com/html/video/ziggy10.wmv -o /www/virtual/www.domain.com/html/flvideo/test.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 1.0rc2-3.4.2 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 9)
    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    success: format: 0  data: 0x0 - 0x76ee0a
    ASF file format detected.
    [asfheader] Audio stream found, -aid 1
    [asfheader] Video stream found, -vid 2
    VIDEO:  [WMV3]  640x480  24bpp  1000.000 fps  834.4 kbps (101.9 kbyte/s)
    [V] filefmt:6  fourcc:0x33564D57  size:640x480  fps:1000.00  ftime:=0.0010
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 44100 Hz, 2 ch, s16le, 123.9 kbit/8.78% (ratio: 15482->176400)
    Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
    ==========================================================================
    ** MUXER_LAVF *****************************************************************
    REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
    INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
    will play these INCORRECT files as if nothing were wrong!
    *******************************************************************************
    OK, exit
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [harddup]
    ==========================================================================
    Requested video codec family [wmv9dmo] (vfm=dmo) not available.
    Enable it at compilation.
    Requested video codec family [wmvdmo] (vfm=dmo) not available.
    Enable it at compilation.
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg M$ WMV3/WMV9)
    ==========================================================================
    MP3 audio selected.
    VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    videocodec: libavcodec (640x480 fourcc=31564c46 [FLV1])
    [VE_LAVC] High quality encoding selected (non-realtime)!
    Compiler did not align stack variables. Libavcodec has been miscompiled
    and may be very slow or crash. This is not a bug in libavcodec,
    but in the compiler. You may try recompiling using gcc >= 4.2.
    Do not report crashes to FFmpeg developers.
    VIDEO CODEC ID: 22
    AUDIO CODEC ID: 15001, TAG: 0
    Writing header...
    
    6 duplicate frame(s)!
    Pos:   0.5s      6f ( 1%)  0.00fps Trem:   0min   2mb  A-V:0.013 [0:0]]
    Skipping frame!
    Pos:   0.7s     11f ( 2%)  0.00fps Trem:   0min   3mb  A-V:0.030 [0:63]
    Skipping frame!
    Pos:   0.8s     16f ( 2%)  0.00fps Trem:   0min   4mb  A-V:0.046 [0:61]
    Skipping frame!
    Pos:   1.0s     21f ( 2%) 20.77fps Trem:   0min   5mb  A-V:0.063 [0:61]
    Skipping frame!
    Pos:   1.2s     26f ( 3%) 13.86fps Trem:   0min   5mb  A-V:0.076 [1244:61]
    Skipping frame!
    Pos:   1.2s     29f ( 3%)  9.43fps Trem:   1min   5mb  A-V:0.086 [1237:60]
    Skipping frame!
    Pos:   1.3s     31f ( 3%)  8.02fps Trem:   1min   6mb  A-V:0.051 [1240:60]
    Skipping frame!
    Pos:   1.5s     36f ( 3%)  5.55fps Trem:   2min   5mb  A-V:0.064 [1166:60]
    Skipping frame!
    Pos:   1.6s     41f ( 4%)  4.39fps Trem:   3min   5mb  A-V:0.072 [1090:59]
    Skipping frame!
    Pos:   1.8s     45f ( 4%)  4.71fps Trem:   3min   5mb  A-V:0.086 [1043:59]
    Skipping frame!
    Pos:   1.8s     46f ( 4%)  4.81fps Trem:   3min   5mb  A-V:0.046 [1043:60]
    Skipping frame!
    Pos:   1.9s     51f ( 4%)  4.67fps Trem:   4min   5mb  A-V:0.042 [1010:60]
    Skipping frame!

Page 1 of 3 123 LastLast

Similar Threads

  1. Convert Error
    By ct2k7 in forum Installation Support
    Replies: 1
    Last Post: 04-20-2009, 04:05 AM
  2. Convert error
    By tanjiajun_34 in forum Installation Support
    Replies: 5
    Last Post: 01-05-2009, 07:33 AM
  3. convert error
    By harleywiz in forum Installation Support
    Replies: 2
    Last Post: 06-06-2008, 04:44 AM
  4. Convert Error
    By sathees in forum Bug Reports
    Replies: 1
    Last Post: 02-14-2008, 05:01 AM
  5. Convert Error
    By sysking in forum Installation Support
    Replies: 7
    Last Post: 10-03-2007, 03:55 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
  •