ffmpeg -i input.avi -acodec copy -vcodec libx264 -preset slow -tune film -profile main -crf 29 -vf crop=1028:738:0:0 output.mp4
ffmpeg version git-2011-12-04-f88d5df, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 4 2011 11:21:47 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx
libavutil 51. 30. 0 / 51. 30. 0
libavcodec 53. 40. 0 / 53. 40. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 50. 0 / 2. 50. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[avi @ 0xa676ac0] parser not found for codec camtasia, packets or times may be invalid.
[avi @ 0xa676ac0] parser not found for codec pcm_s16le, packets or times may be invalid.
Input #0, avi, from 'input.avi':
Duration: 00:01:04.00, start: 0.000000, bitrate: 743 kb/s
Stream #0:0: Video: camtasia (tscc / 0x63637374), bgr24, 1028x739, 15 tbr, 15 tbn, 15 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
Incompatible pixel format 'bgr24' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 0xa67e160] w:1028 h:739 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param:
[crop @ 0xa694600] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'Parsed_crop_0'
[scale @ 0xa6949a0] w:1028 h:739 fmt:bgr24 -> w:1028 h:739 fmt:yuv420p flags:0x4
[crop @ 0xa694600] w:1028 h:739 -> w:1028 h:738
[libx264 @ 0xa67c240] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[libx264 @ 0xa67c240] profile Main, level 3.1
[libx264 @ 0xa67c240] 264 - core 119 r2106 07efeb4 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 -
http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:-1:-1 analyse=0x1:0x111 me=umh subme=8 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=29.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0xa67bd40] Tag [1][0][0][0]/0x00000001 incompatible with output codec id '65536'
Output #0, mp4, to 'output.mp4':
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1028x738, q=-1--1, 90k tbn, 15 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, 352 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (camtasia -> libx264)
Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?)
Bookmarks