Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Remuxing with MP4Box, audio video out of sync

  1. #11
    Join Date
    Jul 2008
    Beans
    14

    Re: Remuxing with MP4Box, audio video out of sync

    should I update or compile my own?

  2. #12
    Join Date
    Mar 2011
    Beans
    183

    Re: Remuxing with MP4Box, audio video out of sync

    If all else fails, "avidemux" can either (assuming the formats are OK):
    - take your audio and video (separate) files and make your output file.
    - take your original file and convert it.
    In either case it has an audio time shift that you can preview and fiddle with until it's right (use the value under "filters", the main GUI setting doesn't always take).

  3. #13
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Remuxing with MP4Box, audio video out of sync

    Quote Originally Posted by danman33 View Post
    should I update or compile my own?
    Hi
    Try this one first ---> http://ffmpeg.gusari.org/static/


    With this command:-

    Code:
    ./ffmpeg -i R.mkv -vcodec copy -acodec libvo_aacenc -ab 192k -ar 48000 -ac 2 output.mp4

  4. #14
    Join Date
    Jul 2008
    Beans
    14

    Re: Remuxing with MP4Box, audio video out of sync

    I compiled the latest ffmpeg and it gives me the same output, i also tried the static release, same problem. I think I'll give avidemux a shot.
    Last edited by danman33; July 17th, 2012 at 06:15 PM.

  5. #15
    Join Date
    Jan 2010
    Beans
    10

    Re: Remuxing with MP4Box, audio video out of sync

    Quote Originally Posted by danman33 View Post
    okay
    Code:
    ffmpeg -i input.mkv -c:v copy -ab 256k output.mp4
    didnt even work. I tried
    Code:
    ffmpeg -i input.mkv -vcodec cpoy -acodec libfaac -ab 256k output.mp4
    and I get this output.
    [mp4 @ 0x86dd940] Application provided invalid, non monotonically increasing dts to muxer in stream 0: -83 >= -83
    av_interleaved_write_frame(): Invalid argument

    Any ideas as to what I'm doing wrong?
    Typo? Should be 'copy'

    Also, you don't need to set acodec, it'll default to AAC, and in fact it might be using the wrong AAC encoder (there are a few, iirc).

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •