ffplay on current build does not play mkv file but on old build does.
Hi, I have two zeranoe windows builds installed. Current version built and an older build from 2015. I've created a 5 second video (full command line and uncut output below) using current git. I only hear audio when I play this file back when I use current build. However the 2015 build plays fine. I've also included ffplay.exe command line and uncut output below from both older and current builds below. Also, possibly separate issue but as you can see I do get an error when creating the video that doesn't effect playing the file with the old version or VLC. But, I'm curious as to why I get the error, how this effects the file, and perhaps how to fix it if it should be fixed. Lastly, I've included the report log if that provides any further detail to aid. C:\Users\c0nF3x41l3s>c:\ffmpeg\ffmpeg\bin\ffmpeg.exe -f dshow -i video="screen-capture-recorder":audio="Internal Mic (ID T High Definiti" -flags +global_header -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -acodec aac -ac 1 -ar 22050 -t 00:00:05 -report "C:\CMT\Test.mkv" ffmpeg started on 2016-11-09 at 10:02:54 Report written to "ffmpeg-20161109-100254.log" ffmpeg version N-82274-g34aeb5d 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. 35.100 / 55. 35.100 libavcodec 57. 66.101 / 57. 66.101 libavformat 57. 57.100 / 57. 57.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 66.100 / 6. 66.100 libswscale 4. 3.100 / 4. 3.100 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 leaving aero onGuessed Channel Layout for Input Stream #0.1 : stereo Input #0, dshow, from 'video=screen-capture-recorder:audio=Internal Mic (IDT High Definiti': Duration: N/A, start: 349092.854000, bitrate: N/A Stream #0:0: Video: rawvideo, bgr0, 1366x768, 30 fps, 30 tbr, 10000k tbn, 10000k tbc Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s [libx264 @ 0000000000397120] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0000000000397120] profile Constrained Baseline, level 3.2 [libx264 @ 0000000000397120] 264 - core 148 r2721 72d53ab - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.vid eolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_th reads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq =0 Output #0, matroska, to 'C:\CMT\Test.mkv': Metadata: encoder : Lavf57.57.100 Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1366x768, q=-1--1, 30 fps, 1k tbn, 30 tbc Metadata: encoder : Lavc57.66.101 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 22050 Hz, mono, fltp, 69 kb/s Metadata: encoder : Lavc57.66.101 aac Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native)) Press [q] to stop, [?] for help [swscaler @ 00000000003a7fe0] Warning: data is not aligned! This can lead to a speedloss frame= 150 fps= 28 q=-1.0 Lsize= 758kB time=00:00:05.00 bitrate=1239.5kbits/s speed=0.919x video:715kB audio:40kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.349632% [libx264 @ 0000000000397120] frame I:1 Avg QP:20.00 size:218939 [libx264 @ 0000000000397120] frame P:149 Avg QP:13.87 size: 3441 [libx264 @ 0000000000397120] mb I I16..4: 100.0% 0.0% 0.0% [libx264 @ 0000000000397120] mb P I16..4: 0.6% 0.0% 0.0% P16..4: 2.9% 0.0% 0.0% 0.0% 0.0% skip:96.6% [libx264 @ 0000000000397120] coded y,uvDC,uvAC intra: 44.2% 4.5% 4.0% inter: 1.6% 0.3% 0.2% [libx264 @ 0000000000397120] i16 v,h,dc,p: 72% 25% 2% 2% [libx264 @ 0000000000397120] i8c dc,h,v,p: 88% 9% 3% 0% [libx264 @ 0000000000397120] kb/s:1170.64 [aac @ 000000000039a020] Qavg: 3008.527 [dshow @ 00000000006a8880] real-time buffer [screen-capture-recorder] [video input] too full or near too full (275% of s ize: 3041280 [rtbufsize parameter])! frame dropped! C:\Users\c0nF3x41l3s>"C:\ffmpegOldTwo\ffmpeg\bin\ffplay.exe" -i C:\CMT\Test.mkv ffplay version N-76123-g002b049 Copyright (c) 2003-2015 the FFmpeg developers built with gcc 5.2.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -- enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libm p3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib libavutil 55. 4.100 / 55. 4.100 libavcodec 57. 7.100 / 57. 7.100 libavformat 57. 8.102 / 57. 8.102 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 11.100 / 6. 11.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 Input #0, matroska,webm, from 'C:\CMT\Test.mkv':B sq= 0B f=0/0 Metadata: ENCODER : Lavf57.57.100 Duration: 00:00:05.05, start: 0.000000, bitrate: 1229 kb/s Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 1366x768, SAR 1:1 DAR 683:384, 30 fps, 30 tbr, 1k tbn, 60 tbc (default) Metadata: ENCODER : Lavc57.66.101 libx264 DURATION : 00:00:05.050000000 Stream #0:1: Audio: aac (LC), 22050 Hz, mono, fltp (default) Metadata: ENCODER : Lavc57.66.101 aac DURATION : 00:00:05.043000000 5.03 A-V: -7.318 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 C:\Users\c0nF3x41l3s>"C:\ffmpeg\ffmpeg\bin\ffplay.exe" -i C:\CMT\Test.mkv ffplay version N-82274-g34aeb5d Copyright (c) 2003-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. 35.100 / 55. 35.100 libavcodec 57. 66.101 / 57. 66.101 libavformat 57. 57.100 / 57. 57.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 66.100 / 6. 66.100 libswscale 4. 3.100 / 4. 3.100 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, matroska,webm, from 'C:\CMT\Test.mkv':B sq= 0B f=0/0 Metadata: ENCODER : Lavf57.57.100 Duration: 00:00:05.05, start: 0.000000, bitrate: 1229 kb/s Stream #0:0: Video: h264 (Constrained Baseline), yuv420p(progressive), 1366x768, 30 fps, 30 tbr, 1k tbn, 60 tbc (def ault) Metadata: ENCODER : Lavc57.66.101 libx264 DURATION : 00:00:05.050000000 Stream #0:1: Audio: aac (LC), 22050 Hz, mono, fltp (default) Metadata: ENCODER : Lavc57.66.101 aac DURATION : 00:00:05.043000000 -0.03 A-V: nan fd= 0 aq= 11KB vq= 102KB sq= 0B f=0/0 Thanks!! Tim
2016-11-09 19:57 GMT+01:00 Tim Hiles <thiles@confex.com>:
I have two zeranoe windows builds installed. Current version built and an older build from 2015. I've created a 5 second video (full command line and uncut output below) using current git. I only hear audio when I play this file back when I use current build.
Please provide the file. Thank you, Carl Eugen
On Wed, Nov 9, 2016 at 2:20 PM, Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
2016-11-09 19:57 GMT+01:00 Tim Hiles <thiles@confex.com>:
I have two zeranoe windows builds installed. Current version built and an older build from 2015. I've created a 5 second video (full command line and uncut output below) using current git. I only hear audio when I play this file back when I use current build.
Please provide the file.
Thank you, Carl Eugen
Hi Carl, I attached the file in a previous email but ffmpeg list rejected the email because it was 750 KB, so I'm sharing a google drive link to the file, otherwise I'm not really sure what else to do. https://drive.google.com/open?id=0B8g9J5RbDqElbU5RUDRoeVBmYXEzWHZ6SFdUWGhKR1... Please let me know if you have any issues with receiving the file. Thanks! Tim
2016-11-10 20:12 GMT+01:00 Tim Hiles <thiles@confex.com>:
I attached the file in a previous email but ffmpeg list rejected the email because it was 750 KB, so I'm sharing a google drive link to the file, otherwise I'm not really sure what else to do. https://drive.google.com/open?id=0B8g9J5RbDqElbU5RUDRoeVBmYXEzW HZ6SFdUWGhKR1MwYzJB
For what it's worth, playing this file with both those zeranoe builds works fine (second one is from today) : ffplay version N-82178-g60178e7 Copyright (c) 2003-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 35.100 / 55. 35.100 libavcodec 57. 65.100 / 57. 65.100 libavformat 57. 57.100 / 57. 57.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 66.100 / 6. 66.100 libswscale 4. 3.100 / 4. 3.100 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 ffplay version N-82314-g863ebe6 Copyright (c) 2003-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 36.100 / 55. 36.100 libavcodec 57. 66.101 / 57. 66.101 libavformat 57. 57.100 / 57. 57.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 66.100 / 6. 66.100 libswscale 4. 3.100 / 4. 3.100 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100
On Thu, Nov 10, 2016 at 1:55 PM, Cley Faye <cleyfaye@gmail.com> wrote:
2016-11-10 20:12 GMT+01:00 Tim Hiles <thiles@confex.com>:
I attached the file in a previous email but ffmpeg list rejected the email because it was 750 KB, so I'm sharing a google drive link to the file, otherwise I'm not really sure what else to do. https://drive.google.com/open?id=0B8g9J5RbDqElbU5RUDRoeVBmYXEzW HZ6SFdUWGhKR1MwYzJB
For what it's worth, playing this file with both those zeranoe builds works fine (second one is from today) :
Ugh. I just tried using today's build (both 32 and 64 bit versions) as well. Still didn't work, only hear audio, no video. Old 2015 ffmpeg version and VLC still plays video and audio fine. I've included the uncut output in the body of this email. I was happy to find out however that ffplay.exe can also utilize -report and so I've attached logs for todays build as well as for the one from 2015. Any ideas? Thanks! Tim 32 Bit version C:\ffmpeg1110201632Bit\ffmpeg\bin>ffplay.exe -i C:\CMT\Test.mkv ffplay version N-82314-g863ebe6 Copyright (c) 2003-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. 36.100 / 55. 36.100 libavcodec 57. 66.101 / 57. 66.101 libavformat 57. 57.100 / 57. 57.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 66.100 / 6. 66.100 libswscale 4. 3.100 / 4. 3.100 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, matroska,webm, from 'C:\CMT\Test.mkv':B sq= 0B f=0/0 Metadata: ENCODER : Lavf57.57.100 Duration: 00:00:05.05, start: 0.000000, bitrate: 1229 kb/s Stream #0:0: Video: h264 (Constrained Baseline), yuv420p(progressive), 1366x768, 30 fps, 30 tbr, 1k tbn, 60 tbc (def ault) Metadata: ENCODER : Lavc57.66.101 libx264 DURATION : 00:00:05.050000000 Stream #0:1: Audio: aac (LC), 22050 Hz, mono, fltp (default) Metadata: ENCODER : Lavc57.66.101 aac DURATION : 00:00:05.043000000 nan A-V: nan fd= 0 aq= 9KB vq= 493KB sq= 0B f=0/0 64 Bit version C:\ffmpeg1110201632Bit\ffmpeg\bin>C:\ffmpeg\ffmpeg\bin\ffplay.exe -i C:\CMT\Test.mkv ffplay version N-82314-g863ebe6 Copyright (c) 2003-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. 36.100 / 55. 36.100 libavcodec 57. 66.101 / 57. 66.101 libavformat 57. 57.100 / 57. 57.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 66.100 / 6. 66.100 libswscale 4. 3.100 / 4. 3.100 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, matroska,webm, from 'C:\CMT\Test.mkv':B sq= 0B f=0/0 Metadata: ENCODER : Lavf57.57.100 Duration: 00:00:05.05, start: 0.000000, bitrate: 1229 kb/s Stream #0:0: Video: h264 (Constrained Baseline), yuv420p(progressive), 1366x768, 30 fps, 30 tbr, 1k tbn, 60 tbc (def ault) Metadata: ENCODER : Lavc57.66.101 libx264 DURATION : 00:00:05.050000000 Stream #0:1: Audio: aac (LC), 22050 Hz, mono, fltp (default)0 Metadata: ENCODER : Lavc57.66.101 aac DURATION : 00:00:05.043000000 -0.03 A-V: nan fd= 0 aq= 11KB vq= 102KB sq= 0B f=0/0
Hi All! I'm revisiting this issue because I've finally had time to narrow down the exact release where this issue first arose from so that perhaps someone who understands the code could maybe figure out what may have happened.
From this page: https://ffmpeg.zeranoe.com/builds/win32/static/
Scroll down to here: ffmpeg-20160926-64545dd-win32-static.zip <https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20160926-64545dd-win32-static.zip> 26-Sep-2016 23:10 41M ffmpeg-20160926-69449da-win32-static.zip <https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20160926-69449da-win32-static.zip> 26-Sep-2016 19:09 27M ffmpeg-20160924-267da70-win32-static.zip <https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20160924-267da70-win32-static.zip> 24-Sep-2016 22:09 27M ffmpeg-20160924-1212e34-win32-static.zip <https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20160924-1212e34-win32-static.zip> 23-Sep-2016 22:11 41M note: keep in mind that the list of releases above is in descending chronological order (newest at the top, oldest at the bottom) exactly as it is on the zeranoe webpage. Starting from the old release going up here is what I've discovered.. 1. September 23 2016 at 22:11 is the last version that plays video in the mkv file. 2. September 24 2016 and September 26 2016 you'll notice that the zip folder size drops down to 27 M. That's because if you download those two zip folders you'll see that ffplay.exe was not included. 3. Then September 26, 2016 (later that evening) it goes back up to 41M because it includes ffplay. From that point on, ffplay no longer plays mkv's for me, only audio. So, I'm unsure what happened at that time but that if any developers want to look into this, this is where I would start my investigation. Thanks for any help! Tim
On Tue, Mar 28, 2017 at 01:33:15 -0700, Tim Hiles wrote:
Hi All!
I'm revisiting this issue because I've finally had time to narrow down the exact release where this issue first arose from so that perhaps someone who understands the code could maybe figure out what may have happened. [...] ffmpeg-20160926-64545dd-win32-static.zip [...] ffmpeg-20160924-1212e34-win32-static.zip [...] Starting from the old release going up here is what I've discovered.. 1. September 23 2016 at 22:11 is the last version that plays video in the mkv file. 2. September 24 2016 and September 26 2016 you'll notice that the zip folder size drops down to 27 M. That's because if you download those two zip folders you'll see that ffplay.exe was not included. 3. Then September 26, 2016 (later that evening) it goes back up to 41M because it includes ffplay. From that point on, ffplay no longer plays mkv's for me, only audio.
Firstly: "It works for me(TM)." I can play that file's video with the 64bit version from Zeranoe. Interestingly, between those two builds you mention (1212e34..64545dd), ffplay was switched from using the SDL1 library to SDL2. (Zeranoe probably didn't have the latter available in their build environment for a few days, until they noticed.)[*]
So, I'm unsure what happened at that time but that if any developers want to look into this, this is where I would start my investigation.
Great that you were able to track that down. I don't know how to debug the SDL display device though. 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 Moritz [*] (Yes, the commit was created on Feb 23 2106, but it didn't get into git master until that point in September.) commit 9c5fab5ed421da4e55cafcbff0482e1ad926c27b Author: Marton Balint <cus@passwd.hu> Date: Tue Feb 23 20:43:41 2016 +0000 ffplay: add SDL2 support This commit also drops SDL1 support for ffplay. Tested-by: James Almer <jamrial@gmail.com> (Windows, mingw-w64) Signed-off-by: Josh de Kock <josh@itanimul.li> M Changelog M configure M ffplay.c
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
On Tue, Mar 28, 2017 at 03:09:49 -0700, Tim Hiles wrote:
$ 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.
It is supposed to open a playback window (with a generated test source).
Also the command window did not seem to respond to 'q'. I had to ctrl + c three times to force it to stop.
That's not desired.
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.
In this case, the output device's name is "sdl". -> "-f sdl foo". Please do try that with the old build. 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.) Moritz
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 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 Output #0, sdl, to 'foo': Metadata: 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 Metadata: 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 speed=1.01x 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 audio. 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 ffmpeg.
2017-03-28 12:42 GMT+02:00 Tim Hiles <thiles@confex.com>:
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 audio.
You could update your display drivers. Since we were not flooded with reports, I believe (hope) that it works for others. Carl Eugen
participants (4)
-
Carl Eugen Hoyos -
Cley Faye -
Moritz Barsnick -
Tim Hiles