[FFmpeg-trac] #6721(ffplay:new): ffplay fails to initialize audio output on with SDL 2.0.6
FFmpeg
trac at avcodec.org
Sat Oct 7 02:53:12 EEST 2017
#6721: ffplay fails to initialize audio output on with SDL 2.0.6
--------------------------------------+--------------------------------
Reporter: jamrial | Owner:
Type: defect | Status: new
Priority: normal | Component: ffplay
Version: git-master | Keywords: sdl
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
--------------------------------------+--------------------------------
{{{
$ ./ffplay -i pcm.wav
ffplay version N-87742-g7ef4d18c09 Copyright (c) 2003-2017 the FFmpeg
developers
built with gcc 7.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-nonfree --enable-libfdk-aac
--enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libx265 --enable-libwebp --cpu=haswell --extra-
cflags='-D_WIN32_WINNT=0x0602' --cc='ccache gcc' --x86asmexe=yasm
--samples=../samples --prefix=/mingw64
libavutil 55. 77.101 / 55. 77.101
libavcodec 57.106.104 / 57.106.104
libavformat 57. 82.102 / 57. 82.102
libavdevice 57. 9.101 / 57. 9.101
libavfilter 6.106.100 / 6.106.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, wav, from 'pcm.wav':KB sq= 0B f=0/0
Duration: 00:00:22.80, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
channels, s16, 1411 kb/s
SDL advised audio format 33056 is not supported!
Failed to open file 'pcm.wav' or configure filtergraph
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
}}}
Format "33056" is, according to the SDL2 header, f32 output. ffplay seems
to expect it to be s16, which is the case with SDL 2.0.5
Tested on Windows only (Mingw-w64 build). No idea if it happens on other
targets as well since i can't test.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6721>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list