|
发表于 2013-10-30 09:26:35
|
显示全部楼层
如果可以的话,换一个新版本的ffmpeg吧
- [StevenLiu@localhost test_movie]$ ffmpeg -i "./yedian.avi" -vcodec libx264 -b:v 1200k -r 25 -vprofile baseline -vlevel 1.0 -acodec mp3 -ac 2 -ab 128 -ar 22050 -s 1024x768 -y -f flv "./asssdas.flv"
- ffmpeg version N-57291-g80b8f78 Copyright (c) 2000-2013 the FFmpeg developers
- built on Oct 22 2013 06:43:55 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
- configuration: --enable-libx264 --enable-libmp3lame --enable-gpl
- libavutil 52. 47.101 / 52. 47.101
- libavcodec 55. 37.102 / 55. 37.102
- libavformat 55. 19.103 / 55. 19.103
- libavdevice 55. 4.100 / 55. 4.100
- libavfilter 3. 88.102 / 3. 88.102
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 17.104 / 0. 17.104
- 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 [SAR 1:1 DAR 20:11], 25 tbr, 25 tbn, 25 tbc
- Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 129 kb/s
- [libx264 @ 0x7fcd2a017400] using SAR=15/11
- [libx264 @ 0x7fcd2a017400] frame MB size (64x48) > level limit (99)
- [libx264 @ 0x7fcd2a017400] DPB size (3 frames, 9216 mbs) > level limit (0 frames, 396 mbs)
- [libx264 @ 0x7fcd2a017400] MB rate (76800) > level limit (1485)
- [libx264 @ 0x7fcd2a017400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
- [libx264 @ 0x7fcd2a017400] profile Constrained Baseline, level 1.0
- [libx264 @ 0x7fcd2a017400] 264 - core 133 r2334M a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1200 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
- [libmp3lame @ 0x7fcd2a018200] Bitrate 128 is extremely low, maybe you mean 128k
- The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
- Output #0, flv, to './asssdas.flv':
- Metadata:
- encoder : Lavf55.19.103
- Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1024x768 [SAR 15:11 DAR 20:11], q=-1--1, 1200 kb/s, 1k tbn, 25 tbc
- Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 22050 Hz, stereo, s16p, 0 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (mpeg4 -> libx264)
- Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
- Press [q] to stop, [?] for help
- [mpeg4 @ 0x7fcd29169a00] 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= 525 fps=116 q=-1.0 Lsize= 3168kB time=00:00:21.65 bitrate=1198.2kbits/s
- video:2974kB audio:170kB subtitle:0 global headers:0kB muxing overhead 0.750449%
- [libx264 @ 0x7fcd2a017400] frame I:4 Avg QP:10.70 size: 14751
- [libx264 @ 0x7fcd2a017400] frame P:521 Avg QP: 9.21 size: 5732
- [libx264 @ 0x7fcd2a017400] mb I I16..4: 92.9% 0.0% 7.1%
- [libx264 @ 0x7fcd2a017400] mb P I16..4: 2.9% 0.0% 1.2% P16..4: 5.5% 1.8% 0.9% 0.0% 0.0% skip:87.7%
- [libx264 @ 0x7fcd2a017400] final ratefactor: 13.49
- [libx264 @ 0x7fcd2a017400] coded y,uvDC,uvAC intra: 28.1% 34.5% 29.9% inter: 4.5% 4.4% 2.3%
- [libx264 @ 0x7fcd2a017400] i16 v,h,dc,p: 82% 8% 3% 7%
- [libx264 @ 0x7fcd2a017400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 28% 13% 4% 7% 7% 7% 4% 5%
- [libx264 @ 0x7fcd2a017400] i8c dc,h,v,p: 71% 12% 9% 7%
- [libx264 @ 0x7fcd2a017400] ref P L0: 90.3% 6.4% 3.2%
- [libx264 @ 0x7fcd2a017400] kb/s:1160.08
复制代码 |
|