[FFmpeg-user] ffmpeg bitrate slows down

Julien Roch julien.roch at b-stream.com
Thu Aug 16 23:10:31 CEST 2012


Hi,

I'm trying to remux a live rtmp feed to mpegts

The problem is that the bitrate slows down after a while (30mins, 2 hours, depend) and ffmpeg stops :

Here is the last lines of log, the bitrate was at 3.4Mb/s at beginning :

frame=23497 fps= 11 q=-1.0 size=  394639kB time=00:36:44.16 bitrate=1466.7kbits/s
frame=23510 fps= 11 q=-1.0 size=  394852kB time=00:36:44.67 bitrate=1467.2kbits/s
frame=23522 fps= 11 q=-1.0 size=  395067kB time=00:36:45.18 bitrate=1467.6kbits/s
frame=23535 fps= 11 q=-1.0 size=  395257kB time=00:36:45.69 bitrate=1468.0kbits/s
frame=23543 fps= 10 q=-1.0 size=  395403kB time=00:37:34.01 bitrate=1437.1kbits/s
frame=23556 fps= 10 q=-1.0 size=  395594kB time=00:37:34.52 bitrate=1437.4kbits/s
frame=23569 fps= 10 q=-1.0 size=  395772kB time=00:37:35.04 bitrate=1437.7kbits/s
frame=23582 fps= 10 q=-1.0 size=  395957kB time=00:37:35.55 bitrate=1438.1kbits/s
frame=23594 fps= 10 q=-1.0 size=  396215kB time=00:37:36.06 bitrate=1438.7kbits/s
frame=23607 fps= 10 q=-1.0 size=  396462kB time=00:37:36.57 bitrate=1439.3kbits/s
frame=23620 fps= 10 q=-1.0 size=  396704kB time=00:37:37.08 bitrate=1439.8kbits/s
frame=23633 fps= 10 q=-1.0 size=  396938kB time=00:37:37.60 bitrate=1440.3kbits/s
frame=23646 fps= 10 q=-1.0 size=  397131kB time=00:37:38.11 bitrate=1440.7kbits/s
frame=23658 fps= 10 q=-1.0 size=  397259kB time=00:37:38.62 bitrate=1440.9kbits/s
frame=23671 fps= 10 q=-1.0 size=  397415kB time=00:37:39.13 bitrate=1441.1kbits/s
frame=23684 fps= 10 q=-1.0 size=  397726kB time=00:37:39.64 bitrate=1441.9kbits/s
frame=23697 fps= 10 q=-1.0 size=  398002kB time=00:37:40.16 bitrate=1442.6kbits/s
frame=23710 fps= 10 q=-1.0 size=  398244kB time=00:37:40.67 bitrate=1443.1kbits/s
frame=23722 fps= 10 q=-1.0 size=  398474kB time=00:37:41.18 bitrate=1443.6kbits/s
frame=23735 fps= 10 q=-1.0 size=  398691kB time=00:37:41.69 bitrate=1444.1kbits/s
frame=23744 fps= 10 q=-1.0 size=  398908kB time=00:38:32.02 bitrate=1413.4kbits/s
frame=23757 fps= 10 q=-1.0 size=  399153kB time=00:38:32.51 bitrate=1414.0kbits/s
frame=23769 fps= 10 q=-1.0 size=  399398kB time=00:38:33.02 bitrate=1414.5kbits/s
frame=23782 fps= 10 q=-1.0 size=  399586kB time=00:38:33.53 bitrate=1414.9kbits/s
frame=23795 fps= 10 q=-1.0 size=  399792kB time=00:38:34.04 bitrate=1415.3kbits/s
frame=23808 fps= 10 q=-1.0 size=  399949kB time=00:38:34.56 bitrate=1415.6kbits/s
frame=23821 fps= 10 q=-1.0 size=  400133kB time=00:38:35.07 bitrate=1415.9kbits/s
frame=23833 fps= 10 q=-1.0 size=  400328kB time=00:38:35.58 bitrate=1416.3kbits/s
frame=23846 fps= 10 q=-1.0 size=  400669kB time=00:38:36.09 bitrate=1417.2kbits/s
frame=23859 fps= 10 q=-1.0 size=  400861kB time=00:38:36.60 bitrate=1417.5kbits/s
frame=23872 fps= 10 q=-1.0 size=  401029kB time=00:38:37.12 bitrate=1417.8kbits/s
frame=23885 fps= 10 q=-1.0 size=  401197kB time=00:38:37.63 bitrate=1418.1kbits/s
frame=23897 fps= 10 q=-1.0 size=  401396kB time=00:38:38.14 bitrate=1418.5kbits/s
frame=23910 fps= 10 q=-1.0 size=  401572kB time=00:38:38.65 bitrate=1418.8kbits/s
frame=23923 fps= 10 q=-1.0 size=  401809kB time=00:38:39.16 bitrate=1419.3kbits/s
frame=23936 fps= 10 q=-1.0 size=  402017kB time=00:38:39.68 bitrate=1419.7kbits/s
frame=23945 fps= 10 q=-1.0 size=  402251kB time=00:39:30.02 bitrate=1390.4kbits/s
frame=23958 fps= 10 q=-1.0 size=  402430kB time=00:39:30.51 bitrate=1390.7kbits/s
frame=23971 fps= 10 q=-1.0 size=  402588kB time=00:39:31.02 bitrate=1391.0kbits/s
frame=23983 fps= 10 q=-1.0 size=  402767kB time=00:39:31.54 bitrate=1391.3kbits/s
frame=23996 fps= 10 q=-1.0 size=  402989kB time=00:39:32.05 bitrate=1391.7kbits/s
frame=24009 fps= 10 q=-1.0 size=  403224kB time=00:39:32.56 bitrate=1392.3kbits/s
frame=24022 fps= 10 q=-1.0 size=  403449kB time=00:39:33.07 bitrate=1392.7kbits/s
frame=24035 fps= 10 q=-1.0 size=  403686kB time=00:39:33.58 bitrate=1393.2kbits/s
frame=24047 fps= 10 q=-1.0 size=  403920kB time=00:39:34.10 bitrate=1393.7kbits/s
frame=24060 fps= 10 q=-1.0 size=  404054kB time=00:39:34.61 bitrate=1393.9kbits/s
frame=24073 fps= 10 q=-1.0 size=  404225kB time=00:39:35.12 bitrate=1394.2kbits/s
frame=24086 fps= 10 q=-1.0 size=  404435kB time=00:39:35.63 bitrate=1394.6kbits/s
frame=24099 fps= 10 q=-1.0 size=  404862kB time=00:39:36.14 bitrate=1395.8kbits/s
frame=24111 fps= 10 q=-1.0 size=  405143kB time=00:39:36.66 bitrate=1396.5kbits/s
frame=24124 fps= 10 q=-1.0 size=  405392kB time=00:39:37.17 bitrate=1397.0kbits/s
frame=24137 fps= 10 q=-1.0 size=  405624kB time=00:39:37.68 bitrate=1397.5kbits/s
frame=24144 fps= 10 q=-1.0 Lsize=  405769kB time=00:39:37.98 bitrate=1397.8kbits/s
video:355446kB audio:14700kB global headers:0kB muxing overhead 9.624118%

Any advices ?

Julien  Roch



More information about the ffmpeg-user mailing list