[FFmpeg-user] Transcoding (dvvideo -> libx264) --> not video, only gray

Iban Garcia ibantxo28 at gmail.com
Fri Apr 13 08:44:18 CEST 2012


Hi,

I have installed gpac --> libx264 --> ffmpeg

I have tested x264 and works for me.
I have tested ffmpeg: dvvideo to mpg1 and works.
I have tested ffmpeg: mpg1 to libx264 and works.
But all tests from dvvideo to libx264 makes all frames in gray (all pixels
are gray in each frame)

x264 0.122.x
built on Apr 12 2012, gcc: 4.5.1 20101208 [gcc-4_5-branch revision 167585]
configuration: --bit-depth=8 --chroma-format=all

ffmpeg version 0.10.2.git-44239bd Copyright (c) 2000-2012 the FFmpeg
developers
  built on Apr 13 2012 08:37:33 with gcc 4.5.1 20101208 [gcc-4_5-branch
revision 167585]
  configuration: --shlibdir=/usr/lib64 --prefix=/usr/local
--mandir=/usr/share/man --libdir=/usr/lib64 --enable-pthreads
--enable-shared --enable-libvorbis --enable-gpl --enable-x11grab
--enable-libx264 --enable-libmp3lame --enable-postproc --enable-nonfree
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 67.101 /  2. 67.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[dv @ 0x62b040] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from '/net/localhost/biltegia/kkk.dv':
  Duration: 00:01:29.80, start: 0.000000, bitrate: 28800 kb/s
    Stream #0:0: Video: dvvideo, yuv411p, 720x576, 28800 kb/s, SAR 64:45
DAR 16:9, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
File '/net/localhost/biltegia/kkk.mp4' already exists. Overwrite ? [y/N] y
Incompatible pixel format 'yuv411p' for codec 'libx264', auto-selecting
format 'yuv422p'
[buffer @ 0x62dda0] w:720 h:576 pixfmt:yuv411p tb:1/1000000 sar:64/45
sws_param:flags=2
[buffersink @ 0x6334a0] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'
[scale @ 0x62c5a0] w:720 h:576 fmt:yuv411p sar:64/45 -> w:720 h:576
fmt:yuv422p sar:64/45 flags:0x4
[libx264 @ 0x632ac0] using SAR=64/45
[libx264 @ 0x632ac0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x632ac0] profile High 4:2:2, level 3.0, 4:2:2 8-bit
[libx264 @ 0x632ac0] 264 - core 122 - H.264/MPEG-4 AVC codec - Copyleft
2003-2012 - 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
Output #0, mp4, to '/net/localhost/biltegia/kkk.mp4':
  Metadata:
    encoder         : Lavf54.3.100
    Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv422p, 720x576 [SAR
64:45 DAR 16:9], q=-1--1, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> libx264)
Press [q] to stop, [?] for help
frame= 2245 fps= 75 q=-1.0 Lsize=   37763kB time=00:01:29.72
bitrate=3448.0kbits/s
video:37739kB audio:0kB global headers:0kB muxing overhead 0.065013%
[libx264 @ 0x632ac0] frame I:34    Avg QP:23.52  size: 56775
[libx264 @ 0x632ac0] frame P:1319  Avg QP:26.31  size: 22599
[libx264 @ 0x632ac0] frame B:892   Avg QP:28.86  size:  7741
[libx264 @ 0x632ac0] consecutive B-frames: 22.1% 73.2%  4.7%  0.0%
[libx264 @ 0x632ac0] mb I  I16..4:  9.1% 82.9%  8.0%
[libx264 @ 0x632ac0] mb P  I16..4:  2.6% 13.6%  1.5%  P16..4: 42.1% 19.0%
11.9%  0.0%  0.0%    skip: 9.3%
[libx264 @ 0x632ac0] mb B  I16..4:  0.3%  1.2%  0.3%  B16..8: 34.6%  7.9%
 2.7%  direct: 6.9%  skip:46.2%  L0:34.8% L1:41.1% BI:24.1%
[libx264 @ 0x632ac0] 8x8 transform intra:76.8% inter:75.1%
[libx264 @ 0x632ac0] coded y,uvDC,uvAC intra: 74.0% 88.5% 45.2% inter:
33.3% 51.4% 9.9%
[libx264 @ 0x632ac0] i16 v,h,dc,p: 18% 55%  9% 17%
[libx264 @ 0x632ac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 27% 31%  3%  3%  4%
 4%  4%  6%
[libx264 @ 0x632ac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 56% 11%  2%  3%  3%
 4%  3%  4%
[libx264 @ 0x632ac0] i8c dc,h,v,p: 44% 24% 24%  8%
[libx264 @ 0x632ac0] Weighted P-Frames: Y:1.7% UV:0.7%
[libx264 @ 0x632ac0] ref P L0: 61.4% 16.0% 15.1%  7.4%  0.1%
[libx264 @ 0x632ac0] ref B L0: 85.0% 14.5%  0.4%
[libx264 @ 0x632ac0] ref B L1: 98.8%  1.2%
[libx264 @ 0x632ac0] kb/s:3442.64


In previous versions it worked well for me...

Many thanks in advance.

Iban


More information about the ffmpeg-user mailing list