Results 1 to 3 of 3

Thread: converting video.xxx > video.flv

  1. #1

    Default converting video.xxx > video.flv

    hello admin...

    vshare 2.5 is very nice, excepting one thing!
    the video conversion seems to have some bugs, as seen also in your forum

    i have problem to convert any video to flv ( flv > flv works nice! )

    i tryed to convert wmv to flv, using the import video option in vshare admin, also i tryed to upload it directly from vshare-website:

    the result from the cron.php is as follows:
    __________________________________________________ _______________________________________
    cronjob started
    Video (18) Conversion starting...
    File: /home/xxxxxxxxxxxx/public_html/video/70_1.wmv
    -------------------------------------------------------------
    UPDATE video SET active='0' where VID=583
    -------------------------------------------------------------
    Video id: 583
    Calling ffmpeg-php -> ffmpeg_movie()
    Get video duration - START
    Get video duration - END
    DURATION: 245.466
    Create Thumbnail - START
    Create Thumbnail - END
    CONVERT COMMAND: /usr/local/bin/mencoder '/home/xxxxxxxxxx/public_html/video/70_1.wmv' -o /home/xxxxxxxxxx/public_html/flvideo/11925866601469662619.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
    -------------------------------------------------------------
    Array
    (
    [0] => MEncoder dev-SVN-r24785-4.1.1 (C) 2000-2007 MPlayer Team
    [1] => CPU: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz (Family: 6, Model: 15, 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] =>
    [6] => Exiting... (error parsing command line)
    )
    -------------------------------------------------------------
    Return value: Exiting... (error parsing command line)
    File Size too small : Bytes, Upload a big video.
    __________________________________________________ _________________________________

    i try out the old and the new command in video_conversion.php, with the same result !

    also i try the command via SSH as follows:

    mencoder 70.wmv -o 9.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

    with having the following output:

    __________________________________________________ __________________________________

    [root@moc test]# mencoder 70.wmv -o 9.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
    MEncoder dev-SVN-r24785-4.1.1 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Xeon(R) CPU 3060 @ 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 - 0x897888
    ASF file format detected.
    [asfheader] Audio stream found, -aid 1
    [asfheader] Video stream found, -vid 2
    VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 252.7 kbps (30.8 kbyte/s)
    [V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:1000.00 ftime:=0.0010
    ================================================== ========================
    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))
    ================================================== ========================
    ** 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 decoder: [dmo] DMO video codecs
    Creating new registry
    Failed to open registry file '/root/.mplayer/registry' for writing.
    DMO dll supports VO Optimizations 0 1
    DMO dll might use previous sample when requested
    Failed to open registry file '/root/.mplayer/registry' for writing.
    Failed to open registry file '/root/.mplayer/registry' for writing.
    Failed to open registry file '/root/.mplayer/registry' for writing.
    GetOutput r=0x0 size:230400 align:1
    StreamCount r=0x0 1 1
    Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
    Decoder is capable of YUV output (flags 0x1b)
    VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    videocodec: libavcodec (320x240 fourcc=31564c46 [FLV1])
    [VE_LAVC] High quality encoding selected (non-realtime)!
    Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
    ================================================== ========================
    MP3 audio selected.
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    VIDEO CODEC ID: 22
    AUDIO CODEC ID: 15001, TAG: 0
    Writing header...
    Pos: 0.2s 4f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.010 [0:0]
    3 duplicate frame(s)!
    Pos: 0.7s 13f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.042 [0:53]
    Skipping frame!
    Pos: 0.8s 18f ( 1%) 0.00fps Trem: 0min 1mb A-V:0.059 [0:54]
    Skipping frame!
    Pos: 1.0s 23f ( 1%) 0.00fps Trem: 0min 2mb A-V:0.075 [0:54]
    Skipping frame!
    Pos: 1.1s 26f ( 1%) 0.00fps Trem: 0min 2mb A-V:0.085 [331:54]
    Skipping frame!
    Pos: 1.1s 28f ( 1%) 0.00fps Trem: 0min 2mb A-V:0.050 [354:54]
    Skipping frame!
    Pos: 1.3s 33f ( 2%) 0.00fps Trem: 0min 3mb A-V:0.054 [388:54]
    Skipping frame!
    Pos: 1.5s 38f ( 2%) 0.00fps Trem: 0min 3mb A-V:0.067 [416:54]
    Skipping frame!

    . . .
    . . .
    . . .

    Pos: 245.2s 7353f (100%) 111.17fps Trem: 0min 16mb A-V:-0.009 [498:56]
    Skipping frame!
    Pos: 245.4s 7357f (100%) 111.20fps Trem: 0min 16mb A-V:-0.023 [497:56]
    Flushing video frames.
    Writing index...

    Video stream: 497.846 kbit/s (62230 B/s) size: 15269884 bytes 245.375 secs 7357 frames

    Audio stream: 56.596 kbit/s (7074 B/s) size: 1735486 bytes 245.316 secs
    Failed to open registry file '/root/.mplayer/registry' for writing.
    Failed to open registry file '/root/.mplayer/registry' for writing.
    [root@moc test]#

    __________________________________________________ __________________________________

    What is the matter???

    best regards

  2. #2

    Default

    Please makse sure the path settings in the config.php

  3. #3
    Join Date
    Sep 2007
    Posts
    906

    Default Re: converting video.xxx > video.flv

    Code:
    /usr/local/bin/mencoder '/home/xxxxxxxxxx/public_html/video/70_1.wmv' -o /home/xxxxxxxxxx/public_html/flvideo/11925866601469662619.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
    In ssh prompt type following command and see if that works.

    From your post, u have not entered full path to mencoder when u try in SSH.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Similar Threads

  1. video no converting properly
    By murffdurtt in forum Installation Support
    Replies: 2
    Last Post: 10-27-2008, 09:27 PM
  2. Video converting Failing
    By alex288288 in forum General Discussions
    Replies: 0
    Last Post: 10-01-2008, 02:43 AM
  3. WMV video not converting. Help Please
    By sullenest in forum Installation Support
    Replies: 6
    Last Post: 04-02-2008, 01:53 AM
  4. Video Description Section On View Video Page....
    By apj5621 in forum Bug Reports
    Replies: 0
    Last Post: 09-09-2007, 01:16 AM
  5. video not converting
    By bman in forum Installation Support
    Replies: 16
    Last Post: 06-14-2007, 11:07 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
  •