Hello, I made it through the install and tried it on my first AVI. I am running a fresh install of Ubuntu 10.04 x64. I used your "One-pass CRF" command and I changed my input filename but that is all:
Code:
ffmpeg -i IMGP7721.AVI -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -crf 22 -threads 0 output.mp4
This is the output that I get:
Code:
FFmpeg version SVN-r23149, Copyright (c) 2000-2010 the FFmpeg developers
built on May 16 2010 23:31:18 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 50.15. 2 / 50.15. 2
libavcodec 52.67. 1 / 52.67. 1
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'IMGP7721.AVI':
Metadata:
ISFT :
Duration: 00:00:10.99, start: 0.000000, bitrate: 23891 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, 30 tbr, 30 tbn, 30 tbc
Stream #0.1: Audio: pcm_u8, 8000 Hz, 1 channels, u8, 64 kb/s
[ffmpeg_output @ 0x272eef0]auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x272f1b0]w:1280 h:720 fmt:yuvj422p -> w:1280 h:720 fmt:yuv420p flags:a0000004
[libx264 @ 0x270f160]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[libx264 @ 0x270f160]profile High, level 3.2
[libx264 @ 0x270f160]264 - core 94 r1583 7608d73 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
[libfaac @ 0x270f7d0]libfaac doesn't support this output format!
Output #0, mp4, to 'output.mp4':
Stream #0.0: Video: libx264, yuv420p, 1280x720, q=10-51, 200 kb/s, 90k tbn, 30 tbc
Stream #0.1: Audio: aac, 8000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
I am very new at this and am not sure what my options are that I can use.
My AVI is from straight from a Pentax Optio W80 and the properties of the video are listed below...
Video:
Code:
Dimensions: 1280 x 720
Codec: Motion JPEG
Framerate: 30 FPS
Bitrate: N/A
Audio:
Code:
Codec: Uncompressed 8-bit PCM audio
Channels: Mono
Sample Rate: 8000 Hz
Bitrate: N/A
Thanks for your time and effort.
-Jeremy
Bookmarks