I convert wma to mp3:

  find -name *.wma -exec ffmpeg -i {} -acodec libmp3lame -ab 224k {}.mp3 \;

By conversation process I got warning messages for all media files

[mp3 @ 0x1de53e0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 11567 >= 10662

But converted files played without problems. How critical is the message in this case?

  • You should use find -name "*.wma" instead of find -name *.wma. Otherwise, the * will be expanded before find sees it, and this would be problematic in most cases where find is used. – slhck Sep 28 '15 at 6:47

If the files play fine, you don't have to worry about it.

It means that in the input file, the timestamps associated with samples are not increasing monotonically. That shouldn't be the case, but I think that ffmpeg will usually correct these problems on its own.

If you are using an outdated ffmpeg version, updating to a newer one may help resolve these issues, in case it's a problem with the decoder rather than the actual input files.

  • Obviously you do not really need to worry . But he decided to ask just in case . – Yuchimenko Igor Sep 28 '15 at 18:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.