DGDemux (linux)

DG tools for linux

Moderator: Sherman

User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DGDecNV on Linux

Post by DJATOM »

I know that feel. The solution is to grab proprietary driver fron nvidia site and blacklist noveau driver after installation. I did that a while ago, maybe now driver do that "blacklist" thing automatically? :scratch:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

It's so stupid, I'm close to saying ??? it.

I have my 1050 Ti OK. But the french-toast mouse is so jerky/laggy now everything is unusable. Gotta do a research project on mouse support? GFOH
DAE avatar
Guest

DGDecNV on Linux

Post by Guest »

User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

Disabled wayland crap and mouse is OK. Funny, I discovered that before on the 4770K machine but forgot.

I'll stick with Debian for now and the 1050 Ti, at least long enough to get DGDemux ported. Then I will re-consider to get CUDA/CUVID stuff ported.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

I built a hello.c program with gcc and successfully ran it. I'm a stud, I tell ya.

Now gotta find a way to get DGDemux source code onto the machine.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

Nice. Debian reads NTFS, so no problem moving files. There are the line endings to change but no big deal (1,$s/^M//g in vi).

Yee-ha! Just compiled the first DGDemux source file on linux without errors or warnings. This file (pat.cpp) has no windows-specific system calls but still had to change a lot of things (e.g., _read() to read() etc.).

Using vi for editing. Don't hate me. I worked for Bell Labs (can you say Unix?) back when vi and emacs were a thing (1984). I avoided emacs because my little finger got tired on the CTRL key. vi was considered a WSIWYG advance over the line editor ed.

Probably DGDemux could be run under wine, but hey, let's go native.

PS: Don't know how we ever lived without RGB lighting on the machines. :lol:
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DGDecNV on Linux

Post by DJATOM »

I'm using Visual Studio Code on my ArchLinux installation, you probably can install it on Debian (I didn't tried myself), deb file can be downloaded here: https://code.visualstudio.com/download
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

Yeah, I saw some stuff about that. But ya know, getting away from Micro$oft can't be a bad thing. Maybe for IDE/debugging, etc., it could be useful. Let's see.

Thank you, DJ, for your encouragement, support, and valuable information!
DAE avatar
Guest

DGDecNV on Linux

Post by Guest »

PS: Don't know how we ever lived without RGB lighting on the machines.
It isn't that bad
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

3 out of 5 source CPP files compiled. Getting close. :o
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

gonca wrote:
Fri May 07, 2021 3:47 pm
PS: Don't know how we ever lived without RGB lighting on the machines.
It isn't that bad
The lights change color on their own. It's amazing! Hmm, does it waste CPU, or is it in firmware?
DAE avatar
Guest

DGDecNV on Linux

Post by Guest »

Rocky wrote:
Fri May 07, 2021 7:47 pm
gonca wrote:
Fri May 07, 2021 3:47 pm
PS: Don't know how we ever lived without RGB lighting on the machines.
It isn't that bad
The lights change color on their own. It's amazing! Hmm, does it waste CPU, or is it in firmware?
Sounds like your are on default (no software control)
What motherboard do you have?
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

Gigabyte Z590 Aorus Ultra.

The only bad thing about the lights is that we have to close the office door at night, otherwise Bullwinkle loses sleep. Doesn't bother me. Sweetie Pie was upset at first but I think she's over it.
DAE avatar
Guest

DGDecNV on Linux

Post by Guest »

Do you have RGB Fusion installed/enabled?
If not, download link
https://www.gigabyte.com/MicroSite/512/download.html
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

Lights should have independent lives of their own without control freaks dictating to them. The dazzling lights continue to amaze every day. Dance with the one that brung ya. Old human saying. Love at first light.

Machines are slaves to us, or we to them?
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

don@debian:~/DGDemux$ ./dgdemux
DGDemux 1.0.0.50 by Donald A. Graft
Copyright (C) 2019-2021 Donald A. Graft, All Rights Reserved [Made in USA]
don@debian:~/DGDemux$

:belly-laugh:
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DGDecNV on Linux

Post by DJATOM »

Nice :ugeek:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

don@debian:~/DGDemux$ ./dgdemux -d ~/DGDemux/disk
DGDemux 1.0.0.50 by Donald A. Graft
Copyright (C) 2019-2021 Donald A. Graft, All Rights Reserved [Made in USA]

PlayLists:
00002.mpls 01:08:34 [18 chapters]
00004.mpls 00:02:31 [3 chapters]
00001.mpls 00:00:13 [1 chapters]
00000.mpls 00:00:13 [1 chapters]
don@debian:~/DGDemux$

:belly-laugh:

Using printf debugging, don't hate me.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

don@debian:~/DGDemux$ ./dgdemux -i disk/BDMV/PLAYLIST/00002.mpls
DGDemux 1.0.0.50 by Donald A. Graft
Copyright (C) 2019-2021 Donald A. Graft, All Rights Reserved [Made in USA]

Files:
00002.m2ts
00003.m2ts
00004.m2ts

Streams:
1011: Video [AVC 23.976 1080p 16:9]
1100: PCM 48K 24bit 2/0 [jpn]
Chapters [18]
don@debian:~/DGDemux$

:belly-laugh:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

don@debian:~/DGDemux$ ./dgdemux -i disk/BDMV/PLAYLIST/00002.mpls -o ./100 -demux 1011,1100,Chapters
DGDemux 1.0.0.50 by Donald A. Graft
Copyright (C) 2019-2021 Donald A. Graft, All Rights Reserved [Made in USA]
00002.m2ts
00003.m2ts
00004.m2ts
Done!
don@debian:~/DGDemux$ ls -l 100*
-rw-r--r-- 1 don don 684 May 8 19:27 100.chapters.txt
-rw-r--r-- 1 don don 56153451 May 8 19:27 '100 PID 1011.264'
-rw-r--r-- 1 don don 3891518 May 8 19:27 '100 PID 1100 jpn DELAY 0ms.w64'
don@debian:~/DGDemux$

:belly-laugh:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

don@debian:~/DGDemux$ ./dgdemux -i ../Nostalghia/BDMV/PLAYLIST/00001.mpls -o ./200 -demux 1011,1100,Chapters -sf -sl -sp
DGDemux 1.0.0.50 by Donald A. Graft
Copyright (C) 2019-2021 Donald A. Graft, All Rights Reserved [Made in USA]
00010.m2ts
Done!
don@debian:~/DGDemux$ ls -l 200*
-rw-r--r-- 1 don don 418 May 8 21:26 200.chapters.txt
-rw-r--r-- 1 don don 34825956738 May 8 21:26 '200 PID 1011.264'
-rw-r--r-- 1 don don 2168663144 May 8 21:26 '200 PID 1100 ita DELAY 26ms.w64'
don@debian:~/DGDemux$

:belly-laugh:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

@DJATOM

Can you please advise me on how distribute my DGDemux linux executable such that it is usable on multiple distros? Thank you.

I'm researching but the options and materials are overwhelming. And it all seems like overkill because an install isn't really needed and there are no unusual libraries or dependencies needed. Can I just give you my binary and you test it on your system?

And don't even get me started on sound not working on my linux system!
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DGDecNV on Linux

Post by DJATOM »

You can distribute gzip or zip, there's no problem with that. Also you can add bash script to that archive to copy file into apps folder. Another way is to build deb file, so people can download and install in a simple way. I personally think the first option is more universal, linux guys likes universal way of things. They also prefer sources to build for certain glibc, but you don't really have to expose them if you don't want. Binaries built in debian should work on most up-to-date distributions.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

Sweet. Thank you!

I'll post a link to a test binary later today.

Right now I have to spend 4 hours paying penance to Uncle Sam, due on the 15th. :x
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

@DJATOM

Please give this a try:

http://rationalqm.us/misc/dgdemux.gz

Preallocation and episode demuxing are not yet ported. libstdc++ and libgcc are statically linked, everything else not.

Note: Changed the thread title to 'DG Tools on Linux'
Post Reply