[FFmpeg-user] wmv3 black video

Pierig Le Saux pierig56 at yahoo.com
Mon Aug 13 16:35:19 CEST 2012


Hello All,

I have wmv3 files for which I have trouble with ffmpeg fresh from svn.

When trying to encode these files, i get black/blank video.

Am I doing something wrong?


Here's an excerpt from my tty

/opt/wat/encoder/bin/ffmpeg -i ../8714471.wmv -f mp4 out.mp4
ffmpeg version N-43494-g03e8944 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 13 2012 11:14:56 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-51)
(...)
[wmv3 @ 0x16966040] Extra data: 8 bits left, value: 0
[asf @ 0x1694a240] Stream #0: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, asf, from '../8714471.wmv':
  Metadata:
    WMFSDKVersion   : 12.0.7601.17514
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:03:16.26, start: 0.000000, bitrate: 5528 kb/s
    Stream #0:0: Video: mjpeg, yuvj420p, 640x480, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Movie/video screen capture
    Stream #0:1(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 640x480, 5500 kb/s, 29.97 tbr, 1k tbn, 1k tbc
File 'out.mp4' already exists. Overwrite ? [y/N] y
Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[libx264 @ 0x16973b20] MB rate (108000000) > level limit (2073600)
[libx264 @ 0x16973b20] using cpu capabilities: none!
[libx264 @ 0x16973b20] profile High, level 5.2
[libx264 @ 0x16973b20] 264 - core 125 r2208 d9d2288 - 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=1 lookahead_threads=1 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 'out.mp4':
  Metadata:
    WMFSDKVersion   : 12.0.7601.17514
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    encoder         : Lavf54.23.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 640x480, q=-1--1, 90k tbn, 90k tbc
    Metadata:
      comment         : Movie/video screen capture
    Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> libx264)
  Stream #0:1 -> #0:1 (wmav2 -> libfaac)
Press [q] to stop, [?] for help
[libfaac @ 0x16945b80] Que input is backward in time
[mp4 @ 0x16973380] Audio timestamp 6096 < 7169 invalid, cliping
[mp4 @ 0x16973380] Audio timestamp 7120 < 7170 invalid, cliping
frame=    1 fps=0.2 q=33.0 Lsize=    1901kB time=00:00:00.00 bitrate=1415972363.6kbits/s
video:4kB audio:1842kB subtitle:0 global headers:0kB muxing overhead 2.988415%
[libx264 @ 0x16973b20] frame I:1     Avg QP:26.59  size:  3485
[libx264 @ 0x16973b20] mb I  I16..4: 44.6% 40.2% 15.2%
[libx264 @ 0x16973b20] 8x8 transform intra:40.2%
[libx264 @ 0x16973b20] coded y,uvDC,uvAC intra: 8.9% 0.0% 0.0%
[libx264 @ 0x16973b20] i16 v,h,dc,p: 91%  8%  1%  0%
[libx264 @ 0x16973b20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8%  0% 92%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x16973b20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 13% 17%  3%  3%  5%  5%  5%  3%
[libx264 @ 0x16973b20] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 0x16973b20] kb/s:2509200.00


And ffprobe of the resulting file which seems to tell me everything is fine, but video is black only:

ffprobe version N-43494-g03e8944 Copyright (c) 2007-2012 the FFmpeg developers
  built on Aug 13 2012 11:14:56 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-51)

/opt/wat/encoder/bin/ffprobe out.mp4

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.23.100
  Duration: 00:03:16.28, start: 0.000000, bitrate: 79 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 640x480, 90k tbn, 180k tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 76 kb/s
    Metadata:
      handler_name    : SoundHandler

Regards!


More information about the ffmpeg-user mailing list