Opened 12 years ago

Closed 11 years ago

#1703 closed defect (worksforme)

ffplay doesn't play any audio when given "mono" audio input in windows

Reported by: Roger Pack Owned by:
Priority: normal Component: ffplay
Version: unspecified Keywords: win
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffplay doesn't play any audio when given "mono" audio input

How to reproduce:

% ffplay.exe mono.441.wav
ffplay version N-43594-gf0896a6 Copyright (c) 2003-2012 the FFmpeg developers
  built on Aug 15 2012 21:25:48 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 69.100 / 51. 69.100
  libavcodec     54. 52.100 / 54. 52.100
  libavformat    54. 23.101 / 54. 23.101
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  9.100 /  3.  9.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[wav @ 03ee4c80] max_analyze_duration 5000000 reached at 5015510
Input #0, wav, from 'mono.441.wav':
  Duration: 00:00:53.30, bitrate: 705 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s
Seek to  9% ( 0:00:04) of total duration ( 0:00:53)       B f=0/0
   5.73 A-V:  0.000 fd=   0 aq=   24KB vq=    0KB sq=    0B f=0/0
Input #0, s16le, from 'mono.wav':
  Duration: 00:05:19.83, start: 0.000000, bitrate: 127 kb/s
    Stream #0:0: Audio: pcm_s16le, 8000 Hz, 1 channels, s16, 128 kb/s
   3.17 A-V:  0.000 fd=   0 aq=   12KB vq=    0KB sq=    0B f=0/0

Attachments (1)

mono.441.mp3 (416.9 KB ) - added by Roger Pack 12 years ago.
plays ok in vlc

Download all attachments as: .zip

Change History (6)

by Roger Pack, 12 years ago

Attachment: mono.441.mp3 added

plays ok in vlc

comment:1 by Carl Eugen Hoyos, 12 years ago

Since it plays fine here and the output does not look suspicious in any way, you will have to explain what "does not play" means.

comment:2 by Roger Pack, 12 years ago

the output does not look suspicious. the histogram output is also ok. It just doesn't output audio to the speakers. (With -ac 2 it works ok though). I did just test it in linux and it works with or without -ac 2, so I suppose it's a windows thing.

comment:3 by Carl Eugen Hoyos, 12 years ago

Keywords: win added

comment:4 by Michael Niedermayer, 11 years ago

Summary: ffplay doesn't play any audio when given "mono" audio inputffplay doesn't play any audio when given "mono" audio input in windows

comment:5 by Carl Eugen Hoyos, 11 years ago

Resolution: worksforme
Status: newclosed

I tested ffplay.exe from Zeranoe with attached mono sample and it plays fine via Analog, S/PDIF and HDMI, so I assume this is not a problem that can be solved in FFmpeg.

Note: See TracTickets for help on using tickets.