Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted Metadata & Incorrect Length for Specific Video Files #88

Open
Ahrimdon opened this issue Jul 25, 2024 · 0 comments
Open

Corrupted Metadata & Incorrect Length for Specific Video Files #88

Ahrimdon opened this issue Jul 25, 2024 · 0 comments

Comments

@Ahrimdon
Copy link

When downloading video files, some video files have incorrect metadata, such as incorrect bitrate (e.g. 48kbps) and incorrect length (11 minutes+). The files with incorrect length still open and play, however they stop after their correct length. I have repeated this with different versions of the tool, different settings selected, and downloading the same video files multiple times. The problem persists and only affects specific video files that remain constant each download attempt.

This was not an issue with version 1.5.7 and previous. Since the EXIF parser excludes files with the mp4 extension, I really am at a loss for what it could be.

Here is metadata for the same exact memory file, downloaded with different tools. One file has the correct metadata, while the file downloaded using this tool does not. I am using ExifTool v12.65 to extract the metadata.

Here is the file metadata for the memory (.mp4) downloaded using this tool. This contains the INCORRECT metadata.

---- ExifTool ----
ExifTool Version Number         : 12.65
---- System ----
File Name                       : August-07-1.mp4
Directory                       : D:/File Handling
File Size                       : 6.5 MB
File Modification Date/Time     : 2016:08:06 20:13:41-04:00
File Access Date/Time           : 2024:07:24 20:13:38-04:00
File Creation Date/Time         : 2024:07:24 20:13:22-04:00
File Permissions                : -rw-rw-rw-
---- File ----
File Type                       : MP4
File Type Extension             : mp4
MIME Type                       : video/mp4
---- QuickTime ----
Major Brand                     : MP4 Base Media v1 [IS0 14496-12:2003]
Minor Version                   : 0.2.0
Compatible Brands               : isom, iso2, avc1, mp41
Free                            : (Binary data 0 bytes, use -b option to extract)
Media Data Size                 : 6448126
Media Data Offset               : 48
Media Data                      : (Binary data 6448126 bytes, use -b option to extract)
Movie Header Version            : 0
Create Date                     : 0000:00:00 00:00:00
Modify Date                     : 0000:00:00 00:00:00
Time Scale                      : 1000
Duration                        : 0:09:21
Preferred Rate                  : 1
Preferred Volume                : 100.00%
Matrix Structure                : 1 0 0 0 1 0 0 0 1
Preview Time                    : 0 s
Preview Duration                : 0 s
Poster Time                     : 0 s
Selection Time                  : 0 s
Selection Duration              : 0 s
Current Time                    : 0 s
Next Track ID                   : 3
Handler Type                    : Metadata
Handler Vendor ID               : Apple
---- Track1 ----
Track Header Version            : 0
Track Create Date               : 0000:00:00 00:00:00
Track Modify Date               : 0000:00:00 00:00:00
Track ID                        : 1
Track Duration                  : 0:09:21
Track Layer                     : 0
Track Volume                    : 0.00%
Matrix Structure                : 0 1 0 -1 0 0 720 0 1
Image Width                     : 1280
Image Height                    : 720
Unknown edts                    : (Binary data 28 bytes, use -b option to extract)
Media Header Version            : 0
Media Create Date               : 0000:00:00 00:00:00
Media Modify Date               : 0000:00:00 00:00:00
Media Time Scale                : 19200
Media Duration                  : 0:09:21
Media Language Code             : und
Handler Type                    : Video Track
Handler Description             : Core Media Video
Graphics Mode                   : srcCopy
Op Color                        : 0 0 0
Compressor ID                   : avc1
Source Image Width              : 1280
Source Image Height             : 720
X Resolution                    : 72
Y Resolution                    : 72
Bit Depth                       : 24
AVC Configuration               : (Binary data 31 bytes, use -b option to extract)
Video Frame Rate                : 0.708
Sync Sample Table               : (Binary data 724 bytes, use -b option to extract)
Composition Time To Sample      : (Binary data 936 bytes, use -b option to extract)
Sample To Chunk                 : (Binary data 968 bytes, use -b option to extract)
Sample Sizes                    : (Binary data 1600 bytes, use -b option to extract)
Chunk Offset                    : (Binary data 796 bytes, use -b option to extract)
---- Track2 ----
Track Header Version            : 0
Track Create Date               : 0000:00:00 00:00:00
Track Modify Date               : 0000:00:00 00:00:00
Track ID                        : 2
Track Duration                  : 11.33 s
Track Layer                     : 0
Track Volume                    : 100.00%
Matrix Structure                : 1 0 0 0 1 0 0 0 1
Unknown edts                    : (Binary data 40 bytes, use -b option to extract)
Media Header Version            : 0
Media Create Date               : 0000:00:00 00:00:00
Media Modify Date               : 0000:00:00 00:00:00
Media Time Scale                : 44100
Media Duration                  : 11.33 s
Media Language Code             : und
Handler Type                    : Audio Track
Handler Description             : Core Media Audio
Balance                         : 0
Audio Format                    : mp4a
Audio Channels                  : 2
Audio Bits Per Sample           : 16
Audio Sample Rate               : 44100
Unknown esds                    : (Binary data 43 bytes, use -b option to extract)
Time To Sample Table            : (Binary data 40 bytes, use -b option to extract)
Sample To Chunk                 : (Binary data 1160 bytes, use -b option to extract)
Sample Sizes                    : (Binary data 1724 bytes, use -b option to extract)
Chunk Offset                    : (Binary data 452 bytes, use -b option to extract)
Sample Group Description        : (Binary data 18 bytes, use -b option to extract)
Sample To Group                 : (Binary data 20 bytes, use -b option to extract)
---- ItemList ----
Encoder                         : Lavf58.24.101
---- Composite ----
Image Size                      : 1280x720
Megapixels                      : 0.922
Avg Bitrate                     : 92 kbps
Rotation                        : 90

Here is the metadata for the same exact memory (.mp4) extracted using another memory downloading tool. This contains the CORRECT metadata.

---- ExifTool ----
ExifTool Version Number         : 12.65
---- System ----
File Name                       : 2016-08-07_00-13-21.mp4
Directory                       : D:/File Handling
File Size                       : 2.6 MB
File Modification Date/Time     : 2016:08:06 20:13:21-04:00
File Access Date/Time           : 2024:07:24 20:43:13-04:00
File Creation Date/Time         : 2024:07:24 20:43:11-04:00
File Permissions                : -rw-rw-rw-
---- File ----
File Type                       : MP4
File Type Extension             : mp4
MIME Type                       : video/mp4
---- QuickTime ----
Major Brand                     : MP4 v2 [ISO 14496-14]
Minor Version                   : 0.0.1
Compatible Brands               : mp41, mp42, isom
Wide                            : (Binary data 0 bytes, use -b option to extract)
Media Data Size                 : 2574794
Media Data Offset               : 44
Media Data                      : (Binary data 2574794 bytes, use -b option to extract)
Movie Header Version            : 0
Create Date                     : 2016:08:07 00:13:05
Modify Date                     : 2016:08:07 00:13:09
Time Scale                      : 44100
Duration                        : 3.87 s
Preferred Rate                  : 1
Preferred Volume                : 100.00%
Matrix Structure                : 1 0 0 0 1 0 0 0 1
Preview Time                    : 0 s
Preview Duration                : 0 s
Poster Time                     : 0 s
Selection Time                  : 0 s
Selection Duration              : 0 s
Current Time                    : 0 s
Next Track ID                   : 3
---- Track1 ----
Track Header Version            : 0
Track Create Date               : 2016:08:07 00:13:05
Track Modify Date               : 2016:08:07 00:13:09
Track ID                        : 1
Track Duration                  : 3.87 s
Track Layer                     : 0
Track Volume                    : 0.00%
Matrix Structure                : 0 1 0 -1 0 0 720 0 1
Image Width                     : 1280
Image Height                    : 720
Unknown edts                    : (Binary data 28 bytes, use -b option to extract)
Media Header Version            : 0
Media Create Date               : 2016:08:07 00:13:05
Media Modify Date               : 2016:08:07 00:13:09
Media Time Scale                : 600
Media Duration                  : 3.90 s
Media Language Code             : und
Handler Type                    : Video Track
Handler Description             : Core Media Video
Graphics Mode                   : srcCopy
Op Color                        : 0 0 0
Compressor ID                   : avc1
Source Image Width              : 1280
Source Image Height             : 720
X Resolution                    : 72
Y Resolution                    : 72
Bit Depth                       : 24
AVC Configuration               : (Binary data 35 bytes, use -b option to extract)
Color Profiles                  : nclx
Color Primaries                 : BT.709
Transfer Characteristics        : BT.709
Matrix Coefficients             : BT.601
Video Frame Rate                : 29.974
Composition Time To Sample      : (Binary data 928 bytes, use -b option to extract)
Sync Sample Table               : (Binary data 40 bytes, use -b option to extract)
Idependent And Disposable Samples: (Binary data 121 bytes, use -b option to extract)
Sample To Chunk                 : (Binary data 44 bytes, use -b option to extract)
Sample Sizes                    : (Binary data 480 bytes, use -b option to extract)
Chunk Offset                    : (Binary data 32 bytes, use -b option to extract)
---- Track2 ----
Track Header Version            : 0
Track Create Date               : 2016:08:07 00:13:05
Track Modify Date               : 2016:08:07 00:13:09
Track ID                        : 2
Track Duration                  : 3.77 s
Track Layer                     : 0
Track Volume                    : 100.00%
Matrix Structure                : 1 0 0 0 1 0 0 0 1
Unknown edts                    : (Binary data 40 bytes, use -b option to extract)
Media Header Version            : 0
Media Create Date               : 2016:08:07 00:13:05
Media Modify Date               : 2016:08:07 00:13:09
Media Time Scale                : 44100
Media Duration                  : 3.67 s
Media Language Code             : und
Handler Type                    : Audio Track
Handler Description             : Core Media Audio
Balance                         : 0
Audio Format                    : mp4a
Audio Channels                  : 2
Audio Bits Per Sample           : 16
Audio Sample Rate               : 44100
Unknown esds                    : (Binary data 43 bytes, use -b option to extract)
Time To Sample Table            : (Binary data 16 bytes, use -b option to extract)
Sample To Chunk                 : (Binary data 68 bytes, use -b option to extract)
Sample Sizes                    : (Binary data 644 bytes, use -b option to extract)
Chunk Offset                    : (Binary data 36 bytes, use -b option to extract)
---- Composite ----
Image Size                      : 1280x720
Megapixels                      : 0.922
Avg Bitrate                     : 5.32 Mbps
Rotation                        : 90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant