Closed HBiSoft closed 5 years ago
You can use mmr.getMetadata().getAll()
which returns a HashMap
containing the available key/value pairs.
See: http://wseemann.github.io/FFmpegMediaMetadataRetriever/apidocs/wseemann/media/Metadata.html#getAll()
@wseemann Thank you for the quick reply.
mmr.getMetadata().getAll()
returned the following:
{video_codec=h264, rotate=0, video_height=720, framerate=29, major_brand=isom, video_width=1280, audio_codec=aac, filesize=24727966, encoder=Lavf58.12.100, minor_version=512, duration=11000, chapter_count=0, compatible_brands=isomiso2avc1mp41}
The timescale is not here?
getMetadata()
provides all of the available metadata for the file. timescale
isn't a supported FFmpeg metadata field. https://wiki.multimedia.cx/index.php/FFmpeg_Metadata
Looking at the docs - http://wseemann.github.io/FFmpegMediaMetadataRetriever/apidocs/index.html
I can't find what key values are available when calling, for example:
Is there any documentation on this?
I'm trying to find a videos timescale. When I run a command I can see it the timescale -
14848 tbn