MP4Info | clone from https : //www.bento4.com/documentation/mp4info/
kandi X-RAY | MP4Info Summary
kandi X-RAY | MP4Info Summary
Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15. The format is a derivative of the Apple Quicktime file format, so Bento4 can be used to read and write most Quicktime files as well. Visit [www.bento4.com] for details.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MP4Info
MP4Info Key Features
MP4Info Examples and Code Snippets
Community Discussions
Trending Discussions on MP4Info
QUESTION
I need some help to understand the avcC
atom structure of a particular mp4 sample I am trying to analyze.
Hex dump:
00 00 00 38 61 76 63 43 01 64 00 1F FF E1 00 1C 67 64 00 1F AC D9 80 50 05 BB 01 6A 02 02 02 80 00 00 03 00 80 00 00 1E 07 8C 18 CD 01 00 05 68 E9 7B 2C 8B FD F8 F8 00 00 00 00 13 63 6F 6C 72
This is what I understand from the above:
00 00 00 38
Size of avcC atom
61 76 63 43
avcC signature
01
configurationVersion
64
AVCProfileIndication
00
profile_compatibility
1F
AVCLevelIndication
FF
111111b + lengthSizeMinusOne
E1
111b + numOfSequenceParameterSets (in this case, 1 SPS)
00 1C
SPS length (in this case, 28 bytes)
67 64 00 1F AC D9 80 50 05 BB 01 6A 02 02 02 80 00 00 03 00 80 00 00 1E 07 8C 18 CD
SPS data (28 bytes as per above)
01
numOfPictureParameterSets (in this case, 1 PPS)
00 05
PPS length
This is where the problem begins. Based on the PPS length given by the previous bytes, the next 5 bytes should be the PPS data: 68 E9 7B 2C 8B
However according to the avcC header, the total length of the atom is 56 bytes (0x38
), which means that the following 4 bytes should be included: FD F8 F8 00
But the problem is that the PPS length is given as 5 bytes (0x05
). So what exactly are these final 4 bytes?
Then follows the header of the colr
atom:
00 00 00 13
size of colr atom
63 6F 6C 72
colr signature
Which I have checked and is indeed 19 bytes in length (0x13
).
The problem is with the avcC atom and with that particular mp4 sample I am analyzing (I've checked other samples too and they didn't have this peculiarity).
You can find the sample here.
EDIT
mp4info
tool from the bento4 suite reports the following as the avcC atom's size: 8+48
And mp4dump
reports:
ANSWER
Answered 2021-Mar-22 at 17:50I dind't get any answer but fortunately a bit more careful reading of ISO 14496-15
solved this issue:
QUESTION
I am trying to play back a video (currently hosted on S3 with public access) by creating a blob URL.
I have used Elastic Transcoder to encode the video since it is supposed to set the MOOV atom to the top (beginning).
I am unable to get the code to work but also found a working example: link here
Here is my code:
...ANSWER
Answered 2018-Jun-14 at 17:10So, first, even though this code seems to be taken from mozilla documentation site, there are a few issues - you are not checking the readyState
before calling endOfStream
thus the error you get is valid, secondly, the play()
call is blocked by the autoplay policy changes. If you add an error handler, you will actually see that the appendBuffer
fails. Here is the updated snippet:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MP4Info
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page