[FFmpeg-user] ffplay on current build does not play mkv file but on old build does.

Tim Hiles thiles at confex.com
Tue Mar 28 13:42:46 EEST 2017

> In this case, the output device's name is "sdl". -> "-f sdl foo".
> Please do try that with the old build.

It did work with the 24th build. It was a weird crazy looking video but
yeah. it worked.

C:\Users\c0nF3x41l3s>C:\ffmpeg20160924\ffmpeg\bin\ffmpeg.exe -re -f lavfi
-i testsrc2=s=1366x768:r=30,format=yuv420p -f
sdl foo
ffmpeg version N-81741-g1212e34 Copyright (c) 2000-2016 the FFmpeg
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --ena
ble-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-iconv --ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --e
nable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsnappy --enable-lib
soxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-li
bxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 30.100 / 55. 30.100
  libavcodec     57. 58.100 / 57. 58.100
  libavformat    57. 50.100 / 57. 50.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 62.100 /  6. 62.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, lavfi, from 'testsrc2=s=1366x768:r=30,format=yuv420p':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1366x768
[SAR 1:1 DAR 683:384], 30 tbr, 30 tbn, 30 tbc
Output #0, sdl, to 'foo':
    encoder         : Lavf57.50.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1366x768
[SAR 1:1 DAR 683:384], q=2-31, 200 kb/s, 30 fps,
 30 tbn, 30 tbc
      encoder         : Lavc57.58.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
av_interleaved_write_frame(): I/O errore=00:00:14.23 bitrate=N/A speed=   1x
frame=  432 fps= 30 q=-0.0 Lsize=N/A time=00:00:14.40 bitrate=N/A
video:663876kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Conversion failed!

> My current analysis, in other words: Something is wrong with the way
> SDL2 tries to interact with your display, that's why ffplay doesn't
> open a window.
> Does ffplay work with anything else than MKV/H.264? (Because that's
> what you mentioned originally.)

I've just tested playing back a .mov file and a .wmv file.  The Sept 24th
version (SDL) plays fine. The Sept 26th version (SDL2) does not, only hear

So, if it's something wrong with my display, is there something I can dload
to get it working, like a library? I'd prefer to use the most current

More information about the ffmpeg-user mailing list