[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:09:49 EEST 2017


>
>
> Does this command show you something on your screen, i.e. does the sdl2
> output device work?
>
> $ ffmpeg -re -f lavfi -i testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2
> foo
>
>
Hi Moritz, Not sure what I supposed to see but I didn't see anything other
than the command window.  Also the command window did not seem to respond
to 'q'.  I had to ctrl + c three times to force it to stop.

Here's the console output and command for September 26 build

C:\ffmpeg20160926\ffmpeg\bin\ffmpeg.exe -re -f lavfi -i
testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2 foo
ffmpeg version N-81774-g64545dd Copyright (c) 2000-2016 the FFmpeg
developers
  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. 63.100 /  6. 63.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
Received > 3 system signals, hard exiting

Here's the command and output for 24th build. As you stated in your reply
this was before they changed to sdl2 so the error that occurs makes sense.

C:\ffmpeg20160924\ffmpeg\bin\ffmpeg.exe -re -f lavfi -i
testsrc2=s=1366x768:r=30,format=yuv420p -f sdl2 foo
ffmpeg version N-81741-g1212e34 Copyright (c) 2000-2016 the FFmpeg
developers
  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
[NULL @ 03012540] Requested output format 'sdl2' is not a suitable output
format
foo: Invalid argument


More information about the ffmpeg-user mailing list