wseemann / FFmpegMediaMetadataRetriever

FFmpegMediaMetadataRetriever provides a unified interface for retrieving frame and meta data from an input media file.
1.73k stars 387 forks source link

Major Brand is not returning the correct result #211

Closed linda-dge closed 2 years ago

linda-dge commented 5 years ago

I have the following code:

FFmpegMediaMetadataRetriever retriever = new FFmpegMediaMetadataRetriever(); retriever.SetDataSource(path); retriever.ExtractMetadata("major_brand");

It is returning MSNV when I can see in the Exiftool it should be returning MPEG-4 (.MP4) for SonyPSP

This is the result from both an online exif tool and exiftool

Major Brand : MPEG-4 (.MP4) for SonyPSP Minor Version : 15a.0.70 Compatible Brands : MSNV, mp42, isom

Do you have any idea how I could get that value?

wseemann commented 5 years ago

Hi Linda, I would check the file using ffmpeg -i "path the file" and see what the metadata output is. Do you have a file I can test against? major_brand is not currently supported by this library, which could be part of the problem.

linda-dge commented 5 years ago

You are right!

ffmpeg doesn't get major brand either. I wonder where exif tool gets the word "Sony" from. Argh. So frustrating. I wish camera manufacturers would stamp their video with something that indicates who they are.

Here is the file none the less.

Thank you for all that you do. I appreciate it. MAH00606.MP4 https://drive.google.com/a/dynagrace.com/file/d/14O299HAi7W8eNdmFjefTc7On1hUHOXuk/view?usp=drive_web

Linda Rawson

On Mon, Aug 19, 2019 at 10:16 PM William Seemann notifications@github.com wrote:

Hi Linda, I would check the file using ffmpeg -i "path the file" and see what the metadata output is. Do you have a file I can test against? major_brand is not currently supported by this library, which could be part of the problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wseemann/FFmpegMediaMetadataRetriever/issues/211?email_source=notifications&email_token=AMCTXTDBQ4FCBB437HRRAYDQFNV25A5CNFSM4IMQLXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4U752Y#issuecomment-522845931, or mute the thread https://github.com/notifications/unsubscribe-auth/AMCTXTC4YMHCTKHUND7JE3TQFNV25ANCNFSM4IMQLXPQ .

wseemann commented 5 years ago

@linda-dge here is the output from ffmpeg. Would having major_brand returned by the library help? Screen Shot 2019-08-20 at 10 23 12 AM

linda-dge commented 5 years ago

No. I forgot to mention I tried it as well.

The attached is what exiftool shows for majorbrand

exiftool -majorbrand MAH00606.MP4

[image: image.png]

Linda Rawson

On Tue, Aug 20, 2019 at 11:25 AM William Seemann notifications@github.com wrote:

@linda-dge https://github.com/linda-dge here is the output from ffmpeg. Would having major_brand returned help? [image: Screen Shot 2019-08-20 at 10 23 12 AM] https://user-images.githubusercontent.com/2296196/63369441-cc036100-c334-11e9-9ad3-c90398f25a2f.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wseemann/FFmpegMediaMetadataRetriever/issues/211?email_source=notifications&email_token=AMCTXTDKFSXUMJ3R2N5COMDQFQSIXA5CNFSM4IMQLXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4XBNLQ#issuecomment-523114158, or mute the thread https://github.com/notifications/unsubscribe-auth/AMCTXTGGM5OVFJWFSILI5JTQFQSIXANCNFSM4IMQLXPQ .