[FFmpeg-user] Overlay Filter Broken?
Andrew Ramberg
andyr at paulbunyan.net
Thu Nov 15 19:59:52 CET 2012
I would really appreciate help on this if possible but please don't
reply with "read the docs". If everything worked like the docs said they
should, many of the questions on this board wouldn't be there... I've
read what I could find in the docs on the movie filter and searched all
over for an example that actually works with 0.10.6 and have yet to find
one.
Here's my command again and the server response:
*./ffmpeg -i rtsp://root:password@192.168.1.5/axis-media/media.amp -vf
"movie=/home/webcam/logo/glow.png [logo]; [in][logo]
overlay=10:main_h-overlay_h-10 [out]" http://localhost:8090/feed1.ffm *
ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 12 2012 14:02:22 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
configuration: --enable-filter=movie --enable-avfilter
--enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-gpl
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[rtsp @ 0x256c3a0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from
'rtsp://root:password@192.168.1.5/axis-media/media.amp':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.019625, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuvj420p, 1280x720 [SAR 1:1
DAR 16:9], 29.97 tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: aac, 16000 Hz, mono, s16
*[tcp @ 0x28c8a00] TCP connection to localhost:8090 failed: Connection
refused
[tcp @ 0x28c8aa0] TCP connection to localhost:8090 failed: Connection
refused*
[buffer @ 0x25745c0] w:1280 h:720 pixfmt:yuvj420p tb:1/1000000 sar:1/1
sws_param:
[scale @ 0x28bf740] w:1280 h:720 fmt:yuvj420p -> w:512 h:288 fmt:yuv420p
flags:0x4
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
Metadata:
title : Media Presentation
encoder : Lavf53.32.100
Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 512x288
[SAR 1:1 DAR 16:9], q=1-2, 100 kb/s, 1000k tbn, 29.97 tbc
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> flv)
Press [q] to stop, [?] for help
[flv @ 0x256ad80] rc buffer underflow
Last message repeated 11 times
rc buffer underflow q=31.0 size= 140kB time=00:00:01.13
bitrate=1010.9kbits/s
[flv @ 0x256ad80] rc buffer underflow
Last message repeated 2 times
rc buffer underflow q=37.2 size= 224kB time=00:00:01.63
bitrate=1122.4kbits/s
[flv @ 0x256ad80] rc buffer underflow
rc buffer underflow q=31.0 size= 276kB time=00:00:02.16
bitrate=1042.5kbits/s
[flv @ 0x256ad80] rc buffer underflow
Last message repeated 6 times
frame= 84 fps= 40 q=31.0 Lsize= 332kB time=00:00:02.80 bitrate=
970.4kbits/s
video:324kB audio:0kB global headers:0kB muxing overhead 2.534345%
*The flv video stream works from FFServer but has no logo overlay.*
On 11/13/2012 04:58 PM, Stefano Sabatini wrote:
> On date Tuesday 2012-11-13 16:43:16 -0600, Andrew Ramberg wrote:
> [...]
>> I assumed my command was using movie beings it's defined in the -vf
>> string? Could you give me an example of the correct "movie" syntax?
> Why don't you just read docs:
> http://ffmpeg.org/ffmpeg.html#movie
> ?
>
> (Note: you're supposed to read the docs which come with your installed
> FFmpeg, online documentation are updated against latest git).
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
More information about the ffmpeg-user
mailing list