Bug 54545 - В выводе информации о файлах с помощью extract ошибка: Не удалось декодировать Lang Alt квалификационный код
Summary: В выводе информации о файлах с помощью extract ошибка: Не удалось декодирова...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: extract (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-29 16:57 MSK by Olga
Modified: 2025-05-29 18:00 MSK (History)
1 user (show)

See Also:


Attachments
Пример файла ogg (696.04 KB, audio/ogg)
2025-05-29 16:57 MSK, Olga
no flags Details
Пример файла wav (4.55 MB, application/gzip)
2025-05-29 17:04 MSK, Olga
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olga 2025-05-29 16:57:25 MSK
Created attachment 18629 [details]
Пример файла ogg

Версия программы:
=================
extract-1.13-alt1.1.x86_64
libextractor-1.13-alt1.1.x86_64


Стенды с ошибкой, обновлен. до Sisyphus:
========================================
Alt Workstation 11
Alt Workstation K 11
Alt Server 11

Шаги, приводящие к ошибке:
==========================
1. Установить пакеты:
# apt-get install libextractor extract 
2. Вывести информацию о файлах:
$ extract file.wav
$ extract file.ogg

Ожидаемый результат:
====================
Успешный вывод информации о файлах без ошибок.
Например, как в p10
$ extract file.wav
Keywords for file file.wav:
resource type - 36000 ms, 44100 Hz, stereo
mimetype - audio/x-wav
duration - 0:00:36.041247166
mimetype - audio/x-wav
container format - WAV
audio codec - Uncompressed 16-bit PCM audio
title - WAV Test File
album - Example Files
artist - Online-Convert.com
channels - 2
sample rate - 44100
audio depth - 16
audio bitrate - 1411200

$ extract file.ogg 
Keywords for file file.ogg:
duration - 0:00:34.770566893
mimetype - audio/ogg
mimetype - audio/x-vorbis
album - Example Files
title - OGG Test File
artist - Online-Convert.com
encoder - Xiph.Org libVorbis I 20120203 (Omnipresent)
encoder version - 0
audio codec - Vorbis
channels - 2
sample rate - 44100
audio depth - 32
audio bitrate - 160000
mimetype - application/ogg
vendor - Xiph.Org libVorbis I 20120203 (Omnipresent)
title - OGG Test File
artist - Online-Convert.com
album - Example Files

Фактический результат:
======================
В выводимой информации присутствует: Не удалось декодировать Lang Alt квалификационный код %1 :
$ extract file.wav
Keywords for file file.wav:
resource type - 36000 ms, 44100 Hz, stereo
mimetype - audio/x-wav
terminate called after throwing an instance of 'Exiv2::Error'
  what():  Не удалось декодировать Lang Alt квалификационный код %1 с opt=%2
duration - 0:00:36.041247166
mimetype - audio/x-wav
container format - WAV
audio codec - Uncompressed 16-bit PCM audio
title - WAV Test File
album - Example Files
artist - Online-Convert.com
channels - 2
sample rate - 44100
audio depth - 16
audio bitrate - 1411200

$ extract file.ogg 
Keywords for file file.ogg:
terminate called after throwing an instance of 'Exiv2::Error'
  what():  Не удалось декодировать Lang Alt квалификационный код %1 с opt=%2
duration - 0:00:34.770566893
mimetype - audio/ogg
mimetype - audio/x-vorbis
album - Example Files
title - OGG Test File
artist - Online-Convert.com
encoder - Xiph.Org libVorbis I 20120203 (Omnipresent)
encoder version - 0
audio codec - Vorbis
channels - 2
sample rate - 44100
audio depth - 32
audio bitrate - 160000
mimetype - application/ogg
vendor - Xiph.Org libVorbis I 20120203 (Omnipresent)
title - OGG Test File
artist - Online-Convert.com
album - Example Files
Comment 1 Olga 2025-05-29 17:04:20 MSK
Created attachment 18630 [details]
Пример файла wav
Comment 2 Repository Robot 2025-05-29 18:00:21 MSK
libextractor-1.13-alt2 -> sisyphus:

 Thu May 29 2025 Yuri N. Sedunov <aris@altlinux> 1.13-alt2
 - fixed https://bugs.gnunet.org/view.php?id=9223 (ALT #54545)