id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
1125,Flash 11 RTMP h264 non monotonically increasing error,finalweb,,"When trying to capture an RTMP stream that's published with Flash 11 using H264, I'm getting a ""non monotonically increasing dts to muxer"" error. 

The command I'm running is: /usr/local/bin/ffmpeg -i rtmp://[server address]/[application]/myStream -acodec libfaac -vcodec copy -f flv test.flv

The same issue happens when running ffmpeg on the attached file which was recorded using wowza from the same Flash 11 application. Any idea what might be causing this issue and when there might be a fix available?

Console output below...


[root@domU-12-31-39-16-DD-83 test]# /usr/local/bin/ffmpeg -i rtmp://live.finalweb.net/94blbnunn/myStream -acodec libfaac -vcodec copy -f flv test.flv
ffmpeg version N-38999-g5ca595f Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 21 2012 19:14:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
  configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC
  libavutil      51. 43.100 / 51. 43.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 65.102 /  2. 65.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
[flv @ 0x1ce63a0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://live.finalweb.net/94blbnunn/myStream':
  Metadata:
    description     : 
  Duration: N/A, start: 0.000000, bitrate: 96 kb/s
    Stream #0:0: Video: h264 (Baseline), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 15 tbr, 1k tbn, 30 tbc
    Stream #0:1: Audio: nellymoser, 44100 Hz, mono, s16, 96 kb/s
Output #0, flv, to 'test.flv':
  Metadata:
    description     : 
    encoder         : Lavf54.2.100
    Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 1k tbn, 1k tbc
    Stream #0:1: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, mono, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (nellymoser -> libfaac)
Press [q] to stop, [?] for help
[flv @ 0x1dab5a0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 226 >= 226
av_interleaved_write_frame(): Invalid argument",defect,closed,normal,undetermined,git-master,fixed,av_interleaved_write_frame flv h264,,,,1,0
