[FFmpeg-user] ffmpeg 0.10 on Linux
sjames
sjames at susanjamescompany.com
Sat Feb 18 22:44:57 CET 2012
On Feb 17, 2012, at 11:56 PM, Carl Eugen Hoyos wrote:
> Susan James <sjames <at> susanjamescompany.com> writes:
>
>>>> Stream #0:0(eng): Video: h264 (High 4:2:2)
>
>> We're viewing the file with Quicktime and I'm wondering if Quicktime
>> may be having the issue with displaying the video?
>
> I don't think QuickTime supports H264 High 4:2:2.
> Use -pix_fmt yuv420p if you need a QuickTime compatible file.
>
> Carl Eugen
>
many thanks Carl, for that switch '-pix_fmt yuv420p'
I got perfect video and audio after encoding on the Linux with the below command pipeline.
ffmpeg -i 1.Chandi.HiRes -ab 320k -vol 1024 -vcodec libx264 -b:v 2000k -pix_fmt yuv420p 1.Chandi.HiRes.tv3.mp4
I then tried to use the same command string on the Mac LION, and it doesn't work.
see below:
./ffmpeg -i /Volumes/LaCie_Disk_2TB/ChandiHiResClasses/1.Chandi.HiRes -ab 320k -vol 1024 -vcodec libx264 -b:a 2000k /Volumes//My_Book/Chandi_Classes_640x480_1-29-12/1.Chandi.HiRes-g5.mp4
ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
built on Jan 30 2012 17:49:23 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie_Disk_2TB/ChandiHiResClasses/1.Chandi.HiRes':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-02-08 12:52:46
Duration: 01:00:03.53, start: 0.000000, bitrate: 30313 kb/s
Stream #0:0(eng): Video: dvvideo (dvc / 0x20637664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s, SAR 10:11 DAR 15:11, 29.97 fps, 29.97 tbr, 2997 tbn, 29.97 tbc
Metadata:
creation_time : 2008-02-08 12:52:46
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s
Metadata:
creation_time : 2008-02-08 12:52:46
handler_name : ?Apple Alias Data Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2008-02-08 13:00:46
handler_name : ?Apple Alias Data Handler
timecode : 01:00:00;00
File '/Volumes//My_Book/Chandi_Classes_640x480_1-29-12/1.Chandi.HiRes-g5.mp4' already exists. Overwrite ? [y/N] y
Incompatible pixel format 'yuv411p' for codec 'libx264', auto-selecting format 'yuv422p'
[buffer @ 0x101518400] w:720 h:480 pixfmt:yuv411p tb:1/1000000 sar:10/11 sws_param:
[buffersink @ 0x101518640] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x101518a40] w:720 h:480 fmt:yuv411p -> w:720 h:480 fmt:yuv422p flags:0x4
Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt'
[libx264 @ 0x10182e600] using SAR=10/11
[libx264 @ 0x10182e600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x10182e600] profile High 4:2:2, level 3.0, 4:2:2 8-bit
[libx264 @ 0x10182e600] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=12 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[NULL @ 0x101866400] Codec is experimental but experimental codecs are not enabled, see -strict -2
Output #0, mp4, to '/Volumes//My_Book/Chandi_Classes_640x480_1-29-12/1.Chandi.HiRes-g5.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-02-08 12:52:46
Stream #0:0(eng): Video: h264, yuv422p, 720x480 [SAR 10:11 DAR 15:11], q=-1--1, 90k tbn, 29.97 tbc
Metadata:
creation_time : 2008-02-08 12:52:46
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: none, 48000 Hz, 2 channels, flt, 2000 kb/s
Metadata:
creation_time : 2008-02-08 12:52:46
handler_name : ?Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (dvvideo -> libx264)
Stream #0:1 -> #0:1 (pcm_s16le -> aac)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
More information about the ffmpeg-user
mailing list