I am writing a user script to upload a video. The website flash player uses a JSON file.
The purpose of my script is to get the URL of the video by downloading and parsing the video according to the web page. Currently, it can download extracting video URLs successfully.
The important part of the JSON file looks like this:
{ "ammProfile": "AMM-HBBTV", "version": "VF", "versionProg": "1", "VFO": "HBBTV", "VMT": "mp4", "VUR": "http://vo.llnwd.net/v2/am/HBBTV/051332-074-A_SQ_2_VF_01464306_MP4-2200_AMM-HBBTV.mp4" }, { "ammProfile": "AMM-HBBTV", "version": "VF", "versionProg": "1", "VFO": "HBBTV", "VMT": "mp4", "VUR": "http://vo.llnwd.net/v2/am/HBBTV/051332-074-A_EQ_2_VF_01464315_MP4-1500_AMM-HBBTV.mp4" }
Both URLs here refer to the same video, it's just a change that changes.
So, How can I analyze the relevant metadata without downloading the whole file? The standard for the H.264 video codec is very difficult to read.
source share