[FFmpeg-user] Application provided invalid, non monotonically increasing dts to muxer in stream 0

Yogesh Tyagi yogesh.bit2006 at gmail.com
Thu Sep 6 11:26:35 CEST 2012


Hi,

I get following errors while streaming using ffserver:

Application provided invalid, non monotonically increasing dts to
muxer in stream 1
Error writing frame to output


I am feeding ffserver using ffmpeg through following command:

ffmpeg -i Sally_720x480p_2997fps_8Mbps_MP1L2_48_224.ts -vcodec libx264
-acodec mp2  -flags -global_header http://127.0.0.1:8091/feed1.ffm

my  ffserver.conf file is as follows:

Port 8091
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 100
MaxBandwidth 1000000
CustomLog -
NoDaemon

<Feed feed1.ffm>
 File /tmp/feed1.ffm
 FileMaxSize 15M
 ACL allow 127.0.0.1
</Feed>

<Stream test.ts>

    Feed feed1.ffm
    Format mpegts

    AudioCodec mp2
    AudioBitRate 128k
    AudioChannels 2
    AudioSampleRate 48000
    AVOptionAudio flags +global_header

    VideoCodec libx264
    VideoBitRate 800k
    VideoFrameRate 100
    VideoSize 640x480
    AVOptionVideo coder 0
    AVOptionVideo bf 0
    AVOptionVideo flags2 +mixed_refs+fastpskip
    AVOptionVideo flags +loop
    AVOptionVideo cmp +chroma
    AVOptionVideo partitions +parti8x8+parti4x4+partp8x8+partb8x8
    AVOptionVideo me_method hex
    AVOptionVideo subq 7
    AVOptionVideo me_range 16
    AVOptionVideo g 250
    AVOptionVideo keyint_min 10
    AVOptionVideo sc_threshold 40
    AVOptionVideo i_qfactor 0.71
    AVOptionVideo b_strategy 1
    AVOptionVideo qcomp 0.6
    AVOptionVideo qmin 10
    AVOptionVideo qmax 51
    AVOptionVideo qdiff 4
    AVOptionVideo refs 3
    AVOptionVideo directpred 1
    AVOptionVideo trellis 1
    AVOptionVideo flags2 +mixed_refs+fastpskip
    AVOptionVideo wpredp 0
    AVOptionVideo flags +global_header
    AVOptionVideo bsf h264_mp4toannexb

    VideoGopSize 12

    Preroll 15
    StartSendOnKey
</Stream>

<Stream stat.html>
 Format status
 ACL allow 127.0.0.1
 ACL allow 192.168.1.27
</Stream>

<Redirect index.html>
 URL stat.html
</Redirect>


Regards,
Yogesh


More information about the ffmpeg-user mailing list