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

Lipsync - PAL Analogue audio sample rate is 44170 and not 44100 #650

Closed
IanSmallshire opened this issue Jul 16, 2021 · 0 comments
Closed

Comments

@IanSmallshire
Copy link
Collaborator

IanSmallshire commented Jul 16, 2021

After processing and running the following commands on a full disc decode:

#process the full set of metadata
ld-process-vbi $1.tbc
ld-process-vits $1.tbc
ld-export-metadata --vits-csv $1.vits.csv --vbi-csv $1.vbi.csv --ffmetadata$1.ffmeta $1.tbc.json

Open the vits.csv file and verify that the total number of audio samples over 50 fields (25fps) is 44100

In the case of the disc decoded then it is calculating at circa 44170 which causes significant lip sync issues near the end of the disc.

Quick view in excel shows the formula and the 50 frame total.
image

The TBC has 88729 frames which is 3549.16seconds.
The PCM has 627074564 bytes which is 156768641 samples
divide the time 3549.16 by 156768641 samples makes the sample rate 44170.63220593042 over the file.

Would also be possible to add this into the automated testing for Both PAL and NTSC and this would also test the ld-process-vits & ld-export-metadata processes.

If required the British Garden Birds disc is PAL Analogue audio!

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