Opened 15 months ago

Last modified 7 months ago

#10197 new defect

rka: fix decoding of VRQ lossy mode

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

rkau.exe decodes correctly attached files

./ffmpeg -i 16_33_s_v1.rka -y out.wav
ffmpeg version N-109863-g4113445e9d Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: 
  libavutil      58.  1.100 / 58.  1.100
  libavcodec     60.  2.100 / 60.  2.100
  libavformat    60.  2.100 / 60.  2.100
  libavdevice    60.  0.100 / 60.  0.100
  libavfilter     9.  1.100 /  9.  1.100
  libswscale      7.  0.100 /  7.  0.100
  libswresample   4.  9.100 /  4.  9.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, rka, from '16_33_s_v1.rka':
  Duration: 00:00:10.00, start: 0.000000, bitrate: 206 kb/s
  Stream #0:0: Audio: rka, 33333 Hz, 2 channels, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (rka (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf60.2.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 33333 Hz, stereo, s16, 1066 kb/s
    Metadata:
      encoder         : Lavc60.2.100 pcm_s16le
size=    1302kB time=00:00:09.83 bitrate=1085.1kbits/s speed= 183x    
video:0kB audio:1302kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005850%

Attachments (2)

16_33_s_v1.rka (251.8 KB ) - added by ami_stuff 15 months ago.
16_33_s_v8.rka (778.2 KB ) - added by ami_stuff 15 months ago.

Download all attachments as: .zip

Change History (4)

by ami_stuff, 15 months ago

Attachment: 16_33_s_v1.rka added

by ami_stuff, 15 months ago

Attachment: 16_33_s_v8.rka added

comment:1 by Elon Musk, 7 months ago

Added changes that improves situations much more.
There is still some bug there hiding.
Is -q (lossy only, not VRQ) working fine in all modes(from -q1 to -q15) for stereo?

comment:2 by ami_stuff, 7 months ago

yes, normal lossy mode decodes correctly for mono and stereo

Note: See TracTickets for help on using tickets.