[FFmpeg-user] Change frame rate without dropping/adding frames

Elliott Balsley elliottbalsley at gmail.com
Fri Jan 16 05:14:26 CET 2015


Ah yes of course, I had the numbers mixed up in my head. Thanks Nick.

Now when I do the conversion, I get all these non-monotonous DTS
warnings.  Is there any solution to that, other than reducing the
loglevel?   The output file seems to be correct, albeit without a
timecode track.  Timecode is not imperative after this kind of
conversion, but I do think it would be preferable to stamp the first
frame the same as the source.

$ ffmpeg -r 12 -i leader.mp4 -an -vcodec copy -f avi leader-slow.avi
ffmpeg version 2.4.git-e113692 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct  4 2014 21:20:35 with Apple LLVM version 6.0
(clang-600.0.51) (based on LLVM 3.5svn)
  configuration: --prefix=/opt/local --enable-swscale
--enable-avfilter --enable-avresample --enable-libmp3lame
--enable-libvorbis --enable-libopus --enable-libtheora
--enable-libschroedinger --enable-libopenjpeg --enable-libmodplug
--enable-libvpx --enable-libspeex --enable-libass --enable-libbluray
--enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype
--enable-libfribidi --disable-indev=jack --disable-outdev=xv
--mandir=/opt/local/share/man --enable-shared --enable-pthreads
--cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm
--enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
--enable-nonfree --enable-libfdk-aac --enable-libfaac
  libavutil      54.  7.101 / 54.  7.101
  libavcodec     56.  1.101 / 56.  1.101
  libavformat    56.  5.100 / 56.  5.100
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.102 /  5.  1.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  1.100 / 53.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'leader.mp4':
  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: M4V mp42isom
    creation_time   : 2015-01-16 00:15:42
  Duration: 00:00:08.09, start: 0.000000, bitrate: 2369 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(tv, bt709), 1920x1080, 2181 kb/s, 23.98 fps, 23.98 tbr, 24k
tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2015-01-16 00:15:42
      handler_name    : Mainconcept MP4 Video Media Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 189 kb/s (default)
    Metadata:
      creation_time   : 2015-01-16 00:15:42
      handler_name    : Mainconcept MP4 Sound Media Handler
Output #0, avi, to 'leader-slow.avi':
  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: M4V mp42isom
    ISFT            : Lavf56.5.100
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p,
1920x1080, q=2-31, 2181 kb/s, 23.98 fps, 12 tbn, 12 tbc (default)
    Metadata:
      creation_time   : 2015-01-16 00:15:42
      handler_name    : Mainconcept MP4 Video Media Handler
      encoder         : AVC Coding
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 1, current: 1; changing to 2. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 2, current: 2; changing to 3. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 3, current: 2; changing to 4. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 4, current: 3; changing to 5. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 5, current: 3; changing to 6. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 6, current: 4; changing to 7. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 7, current: 4; changing to 8. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 8, current: 5; changing to 9. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 9, current: 5; changing to 10. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 10, current: 6; changing to 11. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 11, current: 6; changing to 12. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 12, current: 7; changing to 13. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 13, current: 7; changing to 14. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 14, current: 8; changing to 15. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 15, current: 8; changing to 16. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 16, current: 9; changing to 17. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 17, current: 9; changing to 18. This may result in incorrect
timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 18, current: 10; changing to 19. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 19, current: 10; changing to 20. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 20, current: 11; changing to 21. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 21, current: 11; changing to 22. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 22, current: 12; changing to 23. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 23, current: 12; changing to 24. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 24, current: 13; changing to 25. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 25, current: 13; changing to 26. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 26, current: 14; changing to 27. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 27, current: 14; changing to 28. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 28, current: 15; changing to 29. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 29, current: 15; changing to 30. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 30, current: 16; changing to 31. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 31, current: 16; changing to 32. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 32, current: 17; changing to 33. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 33, current: 17; changing to 34. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 34, current: 18; changing to 35. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 35, current: 18; changing to 36. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 36, current: 19; changing to 37. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 37, current: 19; changing to 38. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 38, current: 20; changing to 39. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 39, current: 20; changing to 40. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 40, current: 21; changing to 41. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 41, current: 21; changing to 42. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 42, current: 22; changing to 43. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 43, current: 22; changing to 44. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 44, current: 23; changing to 45. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 45, current: 23; changing to 46. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 46, current: 24; changing to 47. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 47, current: 24; changing to 48. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 48, current: 25; changing to 49. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 49, current: 25; changing to 50. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 50, current: 26; changing to 51. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 51, current: 26; changing to 52. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 52, current: 27; changing to 53. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 53, current: 27; changing to 54. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 54, current: 28; changing to 55. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 55, current: 28; changing to 56. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 56, current: 29; changing to 57. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 57, current: 29; changing to 58. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 58, current: 30; changing to 59. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 59, current: 30; changing to 60. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 60, current: 31; changing to 61. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 61, current: 31; changing to 62. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 62, current: 32; changing to 63. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 63, current: 32; changing to 64. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 64, current: 33; changing to 65. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 65, current: 33; changing to 66. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 66, current: 34; changing to 67. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 67, current: 34; changing to 68. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 68, current: 35; changing to 69. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 69, current: 35; changing to 70. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 70, current: 36; changing to 71. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 71, current: 36; changing to 72. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 72, current: 37; changing to 73. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 73, current: 37; changing to 74. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 74, current: 38; changing to 75. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 75, current: 38; changing to 76. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 76, current: 39; changing to 77. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 77, current: 39; changing to 78. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 78, current: 40; changing to 79. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 79, current: 40; changing to 80. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 80, current: 41; changing to 81. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 81, current: 41; changing to 82. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 82, current: 42; changing to 83. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 83, current: 42; changing to 84. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 84, current: 43; changing to 85. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 85, current: 43; changing to 86. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 86, current: 44; changing to 87. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 87, current: 44; changing to 88. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 88, current: 45; changing to 89. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 89, current: 45; changing to 90. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 90, current: 46; changing to 91. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 91, current: 46; changing to 92. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 92, current: 47; changing to 93. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 93, current: 47; changing to 94. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 94, current: 48; changing to 95. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 95, current: 48; changing to 96. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 96, current: 49; changing to 97. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 97, current: 49; changing to 98. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 98, current: 50; changing to 99. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 99, current: 50; changing to 100. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 100, current: 51; changing to 101. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 101, current: 51; changing to 102. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 102, current: 52; changing to 103. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 103, current: 52; changing to 104. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 104, current: 53; changing to 105. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 105, current: 53; changing to 106. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 106, current: 54; changing to 107. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 107, current: 54; changing to 108. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 108, current: 55; changing to 109. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 109, current: 55; changing to 110. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 110, current: 56; changing to 111. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 111, current: 56; changing to 112. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 112, current: 57; changing to 113. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 113, current: 57; changing to 114. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 114, current: 58; changing to 115. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 115, current: 58; changing to 116. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 116, current: 59; changing to 117. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 117, current: 59; changing to 118. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 118, current: 60; changing to 119. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 119, current: 60; changing to 120. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 120, current: 61; changing to 121. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 121, current: 61; changing to 122. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 122, current: 62; changing to 123. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 123, current: 62; changing to 124. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 124, current: 63; changing to 125. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 125, current: 63; changing to 126. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 126, current: 64; changing to 127. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 127, current: 64; changing to 128. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 128, current: 65; changing to 129. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 129, current: 65; changing to 130. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 130, current: 66; changing to 131. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 131, current: 66; changing to 132. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 132, current: 67; changing to 133. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 133, current: 67; changing to 134. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 134, current: 68; changing to 135. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 135, current: 68; changing to 136. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 136, current: 69; changing to 137. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 137, current: 69; changing to 138. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 138, current: 70; changing to 139. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 139, current: 70; changing to 140. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 140, current: 71; changing to 141. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 141, current: 71; changing to 142. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 142, current: 72; changing to 143. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 143, current: 72; changing to 144. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 144, current: 73; changing to 145. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 145, current: 73; changing to 146. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 146, current: 74; changing to 147. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 147, current: 74; changing to 148. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 148, current: 75; changing to 149. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 149, current: 75; changing to 150. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 150, current: 76; changing to 151. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 151, current: 76; changing to 152. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 152, current: 77; changing to 153. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 153, current: 77; changing to 154. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 154, current: 78; changing to 155. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 155, current: 78; changing to 156. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 156, current: 79; changing to 157. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 157, current: 79; changing to 158. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 158, current: 80; changing to 159. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 159, current: 80; changing to 160. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 160, current: 81; changing to 161. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 161, current: 81; changing to 162. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 162, current: 82; changing to 163. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 163, current: 82; changing to 164. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 164, current: 83; changing to 165. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 165, current: 83; changing to 166. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 166, current: 84; changing to 167. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 167, current: 84; changing to 168. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 168, current: 85; changing to 169. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 169, current: 85; changing to 170. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 170, current: 86; changing to 171. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 171, current: 86; changing to 172. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 172, current: 87; changing to 173. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 173, current: 87; changing to 174. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 174, current: 88; changing to 175. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 175, current: 88; changing to 176. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 176, current: 89; changing to 177. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 177, current: 89; changing to 178. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 178, current: 90; changing to 179. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 179, current: 90; changing to 180. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 180, current: 91; changing to 181. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 181, current: 91; changing to 182. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 182, current: 92; changing to 183. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 183, current: 92; changing to 184. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 184, current: 93; changing to 185. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 185, current: 93; changing to 186. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 186, current: 94; changing to 187. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 187, current: 94; changing to 188. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 188, current: 95; changing to 189. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 189, current: 95; changing to 190. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 190, current: 96; changing to 191. This may result in
incorrect timestamps in the output file.
[avi @ 0x7fb56392ec00] Non-monotonous DTS in output stream 0:0;
previous: 191, current: 96; changing to 192. This may result in
incorrect timestamps in the output file.
frame=  193 fps=0.0 q=-1.0 Lsize=    2154kB time=00:00:16.08
bitrate=1097.0kbits/s
video:2143kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.475101%


On 1/15/15, Nicholas Robbins <nickrobbins-at-yahoo.com at ffmpeg.org> wrote:
>> On Thursday, January 15, 2015 7:30 PM, Elliott Balsley
>> <elliottbalsley at gmail.com> wrote:
>
>> > After a long break from this issue, I have a new problem.  For
>> example, I want to take a 24fps video and make it play slow-mo at
>> 12fps.  The input option -r is dropping frames, rather than slowing
>> down the playback speed.  I don't have my main computer right now,
>> which uses the latest git master; I'm just using my laptop which uses
>> a macports build, so maybe that's the reason?  Or am I using this
>> command wrong?
>>
>> $ ffmpeg -r 24 -i /temp/leader.mp4 -r 12 test.mov
>
>
> You are using the command wrong. That says "use this input as if it were
> 24fps. Do stuff with that, and then encode the resulting video as 12fps,
> discarding/dupping frames if needed."
>
> Two options that should work:
>
> ffmpeg -r 12 -i /temp/leader.mp4 test.mov
>
> or
>
> ffmpeg -i /temp/leader.mp4  -vf setpts=2.0*PTS test.mov
>
> -Nick
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list