7zip extract archive result in corrupted .wav file
I've tested Nautilus 7zip extracting on .wav .mp3 .docx formats. I've found issue happens only with .wav format files previously packed by 7zip on Windows or packed using p7zip from terminal. File in .wav format is corrupted after extracting it using right click -> extract here (provided by file-roller if I am correct), it looks like file is loosing all metadata and players are unable to recognize stream type,
I am on Ubuntu 17.10 with gnome 3 (classic ubuntu-gnome, not new Ubuntu flavour), Nautilus is 3.26, Archives is 3.26.1. Below I will explain steps to reproduce:
- pack regular .wav format file using p7zip from terminal or using 7zip on Windows (not sure if it was packed either by winrar or 7zip as I was not the one who packed the file on Windows, I suggest to rely on p7zip and terminal).
- uncompress the 7zip archive using Nautilus/file-roller right click and extract here.
- try to play it using totem, vlc or any other player. Totem reports for me that file's type of stream is not recognized.
- uncompress the same 7zip archive using p7zip from terminal. The uncompressed file should work.
- using md5sum check checksums of both files, checksums are different for me.
Only above steps do reproduce the issue for me, I've also tried to do the same with .mp3 and .docx but seems like these do work fine. I have also runned few additional tests. Below works fine, file is not corrupted:
- pack .wav file using right click and create 7zip archive then uncompress file using both p7zip and right click extract here;
- pack .wav file using p7zip then uncompress it by opening archive with Archives 3.26.1 and clicking extract button;
- pack .wav file using p7zip then play it directly from Archives 3.26.1;
I add attachment with packed .wav file using p7zip so anybody willing to test it can skip part 1. The file is for the game modding project I am working on, feel free to use it for testing this issue. It's short voice line with soldier screaming "throwing frag grenade" in Polish: test_wav_file.7z