[FFmpeg-trac] #5735(undetermined:new): CPU usage increases over time (possibly caused by loudnorm)

FFmpeg trac at avcodec.org
Tue Jul 26 20:30:17 EEST 2016


#5735: CPU usage increases over time (possibly caused by loudnorm)
-------------------------------------+-------------------------------------
             Reporter:  yatahaze     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  loudnorm     |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by yatahaze):

 I'm an ffmpeg noob and have no idea how to stream out a local mp3 file. It
 plays back at high speed and uses 100% CPU. Can you/someone help me get
 the command right?

 My command is:

 {{{
 # /root/bin/ffmpeg -i /root/music2.mp3 -c:a libmp3lame -af loudnorm=I=-15
 -f tee -map 0:a
 "[f=rtp]rtp://224.3.3.3:1235|[f=mpegts]udp://192.168.0.113:1235/"
 ffmpeg version N-81026-gb701ec4 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.1) 20160609
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include --extra-
 ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-
 libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
 --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264
 --enable-nonfree --enable-libebur128
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 50.100 / 57. 50.100
   libavformat    57. 41.100 / 57. 41.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 47.100 /  6. 47.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mp3, from '/root/music2.mp3':
   Metadata:
     title           : Maschine Sounds (Proton Radio)
     artist          : Oliver Lieb
     album           : Maschine Sounds (Proton Radio)
     date            : 2007
     comment         : TALiON
     genre           : Electronic
   Duration: 02:27:13.18, start: 0.025057, bitrate: 191 kb/s
     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
     Metadata:
       encoder         : LAME3.97
     Side data:
       replaygain: track gain - -2.500000, track peak - unknown, album gain
 - unknown, album peak - unknown,
 [tee @ 0x23811e0] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
 [mpegts @ 0x2422800] frame size not set
 Output #0, tee, to
 '[f=rtp]rtp://224.3.3.3:1235|[f=mpegts]udp://192.168.0.113:1235/':
   Metadata:
     title           : Maschine Sounds (Proton Radio)
     artist          : Oliver Lieb
     album           : Maschine Sounds (Proton Radio)
     date            : 2007
     comment         : TALiON
     genre           : Electronic
     encoder         : Lavf57.41.100
     Stream #0:0: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp
     Metadata:
       encoder         : Lavc57.50.100 libmp3lame
 Stream mapping:
   Stream #0:0 -> #0:0 (mp3 (native) -> mp3 (libmp3lame))
 Press [q] to stop, [?] for help
 size=N/A time=00:07:52.89 bitrate=N/A speed=5.72x
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5735#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list