Hi,

Using ffmpeg on armbian system I capture "live" video from underwatter
camera. I stream it to ffserver.
The capture and output stream works.  I would like to overlay the
temperature and salinity
 into the final output stream before sending to ffserver.

If I output to a file, (mp4 in my test case) the drawtext filter works
perfectly.

If I output to a stream, there is no text overlay visible in the
output stream displayed.  (ffserver receives it, and ffplay can
consume it from that ffserver, and plays it fine.  just no text
overlay.  same with vlc as client.)

This is my ffserver.conf:
====================
# Port on which the server is listening. You must select a different
# port from your standard HTTP web server if it is running on the same
# computer.
HTTPPort 8090

# Address on which the server is bound. Only useful if you have
# several network interfaces.
HTTPBindAddress 0.0.0.0

# Number of simultaneous HTTP connections that can be handled. It has
# to be defined *before* the MaxClients parameter, since it defines the
# MaxClients maximum limit.
MaxHTTPConnections 2000

# Number of simultaneous requests that can be handled. Since FFServer
# is very fast, it is more likely that you will want to leave this high
# and use MaxBandwidth, below.
MaxClients 1000

# This the maximum amount of kbit/sec that you are prepared to
# consume when streaming to clients.
MaxBandwidth 10000

# Access log file (uses standard Apache log file format)
# '-' is the standard output.
CustomLog -


##################################################################
# Definition of the live feeds. Each live feed contains one video
# and/or audio sequence coming from an ffmpeg encoder or another
# ffserver. This sequence may be encoded simultaneously with several
# codecs at several resolutions.



<Feed monitoring1.ffm>
File /tmp/monitoring1.ffm
FileMaxSize 50M
ACL allow 127.0.0.1
ACL allow 192.168.0.0 192.168.255.255
</Feed>


<Stream monitoring1.mjpg>
Feed monitoring1.ffm
Format mpjpeg
VideoCodec mjpeg
VideoFrameRate 22
VideoBufferSize 80
VideoSize 720x264
NoAudio
</Stream>



# Redirect index.html to the appropriate site

<Redirect index.html>
URL http://www.ffmpeg.org/
</Redirect>
================================

and this is my ffmpeg call:

ffmpeg -i rtsp://
mpv.cdn3.bigCDN.com:554/bigCDN/definst/mp4:bigbuckbunnyiphone_400.mp4 -vf
drawtext="fontfile=/home/projekt/StreamTest/Roboto-Black.ttf: text='Stack
Overflow': fontcolor=white: fontsize=36: box=1: boxcolor=black@0.5:
boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2"
http://localhost:8090/monitoring1.ffm


I have:
ffmpeg version 3.2.2.-1 build with gcc 4.92
installed with apt-get install ffmpeg

regards
Peter
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to