Results 1 to 4 of 4

Thread: Music not in sync with video

  1. #1
    Join Date
    Nov 2007
    Posts
    3

    Default Music not in sync with video

    For some reason my music is not in sync with my video... the video is a little faster.

    Can anyone help?

    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 -ofps 24";
    
    $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;

  2. #2
    Join Date
    Nov 2007
    Posts
    3

    Default Re: Music not in sync with video

    Can someone help me out with this?

  3. #3

    Default

    Try with this
    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";

  4. #4
    Join Date
    Nov 2007
    Posts
    3

    Default Re: Music not in sync with video

    Got it working. Thank you for the help!

Similar Threads

  1. [ADD-ON] - MUSIC UPLOADER - BETA TESTING
    By galnet in forum Template Modifications
    Replies: 17
    Last Post: 10-06-2008, 03:56 AM
  2. Uploading Music
    By joecool6101 in forum Feature Requests
    Replies: 5
    Last Post: 09-29-2008, 07:02 AM
  3. Make a music uploader
    By tubeforyou in forum General Discussions
    Replies: 1
    Last Post: 04-06-2008, 08:05 PM
  4. Channels Pics not in Sync with Title and Description
    By grynmoors in forum Installation Support
    Replies: 2
    Last Post: 08-14-2007, 10:43 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
  •