[FFmpeg-user] Simple webm ffmpeg passthrough unexpectedly use 100% cpu

LANGLOIS Olivier PIS -EXT olivier.pis.langlois at transport.alstom.com
Wed Sep 25 18:04:12 CEST 2013


Hi,

I want to live stream a webm file with ffserver. I have preprocess my file to avoid any on the fly transcoding. I obviously failed something as ffmpeg is using 100% cpu and the ffserver stream output is stuttering.

Can you help me see what I am missing:

my ffserver.conf stream setting:

<Stream test1.webm>
Feed feed1.ffm
Format webm
VideoCodec libvpx
VideoBitRate 200
VideoSize 480x368
StartSendOnKey
AVOptionVideo flags +global_header
NoAudio
ACL allow 192.168.16.1
ACL allow 192.168.16.234
ACL allow 127.0.0.1
</Stream>

lano1106 at hpmini ~/Videos $ ffmpeg -re -i trololo.webm http://localhost:8090/feed1.ffm
ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug 11 2013 14:58:31 with gcc 4.8.1 (GCC) 20130725 (prerelease)
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'trololo.webm':
  Duration: 00:02:41.36, start: 0.000000, bitrate: 217 kb/s
    Stream #0:0: Video: vp8, yuv420p, 480x368, SAR 134:131 DAR 4020:3013, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
[libvpx @ 0x946a2c0] v1.2.0
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  Metadata:
    creation_time   : now
    encoder         : Lavf55.12.100
    Stream #0:0: Video: vp8 (libvpx), yuv420p, 480x368 [SAR 134:131 DAR 4020:3013], q=2-31, 200 kb/s, 1000k tbn, 29.97 tbc (default)
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 -> libvpx)


________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.


More information about the ffmpeg-user mailing list