[FFmpeg-user] FFserver stream does not contain embeded text
peter valencic
petervalencic at gmail.com
Tue Feb 21 08:09:25 EET 2017
Hi,
here is output from my console:
login as: root
root at 192.168.1.147's password:
___ ____ _ ____ ____
/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \ / ___|
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | __/| |___
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \____|
|___/
Welcome to ARMBIAN 5.26.170218 nightly Debian GNU/Linux 8 (jessie)
3.4.113-sun8i
System load: 0.08 Up time: 18 hours
Memory usage: 10 % of 1000Mb IP: 192.168.1.147
CPU temp: 35°C
Usage of /: 7% of 29G
[ 9 updates to install: apt upgrade ]
Last login: Mon Feb 20 13:21:19 2017 from peter-laptop
root at orangepipc:~# ps -aux | grep java
root 6279 0.0 0.0 3664 748 pts/0 S+ 07:01 0:00 grep java
root at orangepipc:~# ps -aux | grep ff
root 6281 0.0 0.0 3664 748 pts/0 S+ 07:01 0:00 grep ff
root at orangepipc:~# ffserver &
[1] 6442
root at orangepipc:~# ffserver version 3.2.2-1~bpo8+1 Copyright (c) 2000-2016
the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/usr --extra-version='1~bpo8+1'
--toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf
--incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --disable-libebur128 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq
--enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2
--enable-libdc1394 --enable-libiec61883 --enable-libopencv --enable-frei0r
--enable-libx264 --enable-chromaprint --enable-shared
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
/etc/ffserver.conf:53: Setting default value for audio bit rate = 0. Use
NoDefaults to disable it.
/etc/ffserver.conf:53: Setting default value for audio channel count = 1.
Use NoDefaults to disable it.
/etc/ffserver.conf:53: Setting default value for video bit rate = 0. Use
NoDefaults to disable it.
/etc/ffserver.conf:53: Setting default value for video bit rate tolerance =
16000. Use NoDefaults to disable it.
/etc/ffserver.conf:53: Setting default value for video rate control
equation = tex^qComp. Use NoDefaults to disable it.
/etc/ffserver.conf:53: Setting default value for video max rate =
-1192085472. Use NoDefaults to disable it.
/etc/ffserver.conf:53: Setting default value for video buffer size =
128000. Use NoDefaults to disable it.
Tue Feb 21 07:03:46 2017 FFserver started.
DejaVuSans.ttf log.txt Roboto-Black.ttf test.sh
root at orangepipc:/home/projekt/StreamTest# ./test.sh
ffmpeg version 3.2.2-1~bpo8+1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/usr --extra-version='1~bpo8+1'
--toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf
--incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --disable-libebur128 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq
--enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2
--enable-libdc1394 --enable-libiec61883 --enable-libopencv --enable-frei0r
--enable-libx264 --enable-chromaprint --enable-shared
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, matroska,webm, from '
http://video.webmfiles.org/big-buck-bunny_trailer.webm':
Metadata:
encoder : http://sourceforge.net/projects/yamka
creation_time : 2010-05-20T08:21:12.000000Z
Duration: 00:00:32.48, start: 0.000000, bitrate: 533 kb/s
Stream #0:0(eng): Video: vp8, yuv420p, 640x360, SAR 1:1 DAR 16:9, 25
fps, 25 tbr, 1k tbn, 1k tbc (default)
Stream #0:1(eng): Audio: vorbis, 44100 Hz, mono, fltp (default)
[tcp @ 0xb8019ce0] Connection to tcp://localhost:8090 failed (Connection
refused), trying next address
Tue Feb 21 07:04:27 2017 [ffm @ 0xb8f41220]Using AVStream.codec to pass
codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Tue Feb 21 07:04:27 2017 [ffm @ 0xb8f41220]Using AVStream.codec to pass
codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Tue Feb 21 07:04:27 2017 127.0.0.1 - - [GET] "/monitoring1.ffm HTTP/1.1"
200 4175
[tcp @ 0xb801ecc0] Connection to tcp://localhost:8090 failed (Connection
refused), trying next address
[libvpx-vp9 @ 0xb807d280] v1.3.0
Output #0, ffm, to 'http://localhost:8090/monitoring1.ffm':
Metadata:
creation_time : now
encoder : Lavf57.56.100
Stream #0:0(eng): Audio: vorbis (libvorbis), 48000 Hz, mono, fltp, 64
kb/s (default)
Metadata:
encoder : Lavc57.64.101 libvorbis
Stream #0:1(eng): Video: vp9 (libvpx-vp9), yuv420p, 624x368 [SAR
368:351 DAR 16:9], q=4-40, 64 kb/s, 25 fps, 1000k tbn, 30 tbc (default)
Metadata:
encoder : Lavc57.64.101 libvpx-vp9
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 128000 vbv_delay: -1
Stream mapping:
Stream #0:1 -> #0:0 (vorbis (native) -> vorbis (libvorbis))
Stream #0:0 -> #0:1 (vp8 (native) -> vp9 (libvpx-vp9))
Press [q] to stop, [?] for help
frame= 25 fps=0.0 q=0.0 size= 4kB time=00:00:00.91 bitrate=
36.0kbits/sframe= 29 fps= 13 q=0.0 size= 4kB time=00:00:01.03
bitrate= 31.5kbits/sframe= 30 fps= 11 q=0.0 size= 4kB
time=00:00:01.08 bitrate= 30.3kbits/sframe= 31 fps=9.6 q=0.0 size=
4kB time=00:00:01.12 bitrate= 29.2kbits/sframe= 32 fps=8.4 q=0.0 size=
4kB time=00:00:01.16 bitrate= 28.1kbits/sframe= 33 fps=7.2 q=0.0
size= 4kB time=00:00:01.18 bitrate= 27.6kbits/sframe= 35 fps=5.4
q=0.0 size= 8kB time=00:00:01.23 bitrate= 53.2kbits/sframe= 36
fps=4.7 q=0.0 size= 8kB time=00:00:01.29 bitrate= 50.6kbits/s^CTue
Feb 21 07:04:41 2017 127.0.0.1 - - [POST] "/monitoring1.ffm HTTP/1.1" 200
8192
I have asked a question also here:
http://stackoverflow.com/questions/42320697/ffmpeg-text-is-not-displayed-in-my-streamed-video?noredirect=1#comment71818114_42320697
but for now I have resolved the problem only with "pipe" command and is
very slow.
regards
Peter
On Tue, Feb 21, 2017 at 2:02 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:
> 2017-02-19 22:25 GMT+01:00 peter valencic <petervalencic at gmail.com>:
>
> > 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 at 0.5:
> > boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2"
> > http://localhost:8090/monitoring1.ffm
>
> Complete, uncut console output missing.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list