Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2008
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    FFMPEG audio/video synchronization

    Hi again,

    I知 using FFMPEG.exe on Windows.
    Using an exec command in a PHP script I知 converting wmv, mov and mp4 to swf or flv.

    Everything goes great but when converting wmv or mov to either swf or flv the audio goes first than the video, so no synchronization in between voices and people when they speak.

    How can I solve that?? Warning: I致e only been using FFMPEG for a week ;-)

    This is the command that I知 giving to FFMPEG trough the PHP script:
    ffmpeg -i movie.mov -ab 64 -ar 44100 -b 200 -r 15 -s 256x188 -y movie.flv


    Thanks a lot in advance!!

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Never used the program, but taking a stab in the dark from my video experiences:

    Are your video's VBR or CBR? I've had issues when making flash videos when using Variable Bit Rates. Perhaps the issue is the input, not the program. Just a guess.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    New Coder
    Join Date
    Feb 2008
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, but I've tried with several sources (different codifications) and all outputs have the same problem: the video starts playing a few seconds after the audio


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •