Results 1 to 5 of 5

Thread: Wont prcess wmv files

  1. #1

    Default Wont prcess wmv files

    wont Process wmv videos.

    I deleted the debug.txt, uploaded a vid and heres the debug.txt:

    Code:
    2007-09-16 6:15:45 Upload Finished
    
    2007-09-16 6:15:45 Video (2) Conversion starting...
    
    2007-09-16 6:15:45 File: /usr/local/apache/sites/client127/site.com/htdocs/vid/video/asian_wantsex_1.wmv
    
    2007-09-16 6:15:45 -------------------------------------------------------------
    
    2007-09-16 6:15:45 INSERT INTO video SET
    				UID='2',
    				title='fhc bcbcx',
    				description='vnvn',
    				keyword='vxnv',
    				channel='0|25|0',
    				space = '0',
    				addtime='1189937745',
    				adddate='2007-09-16',
    				vkey='80995778',
    				type='public',
    				active='0',
    				approve='1'
    
    2007-09-16 6:15:45 -------------------------------------------------------------
    
    2007-09-16 6:15:45 Video id: 2
    
    2007-09-16 6:15:45 Calling ffmpeg-php -> ffmpeg_movie()
    
    2007-09-16 6:15:45 Get video duration - START
    
    2007-09-16 6:15:45 Get video duration - END
    
    2007-09-16 6:15:45 DURATION: 5.056
    
    2007-09-16 6:15:45 Create Thumbnail - START
    
    2007-09-16 6:15:46 Create Thumbnail - END
    
    2007-09-16 6:15:46 CONVERT COMMAND:
    
    
    
    2007-09-16 6:15:46 -------------------------------------------------------------
    
    2007-09-16 6:15:46 MEncoder dev-SVN-r24337-3.4.6 (C) 2000-2007 MPlayer Team
    
    CPU: Intel(R) Xeon(R) CPU            5110  @ 1.60GHz (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
    
    
    
    
    
    Exiting... (error parsing command line)
    
    
    
    2007-09-16 6:15:46 -------------------------------------------------------------
    
    2007-09-16 6:15:46 Return value: Exiting... (error parsing command line)
    
    2007-09-16 6:15:46 Calling process_video[2,0]
    Any ideas??

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

    Default Re: Wont prcess wmv files

    Your mencoder installation is missing some codec to convert wmv file to FLV format. You may need to reinstall mencoder.

    Code:
    /usr/local/bin/mencoder '/usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/video/asian_wantsex_1.wmv' -o /usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/flvideo/11899377461105091633.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
    Ask your server admin to run the above command and see if video with flv extension is created. If mencoder is installed properly, it will convert /usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/video/asian_wantsex_1.wmv into /usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/flvideo/11899377461105091633.flv

  3. #3

    Default Re: Wont prcess wmv files

    Ok Fixed.

    Wasnt anything to do with the server configs.

    Heres the solution for anyone else havin probs with converting to flv.

    1. open

    Include > Settings > video_conversion.php

    2. Find on 4th line

    -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es

    Delete IT

    And you done!!

    So original code:

    Code:
    <?php
    
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec mp3 -ar 22050 -ab 32 -f flv $video_flv";
    $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;

    Altered code:

    Code:
    <?php
    
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec mp3 -ar 22050 -ab 32 -f flv $video_flv";
    $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 ";
    
    $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;

  4. #4
    Join Date
    May 2007
    Posts
    588

    Default Re: Wont prcess wmv files

    you may need to add

    -ofps 24
    or the video may play to fast for the audio

  5. #5

    Default Re: Wont prcess wmv files

    Thanks for the tip.

    Works fine as it is atm, but only using short files for testing . So ill change it if it becomes an issue :wink:

Similar Threads

  1. Embeeded Movies Wont go Full Screen...
    By yose in forum General Discussions
    Replies: 14
    Last Post: 01-06-2009, 05:07 AM
  2. Movies Wont Upload
    By Ignotus in forum Installation Support
    Replies: 4
    Last Post: 12-07-2007, 12:23 PM
  3. admin logo and watermark wont upload
    By peterh33 in forum Installation Support
    Replies: 1
    Last Post: 12-05-2007, 02:40 PM
  4. Need help uploading a file wont complete load
    By epropnet in forum Installation Support
    Replies: 11
    Last Post: 07-09-2007, 05:54 PM
  5. No Thumbnails & Video wont play...
    By YoYo in forum Installation Support
    Replies: 2
    Last Post: 06-22-2007, 07:52 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
  •