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 > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th January 2014, 14:13   #1  |  Link
fvisagie
Registered User
 
Join Date: Aug 2008
Location: Isle of Man
Posts: 586
Filter for extracting H.264/AVC metadata

Hi All,

I'm looking for a tool to extract my camera's metadata (datecode, timecode, user bit and esp. camera settings). It writes H.264 to either M2TS or MP4 format. Preferably an Avisynth filter, something like DVInfo. Any suggestions?

Thanks a lot,
Francois
fvisagie is offline   Reply With Quote
Old 28th January 2014, 15:27   #2  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,085
Hi fvisagie,

I'm assuming you're talking about your Canon HF G30 camera? Unfortunately I do not know of an AviSynth plugin to do this.
Does your camera write a THM file along with your recorded video? If so an alternate way of getting a complete metadata from your videos is by opening the THM file in JPEGsnoop or PhotoME.

For example lets say my Canon 7D writes a file named MVI_2645.MOV, the corresponding THM file with be named MVI_2645.THM.
With PhotoME I get the following metadata:
Code:
[ PhotoME ]
PhotoME version: 0.82 (Build 891)

[ Overview ]
File name: M:\Canon\MVI_2645.THM
File type: Canon Thumbnail
File size: 17.8*KB
Creation date: 1/25/2013 18:33
Last modification: 1/25/2013 18:34
Make: Canon
Camera: Canon EOS 7D
Lens: Canon EF 24-70mm F2.8L USM
Software: Firmware Version 2.0.3
Dimension: 160 x 120*px*(4:3)
Focal length: 70*mm
Aperture: F2.8
Exposure time: 1/125"
ISO speed rating: 617/29
Program: Manual (Manual)
Metering Mode: Center-weighted average
White Balance: Auto
Focus Mode: Off (Manual Focus)
Noise Reduction: Off
Flash: Flash did not fire, compulsory flash mode

[ Camera ]
Exposure time: 1/125"
F number: F2.8
Exposure program: Manual
ISO speed rating: 640/29
??? (8830): 2
??? (8832): 640
Exif version: 2.3
Date and time of original data generation: 2013-01-25 18:33:33
Date and time of digital data generation: 2013-01-25 18:33:33
Meaning of each component: YCbCr
Shutter speed: 7*Tv (1/125")
Aperture: 3*Av (F2.8)
Exposure bias: 0*EV
Metering mode: Center-weighted average
Flash: Flash did not fire, compulsory flash mode
Lens focal length: 70*mm
Manufacturer notes: 0x00000382
User comment: 
DateTime subseconds: 0.22"
DateTimeOriginal subseconds: 0.22"
DateTimeDigitized subseconds: 0.22"
Supported Flashpix version: 1.0
Color space: sRGB
Image width: 160*px
Image height: 120*px
Interoperability IFD Pointer: 0x00000D70
Focal plane X resolution: 176.41*ppi
Focal plane Y resolution: 201.68*ppi
Focal plane resolution unit: inch
Custom image processing: Normal process
Exposure mode: Manual exposure
White balance: Auto
Scene capture type: Standard
??? (A430): 
??? (A431): 2571208718
??? (A432): 24, 70, 0, 0
??? (A434): EF24-70mm f/2.8L USM

[ Manufacturer notes ]
??? (0001): 98
Macro Mode: Normal
Length of self-timer: Off
Quality: 65535
Flash Mode: Not set
Continuous Drive Mode: Movie
??? (0001): 0
Focus Mode: Manual Focus
??? (0001): 0
Record Mode: 9
Image Size: 137
Easy Mode: Manual
Digital Zoom: None
Contrast: -4
Saturation: -2
Sharpness: Not set
Camera ISO: Not set
Metering Mode: Center-weighted average
Focus Range: Not known
AF Point Selected: Not set
Exposure Mode: Manual
??? (0001): 65535
Lens Name: Canon EF 24-70mm F2.8L USM
Long Focal: 70*"focal*units" (70*mm)
Short Focal: 24*"focal*units" (24*mm)
"focal units" per mm: 1
Max Aperture: F2.8
Min Aperture: F22.6
Flash Activity: 0
Flash Details: No flash used
??? (0001): 0
??? (0001): 0
Focus Continuous: Not set
AE Setting: Not set
Image Stabilization: Not set
Display Aperture: Not set
Zoom Source Width: Not set
Zoom Target Width: Not set
??? (0001): 0
Spot Metering Mode: Not set
Photo Effect: Not set
Manual Flash Output: Not set
Color Tone: Normal
??? (0001): 32767
??? (0001): 65535
??? (0001): 65535
Focal Type: Not set
Focal Length: 70*mm
Focal Plane X Size: 296.55*mm
Focal Plane Y Size: 500.13*mm
??? (0003): 0
??? (0003): 0
??? (0003): 0
??? (0003): 0
??? (0004): 68
Auto ISO: 100/21
Base ISO: 617/29
Measured EV: +3.13*EV
Target Aperture: F2.8
Target Exposure Time: 1/128"
Exposure Compensation: 0 EV
White Balance: Auto
Slow Shutter: None
Sequence number: Not set
Optical Zoom Code: 8 (Not set)
??? (0004): 8
??? (0004): 155
Flash Guide Number: Not set
AF Points in Focus (2): Not set
Flash Bias: 0 EV
Auto Exposure Bracketing: Off
AEB Bracket Value: 0 EV
Control Mode: Camera Local Control
Focus Distance Upper: Unknown
Focus Distance Lower: Unknown
F Number: F2.8
Exposure Time: 1/128"
??? (0004): 112
Bulb Duration: Not set
??? (0004): 0
Camera Type: EOS High-end
Auto Rotate: Rotated by Software
ND Filter: Not set
Self-Timer (2): Not set
??? (0004): 65535
??? (0004): 0
??? (0004): 0
Flash Output: Not set
Image Type: MVI:Canon EOS 7D
Firmware Version: Firmware Version 2.0.3
Owner Name: 
Camera Body No.:
Model ID:
??? (0011): 262, 65535, 3868, 16386, 3868, 0, 60000, 1001, 0, 60000, 1001, 53245, 20738, 0, 0, 61152, ...
Thumbnail Image Valid Area: Left: 0px;*Right: 159px;*Top: 15px;*Bottom: 104px
??? (0019): 1
AF Mode: Off (Manual Focus)
Number of AF Points: 0
Number of active AF Points: 0
Image Width: 0*px
Image Heigth: 0*px
AF Image Width: 0
AF Image Height: 0
AF Points In Fokus: None
AF Points Selected: None
??? (0035): 16, 4294966936, 28, 0
??? (FFFF): <Invalid Data Offset>
??? (0093): 60
??? (0093): 0
??? (0093): 0
Bracket Mode: Off
Bracket Value: 0
Bracket Shot Number: 0
RAW JPEG Quality: Not set
RAW JPEG Size: Large
Noise Reduction: Off
WB Bracket Mode: Off
??? (0093): 0
??? (0093): 0
WB Bracket Value AB: 0
WB Bracket Value GM: 0
??? (0095): EF24-70mm f/2.8L USM
Internal Serial Number: S1057298A
??? (0098): 0, 0, 0, 0
??? (0099): 496, 4, 1, 92, 7, 257, 1, 0, 258, 1, 0, 259, 1, 0, 260, 1, ...
??? (009A): 0, 0, 0, 0, 0
Tone Curve: Standard
Sharpness Frequency: n/a
Sensor Red Level: Not set
Sensor Blue Level: Not set
White Balance Red: Not set
White Balance Blue: Not set
Color Temperature: 4500*K
Picture Style: User Def. 1
Digital Gain: 0
WB Shift A/B: 0
WB Shift G/M: 0
Color Space: sRGB
VRD Offset: 0x00000000
Sensor Info Size: 34*bytes
Sensor Width: 5360*px
Sensor Height: 3516*px
??? (00E0): 1
??? (00E0): 1
Sensor Left Border: 168*px
Sensor Top Border: 56*px
Sensor Right Border: 5351*px
Sensor Bottom Border: 3511*px
Black Mask Left Border: Not set
Black Mask Top Border: Not set
Black Mask Right Border: Not set
Black Mask Bottom Border: Not set
??? (00E0): 0
??? (00E0): 0
??? (00E0): 0
??? (00E0): 0
Black Level: [65, 129, 129]
??? (4009): 132, 0, 0
??? (4010): CineStyle
??? (4012): 
??? (4018): 28, 0, 3, 0, 0, 3, 0

[ Interoperability ]
Interoperability Identification: THM: DCF thumbnail file
Interoperability Version: 1.0
Related image width: 1280*px
Related image height: 720*px
I left out some metadata, but as you can see it's very comprehensive.
Reel.Deel is offline   Reply With Quote
Old 30th January 2014, 09:23   #3  |  Link
fvisagie
Registered User
 
Join Date: Aug 2008
Location: Isle of Man
Posts: 586
Thanks Reel.Deel, I'll look into those.

Cheers,
Francois
fvisagie is offline   Reply With Quote
Old 30th January 2014, 14:26   #4  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,085
Disregard JPEGsnoop. It's not as extensive as PhotoME. (I meant to edit but the forum was down.)
Reel.Deel is offline   Reply With Quote
Reply

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 03:38.


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