Package org.jaudiotagger.audio.mp4

Examples of org.jaudiotagger.audio.mp4.Mp4FileReader


                    hdlrWithinMdiaNode = newAtom;
                } else if (boxHeader.getId().equals(Mp4NotMetaFieldKey.TAGS.getFieldName())) {
                    tagsNode = newAtom;
                } else if (boxHeader.getId().equals(Mp4NotMetaFieldKey.STCO.getFieldName())) {
                    if (stco == null) {
                        stco = new Mp4StcoBox(boxHeader, moovBuffer);
                        stcoNode = newAtom;
                    }
                } else if (boxHeader.getId().equals(Mp4NotMetaFieldKey.ILST.getFieldName())) {
                    DefaultMutableTreeNode parent = (DefaultMutableTreeNode) parentNode.getParent();
                    if (parent != null) {
View Full Code Here


                try {
                    boxHeader.update(headerBuffer);
                } catch (NullBoxIdException ne) {
                    //If we only get this error after all the expected data has been found we allow it
                    if (moovNode != null & mdatNode != null) {
                        NullPadding np = new NullPadding(fc.position() - Mp4BoxHeader.HEADER_LENGTH, fc.size());
                        DefaultMutableTreeNode trailingPaddingNode = new DefaultMutableTreeNode(np);
                        rootNode.add(trailingPaddingNode);
                        //logger.warning(ErrorMessage.NULL_PADDING_FOUND_AT_END_OF_MP4.getMsg(np.getFilePos()));
                        break;
                    } else {
View Full Code Here

TOP

Related Classes of org.jaudiotagger.audio.mp4.Mp4FileReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.