-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fits produces illegal xml for 25 FPS video #390
Comments
@kaylieackerman Are you able to attach the full output, including the raw MediaInfo output. If you are using the CLI, you get the raw tool output with the |
This is from a different file but same issue: fits -t flag x-fmt/384 Apple QuickTime /Volumes/mediapres2/_drs-dropbox/staging/JASON/_VIDEO/20241021-131096-007/990137675490203941/deliverable/990137675490203941_DM_01_01.mov 990137675490203941_DM_01_01.mov 4168500385 1729886557000 334 1 General General 0 2 1 1 1 AVC / JPEG AVC / JPEG AVC / JPEG AAC LC AAC LC AAC LC English QuickTime TC QuickTime TC QuickTime TC Timed Text Timed Text Timed Text English /Volumes/mediapres2/_drs-dropbox/staging/JASON/_VIDEO/20241021-131096-007/990137675490203941/deliverable/990137675490203941_DM_01_01.mov /Volumes/mediapres2/_drs-dropbox/staging/JASON/_VIDEO/20241021-131096-007/990137675490203941/deliverable 990137675490203941_DM_01_01.mov 990137675490203941_DM_01_01 mov MPEG-4 MPEG-4 braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v MPEG-4 QuickTime video/mp4 qt qt 0000.00 (qt ) http://www.apple.com/quicktime/download/standalone.html 0000.00 qt 4168500385 3.88 GiB 4 GiB 3.9 GiB 3.88 GiB 3.882 GiB 5049169 1 h 24 min 1 h 24 min 9 s 169 ms 1 h 24 min 01:24:09.169 01:24:04:03 01:24:09.169 (01:24:04:03) VBR Variable 6604652 6 605 kb/s 23.976 23.976 FPS 121059 2569114 2.45 MiB (0%) 2 MiB 2.5 MiB 2.45 MiB 2.450 MiB 2.45 MiB (0%) 0.00062 2568871 4165931514 0 Yes UTC 2024-10-25 19:45:48 UTC 2024-10-25 20:02:14 UTC 2024-10-25 20:02:37 2024-10-25 16:02:37 Apple QuickTime Apple QuickTime Apple QuickTime 00:00:00:00 24000 1001 383 2 Video Video 0 1 1 2 2 AVC AVC Advanced Video Codec http://developers.videolan.org/x264.html AVC High@L4 CABAC / 2 Ref Frames Yes Yes 2 2 frames video/H264 avc1 Advanced Video Coding 5049169 1 h 24 min 1 h 24 min 9 s 169 ms 1 h 24 min 01:24:09.169 01:24:04:03 01:24:09.169 (01:24:04:03) 6494476 6 494 kb/s 1920 1 920 pixels 1080 1 080 pixels 1088 1920 1080 1.000 1.778 16:9 0.000 CFR Constant 23.976 23.976 (24000/1001) FPS 24000 1001 121059 YUV 4:2:0 4:2:0 8 8 bits Progressive Progressive 0.131 0 00:00:00.000 00:00:00:00 00:00:00.000 (00:00:00:00) DropFrame=No / 24HourMax=No / IsVisual=No No Container Container 4098967596 3.82 GiB (98%) 4 GiB 3.8 GiB 3.82 GiB 3.817 GiB 3.82 GiB (98%) 0.98332 <Title>Core Media Video</Title> UTC 2024-10-25 19:45:48 UTC 2024-10-25 20:02:14 Yes Container / Stream Limited Stream BT.709 Container / Stream BT.709 Container / Stream BT.709 Container / Stream 4,5 avcC 382 2 Video Video 1 2 4 5 5 JPEG JPEG JPEG video/JPEG jpeg http://www.apple.com/quicktime/download/standalone.html 5049127 1 h 24 min 1 h 24 min 9 s 127 ms 1 h 24 min 01:24:09.127 01:24:09.127 VBR Variable 781 781 b/s 1920 1 920 pixels 1080 1 080 pixels 1920 1080 1.000 1.778 16:9 0.000 VFR Variable 0.001 0.001 FPS 0.001 0.001 FPS 0.100 0.100 FPS 6 YUV 4:2:0 4:2:0 8 8 bits Lossy Lossy 0.377 0 00:00:00.000 00:00:00.000 DropFrame=No / 24HourMax=No / IsVisual=No No Container Container 585387 572 KiB (0%) 572 KiB 572 KiB 572 KiB 571.7 KiB 572 KiB (0%) 0.00014 <Title>Core Media Video</Title> No No UTC 2024-10-25 19:45:48 UTC 2024-10-25 20:02:14 2 287 1 Audio Audio 0 0 1 1 AAC AAC LC Advanced Audio Codec Low Complexity AAC LC mp4a-40-2 5049169 1 h 24 min 1 h 24 min 9 s 169 ms 1 h 24 min 01:24:09.169 01:24:09.169 5049216 1 h 24 min 1 h 24 min 9 s 216 ms 1 h 24 min 01:24:09.216 01:24:09.216 CBR Constant 105171 105 kb/s 128000 128 kb/s 2 2 channels Front: L R 2/0/0 L R 1024 48000 48.0 kHz 242360112 46.875 46.875 FPS (1024 SPF) 236680 236682 Lossy Lossy 0 00:00:00.000 00:00:00.000 No Container Container 0 00:00:00.000 00:00:00.000 66378288 63.3 MiB (2%) 63 MiB 63 MiB 63.3 MiB 63.30 MiB 63.3 MiB (2%) 0.01592 66378345 63.3 MiB (2%) 63 MiB 63 MiB 63.3 MiB 63.30 MiB 63.3 MiB (2%) 0.01592 <Title>Core Media Audio</Title> en English English en eng en UTC 2024-10-25 19:45:48 UTC 2024-10-25 20:02:14 -44 Container 193 1 Other Other 0 2 3 3 Time code QuickTime TC QuickTime TC QuickTime TC 5049169 1 h 24 min 1 h 24 min 9 s 169 ms 1 h 24 min 01:24:09.169 01:24:04:03 01:24:09.169 (01:24:04:03) 23.976 23.976 (24000/1001) FPS 24000 1001 121059 00:00:00:00 01:24:04:02 No Yes Yes <Title>Core Media Time Code</Title> UTC 2024-10-25 19:45:48 UTC 2024-10-25 20:02:14 98 1 Menu Menu 0 3 4 4 Timed Text Timed Text Timed Text text 5049127 1 h 24 min 1 h 24 min 9 s 127 ms 1 h 24 min 01:24:09.127 01:24:09.127 0 00:00:00.000 00:00:00.000 No Container <Title>Core Media Text</Title> en English English en eng en 94 94 UTC 2024-10-25 19:45:48 UTC 2024-10-25 20:02:14 2 chap x-fmt/384 Quicktime video/quicktime null ISO Media, Apple QuickTime movie, Apple QuickTime (.MOV/QT) video/quicktime; charset=binary video/quicktime ISO Media, Apple QuickTime movie, Apple QuickTime (.MOV/QT) /Volumes/mediapres2/_drs-dropbox/staging/JASON/_VIDEO/20241021-131096-007/990137675490203941/deliverable/990137675490203941_DM_01_01.mov 990137675490203941_DM_01_01.mov 4168500385 1729886557000 Unknown Binary application/octet-streamfits -x flag:
raw mediainfo output from mediainfo: General Video #1 Video #2 Audio Other Menu |
FITS produces illegal start elements when the video framerate is 25 fps. For example:
ebucore:start
<ebucore:editUnitNumber editRate="0" factorNumerator="1000" factorDenominator="1001">0</ebucore:editUnitNumber>
</ebucore:start>
ebucore:duration
<ebucore:editUnitNumber editRate="1000" factorNumerator="1" factorDenominator="1">3097360</ebucore:editUnitNumber>
</ebucore:duration>
The editrate attribute is define in the schema as a positiveInteger. An edit rate of 0 is non-sensical and illegal.
Also, it is confusing that the file has its time expressed in two different time-bases since a file can only really have a single timebase for any given video stream. I believe the timebase in the start above of 1000/1001 is incorrect since you don’t see that rate in 25fps video normally.
The text was updated successfully, but these errors were encountered: