View Full Version : DGAVCDec 1.0.9
Guest
24th February 2008, 20:39
or a resource hacker Wouldn't he need my resource files for that?
And while I'm asking dumb questions... Why is his window pretty and mine is clunky?
Snowknight26
24th February 2008, 21:19
Wouldn't he need my resource files for that?
And while I'm asking dumb questions... Why is his window pretty and mine is clunky?
It's in the exe. (http://www.angusj.com/resourcehacker/)
Hes using the default XP theme, you're using the other one.
SeeMoreDigital
24th February 2008, 21:33
Hi Donald,
Nice one, that GUI is a great compromise :)
There's no mystery to what I did. I took a screen grab of DGAVCIndex using HyperSnap (with WinXP Home) and manipulated the resulting image.
I'm not clever (or disrespectful) enough to pinch or alter source code :eek:
Cheers mate
Guest
24th February 2008, 21:59
It's in the exe. (http://www.angusj.com/resourcehacker/) Wouldn't that be a rule 6 violation? :)
He's using the default XP theme, you're using the other one. You mean I can change my theme? Who'd have known?
I'm not clever (or disrespectful) enough to pinch or alter source code Actually, it's available upon request. I usually wait for the first beta to publish it.
Thanks for the answers guys. I learned something today! It's not quite as much fun as being corrected by scharfis_brain, but it'll do. :)
Snowknight26
24th February 2008, 22:37
Wouldn't that be a rule 6 violation? :)
I don't see how. It only changes dialog box locations/strings/icons.
You mean I can change my theme? Who'd have known?
Then why'd you ask? :p
Guest
25th February 2008, 01:47
>Then why'd you ask?
My brain fart was telling me that all this was involved:
http://virtualdub.org/blog/pivot/entry.php?id=164#body
Which is really stupid because I have the XP theme on my PC at work, loaded by our corporate staff. Hmmm, desktop properties. Who'd have thunk it?
What does that stuff Avery is talking about look like? I give anyone permission to post a totally off-topic screenshot here to show me. Maybe it would be nice for my tools.
squid_80
25th February 2008, 06:05
He's talking about making the app use common controls v6 instead of v5.
I compiled dgindex with this line in mpeg2dec.cpp: #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
Pictures:
http://216.75.63.164/andrew/dgindex%20file%20list.JPG
http://216.75.63.164/andrew/dgindex%20bar.JPG
Personally I dislike v6 and prefer the old style. Also the changes here are fairly innocuous, it's when you use combo-boxes and tabs that things start to get messed up like Avery mentioned.
halsboss
26th February 2008, 11:16
Did a DGAVCIndex.exe over a .h264 file which successfully created the .dga file. Couldn't understand why my script poking the filtered video into HC failed, so created this simple script and tried to open it in Vdub
LoadPlugin("C:\SOFTWARE\DGAVCIndex\DGAVCDecode.dll")
AVCSource("G:\DVD\NAB.Cup.Rd2.Adelaide.v.Fremantle\NAB.Cup.Rd2.Adelaide.v.Fremantle.dga", deblock=true)
AssumeFPS(29.97)
SetPlanarLegacyAlignment(True)
but it throws the error AVCSource: could not open one of the input files...
Top part of the .dga file:
DGAVCIndexFile6
G:\DVD\NAB.Cup.Rd2.Adelaide.v.Fremantle\NAB.Cup.Rd2.Adelaide.v.Fremantle_track1.h264
C:\SOFTWARE\DGAVCIndex\libavcodec.dll
STREAM 0
FO 0
LPOC 0
SPS 1
PPS 30 0
IDR 663
FRM 7 0
FRM 5 1
FRM 5 2
FRM 5 3
FRM 5 5
FRM 6 4
FRM 5 9
FRM 6 7
FRM 6 6
FRM 6 8
FRM 5 13
FRM 6 11
FRM 6 10
FRM 6 12
FRM 5 14
FRM 5 15
FRM 5 16
FRM 5 17
FRM 5 18
FRM 5 19
FRM 5 20
FRM 5 21
FRM 5 22
FRM 5 23
FRM 5 24
FRM 5 25
FRM 5 26
FRM 5 27
FRM 5 28
FRM 5 29
FRM 5 30
FRM 5 31
FRM 5 32
FRM 5 33
FRM 5 34
FRM 5 35
FRM 5 36
FRM 5 37
IDR 111700
any suggestions ?
Guest
26th February 2008, 15:05
The DGA path string has "_track1" at the end and the AVS script path string is missing it.
halsboss
27th February 2008, 00:33
of course. cut'n'pasted wrongly. silly me. too late at night. thankyou.
halsboss
5th March 2008, 01:29
Kudos to neuron2 in post
http://forum.videohelp.com/topic346331.html?sid=9964c95820e1596af389ac5915dcdf8f#1817866
Guest
5th March 2008, 01:58
Thanks for the link. It's always satisfying to see that one's efforts are useful to someone.
Now that DGMPGDec 1.5.0 RC3 is out too, I am going to take a break from the Big 2 and make a new version of FDecimate() that more accurately decimates duplicates, observing a maximum allowed running AV desync tolerance. It'll be basically a one-pass MultiDecimate on steroids.
Gannjunior
8th March 2008, 00:47
Hi neuron,
any progress about the possibility to read .m2ts from AVCHD camera as sony, panasonic, canon... ?
if you need some .m2ts panasonic "raw" for testing, i can upload for you.
thanks in advance for your great work!
ciao
Atak_Snajpera
8th March 2008, 00:50
what about the possibility to read .m2ts from AVCHD camera as sony, panasonic, canon... ?
I have samples from Canon and sony and everything is ok! DGAVCDec indexes without problems...
Gannjunior
8th March 2008, 00:57
really? maybe the problem is only with panasonic... just tried again with alpha 18 on my m2ts from panasonic SD1, but it doesn't work...
Atak_Snajpera
8th March 2008, 01:12
Send sample to Neuron2
Gannjunior
8th March 2008, 02:06
ok, here it is a sample for neuron:
http://www.savefile.com/files/1426101
ciao!!
Guest
8th March 2008, 05:02
It worked just fine for me in alpha 18. What do you mean exactly when you say "it doesn't work"?
jase99
9th March 2008, 17:43
Hi neuron2, I find that deblock=false produces sharper, more detailed images on fairly static scenes but produces more blocking in fast motion scenes. I was looking at a 1080p hd broadcast. Reading various posts around the net this appears to be what is expected, i.e., that deblocking smoothes (and therefore reduces detail) in the image, do you agree?
Why has deblock=false been made available as an option? I understand deblock=true is a mandatory part of the spec. Would you be able to provide a scenario where deblock=false may be desirable?
Inventive Software
9th March 2008, 18:27
Mandatory inloop deblocking is only compulsory if there isn't an option to disable it. libavcodec has that option to disable it, consequently DGAVCDecode does. If I'm wrong, please correct me.
If you're finding non-deblocked passages better than when it's enabled, consider using "Trim" in AviSynth, with AVCSource("file.dga",deblock=false) or AVCSource("file.dga",deblock=true) for the relevant sections. Those are off the top of my head, and may be incorrect.
Guest
9th March 2008, 20:25
Why has deblock=false been made available as an option? I understand deblock=true is a mandatory part of the spec. Would you be able to provide a scenario where deblock=false may be desirable? It seemed like a fun thing to do at the time, just to investigate the effect of turning it off. It has no real practical use.
jase99
10th March 2008, 12:31
Thanks for the info :)
Sharktooth
10th March 2008, 18:12
It seemed like a fun thing to do at the time, just to investigate the effect of turning it off. It has no real practical use.
it has... speeds up the decoding at the cost of some blocking.
anyways, at very low quantizers, blocks are rare, so sometimes skipping the deblocking is safe.
Gannjunior
13th March 2008, 09:58
It worked just fine for me in alpha 18. What do you mean exactly when you say "it doesn't work"?
now it worked. i was under vista 64...but, under xp 32, my panasonic avchd stream worked fine in alpha 18... ;-)
another question: i just demuxed video stream from an hddvd by EVOdemux, obtaining an .mpv file... but i'm not able to run it in alpha 18 neither under xp 32...is that possible?
thank you!
Atak_Snajpera
13th March 2008, 10:06
It is possible because DGAVCDec means AVC decoding not VC-1. Simple!
Gannjunior
13th March 2008, 10:18
when i'll arrive at home i check, but i believe to remember that film has the main video in avc stream, and the special extra streams in mpeg2...
Gannjunior
13th March 2008, 21:04
just arrived at home and checked the stream...off course dgavc wasn't able to read it...atak you were right...the video stream is VC1...but what is strange is that i'm now reading on my hddvd box that video stream is AVC...:rolleyes:
ciao!
Encoder888
14th March 2008, 05:29
I have a few problems with DGAVCDec. First of all, it quite frequently crashes, especially if i'm trying to do other things while it's indexing a file. If I leave it alone, most of the time it will finish. But that's not the main problem. I demuxed a Blu-Ray audio file (tried Superbad and Spider-Man 3) and the original raw .pcm that the program created is total garbage. I mean, you can play it and you can tell it's the English audio, but the quality is absolutely horrible, it's full of noise and just completely unusable. I was wondering if anyone else had the same issue and how you solved it? When can we expect a stable release ?
Atak_Snajpera
14th March 2008, 08:02
Send sample to neuron2 (m2ts)
Guest
14th March 2008, 13:40
@Encoder888
You are the only person reporting crashes during indexing, so you might look to your system for the cause of any instability.
If you want me to look at your audio issue, you have to provide a link to a good sized chunk of your M2TS. You can use DGSplit to split off the first 50MBytes and then upload it to a hosting site. Alternatively, you can upload it to my FTP site if you prefer. I'll PM you the password if you request it.
The measure of how badly you want this issue addressed is how much effort you are willing to expend to get me a source sample. :)
Guest
15th March 2008, 01:48
1. Changed the name of the "Aspect Ratio" field in the Info display to "SAR".
2. Added a "Display Size" field to the Info display.
3. Fixed a bug in demuxing of LPCM audio from transport streams.
http://neuron2.net/dgavcdec/dgavcdec.html
@Encoder888
This is what you are looking for.
Atak_Snajpera
15th March 2008, 12:51
Fixed a bug in demuxing of LPCM audio from transport streams.
Neuron, What do you think about demuxing directly to PCM (*.wav) instead of LPCM (.pcm) ?
buzzqw
15th March 2008, 13:15
Neuron, What do you think about demuxing directly to PCM (*.wav) instead of LPCM (.pcm) ?
my doubt is that wav file over 2 gb (easy with 6 channel) loose index (iirc) and so isn't well suited for decoding via standard methods
i prefer a raw pcm, decode to lossless flac then encoded to whatever encoder you want (as i do in new automkv)
or piping from raw pcm to encoder ... but intermediate wav.. could be a perilius trail
BHH
Diodato
17th March 2008, 00:14
Hi Donald,
I have a problematic TS stream. Can you take a look?
Remuxed with tsRemux or tsMuxeR works fine with alpha 19, but not the original DVB-S2 stream.
http://rapidshare.com/files/100092112/intro.ts.html
Guest
17th March 2008, 01:08
Please use a host that doesn't have a download limit. I already downloaded a file from there today and they want me to pay now. :p
Maybe megaupload.com.
bob0r
17th March 2008, 02:17
Hi Donald,
I have a problematic TS stream. Can you take a look?
Remuxed with tsRemux or tsMuxeR works fine with alpha 19, but not the original DVB-S2 stream.
http://rapidshare.com/files/100092112/intro.ts.html
Please use a host that doesn't have a download limit. I already downloaded a file from there today and they want me to pay now. :p
Maybe megaupload.com.
http://files.x264.nl/intro.ts
Guest
17th March 2008, 04:03
Thanks, bob0r.
If I demux it with xport and then open the elementary stream in DGAVCIndex, it's OK. So there's something wrong with my transport parsing. Investigating...
laserfan
18th March 2008, 14:56
Newbie alert! My first attempt w/DGAVCDec to convert an h264 to HD Xvid worked spectacularly well, except that I stupidly left DGAVCIndex at its default "Ignore Pulldown Flags" setting, where it needed Force Film. So the playback of the resulting avi was at 29.970 (speeded-up) and the length was 23.976/29.970 too short, though of course all the movie's frames were there.
I found a tool from the Zoomplayer folks called AVI Frame Rate Changer v1.10 which fixed the problem for me in less that one second (!) so I guess only a simple header change was needed to the avi.
Anyway just wanted to feed back that Alpha 19 worked great for me, where my previous method of building a grf and using DirectShowSource was choking at one point in the program which I hadn't been able to figure out. Many thanks neuron2 for this terrific new tool! :)
shambles
18th March 2008, 20:05
i have a problem with spider-man2 blu-ray disk. the video is 183372 frames long, but when i save the project, dgavcdec stops at 183207 frames and it just says finished, doesn't spit out any errors.
it's a seamless branching title so before loading it i have to copy /b 22 m2ts files. don't know if that's why this is happening but i've tried just saving the project, saving + demuxing video, i even tried demuxing the video with xport and loading that into dgavcdec and then saving, but with all those methods it stops at 183207 frames.
muxing the video to mkv with eac3to gives me the correct amount of frames, and if i seek on the timeline when it's loaded in dgavcdec i can see the missing frames, and if i load the last m2ts segment and then save project it works fine and the frames are included.
Guest
18th March 2008, 20:12
Please post a link to the entire DGA file. Thank you.
shambles
18th March 2008, 20:27
http://www.dump.ro/download.php?file=bits0001.dga&id=YThhZWNlMDg4MjM3MWY0MzhjODI5YmNjYjk5NWE5Mjc=&download=true
Guest
19th March 2008, 00:26
Well, the DGA shows the truncated count and there are no frame repeat SEIs to account for the missing frames. Indexing stops at the end of the input file.
So, I would guess it's a result of the concatenation of all the M2TS files. The only way to check that is for you to give me links to:
1. The last M2TS file
2. A split of the last chunk of the combined file
Then I could compare them. You could do it too, if you are a geek.
Last resort, send me all the M2TS files on a disk by smail mail.
Is the last 7 seconds REALLY important?
Chumbo
19th March 2008, 00:41
...it's a seamless branching title so before loading it i have to copy /b 22 m2ts files....
There's another thing you can try. After you've concatenated the files into one. Run that file through tsremux and then try the resulting file. If you still have a problem, then you might need to run the resulting file through tsremux too.
There has been at least one title (DeJa Vu) that needed that done, i.e., run the concatenated file through tsremux, then run that output file through tsremux.
shambles
19th March 2008, 14:29
the last m2ts file is 7gb :( i guess it's not that important. i can always use directshowsource which will return all the frames.
There's another thing you can try. After you've concatenated the files into one. Run that file through tsremux and then try the resulting file. If you still have a problem, then you might need to run the resulting file through tsremux too.
There has been at least one title (DeJa Vu) that needed that done, i.e., run the concatenated file through tsremux, then run that output file through tsremux.
gah. i'll give that a try later.
Atak_Snajpera
19th March 2008, 23:15
Neuron I have small request.
When I use command line log file is always empty (no information about stream). I will need that file because I want to know if source is interlaced or progressive. Another thing. Log file should be saved in the same directory as *.dga file.
Thank you.
Encoder888
22nd March 2008, 06:06
neuron2,
I'm still getting the crashes every now and then... You said I was the only one and I believe you, but I'm just trying to figure out what may be causing it. Definitely, it tends to crash more when I'm trying to play another video file at the same time its demuxing, be it a DVD, BD or any MPEG-4... And by crashing, I mean it just closes and leaves the demuxed audio to where it got. Is DGAVCDec not very friendly with certain programs, like AnyDVD ? Anyhow, I'm sure the issue is with me, I may just have to reinstall Windows.
Also, I wanted to ask you if it was possible for DGAVCDec to maybe generate audio delay? I use it mainly through AutoMKV and I've been getting progressive delays, as in it starts with almost no delay at the beginning of the movie and it gets worse as it progresses until near the end the audio is delayed by about a second. AutoMKV's own delay tools can't fix it either and I'm just trying to figure out if the problem occurs after demuxing or after encoding with AAC... Or maybe when the final file is muxed ? Any advice there?
Thanks and sorry for the long post.
Inventive Software
22nd March 2008, 15:39
I'm unable to download DGAVCDecode for some reason! It keeps timing out. Anybody else had this problem?
Guest
22nd March 2008, 18:42
Fixes audio detection and demuxing and consequent video decoding errors for some streams.
http://neuron2.net/dgavcdec/dgavcdec.html
Guest
22nd March 2008, 18:44
I use it mainly through AutoMKV and I've been getting progressive delays, as in it starts with almost no delay at the beginning of the movie and it gets worse as it progresses until near the end the audio is delayed by about a second. You're messing up the video frame rate somehow. Nothing to do with me. :)
LigH
24th March 2008, 08:11
Thread title update?
__
Slight progressive delays are possibly related to some confusion about NTSC / FILM frame rates. Make sure you know exactly if it has 23.976 or 24.0 fps / 29.97 or 30.0 fps!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.