View Full Version : DGMPGDec 1.6.0 Development thread
Guest
28th July 2008, 12:36
Hi neuron2,
How about support for decoding AC3 to WAV for TS files?
It already is supported. Set the audio PID and then specify track 0 as the audio track, as described in the users manual.
stattik
29th July 2008, 16:14
It already is supported. Set the audio PID and then specify track 0 as the audio track, as described in the users manual.
Sorry, I was thrown by this in the manual:
A future version of DGIndex may integrate the WAV packaging functionality for transport streams.
Looks like it was referring to M2TS containers.
It's working great now. Thanks for the help.
Guest
29th July 2008, 17:46
That referred to demuxing of LPCM audio from a transport stream and eliminating the need for sox.
mrg
1st August 2008, 10:56
Hi neuron2,
to use AVS templates, i need the filename but without the extension (__vid__ without ".d2v"), because my audio files already exists with the same file name. I believe __file__ would be good.
Ranguvar
1st August 2008, 20:04
Your audio files have the D2V extension!? The heck?
Inventive Software
1st August 2008, 23:02
I spotted a d2a file the other day from some demuxing....
mrg
2nd August 2008, 09:15
Your audio files have the D2V extension!?
No, sorry for my bad English.
I have separate files like "video1.mpv" + "video1.mpa". With the help of the avs-template-function i would that DGIndex produce a avs like:
LoadPlugin("DGDecode.dll")
LoadPlugin("NicAudio.dll")
video=MPEG2Source("video1.d2v")
audio=NicMPASource("video1.mpa")
Underground78
2nd August 2008, 09:34
Maybe you can use __aud__ :
You may also use the __aud__ specifier to generate the audio file name. Note that if you are generating more than one audio file, this specifier will refer to the first audio file that is opened. Therefore, to be sure to get the desired audio file, process just one audio stream.
Guest
2nd August 2008, 12:44
That won't work because the __aud__ macro is applied only if DGIndex is demuxing the audio, and the poster says the audio already exists. I can add a macro that generates only the base name without the extension. But the __del__ macro won't work then, of course.
J_Darnley
3rd August 2008, 17:43
Use the available Avisynth features
vid_file = "__vid__"
aud_file = LeftStr(vid_file, StrLen(vid_file)-4)
Might need checking but should return the full file path and name but remove the extension and the dot.
Guest
3rd August 2008, 18:04
Then append the desired extension.
Thanks for that. Saves me some work. :)
mikeytown2
6th August 2008, 00:36
Template Request: Using Trim() make each title/chapter from a DVD a different variable in avisynth.
Example Output
#Load AV; true 29.97i video
MPEG2Source("GreenV3.d2v", cpu=6)
AudioDub(WAVSource("GreenV3 Ta0 48K 16bit 2ch.wav"))
#Process Clip
ColorMatrix(d2v="GreenV3.d2v",threads=0,clamp=0,interlaced=true,outputFR=true)
#Split into titles/chapters
DGI_T1C1=Trim(0,999)
DGI_T1C2=Trim(1000,1999)
DGI_T1=Trim(0,1999)
DGI_T2C1=Trim(2000,2999)
ect...
If i load a VOB that has no audio in it when the other VOB's do, the resulting script is out of sync. Add option to pad video with blank audio so it stays in sync?
jeffy
6th August 2008, 06:41
Please add the logging of the "Block error" info if and where exactly in the stream they (the errors) are.
Ref.:
http://forum.doom9.org/showthread.php?p=1167085#post1167085
Thank you.
You Know
10th August 2008, 14:37
Is possible to show in main editor also non Key-frame when arrow keys are pressed?
And jump as before from a key to other with a combo SHIFT + -> for example.
aand
20th August 2008, 17:32
I'm having a problem with a .VOB file. DGIndex 1.5.2 makes the project file, but not to the end. And the demuxed audio file grows as big as the free space on the hard drive.
Here's a link (http://www.filebox.ro/download.php?key=80cc814e39da958051d83a0e8550e2da) to the file.
dukey
20th August 2008, 23:13
Add an option to start cutting from the first I frame
Also, make the audio delay 0ms
Export does this, and it's really handy.
If the first frame is a P or B frame, really there is no point in us using it, if we want to re-encode. That is all, thanks for a great program :]
Guest
21st August 2008, 02:18
I'm having a problem with a .VOB file. DGIndex 1.5.2 makes the project file, but not to the end. And the demuxed audio file grows as big as the free space on the hard drive.
Here's a link (http://www.filebox.ro/download.php?key=80cc814e39da958051d83a0e8550e2da) to the file. Your upload host is offering me 2KB/s. Sorry but I cannot wait 30 hours to download your file. Try a decent upload site.
aand
21st August 2008, 12:55
Your upload host is offering me 2KB/s. Sorry but I cannot wait 30 hours to download your file. Try a decent upload site.
:o sorry 'bout that, they used to be decent.
I can't recreate the problem, DGIndex works correctly now.
PS: I tried to register to your forum but didn't get the activation email.
Guest
25th August 2008, 04:06
Is there some way to modify DGMPGDec to support streams that have sequences with different resolutions? For example, in a transport stream, sometimes the commercials come as sequences with lower resolution. Currently, this crashes DGMPGDec.
Fallen
28th August 2008, 11:28
CLI Add option >> -Location[f,startlba,f2.endlba]
Same format as location in .ini
My program is opening up to a hundred vobs (making motion menu thumbnails in Avisynth) and using about 15 sec from each.
Fully processing each vob takes about 45 sec. (or up to 1.25 hr)
Whereas processing (with start end lba's) takes less than a sec per vob) -- and life would be good
Studied the DGIndex source code (actually tinkered the change in) but my old VC++ 6.0 Standard Edition won't allow MASM
Also noticed that DGIndex will open a partial D2V (Header entries with location written in -- No Frame Info) Via GUI Load Project
But the cli won't load a D2v (To bad that also would have done what I need)
Directshowsource is giving me hell (won't load Multiple vobs Codec limitation)-- Even partially hacking a MPG GRF file to replaceable parameters -- works about 80% of the time --missing something
--- DGIndex would solve all my Problems
Thanx
Guest
28th August 2008, 14:07
I'll make it for you this evening.
BTW, I build with VC++ 6.0. You can find NASM on the web.
Fallen
28th August 2008, 14:45
Thanx :thanks::thanks::thanks::thanks: Thanx
Not nasm (I caught that -- searched -- and you explained to another) no problems there
Masm ---idctmmx settings
ml is from the masm compiler
Bet your 6.0 ver is either express or pro and you loaded a processor pack
Guest
29th August 2008, 14:01
I have it working but I want to fix the problem with the mising trackbar selection when using a themed desktop before releasing anything. May take a few days.
I can give you a test build if you like. Send me a PM.
Slammin'
29th August 2008, 18:59
Please enter your feature requests and bug reports for version 1.6.0 here. I would appreciate it if you have already entered them in the 1.5.0 final thread if you could repeat them here. Thank you.
FWIW : it would save me a whole lot of time in front of my screen if DGIndex had a switch to batch output what I batch input.
(ie... open
Video01.m2v
Video02.m2v
etc...
..save
Video01.d2v
Video02.d2v
etc...)
No biggie, but again, it sure would save me a whole lot of time sitting in front of my screen waiting for an MPEG to process so I can load the next.
Fallen
29th August 2008, 20:05
It already does --study the CLI section of the help file
Slammin'
30th August 2008, 19:38
It already does --study the CLI section of the help file
Heh.. funny, I've been using GUI so much recently, I forgot about that whole section. Thanks for the heads up.
IMHO, I still think there should be a switch. :devil:
Using the CLI "for this" is kind of like having the obvious buried.
Just my 2 pennies..
freezer
1st September 2008, 15:44
I second the need for a gui batch switch. Currently all input files are appended, I would like to output them as individuals.
I didn't even know that you could do that via CLI until now, but anyway - why make it harder for users than necessary?
Guest
1st September 2008, 16:54
I don't plan to support batching. There are existing solutions based on invoking the CLI in a DOS batch file. Search and ye shall find.
stax76
2nd September 2008, 00:51
StaxRip is such a solution for instance.
Guest
2nd September 2008, 22:13
Add mouse scrollwheel support and Copy Frame to Clipboard, as in DGAVCDec.
Add GPU decoding support, e.g., CUDA Video API.
d'Oursse
6th September 2008, 19:45
a request i would like for dgindex would be : separate the gui from the rest of the code, and make the rest of the code a lib.
also, i've read quickly that you use nasm. Maybe using yasm would be better. It's more maintained and it supports 64 bits instructions
mikeytown2
6th September 2008, 21:20
Version 2 of NASM supports (http://www.nasm.us/doc/nasmdo11.html) x86-64
d'Oursse
6th September 2008, 21:34
ha, indeed, the nasm development has been restarted for 1 year
Dark Eiri
8th September 2008, 17:37
Add mouse scrollwheel support and
Add GPU decoding support, e.g., CUDA Video API.
That would be absolutely awesome.
Is would be great if it was possible to use DXVA decoding, so we could deinterlace the video "on-the-fly" via hardware. Is that possible? (I know using DirectShowSource with decoders like Cyberlink works, but the audio gets offsync very often)
GPU accelerated deinterlacing would remove a big bottleneck on encoding, wouldn't it?
Guest
8th September 2008, 18:17
It's very easy to turn on the deinterlacer with CUDA. I'll be experimenting with it to see how much it impacts the frame rate on the low-end and high-end cards, and how good the deinterlacing looks. All I know is that it is claimed to be "motion adaptive". You can Google for "PureVideo deinterlacing" to see marketing hype and reviews.
Inventive Software
9th September 2008, 10:26
This may sound a bit pointless at this stage, but what's the maximum throughput you get with using CUDA vs not using it? (MPEG-2)
SledgeHammer_999
9th September 2008, 12:04
Just to inform you the ATI equivalent off CUDA is called "AMD Stream". link-->http://ati.amd.com/technology/streamcomputing/index.html
Ranguvar
9th September 2008, 15:38
Just a note, I generally find that people have very good things to say about the PureVideo deinterlacer.
Dark Eiri
9th September 2008, 15:39
It's very easy to turn on the deinterlacer with CUDA. I'll be experimenting with it to see how much it impacts the frame rate on the low-end and high-end cards, and how good the deinterlacing looks. All I know is that it is claimed to be "motion adaptive". You can Google for "PureVideo deinterlacing" to see marketing hype and reviews.
The deinterlacer you would use in CUDA is the same "Hardware Deinterlacing" used in normal players supporting PureVideo, like PowerDVD Ultra? That one is very nice, actually. I won't say it would be on par to Yadif in all cases, but it's really good.
mikeytown2
12th September 2008, 08:08
output split/cut/trimmed m2t files
stattik
12th September 2008, 17:19
Would you consider correcting A/V continuity errors for TS Files? It would be quicker than using multiple apps to scan each file, demux/fix audio, fix video, and then remuxing audio/video only to have dgindex demux the audio for processing again.
morphinapg
12th September 2008, 18:32
Would you consider correcting A/V continuity errors for TS Files? It would be quicker than using multiple apps to scan each file, demux/fix audio, fix video, and then remuxing audio/video only to have dgindex demux the audio for processing again.
I second this, as well as having the ability to only write a certain format of audio, filling in the gaps with silence. Some TV shows I capture have 5.1 AC3 during the show but 2.0 AC3 during the commercials and right now I have to use project X to demux it and replace all 2.0 audio with silence, and then use DGIndex afterwards. It would be much simpler if it could all be done in DGIndex.
Malcolm
5th October 2008, 14:20
There were some performance issues with DGIndex (1.5.0 RC ff). Maybe you remember (see here (http://forum.doom9.org/showthread.php?p=1133612#post1133612)). My tests with 1.5.2 show that the performance still suffers. I hope you can fix it with the 1.6.0 release.
Thanks,
Malcolm
Guest
30th October 2008, 01:27
- When -HIDE mode is invoked, GUI error messages shouldn't pop up. Instead, it would be more helpful if the error messages were hidden and an error level was returned, similar to x264.
morphinapg
30th October 2008, 03:26
When calling DGIndex from the command line, is it possible to output current percentage done and/or ETA through stdout/stderr? This would be very useful for ASXGui as right now it just shows a waiting screen with unknown how far along it is or how long it will take.
Guest
1st November 2008, 18:08
Improve AVS template management. Support multiple templates and a means to select from them.
check
8th November 2008, 13:43
A quick feature request: the .d2v file lists an absolute path for the source VOBs. If any VOB can't be found, could the current directory be searched for it too? It's a rare occurance, but sometimes I rename the folder the d2v/vob for a particular episode is in.
Guest
8th November 2008, 13:54
Can't just turn off the Full Paths option when you make your projects?
Chumbo
16th November 2008, 15:46
- When -HIDE mode is invoked, GUI error messages shouldn't pop up. Instead, it would be more helpful if the error messages were hidden and an error level was returned, similar to x264.
Would love to see this when -MINIMIZED is used too, i.e., turn off UI errors/warnings. May be an option that would log any error messages to a log file when in CLI. So an option to specify a log file would help too.
Improve AVS template management. Support multiple templates and a means to select from them.
Just last night I ran some stuff that used a template on the command line that was not set up as a default template in the DGIndex UI and no templates were created.
I figured the problem may be the location? If we don't specify a path for the template, does it look in the folder where the source is or where dgindex.exe is? Sorry for the stupid question, but I want to be sure. I'm sure it's the former. Thanks.
Guest
16th November 2008, 16:19
It's the latter.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.