【求助】ffmpeg中avfilter用法问题。
本帖最后由 洛月 于 2013-9-30 16:10 编辑这一块好像是新东西
ffmpeg推荐来替代SwsContext的
一些简单的介绍可参见下面的链接
http://blog.csdn.net/fireroll/article/details/8607954
http://www.cnblogs.com/nlsoft/archive/2013/05/08/3066116.html
求了解的大大们 讲解下
或者分享一个例子(最好是加PNG logo的例子)
谢谢:'(
貌似问了个 比较难搞的问题
哎。。。
过2天 再来看看。。。
$ ffmpeg -y -ss 00:00:00.01 -i yedian.avi-vf 'movie=/Users/StevenLiu/Pictures/IMG_0432.PNG,crop=640:20:0:0 ; overlay=0:0 ' -strict -2-t 20 output.avi
ffmpeg version N-56530-g29f244e Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 21 2013 16:41:16 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --enable-ffplay --enable-libmp3lame --enable-libx264 --enable-gpl
libavutil 52. 45.100 / 52. 45.100
libavcodec 55. 33.100 / 55. 33.100
libavformat 55. 18.102 / 55. 18.102
libavdevice 55.3.100 / 55.3.100
libavfilter 3. 86.102 /3. 86.102
libswscale 2.5.100 /2.5.100
libswresample 0. 17.103 /0. 17.103
libpostproc 52.3.100 / 52.3.100
Input #0, avi, from 'yedian.avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
Duration: 01:30:10.25, start: 0.000000, bitrate: 1086 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 , 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp3 (U / 0x0055), 48000 Hz, stereo, s16p, 129 kb/s
Output #0, avi, to 'output.avi':
Metadata:
ISFT : Lavf55.18.102
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x352 , q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream #0:1: Audio: mp3 (libmp3lame) (U / 0x0055), 48000 Hz, stereo, s16p
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
Press to stop, [?] for help
Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using a tool like VirtualDub or avidemux to fix it.
frame=499 fps=0.0 q=19.2 Lsize= 1134kB time=00:00:20.01 bitrate= 464.2kbits/s
video:780kB audio:313kB subtitle:0 global headers:0kB muxing overhead 3.783595%
$
效率太高了啊 孙悟空 发表于 2013-10-1 20:41
大师兄,群是多少啊
页:
[1]