Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3943 closed defect (fixed)

ffplay not able to play at right speed after seeking forward in attached opus file

Reported by: ousia Owned by:
Priority: normal Component: avcodec
Version: 2.1.5 Keywords: ogg opus
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

ffplay is not able to play the sound at normal speed from attached file after seeking forward (ten seconds or one minute).

How to reproduce:

  1. ffplay opus-test.opus
  1. Press either up or right.
  1. Playing speed is simply wrong.
ffmpeg version 2.1.5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul  8 2014 20:40:41 with gcc 4.8.3 (GCC) 20140624 (Red Hat 4.8.3-1)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100

Change History (5)

comment:1 by ousia, 10 years ago

Sorry, I attached the wrong file.

The file that shows the behavior is 3.3MB big.

How can I attach it to this bug report?

comment:2 by ousia, 10 years ago

File can be found at http://ousia.tk/lvilla.opus.

Please, tell me when can I remove the file from the server.

I remove the attachment with a zero-byte file.

comment:3 by Carl Eugen Hoyos, 10 years ago

Component: ffplayavcodec
Keywords: ogg opus added
Reproduced by developer: set
Resolution: fixed
Status: newclosed

Will be fixed in 2.1.6.

Could you explain why you are using an unmaintained release series although a compatible maintained release series exist? Or is the information shown on http://ffmpeg.org/download.html and http://ffmpeg.org/olddownload.html unclear?

comment:4 by ousia, 10 years ago

Many thanks for the fix.

RPMFusion offers that version for Fedora 20.

comment:5 by ousia, 10 years ago

Following your advice, I recompiled ffmpeg-2.3.3 and the error is gone.

There is only an error message such as:

[opus @ 0xae6006c0] Error parsing the packet header.=    0B f=0/0   

This is fine for me, but I don’t know whether it should be fixed.

Many thanks again for your help.

Note: See TracTickets for help on using tickets.