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

Error when importing ADM BWF files into DaVinci Resolve. #28

Closed
bluewidy opened this issue Oct 9, 2022 · 274 comments
Closed

Error when importing ADM BWF files into DaVinci Resolve. #28

bluewidy opened this issue Oct 9, 2022 · 274 comments
Assignees

Comments

@bluewidy
Copy link

bluewidy commented Oct 9, 2022

davinci resolve adm bwf import

I created an ADM BWF file using cavernize_gui and tried to import it into DaVinci Resolve, but I get an error:
"Master file contains an illegal object patched into bed channels 1-10. Import aborted."

@VoidXH VoidXH self-assigned this Oct 9, 2022
@VoidXH VoidXH added the bug label Oct 9, 2022
@VoidXH
Copy link
Owner

VoidXH commented Oct 9, 2022

Did you use an E-AC-3 source? In that case, there are no bed channels at all. This is not an Atmos master export, but a standard ADM BWF. Does DaVinci have an option to import just an ADM BWF, and not a complete Atmos Master?

@bluewidy
Copy link
Author

bluewidy commented Oct 9, 2022

Your prediction is correct. I used the EAC3 source, and DaVinci Resolve requires a complete atmos master. So this should be assigned to a feature request and not a bug. Can you add the ability to create a complete atmos master file from an EAC3 source?

@VoidXH
Copy link
Owner

VoidXH commented Oct 9, 2022

I'll try some workarounds, #25 might be completely bypassed if it works.

@VoidXH VoidXH added enhancement and removed bug labels Oct 9, 2022
@bluewidy
Copy link
Author

bluewidy commented Oct 9, 2022

Thank you very much for your hard work.

@bluewidy
Copy link
Author

Btw, do you think it's technically possible to create an atmos master file in EAC3-JOC? I think this is a topic similar to the entropy reversal in the movie "Tenet".

@VoidXH
Copy link
Owner

VoidXH commented Oct 10, 2022

Btw, do you think it's technically possible to create an atmos master file in EAC3-JOC?

It's technically made from the master, but it defeats the purpose for master storage. Masters have to store all information (which merged objects and compressed tracks don't).

@bluewidy
Copy link
Author

merged objects

This is an off-topic question for a while, but I have a question. You used the word "merge". This piques my curiosity. What I am curious about is that when a master file with 118 objects is encoded with EAC3-JOC, looking at the output file as media info, the object is marked as 15 and the bed configuration is specified as LFE.

My question is...

  1. does this mean that 118 objects are clustered into 15?
  2. Why is the bed configuration specified as LFE and not 7.1.2?

@VoidXH
Copy link
Owner

VoidXH commented Oct 10, 2022

  1. does this mean that 118 objects are clustered into 15?

Yes.

  1. Why is the bed configuration specified as LFE and not 7.1.2?

There is no bed for E-AC-3. It could have bed channels, but since channels + objects <= 16, it's better to use objects at the location of channels, and move them around when neccessary.

@bluewidy
Copy link
Author

channels + objects <= 16

Thank you for answering the question. But, Microsoft and Dolby docs say channel + object <= 32

https://learn.microsoft.com/en-us/windows/win32/coreaudio/spatial-sound
https://games.dolby.com/atmos/documentation/#GameVLinear

Microsoft document
dolby document

@bluewidy
Copy link
Author

bluewidy commented Oct 10, 2022

I see. That's quite valuable information for me. Thank you! and

By me.

That's pretty cool XD

@VoidXH
Copy link
Owner

VoidXH commented Oct 10, 2022

Please give the latest version a try, @bluewidy.

@ValZapod, please try this in the Dolby encoder. If it detects a 7.1.2 bed, it might not want to see the DBMD.

@VoidXH
Copy link
Owner

VoidXH commented Oct 10, 2022

Nah, it's just that I won't be able to skip DBMD. At least the bed hack works and this can be closed. In case DaVinci is still crying, wait for #25.

@VoidXH VoidXH closed this as completed Oct 10, 2022
@bluewidy
Copy link
Author

I am still crying.
Davinci resolve atmos master import error

@VoidXH
Copy link
Owner

VoidXH commented Oct 10, 2022

Okay, DBMD hacking it is. Please follow #25 for the progress where I might ask for help at checkpoints, because I have no software to test this in.

@bluewidy
Copy link
Author

Yes, teacher.

@bluewidy
Copy link
Author

@VoidXH
Copy link
Owner

VoidXH commented Nov 12, 2022

Reopened for further evaluation.

@VoidXH VoidXH reopened this Nov 12, 2022
@bluewidy
Copy link
Author

what.i.did.mp4

Is there something I'm doing wrong?

@bluewidy
Copy link
Author

Still.not.working.mp4

Still not working.

@bluewidy
Copy link
Author

bluewidy commented Nov 13, 2022

still.not.working.2.mp4

You do have x64 bit windows, right?

Yes.
and still not working... Now the only variable I can think of is ffmpeg. Can you provide the ffmpeg you are using?

@bluewidy
Copy link
Author

I'm sorry. I misunderstood. wait a sec.

@bluewidy
Copy link
Author

@bluewidy
Copy link
Author

You file looks wrong.

Are you saying the .ec3 file is wrong?

@bluewidy
Copy link
Author

bluewidy commented Feb 7, 2023

as you can't go over the 8 channel limit by any means. Operating systems have this limitation

loopback.recording.mp4

Does Dolby Reference Player bypass OS limitations?

@VoidXH
Copy link
Owner

VoidXH commented Feb 7, 2023

Those are non-standard interface channels. I don't know what you'd want with them, but you can play Cavern-rendered 16-channel content this way. I don't know why you'd want that since DRP already does it.

@bluewidy
Copy link
Author

bluewidy commented Feb 7, 2023

You are right. I had forgotten about the existence of DRP.

Cavern.mp4

and Did I configure something wrong in Cavern? It is output in stereo.

@VoidXH
Copy link
Owner

VoidXH commented Feb 7, 2023

Because you have a non-standard audio interface, Unity defaulted to stereo, as it only supports standard interfaces (stereo, quadro, 5.1, and 7.1). This results in a downmix by Cavern.

@bluewidy
Copy link
Author

bluewidy commented Feb 7, 2023

Sir, recently, a lot of news related to AI has been released on TV. Don't you interested in Copilot or chatGPT? Perhaps they can help your programming.

@VoidXH
Copy link
Owner

VoidXH commented Feb 7, 2023

Copilot is a licensing nightmare and is mostly banned in the industry, but chatGPT already helps (for example, the huge export speed optimization is mainly thanks to it).

@bluewidy
Copy link
Author

bluewidy commented Feb 7, 2023

Nice

@bluewidy
Copy link
Author

bluewidy commented Feb 8, 2023

Is it possible to train Dolby PDF documents to ChatGPT? I want to teach ChatGPT such professional information. Like :
https://professional.dolby.com/siteassets/technologies/dolbt_atmos_ac-4_whitepaper.pdf

@bluewidy
Copy link
Author

bluewidy commented Feb 8, 2023

ChatGPT doesn't seem to like PDF 😞
ChatGPT

@bluewidy
Copy link
Author

bluewidy commented Feb 8, 2023

Not to mention it has browsing disabled

Yeah... so it seems like I have to copy paste the text from the PDF.
ChatGPT Learning Textinfo

@VoidXH
Copy link
Owner

VoidXH commented Feb 8, 2023

I know you really want it to write some updates, but it's just not possible. ChatGPT can write 20 lines of code at most without some serious errors (like it thinks prime numbers can end in 5), but it's really good at naming algorithms by prompt. Writing them is another story, it fails with basic things like coding a phase unwrapper, this is why it's banned from Stack Overflow. Cavern's E-AC-3 decoder is about 10000 lines of code, AC-4 would be twice as much, which is well over any practical limits of any AI by magnitudes. It helps, but won't substitute learning coding.

@bluewidy
Copy link
Author

bluewidy commented Feb 8, 2023

you really want it to write some updates

No, I don't want anything. I am satisfied with the current status. I was just saying it to improve your convenience.

@VoidXH
Copy link
Owner

VoidXH commented Feb 8, 2023

That's admirable. ChatGPT actually knows about Dolby standards, you can ask it about fields, offsets, this kind of stuff, but breaks at conditions.

@bluewidy
Copy link
Author

bluewidy commented Feb 8, 2023

Hey 🎳, Are you know about Dolby Vision? I'll use my samsung smartphone semi-permanently unless breaks down. The content I watch in my free time is very often made in Dolby Vision. The problem is that my smartphone only supports HDR10+ and does not support Dolby Vision... I am looking for software to convert Dolby Vision to HDR10+.

@bluewidy
Copy link
Author

bluewidy commented Feb 8, 2023

Sir, Is the DD+ "Atmos" encoding functionality you're trying to implement constitutes a channel rather than an object?

@VoidXH
Copy link
Owner

VoidXH commented Feb 8, 2023

Yes

@bluewidy
Copy link
Author

bluewidy commented Feb 8, 2023

"x265 dv" filter you know where

I don't know where.
And what I want is to try to watch Dolby Vision on my Galaxy smartphone. with dynamic metadata.
This is why I am looking for a tool to convert Dolby Vision to HDR10+.

@bluewidy
Copy link
Author

bluewidy commented Feb 9, 2023

quietvoid/dovi_tool#23 (comment)
The tool's developer has not implemented the feature and he has no intention of implementing it.

@bluewidy
Copy link
Author

bluewidy commented Feb 9, 2023

Hmm... Sir, I have a question regarding the 9.1.6 CBI encoding. If I downmix a Dolby Atmos master file to 9.1.6, then encode it to DD+ATMOS,
this means that on a 9.1.6 Dolby Atmos support speaker system, user get the feeling of 118 objects panning instead of 15 clustered objects panning?

@VoidXH
Copy link
Owner

VoidXH commented Feb 9, 2023

They get this feeling either way. If done well, and there are at least as many objects as channels, it doesn't matter.

@bluewidy
Copy link
Author

bluewidy commented Feb 11, 2023

Sir, Is it possible to implement drag and drop in Cavern? Currently I have to import files by tracing the path of the directory and manually selecting it, but drag and drop support would be nice for lazy people like me.

@VoidXH
Copy link
Owner

VoidXH commented Feb 11, 2023

If you drag out the right side of the window, you can drag and drop to the queue.

@bluewidy
Copy link
Author

bluewidy commented Mar 6, 2023

https://ffmpeg.org/
Hey 🎳, FFMPEG 6.0 is released! I'll check today to see if the complexity index bug has been fixed.
I checked now... it didn't fix it.

@bluewidy
Copy link
Author

bluewidy commented Mar 6, 2023

Then do I have to wait a few more months?

@bluewidy
Copy link
Author

bluewidy commented Mar 6, 2023

omg... Then I'd rather wait for Void to implement mp4 muxing.

@bluewidy
Copy link
Author

bluewidy commented Mar 6, 2023

https://trac.ffmpeg.org/ticket/4488
Did it take... 8 years for this issue to be resolved...?

@bluewidy
Copy link
Author

bluewidy commented Mar 6, 2023

MajesticBitesizedHart-max-1mb

@bluewidy
Copy link
Author

Screenshot_Dolby_Access_update

Sir, the history of Dolby Access updates made this time is interesting. But I don't know what this implies...
Are there cases where consumers face 128 objects through headphones? Didn't you say that 128 objects can only be found in the cinema?

@bluewidy
Copy link
Author

RawYawningJackal-size_restricted

@bluewidy
Copy link
Author

wow... Sir, you finally got rid of all issues! haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@VoidXH @bluewidy @ValeZAA and others