Hello, Why it is not possible to use overlay filter with negative y coordinates? It works when x is negative but not y. How this can be fixed?
stack trace: ffmpeg -i in3.flv -vfilters "[in]setpts=PTS-STARTPTS,[T1]overlay=-20+13*atan(N/40):-20+14*atan(N)[out];movie=0:flv:in2.flv,scale=487:365,setpts=PTS-STARTPTS[T1]" out.avi FFmpeg version SVN-r20390, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Nov 3 2009 21:51:11 with gcc 4.4.1 configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-nonfree --enable-libtheora --enable-avfilter-lavf --enable-avfilter libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.37. 1 / 52.37. 1 libavformat 52.39. 2 / 52.39. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1. 6. 0 / 1. 6. 0 libswscale 0. 7. 1 / 0. 7. 1 Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 29.97 (30000/1001) Input #0, flv, from 'in3.flv': Duration: 00:00:30.80, start: 0.000000, bitrate: 414 kb/s Stream #0.0: Video: h264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], 414 kb/s, 29.97 tbr, 1k tbn, 60 tbc Stream #0.1: Audio: aac, 44100 Hz, stereo, s16 Metadata duration : 31 starttime : 0 totalduration : 31 width : 480 height : 360 videodatarate : 404 audiodatarate : 107 totaldatarate : 513 framerate : 30 bytelength : 2009597 canseekontime : true sourcedata : B4A7D0AC6 purl : pmsg : File 'out.avi' already exists. Overwrite ? [y/N] y x:-20 y:-20 Output #0, avi, to 'out.avi': Stream #0.0: Video: mpeg4, yuv420p, 480x360 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding *** glibc detected *** ffmpeg: munmap_chunk(): invalid pointer: 0x00000000009e0190 *** ======= Backtrace: ========= /lib/libc.so.6[0x7fefb158ddd6] /usr/local/lib/libavfilter.so.1(avfilter_default_free_video_buffer+0xc)[0x7fefb2f1bb3c] /usr/local/lib/libavfilter.so.1(avfilter_unref_pic+0x1a)[0x7fefb2f1a91a] ffmpeg[0x40893d] ffmpeg[0x40d094] ffmpeg[0x40ddb1] /lib/libc.so.6(__libc_start_main+0xfd)[0x7fefb1536abd] ffmpeg[0x404859] ======= Memory map: ======== 00400000-00415000 r-xp 00000000 08:01 67199 /usr/local/bin/ffmpeg 00614000-00616000 r--p 00014000 08:01 67199 /usr/local/bin/ffmpeg 00616000-00617000 rw-p 00016000 08:01 67199 /usr/local/bin/ffmpeg 00617000-0061c000 rw-p 00000000 00:00 0 006d2000-00a93000 rw-p 00000000 00:00 0 [heap] 7fefb03df000-7fefb03f5000 r-xp 00000000 08:01 839 /lib/libgcc_s.so.1 7fefb03f5000-7fefb05f4000 ---p 00016000 08:01 839 /lib/libgcc_s.so.1 7fefb05f4000-7fefb05f5000 r--p 00015000 08:01 839 /lib/libgcc_s.so.1 7fefb05f5000-7fefb05f6000 rw-p 00016000 08:01 839 /lib/libgcc_s.so.1 7fefb05f6000-7fefb0619000 r-xp 00000000 08:01 63982 /usr/local/lib/libvorbis.so.0.4.0 7fefb0619000-7fefb0818000 ---p 00023000 08:01 63982 /usr/local/lib/libvorbis.so.0.4.0 7fefb0818000-7fefb0819000 r--p 00022000 08:01 63982 /usr/local/lib/libvorbis.so.0.4.0 7fefb0819000-7fefb0827000 rw-p 00023000 08:01 63982 /usr/local/lib/libvorbis.so.0.4.0 7fefb0827000-7fefb0842000 r-xp 00000000 08:01 64005 /usr/local/lib/libvorbisenc.so.2.0.3 7fefb0842000-7fefb0a41000 ---p 0001b000 08:01 64005 /usr/local/lib/libvorbisenc.so.2.0.3 7fefb0a41000-7fefb0a42000 r--p 0001a000 08:01 64005 /usr/local/lib/libvorbisenc.so.2.0.3 7fefb0a42000-7fefb0c01000 rw-p 0001b000 08:01 64005 /usr/local/lib/libvorbisenc.so.2.0.3 7fefb0c01000-7fefb0c06000 r-xp 00000000 08:01 63728 /usr/local/lib/libogg.so.0.5.3 7fefb0c06000-7fefb0e05000 ---p 00005000 08:01 63728 /usr/local/lib/libogg.so.0.5.3 7fefb0e05000-7fefb0e06000 r--p 00004000 08:01 63728 /usr/local/lib/libogg.so.0.5.3 7fefb0e06000-7fefb0e07000 rw-p 00005000 08:01 63728 /usr/local/lib/libogg.so.0.5.3 7fefb0e07000-7fefb0e56000 r-xp 00000000 08:01 66128 /usr/local/lib/libtheora.so.0.3.3 7fefb0e56000-7fefb1056000 ---p 0004f000 08:01 66128 /usr/local/lib/libtheora.so.0.3.3 7fefb1056000-7fefb1057000 r--p 0004f000 08:01 66128 /usr/local/lib/libtheora.so.0.3.3 7fefb1057000-7fefb1058000 rw-p 00050000 08:01 66128 /usr/local/lib/libtheora.so.0.3.3 7fefb1058000-7fefb10cf000 r-xp 00000000 08:01 63677 /usr/local/lib/libmp3lame.so.0.0.0 7fefb10cf000-7fefb12ce000 ---p 00077000 08:01 63677 /usr/local/lib/libmp3lame.so.0.0.0 7fefb12ce000-7fefb12cf000 r--p 00076000 08:01 63677 /usr/local/lib/libmp3lame.so.0.0.0 7fefb12cf000-7fefb12d0000 rw-p 00077000 08:01 63677 /usr/local/lib/libmp3lame.so.0.0.0 7fefb12d0000-7fefb1301000 rw-p 00000000 00:00 0 7fefb1301000-7fefb1317000 r-xp 00000000 08:01 3918 /lib/libz.so.1.2.3.3 7fefb1317000-7fefb1516000 ---p 00016000 08:01 3918 /lib/libz.so.1.2.3.3 7fefb1516000-7fefb1517000 r--p 00015000 08:01 3918 /lib/libz.so.1.2.3.3 7fefb1517000-7fefb1518000 rw-p 00016000 08:01 3918 /lib/libz.so.1.2.3.3 7fefb1518000-7fefb167e000 r-xp 00000000 08:01 995 /lib/libc-2.10.1.so 7fefb167e000-7fefb187d000 ---p 00166000 08:01 995 /lib/libc-2.10.1.so 7fefb187d000-7fefb1881000 r--p 00165000 08:01 995 /lib/libc-2.10.1.so 7fefb1881000-7fefb1882000 rw-p 00169000 08:01 995 /lib/libc-2.10.1.so 7fefb1882000-7fefb1887000 rw-p 00000000 00:00 0 7fefb1887000-7fefb1909000 r-xp 00000000 08:01 999 /lib/libm-2.10.1.so 7fefb1909000-7fefb1b09000 ---p 00082000 08:01 999 /lib/libm-2.10.1.so 7fefb1b09000-7fefb1b0a000 r--p 00082000 08:01 999 /lib/libm-2.10.1.so 7fefb1b0a000-7fefb1b0b000 rw-p 00083000 08:01 999 /lib/libm-2.10.1.so 7fefb1b0b000-7fefb1b2a000 r-xp 00000000 08:01 67276 /usr/local/lib/libswscale.so.0.7.1 7fefb1b2a000-7fefb1d2a000 ---p 0001f000 08:01 67276 /usr/local/lib/libswscale.so.0.7.1 7fefb1d2a000-7fefb1d2b000 r--p 0001f000 08:01 67276 /usr/local/lib/libswscale.so.0.7.1 7fefb1d2b000-7fefb1d2c000 rw-p 00020000 08:01 67276 /usr/local/lib/libswscale.so.0.7.1 7fefb1d2c000-7fefb1d38000 r-xp 00000000 08:01 67278 /usr/local/lib/libavutil.so.50.3.0 7fefb1d38000-7fefb1f37000 ---p 0000c000 08:01 67278 /usr/local/lib/libavutil.so.50.3.0 7fefb1f37000-7fefb1f38000 r--p 0000b000 08:01 67278 /usr/local/lib/libavutil.so.50.3.0 7fefb1f38000-7fefb1f39000 rw-p 0000c000 08:01 67278 /usr/local/lib/libavutil.so.50.3.0 7fefb1f39000-7fefb1f3c000 rw-p 00000000 00:00 0 7fefb1f3c000-7fefb23f6000 r-xp 00000000 08:01 67280 /usr/local/lib/libavcodec.so.52.37.1 7fefb23f6000-7fefb25f6000 ---p 004ba000 08:01 67280 /usr/local/lib/libavcodec.so.52.37.1 7fefb25f6000-7fefb2601000 r--p 004ba000 08:01 67280 /usr/local/lib/libavcodec.so.52.37.1 7fefb2601000-7fefb260e000 rw-p 004c5000 08:01 67280 /usr/local/lib/libavcodec.so.52.37.1 7fefb260e000-7fefb2a57000 rw-p 00000000 00:00 0 7fefb2a57000-7fefb2b02000 r-xp 00000000 08:01 67282 /usr/local/lib/libavformat.so.52.39.2 7fefb2b02000-7fefb2d02000 ---p 000ab000 08:01 67282 /usr/local/lib/libavformat.so.52.39.2 7fefb2d02000-7fefb2d06000 r--p 000ab000 08:01 67282 /usr/local/lib/libavformat.so.52.39.2 7fefb2d06000-7fefb2d0f000 rw-p 000af000 08:01 67282 /usr/local/lib/libavformat.so.52.39.2Aborted -- Best, Oleksandr www.vertaline.com www.vertaline.com.ua _______________________________________________ FFmpeg-soc mailing list FFmpeg-soc@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc