Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th July 2018, 17:29   #21  |  Link
kaefert
Registered User
 
Join Date: Jul 2013
Posts: 60
I have ton's of BMDV folders coming from a Panasonic video camera. I would like to parse the timestamp of each recorded clip from the clpi files. (I know the date of each recording, but not time.)

I'm trying to identify possible byte addresses of that possibly stored timestamp within the clpi files by comparing clpi files from the same day versus comparing clpi files from different days vs from different years. (I'm using "vbindiff" to make the differences visible)

Addresses that look more different the farther apart two clips are should be good candidates for timestamps.

I'm documenting my findings here, maybe they will be useful for others too:

0x17 & 0x1B: single bytes that always have different values, 0x1B seems to be equal to the value of 0x17 plus 4.
0x39 - 0x3B: 3 bytes always different, didn't find a pattern yet.
0xE2 - 0xEA: Most clips: ASCII "00001M2TS" where the number is counting (and is always the number in the filename+1), Those clips have a 0x01 at address 0xDD. Clips with a 0x00 at 0xDD don't have this ASCII string. Some of the clips without ASCII string have value 0x00F6 instead of 0x0106 @ 0xE & 0xF. Those files are missing 0x10 bytes between 0xC3 & 0xEF. So for those clips 0x10 must be subtracted for any address higher than 0xEF for the value to match the discription.
0x100 - 0x105: Clips on the same day mostly only vary on 0x101 & 0x103 - 0x105, clips from different days also vary in 0x100.
0x119 contains the 0x30 described by others above as coding for aspect ratio at address 0x109 (which is the address of this 0x30 for clpi files without the ASCII string mentioned 3 lines above.)
0x146 - 0x147, 0x151 - 0x153, 0x15B: more changes. I can't see any patterns here..

Last edited by kaefert; 28th July 2018 at 23:03.
kaefert is offline   Reply With Quote
Old 28th July 2018, 17:55   #22  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 292
Quote:
Originally Posted by kaefert View Post
I have ton's of BMDV folders coming from a Panasonic video camera. I would like to parse the timestamp of each recorded clip from the clpi files. (I know the date of each recording, but not time.)
Maybe try AVCHDInfo ...
videofan3d is offline   Reply With Quote
Old 28th July 2018, 19:41   #23  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,004
There's no need to guess or reverse-engineer; the bluray specs are readily available online if you search for them (yes, free copies).
videoh is offline   Reply With Quote
Old 28th July 2018, 23:04   #24  |  Link
kaefert
Registered User
 
Join Date: Jul 2013
Posts: 60
oh thanks, I'll check it out.
update: hmm, this seems to be windows only.. doesnt work with mono..
And I did search for specs of those clpi files, this thread was the only thing I found.

UPDATE: yess! that worked! With wine AVCHDInfo.exe can extract Timestamps for each frame of an m2ts file, so it doesn't need the clpi files to get that info but only the video file itself
UPDATE2: ahh, and the MPLS2JSON.exe tool shows me that I've been looking for a non existent needle in the haystack, no timestamp infos in there

Last edited by kaefert; 28th July 2018 at 23:21.
kaefert is offline   Reply With Quote
Old 5th August 2018, 16:27   #25  |  Link
neil wilkes
Registered User
 
neil wilkes's Avatar
 
Join Date: Apr 2004
Location: London, England
Posts: 152
Quote:
Originally Posted by videoh View Post
There's no need to guess or reverse-engineer; the bluray specs are readily available online if you search for them (yes, free copies).
Where, please?
According to the official specs site, I need to have these books and a license just to use the perishing logo (see Authoring House Logo Usage) section at the BDA Licensing office

It doesn't stop there either, as I also need the BD-RE2 specs to cover any Java issues - most of the good information on BD-J is long since taken down (probably because Netflix & Amazon use a very similar system on their pay per view models) and even HD Cookbook site is history these days.

So if you could kindly point me in the right direction it would be greatly appreciated
__________________
www.opusproductions.com
Multichannel Audio Productions
DVD-Audio/Video Authoring specialists
neil wilkes is offline   Reply With Quote
Reply

Tags
avchd, bluray, clpi, m2ts, structure

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.