[FFmpeg-user] how to insert logo over live stream

Amir Amir amir.avarzamani at yahoo.com
Wed Apr 20 21:50:21 CEST 2016


Dear FFMPEG experts,

I would like to add an image as logo over a live stream and I have googled a lot with no success. I do not even figure out if this is possible or not? I have tried several options like -filter_complex and -vf filters but with no success.
I really need help in this topic.
Thanks.
ffserver config file:
HTTPPort 8090
BindAddress 192.168.2.100
MaxHTTPConnections 1000
MaxClients 200
MaxBandwidth 1000000
CustomLog -

<Feed feed0.ffm>
File /tmp/feed0.ffm
FileMaxSize 10M
</Feed>

<Stream test.flv>
Format flv
Feed feed0.ffm
VideoBitRate 800
VideoBufferSize 400
VideoFrameRate 30
VideoBitRateTolerance 100
VideoSize 800x600
VideoCodec libx264
AVOptionVideo crf 23
AVOptionVideo preset medium
AVOptionVideo me_range 16
AVOptionVideo qdiff 4
AVOptionVideo qmin 10
AVOptionVideo qmax 51
AVOptionVideo flags +global_header
AudioCodec aac
Strict -2
AudioBitRate 128
AudioChannels 2
AudioSampleRate 44100
AVOptionAudio flags +global_header
PreRoll 0
StartSendOnKey
</Stream>


ffmpeg compiled options are as follow:
ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --disable-yasm --enable-gpl --enable-nonfree --enable-libx264 --enable-libvpx --enable-libvorbis --enable-libmp3lame --enable-libtheora
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100


I use the following command to use FFMPEG for UNICAST stream transcode:
   
      - ffmpeg -i http://192.168.2.100:2003 http://192.168.2.100:8090/feed0.ffm
   -    


where 192.168.2.100:2003 is .TS stream comming from the MUMUDVB

   
   -    



More information about the ffmpeg-user mailing list