Changes between Version 1 and Version 2 of Ticket #3797, comment 2


Ignore:
Timestamp:
Jul 24, 2014, 2:12:31 PM (5 years ago)
Author:
hackeron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3797, comment 2

    v1 v2  
    1 I will try to narrow down when the breaking change happened but it is between 2014/04/09 and 2014/07/18 (today's trunk is also broken 2014/07/23).
     1I have identified exactly at that commit it breaks and it happens on Wed Jun 18 18:18:25 2014 +0200 - here are the full outputs of the working and non working versions:
    22
    3 Here are the complete uncut console outputs from the working and non working versions of ffmpeg:
    4 
    5 2014/04/09 working version:
     3Working version, commit: 88514378bac99872265dad28072fb30160b26bfa -
    64
    75{{{
    8 deployer@XanBox:~/test$ ffmpeg -use_wallclock_as_timestamps 1 -rtsp_transport tcp -i rtsp://localhost:10103/proxyStream -dn -map 0 -codec:a libfdk_aac -flags +qscale -global_quality 1 -afterburner 1 -ar 44100 -codec:v copy -f segment -segment_time 60 -segment_wrap 10 -segment_list_flags live -segment_list_size 10 -reset_timestamps 1 -segment_list test.csv -y test_%02d.mkv
    9 ffmpeg version N-62296-g4484152 Copyright (c) 2000-2014 the FFmpeg developers
    10   built on Apr  9 2014 09:19:33 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
    11   configuration: --enable-pic --enable-shared --extra-ldflags=-ldl --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --extra-cflags=-fPIC --extra-ldflags=-fPIC
    12   libavutil      52. 75.100 / 52. 75.100
    13   libavcodec     55. 58.103 / 55. 58.103
    14   libavformat    55. 36.102 / 55. 36.102
    15   libavdevice    55. 11.100 / 55. 11.100
    16   libavfilter     4.  3.100 /  4.  3.100
     6deployer@XanBox:~/test$ rm *.mkv; ffmpeg -use_wallclock_as_timestamps 1 -rtsp_transport tcp -i rtsp://localhost:10103/proxyStream -dn -map 0 -af aresample=async=1000 -codec:a libfdk_aac -flags +qscale -global_quality 1 -afterburner 1 -ar 44100 -codec:v copy -f segment -segment_time 60 -segment_wrap 10 -segment_list_flags live -segment_list_size 10 -reset_timestamps 1 -segment_list test.csv -y test_%02d.mkv
     7ffmpeg version N-64052-g8851437 Copyright (c) 2000-2014 the FFmpeg developers
     8  built on Jul 24 2014 12:07:54 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     9  configuration: --enable-pic --enable-shared --extra-ldflags=-ldl --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --extra-cflags=-fPIC --extra-ldflags=-fPIC
     10  libavutil      52. 89.100 / 52. 89.100
     11  libavcodec     55. 67.100 / 55. 67.100
     12  libavformat    55. 43.100 / 55. 43.100
     13  libavdevice    55. 13.101 / 55. 13.101
     14  libavfilter     4.  8.100 /  4.  8.100
    1715  libswscale      2.  6.100 /  2.  6.100
    18   libswresample   0. 18.100 /  0. 18.100
     16  libswresample   0. 19.100 /  0. 19.100
    1917  libpostproc    52.  3.100 / 52.  3.100
    20 [tcp @ 0x17c1500] Connection to tcp://localhost:10103?timeout=0 failed (Connection refused), trying next address
     18[tcp @ 0x23f8e40] Connection to tcp://localhost:10103?timeout=0 failed (Connection refused), trying next address
    2119Guessed Channel Layout for  Input Stream #0.1 : mono
    2220Input #0, rtsp, from 'rtsp://localhost:10103/proxyStream':
     
    2422    title           : LIVE555 Streaming Media v2014.07.18
    2523    comment         : LIVE555 Streaming Media v2014.07.18
    26   Duration: N/A, start: 1406133663.110367, bitrate: 64 kb/s
     24  Duration: N/A, start: 1406200279.476000, bitrate: 64 kb/s
    2725    Stream #0:0: Video: h264 (High), yuvj420p(pc), 1920x1080, 12.50 fps, 12.50 tbr, 90k tbn, 25 tbc
    28     Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    29 [libfdk_aac @ 0x18d4720] Note, the VBR setting is unsupported and only works with some parameter combinations
     26    Stream #0:1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
     27[libfdk_aac @ 0x24ab440] Note, the VBR setting is unsupported and only works with some parameter combinations
    3028Output #0, segment, to 'test_%02d.mkv':
    3129  Metadata:
    3230    title           : LIVE555 Streaming Media v2014.07.18
    3331    comment         : LIVE555 Streaming Media v2014.07.18
    34     encoder         : Lavf55.36.102
     32    encoder         : Lavf55.43.100
    3533    Stream #0:0: Video: h264, yuvj420p, 1920x1080, q=2-31, 12.50 fps, 90k tbn, 12.50 tbc
    3634    Stream #0:1: Audio: aac (libfdk_aac), 44100 Hz, mono, s16
     35    Metadata:
     36      encoder         : Lavc55.67.100 libfdk_aac
    3737Stream mapping:
    3838  Stream #0:0 -> #0:0 (copy)
    39   Stream #0:1 -> #0:1 (pcm_mulaw -> libfdk_aac)
     39  Stream #0:1 -> #0:1 (pcm_mulaw (native) -> aac (libfdk_aac))
    4040Press [q] to stop, [?] for help
    41 [libfdk_aac @ 0x18d4720] Queue input is backward in time
    42 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 83051, current: 81429; changing to 83052. This may result in incorrect timestamps in the output file.
    43 [libfdk_aac @ 0x18d4720] Queue input is backward in time
    44 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 163451, current: 162873; changing to 163452. This may result in incorrect timestamps in the output file.
    45 [libfdk_aac @ 0x18d4720] Queue input is backward in timerate=N/A
    46 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 200406, current: 198233; changing to 200407. This may result in incorrect timestamps in the output file.
    47 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 200407, current: 200322; changing to 200408. This may result in incorrect timestamps in the output file.
    48 [libfdk_aac @ 0x18d4720] Queue input is backward in time
    49 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 231963, current: 229880; changing to 231964. This may result in incorrect timestamps in the output file.
    50 [libfdk_aac @ 0x18d4720] Queue input is backward in timerate=N/A
    51 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 268761, current: 267173; changing to 268762. This may result in incorrect timestamps in the output file.
    52 [libfdk_aac @ 0x18d4720] Queue input is backward in timerate=N/A
    53 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 370937, current: 367886; changing to 370938. This may result in incorrect timestamps in the output file.
    54 [segment @ 0x17c6d00] Non-monotonous DTS in output stream 0:1; previous: 370938, current: 369976; changing to 370939. This may result in incorrect timestamps in the output file.
    55 frame=   78 fps= 21 q=-1.0 Lsize=N/A time=00:00:05.30 bitrate=N/A
     41frame=   94 fps= 14 q=-1.0 Lsize=N/A time=00:00:08.21 bitrate=N/A
     42video:1957kB audio:48kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
     43Received signal 2: terminating.
     44deployer@XanBox:~/test$
    5645}}}
    5746
    5847
    59 2014/07/18 broken version:
     48Broken version, commit: 194be1f43ea391eb986732707435176e579265aa -
    6049
    6150
    6251{{{
    63 deployer@XanBox:~/test$ ffmpeg -use_wallclock_as_timestamps 1 -rtsp_transport tcp -i rtsp://localhost:10103/proxyStream -dn -map 0 -codec:a libfdk_aac -flags +qscale -global_quality 1 -afterburner 1 -ar 44100 -codec:v copy -f segment -segment_time 60 -segment_wrap 10 -segment_list_flags live -segment_list_size 10 -reset_timestamps 1 -segment_list test.csv -y test_%02d.mkv
    64 ffmpeg version N-64763-gcb8cb85 Copyright (c) 2000-2014 the FFmpeg developers
    65   built on Jul 18 2014 16:39:59 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     52deployer@XanBox:~/test$ rm *.mkv; ffmpeg -use_wallclock_as_timestamps 1 -rtsp_transport tcp -i rtsp://localhost:10103/proxyStream -dn -map 0 -af aresample=async=1000 -codec:a libfdk_aac -flags +qscale -global_quality 1 -afterburner 1 -ar 44100 -codec:v copy -f segment -segment_time 60 -segment_wrap 10 -segment_list_flags live -segment_list_size 10 -reset_timestamps 1 -segment_list test.csv -y test_%02d.mkv
     53ffmpeg version N-64054-gac293b6 Copyright (c) 2000-2014 the FFmpeg developers
     54  built on Jul 24 2014 11:49:57 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    6655  configuration: --enable-pic --enable-shared --extra-ldflags=-ldl --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --extra-cflags=-fPIC --extra-ldflags=-fPIC
    67   libavutil      52. 92.101 / 52. 92.101
    68   libavcodec     55. 69.100 / 55. 69.100
    69   libavformat    55. 48.101 / 55. 48.101
    70   libavdevice    55. 13.102 / 55. 13.102
    71   libavfilter     4. 11.102 /  4. 11.102
     56  libavutil      52. 89.100 / 52. 89.100
     57  libavcodec     55. 67.100 / 55. 67.100
     58  libavformat    55. 44.100 / 55. 44.100
     59  libavdevice    55. 13.101 / 55. 13.101
     60  libavfilter     4.  8.100 /  4.  8.100
    7261  libswscale      2.  6.100 /  2.  6.100
    7362  libswresample   0. 19.100 /  0. 19.100
    7463  libpostproc    52.  3.100 / 52.  3.100
    75 [tcp @ 0x1c60760] Connection to tcp://localhost:10103?timeout=0 failed (Connection refused), trying next address
     64[tcp @ 0x9b3e40] Connection to tcp://localhost:10103?timeout=0 failed (Connection refused), trying next address
    7665Guessed Channel Layout for  Input Stream #0.1 : mono
    7766Input #0, rtsp, from 'rtsp://localhost:10103/proxyStream':
     
    7968    title           : LIVE555 Streaming Media v2014.07.18
    8069    comment         : LIVE555 Streaming Media v2014.07.18
    81   Duration: N/A, start: 1406133752.034367, bitrate: 64 kb/s
     70  Duration: N/A, start: 1406199492.592900, bitrate: 64 kb/s
    8271    Stream #0:0: Video: h264 (High), yuvj420p(pc), 1920x1080, 12.50 fps, 12.50 tbr, 90k tbn, 25 tbc
    8372    Stream #0:1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
    84 [libfdk_aac @ 0x1d09d60] Note, the VBR setting is unsupported and only works with some parameter combinations
    85 [matroska @ 0x1c490c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
     73[libfdk_aac @ 0xae96c0] Note, the VBR setting is unsupported and only works with some parameter combinations
     74[segment @ 0x9d6dc0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
     75    Last message repeated 1 times
     76[matroska @ 0x9b3540] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
    8677    Last message repeated 1 times
    8778Output #0, segment, to 'test_%02d.mkv':
     
    8980    title           : LIVE555 Streaming Media v2014.07.18
    9081    comment         : LIVE555 Streaming Media v2014.07.18
    91     encoder         : Lavf55.48.101
     82    encoder         : Lavf55.44.100
    9283    Stream #0:0: Video: h264, yuvj420p, 1920x1080, q=2-31, 12.50 fps, 12.50 tbn, 12.50 tbc
    9384    Stream #0:1: Audio: aac (libfdk_aac), 44100 Hz, mono, s16
    9485    Metadata:
    95       encoder         : Lavc55.69.100 libfdk_aac
     86      encoder         : Lavc55.67.100 libfdk_aac
    9687Stream mapping:
    9788  Stream #0:0 -> #0:0 (copy)
    9889  Stream #0:1 -> #0:1 (pcm_mulaw (native) -> aac (libfdk_aac))
    9990Press [q] to stop, [?] for help
    100 [libfdk_aac @ 0x1d09d60] Queue input is backward in time
    101 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 15703, current: 15035; changing to 15704. This may result in incorrect timestamps in the output file.
    102 [libfdk_aac @ 0x1d09d60] Queue input is backward in time
    103 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 20155, current: 19062; changing to 20156. This may result in incorrect timestamps in the output file.
    104 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 20156, current: 20086; changing to 20157. This may result in incorrect timestamps in the output file.
    105 [libfdk_aac @ 0x1d09d60] Queue input is backward in time
    106 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 30812, current: 29659; changing to 30813. This may result in incorrect timestamps in the output file.
    107 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 30813, current: 30683; changing to 30814. This may result in incorrect timestamps in the output file.
    108 [libfdk_aac @ 0x1d09d60] Queue input is backward in time
    109 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 59280, current: 59130; changing to 59281. This may result in incorrect timestamps in the output file.
    110 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 17, current: 17; changing to 18. This may result in incorrect timestamps in the output file.
    111 [libfdk_aac @ 0x1d09d60] Queue input is backward in time
    112 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 70136, current: 68999; changing to 70137. This may result in incorrect timestamps in the output file.
    113 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 70137, current: 70023; changing to 70138. This may result in incorrect timestamps in the output file.
    114 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 18, current: 18; changing to 19. This may result in incorrect timestamps in the output file.
    115 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 19, current: 19; changing to 20. This may result in incorrect timestamps in the output file.
    116 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 20, current: 20; changing to 21. This may result in incorrect timestamps in the output file.
    117 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 21, current: 21; changing to 22. This may result in incorrect timestamps in the output file.
    118 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 22, current: 22; changing to 23. This may result in incorrect timestamps in the output file.
    119 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 24, current: 24; changing to 25. This may result in incorrect timestamps in the output file.
    120 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 25, current: 25; changing to 26. This may result in incorrect timestamps in the output file.
    121 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 26, current: 26; changing to 27. This may result in incorrect timestamps in the output file.
    122 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 27, current: 26; changing to 28. This may result in incorrect timestamps in the output file.
    123 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 28, current: 27; changing to 29. This may result in incorrect timestamps in the output file.
    124 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 29, current: 28; changing to 30. This may result in incorrect timestamps in the output file.
    125 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 30, current: 28; changing to 31. This may result in incorrect timestamps in the output file.
    126 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 31, current: 29; changing to 32. This may result in incorrect timestamps in the output file.
    127 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 32, current: 30; changing to 33. This may result in incorrect timestamps in the output file.
    128 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 33, current: 31; changing to 34. This may result in incorrect timestamps in the output file.
    129 [libfdk_aac @ 0x1d09d60] Queue input is backward in time
    130 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:1; previous: 115859, current: 114860; changing to 115860. This may result in incorrect timestamps in the output file.
    131 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 34, current: 32; changing to 35. This may result in incorrect timestamps in the output file.
    132 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 35, current: 33; changing to 36. This may result in incorrect timestamps in the output file.
    133 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 36, current: 34; changing to 37. This may result in incorrect timestamps in the output file.
    134 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 37, current: 35; changing to 38. This may result in incorrect timestamps in the output file.
    135 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 38, current: 36; changing to 39. This may result in incorrect timestamps in the output file.
    136 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 39, current: 37; changing to 40. This may result in incorrect timestamps in the output file.
    137 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 40, current: 38; changing to 41. This may result in incorrect timestamps in the output file.
    138 [segment @ 0x1c663e0] Non-monotonous DTS in output stream 0:0; previous: 41, current: 38; changing to 42. This may result in incorrect timestamps in the output file.
    139 frame=   27 fps= 17 q=-1.0 Lsize=N/A time=00:00:03.44 bitrate=N/A
     91[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 22, current: 22; changing to 23. This may result in incorrect timestamps in the output file.
     92[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 23, current: 23; changing to 24. This may result in incorrect timestamps in the output file.
     93[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 24, current: 24; changing to 25. This may result in incorrect timestamps in the output file.
     94[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 25, current: 25; changing to 26. This may result in incorrect timestamps in the output file.
     95[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 26, current: 26; changing to 27. This may result in incorrect timestamps in the output file.
     96[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 27, current: 26; changing to 28. This may result in incorrect timestamps in the output file.
     97[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 28, current: 27; changing to 29. This may result in incorrect timestamps in the output file.
     98[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 29, current: 27; changing to 30. This may result in incorrect timestamps in the output file.
     99[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 30, current: 28; changing to 31. This may result in incorrect timestamps in the output file.
     100[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 31, current: 29; changing to 32. This may result in incorrect timestamps in the output file.
     101[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 32, current: 30; changing to 33. This may result in incorrect timestamps in the output file.
     102[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 33, current: 31; changing to 34. This may result in incorrect timestamps in the output file.
     103[segment @ 0x9d6dc0] Non-monotonous DTS in output stream 0:0; previous: 34, current: 33; changing to 35. This may result in incorrect timestamps in the output file.
     104frame=   22 fps= 19 q=-1.0 Lsize=N/A time=00:00:02.88 bitrate=N/A
     105video:452kB audio:15kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
     106Received signal 2: terminating.
    140107}}}