Page 7 of 8

DGDemux (linux)

Posted: Thu Aug 10, 2023 9:03 am
by Rocky
frankaboy wrote:
Wed Aug 09, 2023 1:02 pm
Adub mentioned the wrong version in Doom9 forum.
If you have a d9 account, feel free to answer Adub's post letting him know that upgrade work has begun. If you do so, please also ask him to say what features he's specifically looking for. I ask because most of the changes in the win version 231->249 are audio and demux-related, and the linux version does not do audio and demuxing.

https://forum.doom9.org/showthread.php? ... ost1990086

P.S.: Sherman is back in school after summer vacation, so I may jump in now and again.

DGDemux (linux)

Posted: Fri Aug 11, 2023 8:24 pm
by hubblec4
Hi Sherman

Thank you for the release, a big step for Linux users.

DGDemux (linux)

Posted: Sat Aug 12, 2023 12:09 pm
by frankaboy
Hello Rocky,
also from my side, many thanks for the dgdemux (linux) update. :salute:

DGDemux (linux)

Posted: Tue Aug 15, 2023 2:30 pm
by Sherman
You're a good boy, Frankaboy. Thank you for being you, and not me. Just kidding. Patented Sherman humor. Use it if you want. Bye.

Thank you, too, hubblec4.

Posting from the school bathroom. Escape is near.

DGDemux (linux)

Posted: Mon Feb 05, 2024 2:06 am
by frankaboy
Hi Sherman, :salute:
may you can add an option in dgdemux (linux), to extract depth values (aka 3D-Planes) from MVC stream?
I figured out a workflow on Linux, to create hardcoded subtitle with fixed depths for left and right eye. :)

To use the original depths from 3D Bluray, I have to extract the depth values from 3D plane.
Therefore it would be fine, if you can add this option.

DGDemux (linux)

Posted: Mon Feb 05, 2024 5:41 am
by Sherman
Hi Frankaboy. My understanding is that the plane info is relevant only for the subtitles, but could be wrong. DGDemux already provides that on the streams listing for the subs.

If I'm wrong about it, let me know. You're the expert on 3D movies.

DGDemux (linux)

Posted: Mon Feb 05, 2024 12:03 pm
by frankaboy
Hi Sherman, :salute:
you are right with both statements! :)
For example "Avatar Way of Water 3D", 00801.mpls.
DGDemux (linux) shows following content.
post_3dplanes.png
Depths for forced subtitle are stored in plane 1.
Using a windows tool to extract plane 1 from mvc stream, than I get a file with name "3D-Plane-01.ofs".
Upload currently not possible, due to wrong file extension.

It would be fine, when DGDemux (linux) is able to extract 3D planes, too.

DGDemux (linux)

Posted: Mon Feb 05, 2024 12:25 pm
by Sherman
I don't know what you mean by "extract plane 1". I don't know what an ofs file is. I don't know what tool you are talking about.

If you want me to do anything you'll have to explain these things. Don't forget anything I ask for above. Thank you.

Are you looking for some data like this:

Code: Select all

Plane #00 :
Minimum depth : 5
Maximum depth : 5
Average depth : 5
First frame with a defined depth : 0
Last frame with a defined depth : 141767
Number of frames with undefined depth : 0
Identical planes : None
Warning: This plane has a fixed depth of 5

Plane #01 :
Minimum depth : 0
Maximum depth : 5
Average depth : 5
First frame with a defined depth : 0
Last frame with a defined depth : 87064
Number of frames with undefined depth : 54703
Identical planes : None
Or do you need depths for every frame, etc. You're the expert, you gotta tell me.

DGDemux (linux)

Posted: Mon Feb 05, 2024 1:16 pm
by frankaboy
Hi Sherman,
I am talking about windows tool "MVCPlanes2OFS.exe"
Syntax:
MVCPlanes2OFS.exe "full path to mvc stream" "full path to output folder".
The tool extract all 3D planes from mvc stream, using the file extension .ofs.
In .ofs files for each frame the depth for the subtitle is stored.
Yes, I need depths for every frame. 8-)

DGDemux (linux)

Posted: Mon Feb 05, 2024 3:15 pm
by Sherman
So if you have the tool, why do you need me to do anything? Asking for a friend.

DGDemux (linux)

Posted: Tue Feb 06, 2024 2:11 am
by frankaboy
Hi Sherman, :salute:
sorry for late reply.
I was tired yesterday evening, because I currently renovate my apartment.

I do all my office stuff, Python programming, drawing and 2D encoding on Arch Linux OS.
Only for 3D encoding in use my Windows computer.

Rocky posted on 6. September last Year, that it could be possible now to port your DGMVCSource to Linux.
It was clear for me, that I have to take care for 3D hard coded subtitles by myself.
I spend much time to figure out, how I could do this task on Arch Linux.
As written before it works fine with fix depth.
When a 3D plane is available, I can create hard coded subtitles with original depths from Bluray.

I am happy with my own 3D subtitles with fixed depth.
But I am a quality junkie, so it would be the "cherry on the cake" ,
if I am able to create 3D subtitles with original depths on Arch Linux.

Honest answer:
I do not need to start Windows, just to extract 3D planes, then jumping back to Arch Linux to create hard coded 3D subtitles. Therefore I ask you for add this option in DGDemux (linux), if it is possible.

If you port one day your DGMVCSource to Linux, than I am fully independent from Windows.
But it is up to you, to decide if or if not.

Have a nice day
PS: Brush, roll and paint are waiting for me ;)

DGDemux (linux)

Posted: Tue Feb 06, 2024 3:23 am
by Rocky
Could we just build MVCPlanes2OFS or OFSExtractor for linux?

DGDemux (linux)

Posted: Tue Feb 06, 2024 5:22 am
by frankaboy
Hi Rocky,
this is a very good solution for me. :D
Please build MVCPlanes2OFS for Linux.
:hat:

DGDemux (linux)

Posted: Tue Feb 06, 2024 8:48 am
by Rocky
When you get your flat painted c'mon over and do ours. We won't charge you much.

DGDemux (linux)

Posted: Mon Feb 12, 2024 9:53 am
by frankaboy
Hi Rocky, hi Sherman, :salute:
I have finished my "painting nightmare" on Saturday evening. 8-)

Yesterday evening I visited the OFSExtractor homepage on GitHub.
I found a Python script with name "OFSExtractor.py".
I played around with this script and finally, with some modifications, I was able to extract 3D planes. :D

Building MVCPlanes2OFS for Linux is obsolete now.
Hope, you did not spend too much time for this task so far.

Many thanks for your help again. :hat:

Without your proposal, I had never looked deeper into OFSExtractor.

DGDemux (linux)

Posted: Mon Feb 12, 2024 10:11 am
by Sherman
Thanks for the update, Frankie. I just finished installing the 4090 and was going to fire up the linux machine but you have forestalled me. It's OK, I forgive you. Glad to hear you have a solution.

The 4090 gave a 33% gain over the 3090 in our use cases.

Later gator. After a while crocodile.

DGDemux (linux)

Posted: Wed Feb 14, 2024 6:53 am
by hubblec4
Hi Sherman

I hope you are fine and you have time to make the 1.0.0.73 Linux version of DGDemux.

DGDemux (linux)

Posted: Wed Feb 14, 2024 8:58 am
by Sherman
Sure, Mr. hubblec4. I'll get started on it today.

DGDemux (linux)

Posted: Wed Feb 14, 2024 11:57 am
by hubblec4
Sherman wrote:
Wed Feb 14, 2024 8:58 am
I'll get started on it today.
Great news, thank you.

DGDemux (linux)

Posted: Fri Feb 16, 2024 6:24 am
by Sherman
Required changes coded. Moving on to testing...

DGDemux (linux)

Posted: Fri Feb 16, 2024 8:17 am
by Sherman
The first time I ran it I got a 382GB demux for COLUMBO 00006.mpls. :lol:

I fixed that so please test this:

https://rationalqm.us/misc/DGDemux_linux_hubblec4.zip

When you bless it I'll make a release.

DGDemux (linux)

Posted: Fri Feb 16, 2024 9:53 am
by hubblec4
Hi Sherman

Thanks for the test release. I'm back very late this night and will test it.

DGDemux (linux)

Posted: Fri Feb 16, 2024 10:40 am
by Sherman
No hurry Mr. hubblec4. Take your time.

DGDemux (linux)

Posted: Fri Feb 16, 2024 8:47 pm
by hubblec4
Looks good. Only 25min 29sec playtime of the demuxed files.

DGDemux (linux)

Posted: Sat Feb 17, 2024 1:44 pm
by Sherman
Thank you for your testing. I have asked Rocky to release it.