stempeg icon indicating copy to clipboard operation
stempeg copied to clipboard

Added _read_mp4box_stem_titles function

Open naba89 opened this issue 3 years ago • 3 comments

Basically, for stems which have been created by the NI creator have the titles of the streams in the udta metadata.

I added the functionality to try to read the stream titles if MP4Box is available, else fall back to original default numbered streams.

This is useful if you want to extract wav files using the stem2files, and instead of getting filenames like "stem_0.wav", you can get "Drums.wav" or "Vox.wav" if this information is available in the stem files.

The code is taken almost verbatim from the StemMetadataViewer class in https://github.com/axeldelafosse/stemgen/blob/master/ni-stem/_internal.py

naba89 avatar Jan 15 '23 12:01 naba89

Nice!

axeldelafosse avatar Feb 10 '23 16:02 axeldelafosse

I added sudo apt-get update to fix the previous issue of 404 errors while installing apt-get packages.

But still, the CI failed with some errors in FFmpeg unable to find x264 libraries. ffprobe: error while loading shared libraries: libx264.so.138: cannot open shared object file: No such file or directory

naba89 avatar Feb 14 '23 04:02 naba89

@faroit sorry for the ping -- can you have a look when you have some free time please? 🙏

axeldelafosse avatar Mar 23 '23 16:03 axeldelafosse