[FFmpeg-user] ffmpeg-55ed91c and x264-d9d2288. Profile setting differs from output.

Joseph Rosensweig jrosensw at gmail.com
Fri Jul 20 21:32:20 CEST 2012


Hey all,

   I assume I'm missing something really simple here.  But I'm not quite
sure what I'm doing wrong.  I checked out the ffmpeg and x264 git versions
indicated in my subject header.  I wanted to test out encoding H264 with
high, high10, high422, and high444 using libx264.  However when I try to
encode with anything above high, the output always just shows high rather
than say high 4:2:2.  Here are a few examples:

$ cat test.yuv | ffmpeg -f rawvideo -pix_fmt yuv420p -s 1280x720 -y -an -r
30 -i pipe:0 -vcodec libx264 -profile:v high -vframes 300 -r 30 test.mp4
ffmpeg version N-37116-g55ed91c Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jul 19 2012 12:10:41 with gcc 4.4.3
  configuration: --prefix=/source/opensource/ffmpeg_x264_latest
--enable-static --enable-libx264 --enable-gpl --disable-ffplay
--disable-ffprobe --disable-ffserver
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rawvideo @ 0x1fd2560] Estimating duration from bitrate, this may be
inaccurate
Input #0, rawvideo, from 'pipe:0':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 30
tbr, 30 tbn, 30 tbc
[libx264 @ 0x1fdbc00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0x1fdbc00] profile High, level 3.1

$ cat test.yuv | ffmpeg -f rawvideo -pix_fmt yuv420p -s 1280x720 -y -an -r
30 -i pipe:0 -vcodec libx264 -profile:v high10 -vframes 300 -r 30 test.mp4
ffmpeg version N-37116-g55ed91c Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jul 19 2012 12:10:41 with gcc 4.4.3
  configuration: --prefix=/source/opensource/ffmpeg_x264_latest
--enable-static --enable-libx264 --enable-gpl --disable-ffplay
--disable-ffprobe --disable-ffserver
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rawvideo @ 0x33e3560] Estimating duration from bitrate, this may be
inaccurate
Input #0, rawvideo, from 'pipe:0':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 30
tbr, 30 tbn, 30 tbc
[libx264 @ 0x33ecc00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0x33ecc00] profile High, level 3.1

$ cat test.yuv | ffmpeg -f rawvideo -pix_fmt yuv420p -s 1280x720 -y -an -r
30 -i pipe:0 -vcodec libx264 -profile:v high422 -vframes 300 -r 30 test.mp4
ffmpeg version N-37116-g55ed91c Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jul 19 2012 12:10:41 with gcc 4.4.3
  configuration: --prefix=/source/opensource/ffmpeg_x264_latest
--enable-static --enable-libx264 --enable-gpl --disable-ffplay
--disable-ffprobe --disable-ffserver
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rawvideo @ 0x1957560] Estimating duration from bitrate, this may be
inaccurate
Input #0, rawvideo, from 'pipe:0':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 30
tbr, 30 tbn, 30 tbc
[libx264 @ 0x1960c00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0x1960c00] profile High, level 3.1

Any help here :-)?

Thanks,

JD


More information about the ffmpeg-user mailing list