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

How to add DRC data? #38

Open
xinyuwang-hotstar opened this issue Sep 9, 2022 · 10 comments
Open

How to add DRC data? #38

xinyuwang-hotstar opened this issue Sep 9, 2022 · 10 comments

Comments

@xinyuwang-hotstar
Copy link

Hi team,

Can you please share an example mp4 file with loudness box -- ludt data?

Or can you please share an example of drcInputBitStream.bit, so that we can run DRC_to_MP4?

It is confusing for me about how to add ludt data.

Thanks in advance!

@xinyuwang-hotstar
Copy link
Author

@edrthomas Could you please help?

@Frank-Ba
Copy link
Contributor

The loudness/DRC Metadata is based on MPEG-D DRC. You might need to use the reference software at http://wg11.sc29.org/svn/repos/MPEG-D/Part04-Dynamic_Range_Control/ to generate the data that you need.

@xinyuwang-hotstar
Copy link
Author

@Frank-Ba Thanks for your reply. But the link you shared is not accessible. Could you please share an example of drcInputBitStream.bit or an example mp4 file with loudness box?

@podborski
Copy link
Member

@xinyuwang-hotstar
Copy link
Author

@podborski Thanks a lot!

@xinyuwang-hotstar
Copy link
Author

Hi @podborski ,

Seems the ludt data in that mp4 file is not compatible with the ludt parsing code in this repo.

I tried to parse the DRC data with this MP4_to_DRC tool. But got below failure in LoudnessBaseAtom.c.

isobmff/bin# ./MP4_to_DRC -i ../../190010229-4c7eb4bc-4922-40ae-bfe2-9825867a778c.mp4 -b test.bit -a test.wav -t 1 -m 1 -d 5
Info: MP4 to DRC started.

Info: MP4 Inputfile: ../../190010229-4c7eb4bc-4922-40ae-bfe2-9825867a778c.mp4
Info: Audiotrack Number: 1
Info: DRC track Number: 1
Info: WAV audio output file: test.wav
Info: DRC bitstream output file: test.bit
self size: 36
self bytesRead: 19
MP4_to_DRC: /vod_v2/isobmff/IsoLib/libisomediafile/src/LoudnessBaseAtom.c:182: createFromInputStream: Assertion `self->bytesRead == self->size' failed.
Aborted
root@01e

Do you have any idea about this?

Thanks.

@Frank-Ba
Copy link
Contributor

@xinyuwang-hotstar the instructions how to use the software are provided in the ISOBM FF reference software package and attached here. I am afraid that it is necessary to also have the DRC reference software from the SVN server to make it work.
ReadMe.pdf

@xinyuwang-hotstar
Copy link
Author

@Frank-Ba Thanks, I also have seen this readme doc. But SVN is not accessible. I also tried to create new user at http://wg11.sc29.org/ , but still failed to create user. Seems http://wg11.sc29.org/ is out of maintenance.

@podborski
Copy link
Member

I have no idea where to get the DRC reference software from @cconcolato any suggestions?

@Frank-Ba
Copy link
Contributor

Frank-Ba commented Feb 15, 2024 via email

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

3 participants