enzyme icon indicating copy to clipboard operation
enzyme copied to clipboard

could enzyme get mp4 video file metadata?

Open GoTop opened this issue 8 years ago • 3 comments

I use enzyme-0.4.2.dev0 to get mp4 video file metadata, and there was an error:

raise MalformedMKVError('No Segment found')
enzyme.exceptions.MalformedMKVError: No Segment found

GoTop avatar Sep 17 '16 02:09 GoTop

Enzyme is a EBML parser, a format MP4 doesn't use. Instead, in most cases, the tag information is stored in a ID3 tag, like MP3 files. I don't think it would be useful to add a mp4 support to enzyme as there's already other Python libs covering that.

For non-tag metadata, I'd refer you to ffmpeg (from this stackoverflow answer). For tags, I'd recommend pytaglib.

aulemahal avatar Sep 21 '16 02:09 aulemahal

I planned to do a QTFF parser for a while and had started working on it but nothing concrete here and I have very few videos using that format anyway. I can try to find the code and push that into a branch. AFAIK MP4 extends QTFF.

The goal of enzyme is to be able to extract metadata from most video file formats, with MKV it covers a great deal of videos already. QTFF is the missing piece.

Diaoul avatar Sep 21 '16 06:09 Diaoul

@Diaoul There are other projects using enzyme which request this feature. In this issue you have example files. https://github.com/morpheus65535/bazarr/issues/353

ngosang avatar Mar 20 '19 20:03 ngosang