[mp4 @ 02ac0050] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 150724608 >= 150677520

Hasan Arous arous0 at gmail.com
Sat Jan 28 16:15:15 EST 2012


Rename the file (have a backup) and try to download it again.

The problem here is when rtmpdump tries to resume it _sometimes_
duplicates few packets, so when ffmpeg tries to put packets again in
the output mp4, it detects that at some packet the dts value is less
than the previous packet (it has to increase with every packet, but it
encounters a few frames ago packet with a lower dts).

ffmpeg doesn't know how to handle this (it would be good if it had an
option to ignore these extra packets and resume at the first packet
with dts>latest accepted packet).
Also when you try to play the flv file you should note that it repeats
about a second (~amount of duplicate packets) at some point (the same
point where ffmpeg breaks).

So, anyway as I said, go on with re-downloading until somebody codes a
piece of code that filters out these duplicate packets.

Regards.

On 1/28/12, M2 <M.2 at btinternet.com> wrote:
> Hi,
>
> I got this message "%sub% when procesing
> Earthflight_-_4._South_America_b01b3c14_default_flashhd.partial.mp4.flv
> which fail to mux to mp4 :(
>
> here is the whole screen:
> INFO: Trying flashhd2 mode to record tv: Earthflight - 4. South America
> INFO: File name prefix =
> Earthflight_-_4._South_America_b01b3c14_default_flashhd
>
> INFO: 'Downloading Raw Subtitles to
> B:\htdocs\BBC_iPlayer\Earthflight\download/Earthflight_-_4._South_America_b01b3c14_default_flashhd.ttxt'
> INFO: Downloading Subtitles to
> 'B:\htdocs\BBC_iPlayer\Earthflight\download/Earthflight_-_4._South_America_b01b3c14_default_flashhd.srt'
> RTMPDump 2.4 git-b627335 2011-7-23
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> Connecting ...
> INFO: Connected...
> Starting download at: 0.000 kB
> INFO: Metadata:
> INFO:   duration              3547.09
> INFO:   moovPosition          32.00
> INFO:   width                 1280.00
> INFO:   height                720.00
> INFO:   videocodecid          avc1
> INFO:   audiocodecid          mp4a
> INFO:   avcprofile            100.00
> INFO:   avclevel              41.00
> INFO:   aacaot                2.00
> INFO:   videoframerate        25.00
> INFO:   audiosamplerate       24000.00
> INFO:   audiochannels         2.00
> INFO: trackinfo:
> INFO:   length                88675000.00
> INFO:   timescale             25000.00
> INFO:   language              eng
> INFO: sampledescription:
> INFO:   sampletype            avc1
> INFO:   length                85130240.00
> INFO:   timescale             24000.00
> INFO:   language              eng
> INFO: sampledescription:
> INFO:   sampletype            mp4a
> 1016927.797 kB / 3138.84 sec (88.4%)
> ERROR: RTMP_ReadPacket, failed to read RTMP packet header
> 1017099.954 kB / 3139.20 sec (88.5%)
> INFO: Connection timed out, trying to resume.
>
>
> Resuming download at: 1017099.954 kB
> 1038094.949 kB / 3219.72 sec (90.7%)
> ERROR: RTMP_ReadPacket, failed to read RTMP packet header
> 1038239.126 kB / 3220.36 sec (90.7%)
> INFO: Connection timed out, trying to resume.
>
>
> Resuming download at: 1038239.126 kB
> 1142837.314 kB / 3547.05 sec (99.9%)
> Download complete
> FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers
>    built on Jan 18 2011 04:07:05 with gcc 4.4.2
>    configuration: --enable-gpl --enable-version3 --enable-libgsm
> --enable-libvorbis --enable-libtheora --enable-libspeex
> --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
> --enable-libopencore_amrwb --enable-libopenc
>    libavutil     50.36. 0 / 50.36. 0
>    libavcore      0.16. 1 /  0.16. 1
>    libavcodec    52.108. 0 / 52.108. 0
>    libavformat   52.93. 0 / 52.93. 0
>    libavdevice   52. 2. 3 / 52. 2. 3
>    libavfilter    1.74. 0 /  1.74. 0
>    libswscale     0.12. 0 /  0.12. 0
> [flv @ 017bc0d0] Estimating duration from bitrate, this may be inaccurate
> Input #0, flv, from
> 'B:\htdocs\BBC_iPlayer\Earthflight\download\Earthflight_-_4._South_America_b01b3c14_default_flashhd.partial.mp4.flv':
>    Metadata:
>      duration        : 3547
>      moovPosition    : 32
>      width           : 1280
>      height          : 720
>      videocodecid    : avc1
>      audiocodecid    : mp4a
>      avcprofile      : 100
>      avclevel        : 41
>      aacaot          : 2
>      videoframerate  : 25
>      audiosamplerate : 24000
>      audiochannels   : 2
>    Duration: 00:59:07.09, start: 0.000000, bitrate: N/A
>      Stream #0.0: Video: h264, yuv420p, 1280x720 [PAR 180:180 DAR 16:9],
> 25 tbr, 1k tbn, 50 tbc
>      Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
> Output #0, mp4, to
> 'B:\htdocs\BBC_iPlayer\Earthflight\download\Earthflight_-_4._South_America_b01b3c14_default_flashhd.partial.mp4':
>    Metadata:
>      duration        : 3547
>      moovPosition    : 32
>      width           : 1280
>      height          : 720
>      videocodecid    : avc1
>      audiocodecid    : mp4a
>      avcprofile      : 100
>      avclevel        : 41
>      aacaot          : 2
>      videoframerate  : 25
>      audiosamplerate : 24000
>      audiochannels   : 2
>      encoder         : Lavf52.93.0
>      Stream #0.0: Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
> q=2-31, 25 tbn, 25 tbc
>      Stream #0.1: Audio: aac, 48000 Hz, stereo
> Stream mapping:
>    Stream #0.0 -> #0.0
>    Stream #0.1 -> #0.1
> Press [q] to stop encoding
> [mp4 @ 02ac0050] Application provided invalid, non monotonically
> increasing dts to muxer in stream 1: 150724608 >= 150677520
> av_interleaved_write_frame(): Operation not permitted
> INFO: Command exit code 1 (raw code = 256)
> WARNING: flv conversion failed - retaining flv file
> INFO: Recorded
> B:\htdocs\BBC_iPlayer\Earthflight\download\Earthflight_-_4._South_America_b01b3c14_default_flashhd.partial.mp4.flv
>
> INFO: Downloaded Thumbnail to
> 'B:\htdocs\BBC_iPlayer\Earthflight\download\Earthflight_-_4._South_America_b01b3c14_default_flashhd.jpg'
> INFO: Writing generic metadata to file
> 'B:\htdocs\BBC_iPlayer\Earthflight\download/Earthflight_-_4._South_America_b01b3c14_default_flashhd.xml'
>
> Here it's my options file:
> lame .\lame\x86\lame.exe
> mplayer .\mplayer\MPlayer-1.0rc2\mplayer.exe
> atomicparsley .\atomicparsley-0.9.4-hg-472d5fe6fb04\atomicparsley.exe
> output O:\get_iplayer
> flvstreamer .\rtmpdump-2.4\rtmpdump.exe
> ffmpeg .\ffmpeg\bin\ffmpeg.exe
> vlc .\vlc\vlc.exe
> mmsnothread 1
> nopurge 1
> id3v2 .\id3v2.exe
>
> and latest get_iplayer.pl 338 KB (346,475 bytes)
>
> I get latley loots of "Connection timed out, trying to resume"  as well
> :( from both flashhd1 and flashhd2
>
>
>
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
>



More information about the get_iplayer mailing list