[FFmpeg-user] ffmpeg bitrate slows down

Julien Roch julien.roch at b-stream.com
Fri Aug 17 09:12:00 CEST 2012


Sure

Here is the beginning

ffmpeg -i "rtmp://xxxxxx.xxxxlive.net/xxxxxx/stream_bstest" -acodec copy -vcodec copy -bsf:v h264_mp4toannexb -f mpegts udp://192.168.0.5:5000

ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 28 2012 10:37:25 with gcc 4.1.2 20080704 (Red Hat 4.1.2-46)
  configuration: --enable-shared --enable-libmp3lame --enable-libvpx --enable-libvorbis --disable-static --disable-ffserver --disable-avfilter --disable-ffplay --disable-doc --disable-demuxer=mp3 --prefix=.. --extra-cflags=' -I/opt/sturgeon/builds/15610/mp3lame/398-2/linux/include -I/opt/sturgeon/builds/15610/libvpx/export/include -I/opt/sturgeon/builds/15610/libogg/export/include -I/opt/sturgeon/builds/15610/libvorbis/export/include' --extra-ldflags='-L/opt/sturgeon/builds/15610/mp3lame/398-2/linux/lib64 -L/opt/sturgeon/builds/15610/libvpx/export/linux-x86_64/lib -L/opt/sturgeon/builds/15610/libogg/export/linux-x86_64/lib -L/opt/sturgeon/builds/15610/libvorbis/export/linux-x86_64/lib'
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 60.100 / 53. 60.100
  libavformat    53. 31.100 / 53. 31.100
  libavdevice    53.  4.100 / 53.  4.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
[flv @ 0x7c354e0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://xxxxxx.xxxxlive.net/xxxxxx/stream_bstest':
  Duration: N/A, start: 0.000000, bitrate: 3000 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 3000 kb/s, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac, 48000 Hz, stereo, s16
[mpegts @ 0x7c4ed20] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'udp://192.168.0.5:5000':
  Metadata:
    encoder         : Lavf53.31.100
    Stream #0:0: Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 3000 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: aac, 48000 Hz, stereo
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help


Attached is the complete log

Julien  Roch



-----Message d'origine-----
De : ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] De la part de Roger Pack
Envoyé : vendredi 17 août 2012 04:12
À : FFmpeg user questions
Objet : Re: [FFmpeg-user] ffmpeg bitrate slows down

> 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 :

Could you also post your beginning of the console output, and command line used?

Also can you point us at a stream that reproduces the problem?
-r
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log_rtmp-udp_fail.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120817/c4174c10/attachment.txt>


More information about the ffmpeg-user mailing list