Re: [FFmpeg-user] FFserver stream does not contain embeded text

2017-02-21 Thread Carl Eugen Hoyos
2017-02-21 7:09 GMT+01:00 peter valencic :

> root@orangepipc:/home/projekt/StreamTest# ./test.sh

The console output of this command does not match the
command line from your first post.

Remember not to run ffmpeg as root.

Please avoid top-posting here, Carl Eugen
___
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".

[FFmpeg-user] FFserver stream does not contain embeded text

2017-02-20 Thread peter valencic
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 1

# 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.




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




Feed monitoring1.ffm
Format mpjpeg
VideoCodec mjpeg
VideoFrameRate 22
VideoBufferSize 80
VideoSize 720x264
NoAudio




# Redirect index.html to the appropriate site


URL http://www.ffmpeg.org/



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".