[FFmpeg-user] x264 baseline profile error

Lou lou at lrcd.com
Wed Apr 11 23:01:14 CEST 2012


On Wed, 11 Apr 2012 13:55:48 -0700
Scott Freeman <scottf at tvw.org> wrote:

> I can't seem to get around a baseline profile error. I have tried to
> put the x264 baseline parameters in the command string but I dont
> think I was doing it correctly. I have tried several different capture
> cards and also used vfwcap and it does not seem to matter. I have
> tried presets that reference baseline with the same results. This is
> on windows xpsp3.
> Here is my string and debug:
> --------------
> ffmpeg -f dshow -r 29.97  -i video="Digital Rapids DRC-500
> Video":audio="Digital Rapids DRC-500 Audio" -s 400x300 -r 30000/1001
> -b:v 350k -vcodec libx264 -vprofile baseline -acodec libmp3lame -ab
> 64k -threads 0 -f flv rtmp://myserver..../LiveVideo/test 2> debug.log
> ---------------
> ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers
>   built on Apr  3 2012 20:20:04 with gcc 4.6.2
>   configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-runtime-cpudetect --enable-avisynth --enable-bzlib
> --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libfreetype --enable-libgsm --enable-libmp3lame
> --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
> --enable-libspeex --enable-libtheora --enable-libvo-aacenc
> --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
>   libavutil      51. 44.100 / 51. 44.100
>   libavcodec     54. 12.100 / 54. 12.100
>   libavformat    54.  3.100 / 54.  3.100
>   libavdevice    53.  4.100 / 53.  4.100
>   libavfilter     2. 66.101 /  2. 66.101
>   libswscale      2.  1.100 /  2.  1.100
>   libswresample   0. 10.100 /  0. 10.100
>   libpostproc    52.  0.100 / 52.  0.100
> [dshow @ 0219A9A0] Estimating duration from bitrate, this may be inaccurate
> Input #0, dshow, from 'video=Digital Rapids DRC-500
> Video:audio=Digital Rapids DRC-500 Audio':
>   Duration: N/A, start: 2012.389000, bitrate: 1411 kb/s
>     Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422,
> 480x360, 29.97 fps, 29.97 tbr, 10000k tbn, 29.97 tbc
>     Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
> Incompatible pixel format 'uyvy422' for codec 'libx264',
> auto-selecting format 'yuv422p'
> [buffer @ 025D35E0] w:480 h:360 pixfmt:uyvy422 tb:1/1000000 sar:0/1
> sws_param:flags=2
> [scale @ 02193D20] w:480 h:360 fmt:uyvy422 sar:0/1 -> w:400 h:300
> fmt:yuv422p sar:0/1 flags:0x4
> x264 [error]: baseline profile doesn't support 4:2:2

^ Here's the important message. Try adding "-pix_fmt yuv420p" as an
output option.


More information about the ffmpeg-user mailing list