[FFmpeg-user] Windows Media Player cannot play the file

Spencer Graves spencer.graves at prodsyse.com
Mon Mar 10 01:44:41 CET 2014


Hello:


       I'm getting "Windows Media Player cannot play the file. ...".


       This is the result of "ffmpeg -y -r 2 -i tst%d.png -b 300k 
tst.mp4" with the attached .png files.  This command produced attached 
tst.mp4.  Unfortunately, it didn't play.


        Any suggestions for how to get past this would be greatly 
appreciated.


        Also, I'd be pleased to hear comments on what might be the most 
generally useable output formats, etc.  I'm hoping to distribute 
material via YouTube and other outlets, and I'd like to minimize 
compatibility problems that viewers might have.


       Thanks,
       Spencer


p.s.  I tried to include a "print screen" image but got a message saying 
it was too big.  I'm happy to provide it upon request.


C:\...>ffmpeg -y -r 2 -i tst%d.png -b 300k tst.mp4
ffmpeg version N-61163-gd1122b7 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Mar  7 2014 22:01:29 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca 
--enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug 
--enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr 
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx 
--enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid 
--enable
-zlib
   libavutil      52. 66.101 / 52. 66.101
   libavcodec     55. 52.102 / 55. 52.102
   libavformat    55. 33.101 / 55. 33.101
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'tst%d.png':
   Duration: 00:00:00.12, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: png, pal8, 480x480, 25 fps, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 03f7e320] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 03f7e320] profile High 4:4:4 Predictive, level 2.2, 4:4:4 8-bit
[libx264 @ 03f7e320] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC 
codec - Cop
yleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 
ref=3 deb
lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 
mixed_ref=1 m
e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chro
ma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 
decimate=1 in
terlaced=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=2 
scenecut
=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=300 
ratetol=1.0 qcom
p=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'tst.mp4':
   Metadata:
     encoder         : Lavf55.33.101
     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), 
yuv444p, 480x48
0, q=-1--1, 300 kb/s, 16384 tbn, 2 tbc
Stream mapping:
   Stream #0:0 -> #0:0 (png -> libx264)
Press [q] to stop, [?] for help
frame=    3 fps=0.0 q=-1.0 Lsize=       7kB time=00:00:00.50 bitrate= 
109.9kbits
/s
video:6kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 
13.8028
17%
[libx264 @ 03f7e320] frame I:1     Avg QP: 1.42  size:  4356
[libx264 @ 03f7e320] frame P:1     Avg QP: 8.76  size:   564
[libx264 @ 03f7e320] frame B:1     Avg QP: 7.23  size:   375
[libx264 @ 03f7e320] consecutive B-frames: 33.3% 66.7%  0.0%  0.0%
[libx264 @ 03f7e320] mb I  I16..4: 88.9%  6.2%  4.9%
[libx264 @ 03f7e320] mb P  I16..4:  0.0%  0.1%  0.2%  P16..4:  0.0% 
0.0%  0.0%
  0.0%  0.0%    skip:99.7%
[libx264 @ 03f7e320] mb B  I16..4:  0.0%  0.0%  0.1%  B16..8:  0.3% 
0.0%  0.0%
  direct: 0.1%  skip:99.4%  L0:33.3% L1:66.7% BI: 0.0%
[libx264 @ 03f7e320] final ratefactor: 1.07
[libx264 @ 03f7e320] 8x8 transform intra:6.3% inter:0.0%
[libx264 @ 03f7e320] coded y,u,v intra: 2.7% 1.4% 1.4% inter: 0.0% 0.0% 0.0%
[libx264 @ 03f7e320] i16 v,h,dc,p: 91%  6%  4%  0%
[libx264 @ 03f7e320] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 54% 24% 23%  0% 0%  
0%  0%
  0%  0%
[libx264 @ 03f7e320] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 26% 35%  1% 1%  
2%  2%
  1%  2%
[libx264 @ 03f7e320] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 03f7e320] kb/s:28.24


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst1.png
Type: image/png
Size: 2056 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140309/98b362ae/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst2.png
Type: image/png
Size: 3133 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140309/98b362ae/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst3.png
Type: image/png
Size: 3134 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140309/98b362ae/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst.mp4
Type: video/mp4
Size: 6868 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140309/98b362ae/attachment.mp4>


More information about the ffmpeg-user mailing list