Opened 11 years ago

Closed 11 years ago

#2743 closed defect (fixed)

ffplay: -t does not work for audio-only files

Reported by: ami_stuff Owned by:
Priority: normal Component: ffplay
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://www1.datafilehost.com/d/6cb07ecb

C:\>ffplay -t 5 -autoexit test.wav
ffplay version N-54362-ge0be3cb Copyright (c) 2003-2013 the FFmpeg developers
  built on Jul  2 2013 22:15:59 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.100 / 55. 18.100
  libavformat    55. 11.100 / 55. 11.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, wav, from 'test.wav':  0B f=0/0
  Duration: 00:00:30.01, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels,
 s16, 1411 kb/s
Seek to 100% ( 0:00:29) of total duration ( 0:00:30)        f=0/0
  30.01 M-A:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

Change History (3)

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedFFplay
Reproduced by developer: set
Status: newopen
Summary: ffplay: fix -autoexit after x seconds for wavffplay: -t does not work for audio-only files
Version: unspecifiedgit-master

comment:2 by ami_stuff, 11 years ago

It does work for aif/mp3/ac3/rm/wma/tak/..., but not for example with wav/voc/amr/flac.

Last edited 11 years ago by ami_stuff (previous) (diff)

comment:3 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: openclosed

Fixed by Marton in f07cb53.

Note: See TracTickets for help on using tickets.