Is there a JAVA API for extract MP4 Metadata -
i want specific asking. not asking modified mp4 files, extract metadata such width , height , bitrate , encoding , not in mp3 tags.
i have tested xuggle works, need have library not use jni or native code.
i looked mp4parser, , apache tika, , both not extract metadata, tag info or alter file.
is there such java lib?
i found looking using mp4parser
here simple lines of code wanted using mp4parser
filechannel fc = new fileinputstream("content/video_720p_madagascar-3.mp4").getchannel(); isofile isofile = new isofile(fc); moviebox moov = isofile.getmoviebox(); for(box b : moov.getboxes()) { system.out.println(b); }
b contains info needed, have parse b want.
Comments
Post a Comment