Results 1 to 6 of 6

Thread: encoder commands

  1. #1

    Default encoder commands

    Ok - as previously noted in another thread, I have 2 sites with 2 purchased scripts from you. They are both on the same server and both using the latest version of mencoder as I just did SVN updates.

    The one site uses vshare 2.1 Released on: 22 May 2007 - and it works absolutely fine t0 upload and encode files, etc. No issues other than missing the features in current releases.

    The new script I purchased 2.5 - files upload but can not encode to flash file. Everything else works but this last step. Mencoder is fine so the issue seems to be the encoder command in video_conversion.php

    So far I have tried....

    newer version
    $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:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup";

    and

    "$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:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es";

    Neither do it - and when sshing to box and running command line - get varying errors each time.

    CAN YOU PLEASE TELL ME WHAT COMMAND LINE IS RUNNING IN vshare 2.1 Released on: 22 May 2007 or WHERE I CAN FIND IT as that seems to be the only thing which works.

    PLEASE DO NOT TELL ME I have an old version of mencoder or mencoder is not working. It was updated with SVN update and is running.

    SORRY BUT AFTER 5 DAYS GETTING IMPATIENT HERE. AND YOU MUST BE TIRED OF ALL THESE SUPPORT QUESTIONS.

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

    Default Re: encoder commands

    If you are using latest version of mencoder, use following convert command

    $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:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup";

    If that do not convert video into FLV, try running the conver command in SSH prompt.

    If it can't convert video into FLV format, your installation have some problem.

  3. #3

    Default Re: encoder commands

    Already tried all this. Again just tell me where to find the convert commands in the older version of vshare as they seem to be the only one that fully works with all video types.

    and yes am running the newest version of mencoder as I did SVN update which took fine.

    same server web2.dvol.com - works for philadelphiadance.tv with older version but not mmvideos.org with newer version of vshare.

  4. #4

    Default Re: encoder commands

    /usr/local/bin/mencoder '/home/mmvideos/public_html/video/Lament.wmv' -o /home/mmvideos/public_html/flvideo/11924659171236726740.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es

    vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24
    MEncoder dev-SVN-r23390-3.4.6 (C) 2000-2007 MPlayer Team
    CPU: AMD Athlon(TM) XP 2600+ (Family: 6, Model: 10, Stepping: 0)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
    Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

    success: format: 0 data: 0x0 - 0x1f2a1c0
    ASF file format detected.
    [asfheader] Audio stream found, -aid 1
    [asfheader] Video stream found, -vid 2
    VIDEO: [WMV1] 720x480 24bpp 1000.000 fps 1500.0 kbps (183.1 kbyte/s)
    [V] filefmt:6 fourcc:0x31564D57 size:720x480 fps:1000.00 ftime:=0.0010
    ================================================== ========================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16005->176400)
    Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
    ================================================== ========================
    ** MUXER_LAVF ************************************************** ***************
    You have certified that your video stream does not contain B frames.
    REMEMBER: MEncoder's libavformat muxing is presently broken and will 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 decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffwmv1] vfm: ffmpeg (FFmpeg M$ WMV1/WMV7)
    ================================================== ========================
    MP3 audio selected.
    VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    videocodec: libavcodec (720x480 fourcc=34504d46 [FMP4])
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    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. Do not report crashes to FFmpeg developers.
    VIDEO CODEC ID: 13
    AUDIO CODEC ID: 15001, TAG: 0
    Writing header...
    [NULL @ 0x8681cdc]video codec not compatible with flv
    Floating point exception (core dumped)

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

    Default Re: encoder commands

    Quote Originally Posted by musicandmotion
    Already tried all this. Again just tell me where to find the convert commands in the older version of vshare as they seem to be the only one that fully works with all video types.
    Old version use ffmpeg for video conversion. In include/settings/video_conversion.php, you can select ffmpeg for convering.

    See

    viewtopic.php?f=3&t=352

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

    Default Re: encoder commands

    Floating point exception (core dumped)
    Some thing wrong with mencoder installed on your server.

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
  •