h5pack unpack documentation
Note
If you're new to h5pack, please consult our Quickstart guide.
Please note that this page is just a quick reference to explain different tool options.
This tool converts .h5 files created with h5pack back into their constituent files. Additionally, it automatically generates a configuration .yaml file and an annotations .csv file, enabling you to repack the data using h5pack pack.
Basic usage
This will create an output folder with the same name as your .h5 file. Its structure will look as follows:
Audio files are written to a folder named after their field. If your original audio files were stored in subfolders (e.g. spk1/001.wav and spk2/001.wav), those subfolders are preserved, so files sharing the same name do not overwrite each other. Audio packed with as_audioflac is written as .flac files exactly as it was stored, and audio packed with --skip-filepaths is written using the row index as file name.
Advanced settings
To specify the output folder path, you can use the -o/--output option as follows:
or using aliases:
Help
To see all available options, run:
or using aliases: