[FFmpeg-user] questions of -vf yadif

550399108 at qq.com 550399108 at qq.com
Mon Apr 9 07:27:37 CEST 2012


I used the command line like "ffmpeg -y -i 7489696.mpg -vf yadif -analyzeduration 2G -vcodec libx264 -vpre normal -b 1024k -s 720x540 -aspect 720:540 -r 25 -psnr -acodec libfaac -ab 64k -ar 44100 -ac 2 -f flv -map_chapters -1:-1 -g 50  s20.flv"
the console shows like
FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 12 2011 18:37:10 with gcc 4.4.3
  configuration: --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-libxvid --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-shared --enable-avfilter --enable-ffplay --enable-libtheora --enable-libvorbis --enable-libvpx
  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
[mpeg @ 0x8b3c4c0] max_analyze_duration reached
Input #0, mpeg, from '7489696.mpg':
  Duration: 00:07:49.27, start: 0.477244, bitrate: 4459 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 4000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 384 kb/s
[buffer @ 0x8b3f490] w:720 h:576 pixfmt:yuv420p
[yadif @ 0x8b43c70] mode:0 parity:-1
[scale @ 0x8b438b0] w:720 h:576 fmt:yuv420p -> w:720 h:540 fmt:yuv420p flags:0xa0000004
[libx264 @ 0x8b3f540] --psnr used with psy on: results will be invalid!
[libx264 @ 0x8b3f540] --tune psnr should be used if attempting to benchmark psnr!
[libx264 @ 0x8b3f540] using SAR=1/1
[libx264 @ 0x8b3f540] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
[libx264 @ 0x8b3f540] profile High, level 3.0
[libx264 @ 0x8b3f540] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=50 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1024 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
Output #0, flv, to 's20.flv':
  Metadata:
    encoder         : Lavf52.93.0
    Stream #0.0: Video: libx264, yuv420p, 720x540 [PAR 1:1 DAR 4:3], q=10-51, 1024 kb/s, 1k tbn, 25 tbc
    Stream #0.1: Audio: libfaac, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x8b3eec0] warning: first frame is no keyframe
    Last message repeated 1 times:inf U:inf V:inf *:inf size=   63000kB time=467.52 bitrate=1103.9kbits/s   
frame=11731 fps= 30 q=-1.0 LPSNR=Y:inf U:inf V:inf *:inf size=   63172kB time=469.20 bitrate=1103.0kbits/s   
video:58942kB audio:3666kB global headers:0kB muxing overhead 0.902411%
frame I:257   Avg QP:20.00  size: 49253  PSNR Mean Y:43.82 U:48.20 V:47.95 Avg:44.82 Global:44.49
[libx264 @ 0x8b3f540] frame P:4290  Avg QP:23.52  size:  9361  PSNR Mean Y:40.56 U:45.92 V:45.60 Avg:41.69 Global:41.37
[libx264 @ 0x8b3f540] frame B:7184  Avg QP:26.71  size:  1049  PSNR Mean Y:39.87 U:46.09 V:45.73 Avg:41.11 Global:40.81
[libx264 @ 0x8b3f540] consecutive B-frames:  6.9% 23.1% 34.0% 36.0%
[libx264 @ 0x8b3f540] mb I  I16..4:  8.0% 58.4% 33.5%
[libx264 @ 0x8b3f540] mb P  I16..4:  1.3%  4.5%  1.4%  P16..4: 44.4% 13.7%  8.3%  0.0%  0.0%    skip:26.4%
[libx264 @ 0x8b3f540] mb B  I16..4:  0.3%  0.8%  0.2%  B16..8:  7.8%  3.5%  0.3%  direct: 3.4%  skip:83.7%  L0:31.7% L1:49.7% BI:18.7%
[libx264 @ 0x8b3f540] final ratefactor: 22.04
[libx264 @ 0x8b3f540] 8x8 transform intra:61.2% inter:49.4%
[libx264 @ 0x8b3f540] direct mvs  spatial:99.9% temporal:0.1%
[libx264 @ 0x8b3f540] coded y,uvDC,uvAC intra: 74.7% 77.2% 43.2% inter: 9.5% 11.4% 1.0%
[libx264 @ 0x8b3f540] i16 v,h,dc,p: 28% 32%  8% 32%
[libx264 @ 0x8b3f540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 19% 15%  5%  6%  7%  6%  8%  7%
[libx264 @ 0x8b3f540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 18%  9%  6%  8%  9%  8%  8%  6%
[libx264 @ 0x8b3f540] i8c dc,h,v,p: 42% 22% 27%  9%
[libx264 @ 0x8b3f540] Weighted P-Frames: Y:0.9% UV:0.7%
[libx264 @ 0x8b3f540] ref P L0: 72.1% 11.8% 16.0%  0.0%
[libx264 @ 0x8b3f540] PSNR Mean Y:40.211 U:46.074 V:45.730 Avg:41.401 Global:41.062 kb/s:1029.00

is this option should be used with other options together?
Thank you!








I used the command line like "ffmpeg -y -i 7489696.mpg -vf yadif -analyzeduration 2G -vcodec libx264 -vpre normal -b 1024k -s 720x540 -aspect 720:540 -r 25 -psnr -acodec libfaac -ab 64k -ar 44100 -ac 2 -f flv -map_chapters -1:-1 -g 50  s20.flv"
the console shows like



|
韩瑞松 java软件工程师
babyboy-8686 at 163.com
公司名称:北京梦之窗数码科技有限公司(CC视频)
地址:北京市海淀区志新桥西北四环中路229号海泰大厦9层906
QQ : 550399108
手机:13811073415
|

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助

|




More information about the ffmpeg-user mailing list