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

Tom Evans tevans.uk at googlemail.com
Mon Mar 10 03:35:42 CET 2014


On Mon, Mar 10, 2014 at 12:44 AM, Spencer Graves
<spencer.graves at prodsyse.com> wrote:
> 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.

Perhaps this should be in bigger letters?

Cheers

Tom


More information about the ffmpeg-user mailing list