VideoHelp Forum
+ Reply to Thread
Results 1 to 1 of 1
Thread
  1. EDIT - SOLUTION FOUND :I changed output container to m4a & problem's solved!

    Got the idea from 4th comment of top answer here: https://stackoverflow.com/questions/9913032/how-can-i-extract-audio-from-video-with-ffmpeg

    Not really well versed with codecs & stuff, I was using aac container as original MP4 showed it contained an AAC codec in the audio track.

    ORIGINAL QUESTION:

    Hi all, trying to use ffmpeg to batch process multiple files, but faltering at the very first step. Below problem happens with multiple input files.

    Output file should be: 12m10s duration. Actual turns out to be: 11m19s duration.

    But actual file keeps playing beyond 11m19s even though timestamp halts there. So cutting is done properly, just the ending timestamp is wrong.

    FFMPEG command I run (to extract audio from a big file): `ffmpeg -f concat -i input.txt -vn -acodec copy out.aac`

    input.txt:

    file 'input.mp4'
    inpoint 40:45
    outpoint 47:02
    file 'input.mp4'
    inpoint 47:19
    outpoint 48:24
    file 'input.mp4'
    inpoint 49:43
    outpoint 52:42
    file 'input.mp4'
    inpoint 52:53
    outpoint 54:42

    Get a bunch of "application provided invalid non monotonically increasing dts to muxer in stream" warnings. Any ideas how to fix? Thank you.

    FFMPEG full log: [https://pastebin.com/m9iHgz8P](https://pastebin.com/m9iHgz8P)

    input.mp4 metadata: [https://pastebin.com/S2GmMgz9](https://pastebin.com/S2GmMgz9)

    FFMPEG version - 4.2
    Last edited by BillyP; 18th Sep 2022 at 14:18.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!