| 1 | | Summary of the bug: |
| 2 | | |
| 3 | | Using https://people.videolan.org/~tmatth/rev.opus when stream-copied or played back. |
| 4 | | |
| 5 | | How to reproduce: |
| 6 | | {{{ |
| 7 | | % ./ffplay rev.opus |
| 8 | | ./ffplay rev.opus |
| 9 | | ffplay version N-107861-gf5a663f2a9 Copyright (c) 2003-2022 the FFmpeg developers |
| 10 | | built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) |
| 11 | | configuration: --disable-debug --disable-doc --disable-shared --enable-gpl --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264 --enable-nonfree --enable-gnutls --enable-libfdk_aac --enable-postproc --enable-small --enable-version3 --enable-libx265 --enable-libsrt --prefix=/home/tmatth/local |
| 12 | | libavutil 57. 33.101 / 57. 33.101 |
| 13 | | libavcodec 59. 42.102 / 59. 42.102 |
| 14 | | libavformat 59. 30.100 / 59. 30.100 |
| 15 | | libavdevice 59. 8.101 / 59. 8.101 |
| 16 | | libavfilter 8. 46.103 / 8. 46.103 |
| 17 | | libswscale 6. 8.103 / 6. 8.103 |
| 18 | | libswresample 4. 8.100 / 4. 8.100 |
| 19 | | libpostproc 56. 7.100 / 56. 7.100 |
| 20 | | Input #0, ogg, from 'rev.opus': 0KB vq= 0KB sq= 0B f=0/0 |
| 21 | | Duration: 00:00:06.00, start: 0.000000, bitrate: 64 kb/s |
| 22 | | Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp |
| 23 | | Metadata: |
| 24 | | handler_name : SoundHandler |
| 25 | | vendor_id : [0][0][0][0] |
| 26 | | major_brand : isom |
| 27 | | minor_version : 512 |
| 28 | | compatible_brands: isomiso2avc1mp41 |
| 29 | | encoder : Lavf58.76.100 |
| 30 | | }}} |
| 31 | | |
| 32 | | |
| 33 | | Note that: |
| 34 | | {{{ |
| 35 | | ./ffplay -acodec libopus rev.opus |
| 36 | | }}} |
| 37 | | doesn't glitch but also that this happens with streamcopying via ffmpeg as well (so not specific to ffplay). |
| 38 | | |
| 39 | | The file plays fine with VLC, totem, and opsudec also decodes it to wav without any glitches. |