Results 1 to 10 of 10

Thread: Converting Error MENCODER

  1. #1

    Default Converting Error MENCODER

    Converting Issues
    Last edited by umarsa; 05-02-2013 at 12:53 PM.

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

    Default Re: Converting Error MENCODER

    Contact your web host and ask which convert command work on the server.

  3. #3

    Default Re: Converting Error MENCODER

    This has been solved.
    Last edited by umarsa; 05-02-2013 at 12:53 PM.

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

    Default Re: Converting Error MENCODER

    vshare don't have any special command. What ever command works just pit it on

    include/settings/video_conversion.php

    will work.

    Code:
    <?php
    
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
    
    # For 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";
    
    # For latest 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 -ofps 24 -vf harddup";
    
    $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;
    $convert_divx = $cmd_all;
    $convert_swf = $cmd_all;
    Change the value of $cmd_mencoder to whatever that will work on the server.

    Have you tried with 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 -ofps 24 -vf harddup";
    This is the default one enabled, that is for latest version of mencoder.

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

    Default Re: Converting Error MENCODER

    Quote Originally Posted by umarsa
    CONVERT COMMAND: /usr/local/bin/mencoder '/home2/tubehost/swiftvids.com/video/Movie_0001.wmv' -o /home2/tubehost/swiftvids.com/flvideo/12244066811989247921.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 -vf harddup -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es

    Where do you get this convert command ?


    i_certify_that_my_video_stream_does_not_use_b_fram es is from old version


    -vf harddup is from new version.

    Not sure where you get the mixed convert command.

  6. #6

    Default Re: Converting Error MENCODER

    Some more debug logs..
    Last edited by umarsa; 05-02-2013 at 01:01 PM.

  7. #7

    Default Re: Converting Error MENCODER

    Any ideas anyone?
    Last edited by umarsa; 05-02-2013 at 01:01 PM.

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

    Default Re: Converting Error MENCODER

    Where you get the convert command

    Code:
    /usr/local/bin/mencoder '/home2/tubehost/swiftvids.com/video/Movie_0001.wmv' -o /home2/tubehost/swiftvids.com/flvideo/12244066811989247921.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 -vf harddup -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames

    default settins are in

    include/settings/video_conversion.php

    Code:
    <?php
    
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
    
    # For 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";
    
    # For latest 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 -ofps 24 -vf harddup";
    
    $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;
    $convert_divx = $cmd_all;
    $convert_swf = $cmd_all;
    One of these mencoder commands should work, if not there is problem with mencoder install.

    harddup is for newer version of mencoder, you have a mix of old version and new version command options.

  9. #9

    Default Re: Converting Error MENCODER

    I used the command:
    Code:
    $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
    And i got this:


    Code:
        [0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
        [1] => CPU: Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz (Family: 6, Model: 23, Stepping: 6)
        [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 - 0x5cc0a
        [6] => ASF file format detected.
        [7] => VIDEO:  [WMV3]  320x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
        [8] => [V] filefmt:6  fourcc:0x33564D57  size:320x240  fps:25.00  ftime:=0.0400
        [9] => ==========================================================================
        [10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
        [11] => AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
        [12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
        [13] => ==========================================================================
        [14] => OK, exit
        [15] => Opening video filter: [expand osd=1]
        [16] => Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
        [17] => ==========================================================================
        [18] => Opening video decoder: [dmo] DMO video codecs
        [19] => Creating new registry
        [20] => Failed to open registry file '(null)' for writing.
        [21] => DMO dll supports VO Optimizations 0 1
        [22] => DMO dll might use previous sample when requested
        [23] => Failed to open registry file '(null)' for writing.
        [24] => Failed to open registry file '(null)' for writing.
        [25] => Failed to open registry file '(null)' for writing.
        [26] => GetOutput r=0x0   size:230400  align:1
        [27] => StreamCount r=0x0  1  1
        [28] => Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
        [29] => Decoder is capable of YUV output (flags 0x1b)
        [30] => VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
        [31] => VDec: using Planar YV12 as output csp (no 0)
        [32] => Movie-Aspect is undefined - no prescaling applied.
        [33] => videocodec: libavcodec (320x240 fourcc=766c66 [flv])
        [34] => [VE_LAVC] High quality encoding selected (non-realtime)!
        [35] => Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
        [36] => ==========================================================================
        [37] => 
        [38] => Exiting...

    And the first command for new mencoder version dont work at all it just says this:
    Code:
        [0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
        [1] => CPU: Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz (Family: 6, Model: 23, Stepping: 6)
        [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 - 0x5cc0a
        [6] => ASF file format detected.
        [7] => VIDEO:  [WMV3]  320x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
        [8] => [V] filefmt:6  fourcc:0x33564D57  size:320x240  fps:25.00  ftime:=0.0400
        [9] => ==========================================================================
        [10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
        [11] => AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
        [12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
        [13] => ==========================================================================
        [14] => 
        [15] => Exiting...

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

    Default Re: Converting Error MENCODER

    You need to install latest version of mencoder and make sure mencoder can convert video to flv format. If not, your mencoder installation is faulty.

Similar Threads

  1. Error Uploading and Converting AVI and maybe more?
    By johnperry9 in forum Installation Support
    Replies: 3
    Last Post: 02-24-2009, 08:30 AM
  2. Errors with Mencoder
    By ramius in forum Installation Support
    Replies: 2
    Last Post: 07-30-2008, 05:07 PM
  3. mencoder error
    By musictvblogger in forum Fixed Bugs
    Replies: 4
    Last Post: 10-18-2007, 04:08 PM
  4. MENCODER CHANGES!
    By mersh in forum Installation Support
    Replies: 7
    Last Post: 08-31-2007, 08:17 AM
  5. FFmpeg, Mencoder, ect...
    By Killerbee in forum Installation Support
    Replies: 2
    Last Post: 08-18-2007, 02:08 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
  •