Opened 13 months ago
Last modified 13 months ago
#11629 new defect
MPEG-TS PCR rollover caused memory leak?
| Reported by: | mg3242 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | mpegts vaapi |
| Cc: | MasterQuestionable | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
if you run this process with a live tv stream with this input over 24h it starts leaking memory:
[mpegts @ 000002f95aa59c80] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mpegts, from 'http://192.168.4.168/play/a01b':
Duration: N/A, start: 71417.021867, bitrate: N/A
Program 17201
Metadata:
service_name : Clear
service_provider:
Stream #0:1[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn
Stream #0:2[0x66](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 384 kb/s
Stream #0:3[0x67](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 384 kb/s
Stream #0:4[0x68](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired) (descriptions)
Stream #0:5[0x69](deu,deu): Subtitle: dvb_teletext (libzvbi_teletextdec) ([6][0][0][0] / 0x0006), 492x250
Stream #0:6[0x6a]: Unknown: none ([5][0][0][0] / 0x0005)
No Program
Stream #0:0[0x12]: Data: epg
Unsupported codec with id 98306 for input stream 0
Unsupported codec with id 0 for input stream 6
i tried to run valgrind to report the leak better, but valgrind and live stream transcoding does not go well together. please advice how i can get a log which will help to identify the problem.
i will also compile ffmpeg_g git-master as soon as i know how to log the leak.
i tried every possible flag out there and found out that only the flag -sn which removes teletext and teletext subtitles is able to go on transcoding over the 24h mark.
How to reproduce:
% ffmpeg -re -y -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -progress pipe:2 -i srt://192.168.4.168:5001 -map 0:v -c:v h264_vaapi -rc_mode QVBR -global_quality 14 -profile:v constrained_baseline -b:v 2M -maxrate 4M -bufsize 8M -map 0:a:? -q:a 0.7 -c:a aac -ac 2 -ar 48000 -map 0:s:? -c:s copy -f mpegts udp://239.1.1.11:1234?pkt_size=1316 ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04) configuration: --disable-decoder=amrnb --disable-gnutls --disable-liblensfun --disable-libopencv --disable-podpages --disable-sndio --disable-stripping --enable-avfilter --enable-chromaprint --enable-frei0r --enable-gcrypt --enable-gpl --enable-ladspa --enable-libaom --enable-libaribb24 --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librabbitmq --enable-librist --enable-librsvg --enable-librubberband --enable-libshine --enable-libsmbclient --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-nonfree --enable-openal --enable-opencl --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-vaapi --enable-libvpl --enable-libxavs2 --enable-libdavs2 --enable-libvmaf --enable-librav1e --enable-libvvenc --enable-libilbc --enable-libklvanc --enable-libfdk-aac --enable-libkvazaar --enable-omx --cc=x86_64-linux-gnu-gcc --cxx=x86_64-linux-gnu-g++ --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
Attachments (1)
Change History (20)
comment:2 by , 13 months ago
i have build ffmpeg_g with asan support from git master:
ffmpeg version N-119855-gb7fc195e7a Copyright (c) 2000-2025 the FFmpeg developers
built with Ubuntu clang version 18.1.3 (1ubuntu1)
configuration: --cc=clang --cxx=clang++ --extra-cflags='-fsanitize=address -O1 -fno-omit-frame-pointer -g' --extra-ldflags='-fsanitize=address' --disable-optimizations --enable-gpl --enable-nonfree --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libass --enable-libdrm --enable-vaapi --enable-libxcb --enable-openssl --enable-libsrt
libavutil 60. 3.100 / 60. 3.100
libavcodec 62. 3.101 / 62. 3.101
libavformat 62. 0.102 / 62. 0.102
libavdevice 62. 0.100 / 62. 0.100
libavfilter 11. 0.100 / 11. 0.100
libswscale 9. 0.100 / 9. 0.100
libswresample 6. 0.100 / 6. 0.100
now started the command with this parameters:
ASAN_OPTIONS=log_path=/home/user/ffmpeg_asan,detect_leaks=1 /home/user/ffmpeg_g -re -y -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -progress pipe:2 -i srt://192.168.4.168:5001 -map 0:v -c:v h264_vaapi -rc_mode QVBR -global_quality 14 -profile:v constrained_baseline -b:v 2M -maxrate 4M -bufsize 8M -map 0:a:? -q:a 0.7 -c:a aac -ac 2 -ar 48000 -map 0:s:? -c:s copy -f mpegts udp://239.1.1.1:1234?pkt_size=1316
i have to wait over 24 hours for the leak to happen.
if you see any change i need to make in the meantime, please fill free to point it out.
thank you in advance.
follow-up: 5 comment:3 by , 13 months ago
| Priority: | critical → normal |
|---|
Note that -re should NOT be used when the input is already a realtime source. It might not fix the memory leak though.
comment:4 by , 13 months ago
i cant say if it does not free the a resource, as i only see ffmpeg consume more and more memory until it runs out of it. until it runs out of ram, it performs as designed. i am using now ASAN to document the leak. for some reason it did not write it as a file with this parameters:
ASAN_OPTIONS=log_path=/home/user/ffmpeg_asan,detect_leaks=1
but now i am running it in the terminal to get an output directly in the terminal.
Replying to mkver:
Try ASAN instead of Valgrind. It has way better performance.
You should also be more explicit about what you mean by leaking: Does it mean that ffmpeg consumes ever more memory until it runs out of it? Or that it really forgets to free a resource (the former is possible without the latter)?
comment:5 by , 13 months ago
running it now without -re, hopefully ill have a result in around 6-8 hours, which i can post here.
Replying to Marton Balint:
Note that -re should NOT be used when the input is already a realtime source. It might not fix the memory leak though.
by , 13 months ago
comment:6 by , 13 months ago
the memory start growing on the 26th hour with Non-monotonic DTS errors which than just kept going on and filling up memory. it seams like mkver said, that maybe it does consumes ever more memory but does not free it, as ASAN did not give an output. did i build ffmpeg wrong with asan? please have a look at my log "log.txt" as zip in the attachment and advice. as mentioned before, i do not get this if i use the flag -sn. please give me a how to, if i need to provide more information. i can also provide my live stream over the internet so the developer can run it up to 27 hours on his test system. i get also the same if only use CPU to transcode. thank you for your help.
here is the relevant part of the log:
started the process:
ASAN_OPTIONS=detect_leaks=1 /home/user/ffmpeg_g -y -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i srt://192.168.4 .168:5001 -map 0:v -c:v h264_vaapi -rc_mode QVBR -global_quality 14 -profile:v constrained_baseline -b:v 2M -maxrate 4M -bufsize 8M -map 0:a:? -q:a 0.7 -c:a aac -ac 2 -ar 48000 -map 0:s:? -c:s copy -f mpegts udp://239.1.1.1:1234?pkt_size=1316
ffmpeg version N-119855-gb7fc195e7a Copyright (c) 2000-2025 the FFmpeg developers
built with Ubuntu clang version 18.1.3 (1ubuntu1)
configuration: --cc=clang --cxx=clang++ --extra-cflags='-fsanitize=address -O1 -fno-omit-frame-pointer -g' --extra-ldflags='-fsanitize=address' --disable-optimizations --enable-gp l --enable-nonfree --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libass --enable-libdrm --enable-vaapi --enable -libxcb --enable-openssl --enable-libsrt
libavutil 60. 3.100 / 60. 3.100
libavcodec 62. 3.101 / 62. 3.101
libavformat 62. 0.102 / 62. 0.102
libavdevice 62. 0.100 / 62. 0.100
libavfilter 11. 0.100 / 11. 0.100
libswscale 9. 0.100 / 9. 0.100
libswresample 6. 0.100 / 6. 0.100
after the process starts, on the 26th hour you can see the Non-monotonic DTS errors just keep repeting them indefinity and filling up the ram usage:
[mpegts @ 0x517000000080] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mpegts, from 'srt://192.168.4.168:5001':
Duration: N/A, start: 48462.616800, bitrate: N/A
Program 17201
Metadata:
service_name : Clear
service_provider:
Stream #0:1[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, Start 48463.476800
Stream #0:2[0x66](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 384 kb/s, Start 48462.732800
Stream #0:3[0x67](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 384 kb/s, Start 48462.732800
Stream #0:4[0x68](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 192 kb/s, Start 48462.732800 (visual impaired) (descriptions)
Stream #0:5[0x69](deu,deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), Start 48462.616800
Stream #0:6[0x6a]: Data: none
Stream #0:7[0x6a]: Unknown: none ([5][0][0][0] / 0x0005)
No Program
Stream #0:0[0x12]: Data: epg
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
Stream #0:3 -> #0:2 (ac3 (native) -> aac (native))
Stream #0:4 -> #0:3 (ac3 (native) -> aac (native))
Stream #0:5 -> #0:4 (copy)
Press [q] to stop, ? for help
[h264 @ 0x519000011380] co located POCs unavailable
[h264 @ 0x519000013680] reference picture missing during reorder
[h264 @ 0x519000013680] Missing reference picture, default is 65582
Output #0, mpegts, to 'udp://239.1.1.1:1234?pkt_size=1316':
Metadata:
encoder : Lavf62.0.102
Stream #0:0: Video: h264 (Constrained Baseline), vaapi(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 2000 kb/s, 50 fps, 90k tbn
Metadata:
encoder : Lavc62.3.101 h264_vaapi
Stream #0:1(deu): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
encoder : Lavc62.3.101 aac
Stream #0:2(eng): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc62.3.101 aac
Stream #0:3(deu): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s (visual impaired) (descriptions)
Metadata:
encoder : Lavc62.3.101 aac
Stream #0:4(deu,deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
[mpegts @ 0x517000003500] Timestamps are unset in a packet for stream 4. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mpegts @ 0x517000000080] PES packet size mismatch0:31:26.43 bitrate=2787.0kbits/s speed= 1x elapsed=0:31:20.68
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 4531528512).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedpeed= 1x elapsed=1:16:30.18
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedpeed= 1x elapsed=1:20:17.77
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedpeed= 1x elapsed=3:48:01.03
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedpeed= 1x elapsed=3:58:19.76
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changedpeed= 1x elapsed=3:59:08.29
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedpeed= 1x elapsed=3:59:08.79
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedpeed= 1x elapsed=4:00:59.83
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[mpegts @ 0x517000000080] PES packet size mismatch04:27:59.07 bitrate=2567.6kbits/s speed= 1x elapsed=4:27:53.43
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 5808853512).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[mpegts @ 0x517000000080] PES packet size mismatch=06:19:35.94 bitrate=2537.8kbits/s speed= 1x elapsed=6:19:30.41
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 6411592512).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[mpegts @ 0x517000000080] PES packet size mismatch=06:35:58.87 bitrate=2540.5kbits/s speed= 1x elapsed=6:35:53.28
[mpegts @ 0x517000000080] Packet corrupt (stream = 2, dts = 6499968192).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 2
Last message repeated 7 times
[ac3 @ 0x519000016d80] expacc 125 is out-of-range
[ac3 @ 0x519000016d80] error decoding the audio block
[aist#0:2/ac3 @ 0x514000001440] [dec:ac3 @ 0x513000006b00] Error submitting packet to decoder: Error number -16976906 occurred
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[mpegts @ 0x517000000080] PES packet size mismatch=08:27:35.75 bitrate=2582.0kbits/s speed= 1x elapsed=8:27:30.24
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 7102787112).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[mpegts @ 0x517000000080] PES packet size mismatch=09:49:31.33 bitrate=2612.1kbits/s speed= 1x elapsed=9:49:25.54
[mpegts @ 0x517000000080] Packet corrupt (stream = 5, dts = 7545086712).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 5
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=10:05:26.39
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 7777392912).623.2kbits/s speed= 1x elapsed=10:32:26.00
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=11:19:58.04
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=11:45:14.10
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=11:45:29.10
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=11:45:29.60
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=12:49:59.62
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=12:50:21.14
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 4228299000, current: 4228292897; changing to 4228299001. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 4228299001, current: 4228296029; changing to 4228299002. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 4228299002, current: 4228296029; changing to 4228299003. This may result in incorrect timestamps in the output file.
[mpegts @ 0x517000000080] PES packet size mismatch=13:46:03.97 bitrate=2648.9kbits/s speed= 1x elapsed=13:45:58.41
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 232572520).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=14:17:20.64
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 481390120).2649.1kbits/s speed= 1x elapsed=14:32:02.98
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=16:20:03.88
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=17:00:59.81
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=17:05:33.91
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[mpegts @ 0x517000000080] PES packet size mismatch=17:29:17.98 bitrate=2641.3kbits/s speed= 1x elapsed=17:29:12.44
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 1438001920).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=18:16:37.01
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=18:20:11.59
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=18:24:57.70
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[mpegts @ 0x517000000080] PES packet size mismatch=20:20:18.27 bitrate=2637.3kbits/s speed= 1x elapsed=20:20:12.79
[mpegts @ 0x517000000080] Packet corrupt (stream = 1, dts = 2361437920).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 1
[mpegts @ 0x517000000080] PES packet size mismatch
[mpegts @ 0x517000000080] Packet corrupt (stream = 3, dts = 2361352960).
[in#0/mpegts @ 0x513000000200] corrupt input packet in stream 3
Last message repeated 8 times
[ac3 @ 0x519000018680] exponent 25 is out-of-range
[ac3 @ 0x519000018680] error decoding the audio block
[aist#0:3/ac3 @ 0x514000001640] [dec:ac3 @ 0x5130000073c0] Error submitting packet to decoder: Error number -16976906 occurred
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=21:01:59.75
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=21:04:38.32
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=23:20:20.90
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=23:32:21.67
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=23:34:21.73
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=23:55:03.20
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=24:13:33.10
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=24:20:27.26
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=24:41:21.75
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=24:46:19.85
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=24:48:34.40
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=25:15:28.02
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=25:18:28.58
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because downmix medatata changedspeed= 1x elapsed=25:22:43.68
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:1 @ 0x51a000006c80] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, stereo, fltp, downmix medatata changed
[af#0:2 @ 0x51a000007280] Reconfiguring filter graph because audio parameters changed to 48000 Hz, 5.1(side), fltp, downmix medatata changed
[mpegts @ 0x517000000080] Invalid timestamps stream=1, pts=4356242920, dts=12946159512, size=107216apsed=26:29:36.66
[mpegts @ 0x517000000080] Invalid timestamps stream=1, pts=4356235720, dts=12946161312, size=8031
[mpegts @ 0x517000000080] Invalid timestamps stream=1, pts=4356239320, dts=12946168512, size=2312
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443717689, new offset= 95443717689
[aist#0:4/ac3 @ 0x514000001840] timestamp discontinuity (stream id=104): 95443749689, new offset= -32000
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174399192, current: 8584463520; changing to 17174399193. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174399193, current: 8584465320; changing to 17174399194. This may result in incorrect timestamps in the output file.
[aac @ 0x519000019a80] Queue input is backward in time
[aost#0:3/aac @ 0x517000007e80] Non-monotonic DTS; previous: 8584451400, current: 8584450440; changing to 8584451401. This may result in incorrect timestamps in the output file.
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443749689, new offset= 95443717689
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174399194, current: 8584467120; changing to 17174399195. This may result in incorrect timestamps in the output file.
[aist#0:2/ac3 @ 0x514000001440] timestamp discontinuity (stream id=102): 95443749689, new offset= -32000=26:29:37.16
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174413592, current: 8584477920; changing to 17174413593. This may result in incorrect timestamps in the output file.
[aac @ 0x519000016880] Queue input is backward in time
[aac @ 0x519000018180] Queue input is backward in time
[aost#0:1/aac @ 0x517000005800] Non-monotonic DTS; previous: 8584451400, current: 8584450440; changing to 8584451401. This may result in incorrect timestamps in the output file.
[aost#0:2/aac @ 0x517000006980] Non-monotonic DTS; previous: 8584451400, current: 8584450440; changing to 8584451401. This may result in incorrect timestamps in the output file.
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443749689, new offset= 95443717689
[aist#0:4/ac3 @ 0x514000001840] timestamp discontinuity (stream id=104): 95443781689, new offset= -64000
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174424392, current: 8584485840; changing to 17174424393. This may result in incorrect timestamps in the output file.
[aac @ 0x519000019a80] Queue input is backward in time
[aost#0:3/aac @ 0x517000007e80] Non-monotonic DTS; previous: 8584473480, current: 8584472520; changing to 8584473481. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174424393, current: 8584487640; changing to 17174424394. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174424394, current: 8584489440; changing to 17174424395. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174424395, current: 8584491240; changing to 17174424396. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174424396, current: 8584493040; changing to 17174424397. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174424397, current: 8584494840; changing to 17174424398. This may result in incorrect timestamps in the output file.
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443781689, new offset= 95443717689
[aist#0:2/ac3 @ 0x514000001440] timestamp discontinuity (stream id=102): 95443781689, new offset= -64000
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443781689, new offset= 95443717689
[aist#0:3/ac3 @ 0x514000001640] timestamp discontinuity (stream id=103): 95443781689, new offset= -64000
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443781689, new offset= 95443717689
[aac @ 0x519000016880] Queue input is backward in time
[aac @ 0x519000018180] Queue input is backward in time
[aost#0:1/aac @ 0x517000005800] Non-monotonic DTS; previous: 8584473480, current: 8584472520; changing to 8584473481. This may result in incorrect timestamps in the output file.
[aost#0:2/aac @ 0x517000006980] Non-monotonic DTS; previous: 8584473480, current: 8584472520; changing to 8584473481. This may result in incorrect timestamps in the output file.
[aist#0:4/ac3 @ 0x514000001840] timestamp discontinuity (stream id=104): 95443813689, new offset= -96000
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443813689, new offset= 95443717689
[aac @ 0x519000019a80] Queue input is backward in time
[aost#0:3/aac @ 0x517000007e80] Non-monotonic DTS; previous: 8584497480, current: 8584496520; changing to 8584497481. This may result in incorrect timestamps in the output file.
[aist#0:2/ac3 @ 0x514000001440] timestamp discontinuity (stream id=102): 95443813689, new offset= -96000=26:29:37.66
[aac @ 0x519000016880] Queue input is backward in time
[aac @ 0x519000018180] Queue input is backward in time
[aost#0:1/aac @ 0x517000005800] Non-monotonic DTS; previous: 8584497480, current: 8584496520; changing to 8584497481. This may result in incorrect timestamps in the output file.
[aost#0:2/aac @ 0x517000006980] Non-monotonic DTS; previous: 8584497480, current: 8584496520; changing to 8584497481. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467592, current: -5408432; changing to 17174467593. This may result in incorrect timestamps in the output file.
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443813689, new offset= 95443717689
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467593, current: 8584536600; changing to 17174467594. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467594, current: 8584538400; changing to 17174467595. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467595, current: 8584540200; changing to 17174467596. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467596, current: 8584542000; changing to 17174467597. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467597, current: 8584543800; changing to 17174467598. This may result in incorrect timestamps in the output file.
[aist#0:4/ac3 @ 0x514000001840] timestamp discontinuity (stream id=104): 95443845689, new offset= -128000
[aac @ 0x519000019a80] Queue input is backward in time
[aost#0:3/aac @ 0x517000007e80] Non-monotonic DTS; previous: 8584519560, current: 8584518600; changing to 8584519561. This may result in incorrect timestamps in the output file.
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443845689, new offset= 95443717689
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467598, current: 8584545600; changing to 17174467599. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467599, current: 8584547400; changing to 17174467600. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467600, current: 8584549200; changing to 17174467601. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467601, current: 8584551000; changing to 17174467602. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467602, current: 8584552800; changing to 17174467603. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467603, current: 8584554600; changing to 17174467604. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467604, current: 8584556400; changing to 17174467605. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467605, current: 8584558200; changing to 17174467606. This may result in incorrect timestamps in the output file.
[aist#0:2/ac3 @ 0x514000001440] timestamp discontinuity (stream id=102): 95443845689, new offset= -128000
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -95443845689, new offset= 95443717689
[aac @ 0x519000016880] Queue input is backward in time
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467606, current: 8584560000; changing to 17174467607. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467607, current: 8584561800; changing to 17174467608. This may result in incorrect timestamps in the output file.
[aac @ 0x519000018180] Queue input is backward in time
[aost#0:1/aac @ 0x517000005800] Non-monotonic DTS; previous: 8584519560, current: 8584518600; changing to 8584519561. This may result in incorrect timestamps in the output file.
[aost#0:2/aac @ 0x517000006980] Non-monotonic DTS; previous: 8584519560, current: 8584518600; changing to 8584519561. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467608, current: 8584563600; changing to 17174467609. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467609, current: 8584565400; changing to 17174467610. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467610, current: 8584567200; changing to 17174467611. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467611, current: 8584569000; changing to 17174467612. This may result in incorrect timestamps in the output file.
[aist#0:4/ac3 @ 0x514000001840] timestamp discontinuity (stream id=104): 95443877689, new offset= -160000
[aist#0:4/ac3 @ 0x514000001840] timestamp discontinuity (stream id=104): -95443685689, new offset= 95443525689
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -192000, new offset= 95443717689
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467612, current: 8584570800; changing to 17174467613. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467613, current: 8584572600; changing to 17174467614. This may result in incorrect timestamps in the output file.
[aac @ 0x519000019a80] Queue input is backward in time
Last message repeated 1 times
[aost#0:3/aac @ 0x517000007e80] Non-monotonic DTS; previous: 8584543560, current: 8584542600; changing to 8584543561. This may result in incorrect timestamps in the output file.
[aost#0:3/aac @ 0x517000007e80] Non-monotonic DTS; previous: 8584543561, current: 8584541640; changing to 8584543562. This may result in incorrect timestamps in the output file.
[aost#0:3/aac @ 0x517000007e80] Non-monotonic DTS; previous: 8584543562, current: 8584543560; changing to 8584543563. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467614, current: 8584574400; changing to 17174467615. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467615, current: 8584576200; changing to 17174467616. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467616, current: 8584578000; changing to 17174467617. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467617, current: 8584579800; changing to 17174467618. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467618, current: 8584581600; changing to 17174467619. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467619, current: 8584583400; changing to 17174467620. This may result in incorrect timestamps in the output file.
[aist#0:2/ac3 @ 0x514000001440] timestamp discontinuity (stream id=102): 95443877689, new offset= -160000
[aist#0:2/ac3 @ 0x514000001440] timestamp discontinuity (stream id=102): -95443685689, new offset= 95443525689
[aist#0:3/ac3 @ 0x514000001640] timestamp discontinuity (stream id=103): 95443685689, new offset= -160000
[aist#0:3/ac3 @ 0x514000001640] timestamp discontinuity (stream id=103): -95443685689, new offset= 95443525689
[vist#0:1/h264 @ 0x514000001240] timestamp discontinuity (stream id=101): -192000, new offset= 95443717689
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467620, current: 8584585200; changing to 17174467621. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467621, current: 8584587000; changing to 17174467622. This may result in incorrect timestamps in the output file.
[aac @ 0x519000016880] Queue input is backward in time
[aac @ 0x519000018180] Queue input is backward in time
[aac @ 0x519000016880] Queue input is backward in time
[aac @ 0x519000018180] Queue input is backward in time
[aost#0:1/aac @ 0x517000005800] Non-monotonic DTS; previous: 8584543560, current: 8584542600; changing to 8584543561. This may result in incorrect timestamps in the output file.
[aost#0:1/aac @ 0x517000005800] Non-monotonic DTS; previous: 8584543561, current: 8584541640; changing to 8584543562. This may result in incorrect timestamps in the output file.
[aost#0:1/aac @ 0x517000005800] Non-monotonic DTS; previous: 8584543562, current: 8584543560; changing to 8584543563. This may result in incorrect timestamps in the output file.
[aost#0:2/aac @ 0x517000006980] Non-monotonic DTS; previous: 8584543560, current: 8584542600; changing to 8584543561. This may result in incorrect timestamps in the output file.
[aost#0:2/aac @ 0x517000006980] Non-monotonic DTS; previous: 8584543561, current: 8584541640; changing to 8584543562. This may result in incorrect timestamps in the output file.
[aost#0:2/aac @ 0x517000006980] Non-monotonic DTS; previous: 8584543562, current: 8584543560; changing to 8584543563. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467622, current: 8584588800; changing to 17174467623. This may result in incorrect timestamps in the output file.
[sost#0:4/copy @ 0x517000009000] Non-monotonic DTS; previous: 17174467623, current: 8584590600; changing to 17174467624. This may result in incorrect timestamps in the output file.
comment:7 by , 13 months ago
| Description: | modified (diff) |
|---|
comment:8 by , 13 months ago
26 hours is the timestamp wraparound period in MPEGTS so it's an issue with the way the wraparound is handled in the TS demux most likely.
(Obviously this shouldn't also cause a memory leak)
comment:9 by , 13 months ago
do you think this is something i can get in control with -correct_ts_overflow 1?
correct_ts_overflow integer (input)
Correct single timestamp overflows if set to 1. Default is 1.
i am running now a process again which will show me the result in around 26 hours. thank you very much in advance for any other input you can give.
comment:10 by , 13 months ago
You could run it with memory allocation tracing, so we know exactly which allocations are growing overtime. https://github.com/koute/bytehound
comment:11 by , 13 months ago
hi, i was able to run bytehound and get the bin, please find it here, the link is 7 days valid:
https://www.transfernow.net/dl/20250612N2ZbFDti
after 26 hours running the memory usage grow rapidly and it is visible in the bin. i was not able to understand what exactly is responsible for it, maybe you will see it.
thank you in advance for your feedback.
comment:12 by , 13 months ago
For some reason the bytehound report is not complete, it doesn't contain any allocation stack traces, so unfortunately not much use of this report. But it confirms that the issue starts 26.5 hours after starting playback, which we already knew. Something goes catastrophically wrong when timestamps start overflowing.
comment:13 by , 13 months ago
follow-up: 15 comment:14 by , 13 months ago
@kasper93, can you give me the correct parameters so i can run it again and we can see more?
@balling, very interesting that this is known since years. but keep in mind you can run mpegts longer than 26.5 hours if you just add the flag -sn to it, this removes services as teletext, teletext subs and dvb-subs. this way it can run for days without breaking. as i am depending on these services like teletext, subs and dvb-subs, i cant have a unreliable live stream restarting 26.5 hours after starting.
anything else i can provide to have a better clue what is causes this exactly? i am very determined to help solve this.
also my offer still stands, i can make the stream available to any developer which is interested to have a deeper look into this.
thank you in advance!
comment:15 by , 13 months ago
Replying to mg3242:
@kasper93, can you give me the correct parameters so i can run it again and we can see more?
Hard to say, I don't really know why it failed for you. LD_PRELOAD=./libbytehound.so should be enough to trace allocations. I generally also build target with -fno-omit-frame-pointer and statically linked, depends on what I test. You could run it for few seconds and inspect the trace to see if it works. However, probably no need to spend much effort on this, because likely the issues with mpegts are more complex than only specific allocation that is not freed. I just suggested this as an easy way to pinpoint where it comes from.
comment:16 by , 13 months ago
| Cc: | added |
|---|---|
| Component: | ffmpeg → avformat |
| Keywords: | mpegts added; leak 24/7 transcoding removed |
| Summary: | Memory Leak in FFmpeg During Extended Processing → MPEG-TS PCR rollover caused memory leak? |
͏ I suspect this is strictly an input reading issue.
͏ I.e. just reading the input, without any transcoding ("-c copy"), and output to "/dev/null" (with "-f null" maybe):
͏ Could reproduce.
͏ If not, try still output with "-f mpegts".
͏ Meanwhile, try to also ascertain the minimal media stream(s) required for the reproduction.
͏ (i.e. "-map" only the minimum necessary streams)
͏ Trying removing all unnecessary options for the reproduction:
͏ So to pin-point the exact cause.
comment:17 by , 13 months ago
Meanwhile, try to also ascertain the minimal media stream(s) required for the reproduction.
And can someone finally say whether file from https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket7449/ is the same issue as this issue and #8689?
comment:18 by , 13 months ago
͏ Sorry, have other tasks yet.
͏ (thus unavailable for the pin-point verification by self)



Try ASAN instead of Valgrind. It has way better performance.
You should also be more explicit about what you mean by leaking: Does it mean that ffmpeg consumes ever more memory until it runs out of it? Or that it really forgets to free a resource (the former is possible without the latter)?