[FFmpeg-user] FFMPEG output is black video, with audio

Mike Gaynor mike at 3dskipper.com
Tue Nov 6 20:48:00 CET 2012


Hi guys,
I installed ffmpeg on mac os x a couple weeks ago, and it was working
great, then about a week ago, for no apparent reason, it began spitting out
mp4's with no video, but with the correct duration and audio intact. I have
since then tried multiple scripts in terminal, reinstalled ffmpeg, and even
installed it on another machine to have the same results.
I know this is probably a user-error but I would really like to get this
resolved! This is the most recent script in terminal that failed.

mike-imac:~ Russell$ ffmpeg -i desktop/gm-outlook-v03.mov -c:v libx264
 -crf 22 desktop/out.mp4
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 29 2012 16:44:46 with Apple clang version 4.1
(tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared
--enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
--cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
--enable-libmp3lame --enable-libxvid
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc4d881ae00] Stream #1: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc4d881ae00] Stream #2: not enough frames to
estimate rate; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'desktop/gm-outlook-v03.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2012-10-19 01:19:18
  Duration: 00:01:28.00, start: 0.000000, bitrate: 216664 kb/s
    Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), rgb24, 854x480,
215121 kb/s, SAR 854:854 DAR 427:240, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Metadata:
      creation_time   : 2012-10-19 01:19:18
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2012-10-19 01:19:18
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-10-19 01:20:14
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
File 'desktop/out.mp4' already exists. Overwrite ? [y/N] y
using SAR=1/1
[libx264 @ 0x7fc4d882fe00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0x7fc4d882fe00] profile High 4:4:4 Predictive, level 3.1, 4:4:4
8-bit
[libx264 @ 0x7fc4d882fe00] 264 - core 125 - 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=4 threads=12 lookahead_threads=2
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=22.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'desktop/out.mp4':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf54.29.104
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv444p,
854x480 [SAR 1:1 DAR 427:240], q=-1--1, 30 tbn, 30 tbc
    Metadata:
      creation_time   : 2012-10-19 01:19:18
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2012-10-19 01:19:18
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
Stream mapping:
  Stream #0:0 -> #0:0 (qtrle -> libx264)
  Stream #0:1 -> #0:1 (pcm_s16le -> libfaac)
Press [q] to stop, [?] for help
frame=   88 fps=0.0 q=28.0 size=      39kB time=00:00:02.64 bitrate=
120.0kbits/frame=  171 fps=170 q=28.0 size=     100kB time=00:00:05.37
bitrate= 151.8kbits/frame=  247 fps=164 q=28.0 size=     200kB
time=00:00:08.10 bitrate= 201.6kbits/frame=  326 fps=162 q=28.0 size=
351kB time=00:00:10.19 bitrate= 282.2kbits/frame=  413 fps=165 q=28.0 size=
    459kB time=00:00:13.56 bitrate= 276.9kbits/frame=  501 fps=166 q=28.0
size=     630kB time=00:00:16.29 bitrate= 316.6kbits/frame=  602 fps=171
q=28.0 size=     738kB time=00:00:19.02 bitrate= 317.6kbits/frame=  697
fps=174 q=28.0 size=     789kB time=00:00:23.12 bitrate= 279.6kbits/frame=
 780 fps=173 q=28.0 size=     963kB time=00:00:25.85 bitrate=
305.1kbits/frame=  876 fps=174 q=28.0 size=    1061kB time=00:00:28.58
bitrate= 304.0kbits/frame=  967 fps=175 q=28.0 size=    1222kB
time=00:00:31.31 bitrate= 319.6kbits/frame= 1063 fps=176 q=28.0 size=
 1321kB time=00:00:34.34 bitrate= 315.0kbits/frame= 1156 fps=177 q=28.0
size=    1375kB time=frame= 1247 fps=177 q=28.0 size=    1433kB
time=00:00:40.87 bitrate= 2frame= 1340 fps=178 q=28.0frame= 1431 fps=178
q=28frame=frame= 2640 fps=181 q=-1.0 Lsize=    2622kB time=00:01:28.14
bitrate= 243.7kbits/s
video:1489kB audio:1038kB subtitle:0 global headers:0kB muxing overhead
3.776112%
[libx264 @ 0x7fc4d882fe00] frame I:11    Avg QP:13.39  size: 46799
[libx264 @ 0x7fc4d882fe00] frame P:762   Avg QP:20.95  size:  1138
[libx264 @ 0x7fc4d882fe00] frame B:1867  Avg QP:28.14  size:    76
[libx264 @ 0x7fc4d882fe00] consecutive B-frames:  5.3%  1.1%  0.5% 93.2%
[libx264 @ 0x7fc4d882fe00] mb I  I16..4: 27.7% 58.5% 13.8%
[libx264 @ 0x7fc4d882fe00] mb P  I16..4:  1.9%  0.4%  0.6%  P16..4:  3.9%
 0.9%  0.5%  0.0%  0.0%    skip:92.0%
[libx264 @ 0x7fc4d882fe00] mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  1.5%
 0.1%  0.0%  direct: 0.0%  skip:98.2%  L0:40.6% L1:54.1% BI: 5.3%
[libx264 @ 0x7fc4d882fe00] 8x8 transform intra:26.8% inter:68.3%
[libx264 @ 0x7fc4d882fe00] coded y,u,v intra: 34.9% 11.9% 11.5% inter: 0.4%
0.2% 0.1%
[libx264 @ 0x7fc4d882fe00] i16 v,h,dc,p: 31% 65%  1%  4%
[libx264 @ 0x7fc4d882fe00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 32% 42%  2%
 2%  1%  5%  1%  4%
[libx264 @ 0x7fc4d882fe00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 42% 13%  2%
 2%  3%  3%  2%  3%
[libx264 @ 0x7fc4d882fe00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fc4d882fe00] ref P L0: 62.7%  6.2% 17.9% 13.2%
[libx264 @ 0x7fc4d882fe00] ref B L0: 77.2% 17.5%  5.3%
[libx264 @ 0x7fc4d882fe00] ref B L1: 89.7% 10.3%
[libx264 @ 0x7fc4d882fe00] kb/s:138.56



-- 
-Mike Gaynor


More information about the ffmpeg-user mailing list