Page 2 of 2
Re: [SOLVED] Demux Support & CLI
Posted: Thu Mar 29, 2018 2:46 pm
by Zathor
Thank you very much! Sadly I cannot test this anymore today but based on your message this seems to be the solution
Only small question:
Code: Select all
4352: H:\GRAVE OF THE FIREFLIES\BDMV\STREAM\00004 PID 1100 L+R 48 1536 eng DELAY 0ms.dts
Why is it 4352 and not 1100? And yes, I know that 1100 Hex is 4352 Dec
So the "track number" is always written in Dec? No need to have it changed I only want to understand it.
Re: [SOLVED] Demux Support & CLI
Posted: Thu Mar 29, 2018 2:53 pm
by admin
I can write it as hex if you prefer. The printed number base is completely arbitrary.
Re: [SOLVED] Demux Support & CLI
Posted: Thu Mar 29, 2018 4:28 pm
by admin
I looked at MediaInfo. It shows decimal with hex in parentheses. I'll stick with decimal unless you have a good reason not to.
Re: [SOLVED] Demux Support & CLI
Posted: Fri Mar 30, 2018 6:55 am
by Zathor
Decimal is fine. I only wanted to know if it is always decimal so that I can convert if needed.
Re: [SOLVED] Demux Support & CLI
Posted: Fri Mar 30, 2018 7:16 am
by admin
Yes, it will always be decimal.
Re: [SOLVED] Demux Support & CLI
Posted: Fri Mar 30, 2018 8:43 am
by Zathor
Some observations while testing around with your "zathor"/138 build
Btw all tests have been successful, I will release the new version soon.
- if I try to open a AVI file nothing happens (yes, this file type cannot be opened but when I open other file types I get something like "could not find a supported video track (need AVC/MPEG2/VC1/HEVC)". MediaInfo of that (old) file:
Code: Select all
General
Complete name : D:\MeGUI\_SAMPLE_FILES\test.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 700 MiB
Duration : 1 h 45 min
Overall bit rate mode : Variable
Overall bit rate : 928 kb/s
Writing application : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library : VirtualDubMod build 2540/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP2
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1 h 45 min
Bit rate : 793 kb/s
Width : 608 pixels
Height : 304 pixels
Display aspect ratio : 2.000
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.172
Stream size : 598 MiB (85%)
Writing library : XviD 1.1.2 (UTC 2006-11-01)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Format settings : Joint stereo / MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1 h 45 min
Bit rate mode : Variable
Bit rate : 122 kb/s
Nominal bit rate : 128 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Frame rate : 41.667 FPS (1152 SPF)
Compression mode : Lossy
Stream size : 91.8 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 24 ms (0.60 video frame)
Interleave, preload duration : 499 ms
Writing library : LAME3.90.
Encoding settings : -m j -V 4 -q 2 -lowpass 17.6 --abr 128
- in the file open dialogue the HEVC formats are missing but that may be because my GPU does not support them.
- is there a way how to detect if the GPU is able to decode HEVC? If possible I would love to have a special CLI switch based on which there will be a response which I can then use in MeGUI. Reason is that I would like to enable HEVC if the GPU supports it. Even better would be to also detect if a supported GPU is installed at all.
So something like "dgindexnv.exe -gpu" returns 1 (process exit code) if the GPU is not supported at all, 2 if is supports all except HEVC, 3 if it supports everything.
Re: [SOLVED] Demux Support & CLI
Posted: Fri Mar 30, 2018 9:09 am
by admin
Zathor wrote: ↑Fri Mar 30, 2018 8:43 am
Btw all tests have been successful, I will release the new version soon.
Cool, thanks.
- if I try to open a AVI file nothing happens (yes, this file type cannot be opened but when I open other file types I get something like "could not find a supported video track (need AVC/MPEG2/VC1/HEVC)".
The difference is that for the other files the container type is supported, while AVI is not. I don't think it's worth doing anything.
- in the file open dialogue the HEVC formats are missing but that may be because my GPU does not support them.
No, they are just missing. Will add them.
- is there a way how to detect if the GPU is able to decode HEVC? If possible I would love to have a special CLI switch based on which there will be a response which I can then use in MeGUI. Reason is that I would like to enable HEVC if the GPU supports it. Even better would be to also detect if a supported GPU is installed at all.
So something like "dgindexnv.exe -gpu" returns 1 (process exit code) if the GPU is not supported at all, 2 if is supports all except HEVC, 3 if it supports everything.
OK, will see what I can do. No guarantees because the checking for HEVC support is not easy without opening a file and trying to create the decoder.
Re: [SOLVED] Demux Support & CLI
Posted: Sat Mar 31, 2018 12:32 pm
by Zathor
admin wrote: ↑Fri Mar 30, 2018 9:09 am
OK, will see what I can do. No guarantees because the checking for HEVC support is not easy without opening a file and trying to create the decoder.
Do not spend too much time into it. It os not worth too much effort. In worst case I can add an option to MeGUI where a user can enable the HEVC support.
Sadly I found during my final implementation test one remaining change I would like to request.
With this command line:
""D:\MeGUI\MeGUI_dgindexnv\bin\x86\Debug\tools\dgindexnv\dgindexnv.exe" -i "D:\MeGUI\00072.m2ts" -o "D:\MeGUI\f4aekuby.jmz\00073.dgi" -h -a
This log is created:
D:\MeGUI\00072.log
While I would have expected this:
D:\MeGUI\
f4aekuby.jmz\0007
3.log
Could you please change it that it is written in the project / dgi file path with dgi / project name? EDIT: Or in other words - use -o instead of -i to define the log path & name.
Especially the path is important as e.g. with Blu-rays or other readonly media it will be impossible to write to the source file folder.
Thank you very much again and I am sorry for all these requests
Re: [SOLVED] Demux Support & CLI
Posted: Sat Mar 31, 2018 12:47 pm
by admin
OK, makes a lot of sense. I'll slip it when I get back from swimming. Check back in about 4-5 hours.
Re: [SOLVED] Demux Support & CLI
Posted: Sat Mar 31, 2018 1:57 pm
by Zathor
Thanks, but please take your time. I will already be sleeping when you are back and tomorrow likely I do not have any time so before Monday it will be hard for me to do the final check.
Re: [SOLVED] Demux Support & CLI
Posted: Sat Mar 31, 2018 3:45 pm
by admin
Thanks for the heads-up and enjoy your weekend!
Re: [SOLVED] Demux Support & CLI
Posted: Sun Apr 01, 2018 6:04 am
by admin
Slipstream 140 is released with the requested change. Thanks for your help to
improve MEGUI integration with DGDecNV.
Re: [SOLVED] Demux Support & CLI
Posted: Mon Apr 02, 2018 7:43 am
by Zathor
Thank you very much!
I have just commited version 2832 with the changes for the new DGDecNV build. I also prepared everything for an updated DGDecIM (with a fallback if the files are not found in the log).
Re: [SOLVED] Demux Support & CLI
Posted: Mon Apr 02, 2018 7:52 am
by admin
Thanks, Zathor!
I'll get working on DGDecIM.
Re: [SOLVED] Demux Support & CLI
Posted: Mon Apr 02, 2018 12:50 pm
by Zathor
Take your time, everything is prepared in MeGUI. As soon as the logs also appear for DGDecIM they will be used.
Re: [SOLVED] Demux Support & CLI
Posted: Mon Apr 02, 2018 1:01 pm
by admin
Crap, it's still broken, but on my side. Working on it...
Re: [SOLVED] Demux Support & CLI
Posted: Mon Apr 02, 2018 1:26 pm
by admin
Slipstreamed 141 to fix it.