Hey, mans.
I need overlay watermark on my video.
Using this string:
Where $in - input avi file, $out - output flv file.'ffmpeg -threads 0 -y -i "' . $in . '" -vcodec libx264 -vpre "hq" -b 1500k -acodec libfaac -ar 44100 -ab 128k -ac 2 -vf "movie=0:png:'.$_SERVER['DOCUMENT_ROOT'].'/logo.png [logo]; [in][logo] overlay=0:0:1 [out]" "' . $out .'"'
ffmpeg -filters
ffmpeg logFFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 22 2011 14:46:48 with gcc 4.5.2
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --prefix=/usr
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
Filters:
anull Pass the source unchanged to the output.
anullsrc Null audio source, never return audio frames.
anullsink Do absolutely nothing with the input audio.
blackframe Detect frames that are (almost) black.
copy Copy the input video unchanged to the output.
crop Crop the input video to width:height:x:y.
cropdetect Auto-detect crop size.
drawbox Draw a colored box on the input video.
fifo Buffer input images and send them when they are requested.
format Convert the input video to one of the specified pixel formats.
gradfun Debands video quickly using gradients.
hflip Horizontally flip the input video.
hqdn3d Apply a High Quality 3D Denoiser.
noformat Force libavfilter not to use any of the specified pixel formats for the input to the next filter.
null Pass the source unchanged to the output.
overlay Overlay a video source on top of the input.
pad Pad input image to width:height[:x:y[:color]] (default x and y: 0, default color: black).
pixdesctest Test pixel format definitions.
scale Scale the input video to width:height size and/or convert the image format.
setdar Set the frame display aspect ratio.
setpts Set PTS for the output video frame.
setsar Set the pixel sample aspect ratio.
settb Set timebase for the output link.
slicify Pass the images of input video on to next video filter as multiple slices.
transpose Transpose input video.
unsharp Sharpen or blur the input video.
vflip Flip the input video vertically.
yadif Deinterlace the input image
buffer Buffer video frames, and make them accessible to the filterchain.
color Provide an uniformly colored input, syntax is: [color[:size[:rate]]]
nullsrc Null video source, never return images.
nullsink Do absolutely nothing with the input video.
ffmpeg creates an empty flv file and stop. Where is the problem?FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 22 2011 14:46:48 with gcc 4.5.2
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --prefix=/usr
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from '/home/main/data/www/temp/video.avi':
Duration: 00:01:08.48, start: 0.000000, bitrate: 30341 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[buffer @ 0xa0cd7e0] w:720 h:576 pixfmt:yuv420p
No such filter: 'movie'
Error opening filters!
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 22 2011 14:46:48 with gcc 4.5.2
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --prefix=/usr
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from '/home/main/data/www/temp/video.avi':
Duration: 00:01:08.48, start: 0.000000, bitrate: 30341 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[buffer @ 0x9519ed0] w:720 h:576 pixfmt:yuv420p
[scale @ 0x9516aa0] w:720 h:576 fmt:yuv420p -> w:320 h:240 fmt:yuvj420p flags:0xa0000004
Output #0, mjpeg, to '/home/main/data/www/upload/video/screens/video.jpg':
Metadata:
encoder : Lavf52.93.0
Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[buffer @ 0x9519ed0] Buffering several frames is not supported. Please consume all available frames before adding a new one.
Last message repeated 124 times 0kB time=10000000000.00 bitrate= 0.0kbits/s
frame= 1 fps= 0 q=4.3 Lsize= 9kB time=0.04 bitrate=1906.6kbits/s
video:9kB audio:0kB global headers:0kB muxing overhead 0.000000%
+ Reply to Thread
Results 1 to 4 of 4
-
-
No such filter: 'movie'
Error opening filters!
See http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=8&t=1400
Similar Threads
-
FFmpeg on Win only - FAQ can ffmpeg realize screen capture
By feelart in forum Capturing and VCRReplies: 1Last Post: 14th Feb 2012, 04:11 -
Which ffmpeg options are used behind the scenes by ffmpeg?
By roberto.aloi in forum ffmpegX general discussionReplies: 1Last Post: 26th Jul 2011, 05:09 -
ffmpeg output 2gb limit? Is there one? ffmpeg stops encoding h264 @ 2gb
By BrainiakZ in forum Video ConversionReplies: 14Last Post: 30th Mar 2011, 12:04 -
Difference between ffmpeg -threads and ffmpeg-mt
By Calidore in forum Video ConversionReplies: 2Last Post: 7th Mar 2010, 22:44 -
FFMPEG QUESTION :How do I take one frame and make a jpeg with FFMPEG?
By goheadtry in forum Newbie / General discussionsReplies: 1Last Post: 18th Sep 2007, 02:55