View Full Version : DGAVCDec 1.0.9
canTsTop
2nd December 2008, 15:18
its recorded from DVB-T with DVBViewer. i enabled Treat I as IDR options, but still it takes long time to open, for sample (10mb) ~23 seconds, and whole recordind (700mb) virtualdub stops responding but uses ~90% CPU and i waiting like 10 minutes now
Guest
2nd December 2008, 15:23
OK, I'm looking again to see why the open is taking so long.
Guest
2nd December 2008, 16:21
I've found and fixed the problem. Actually, your stream has RPS's so it should be fine. There was a bug in my handling of open GOPs.
Preparing a new release...
Guest
2nd December 2008, 16:44
* Fixed a bug in handling of open GOPs that caused problems when the first GOP of the stream is open.
http://neuron2.net/dgavcdec/dgavcdec.html
canTsTop
2nd December 2008, 16:50
Thank You for quick fix, now it works ok
komisar
2nd December 2008, 17:44
neuron2
Why? You surces not free? May be I compile with "this support" and test....
Guest
2nd December 2008, 18:36
Why? Why what?
Your sources not free? Correct. It's not open source. But see below.
May be I compile with "this support" and test.... I use libavcodec as a DLL. The change you seek would be made there. Refer to the file libavcodec.txt in my distribution for details. I advise you not to bother trying to upgrade to the latest ffmpeg code as it is broken for random access. You can certainly try to patch the version I am using, but I don't know if the patches will cleanly apply to that older version.
canTsTop
2nd December 2008, 20:10
here is another sample http://www.mediafire.com/?moznmzzzymz , its recorded with VLC in linux
problem is wrong audio delay detection, DGAVCIndex detects DELAY 11ms in this sample, but its more than 1 second incorrect
Guest
2nd December 2008, 21:14
Investigating...
Thanks. I've needed such a clear demonstration for some time. It plays in sync in VLC.
komisar
3rd December 2008, 14:34
neuron2, sorry for my misunderstand (more beer not good, sorry). Where can I get you use version of libavcodec?
Guest
3rd December 2008, 14:48
neuron2, sorry for my misunderstand (more beer not good, sorry). Where can I get you use version of libavcodec? ffdshow-tryout 1837
laserfan
3rd December 2008, 15:03
neuron2, sorry for my misunderstand (more beer not good, sorry). Where can I get you use version of libavcodec?Hmmm, it's right in the DGAVCDec package--and you have read the included docs, yes?
Guest
3rd December 2008, 15:43
The docs don't (currently) specify the source code version I used, so his was a quite reasonable question, given that he is trying to rebuild the DLL I ship.
laserfan
3rd December 2008, 22:43
The docs don't (currently) specify the source code version I used, so his was a quite reasonable question, given that he is trying to rebuild the DLL I ship.Ah, sorry komisar I misunderstood your intentions. :o
komisar
4th December 2008, 15:15
neuron2, ok. I grab all for my need but:I have made a small modification to return a different version string to
manage compatibility issues. This modification is available on request. :) Can I "request" this modification?
Guest
4th December 2008, 15:56
neuron2, ok. I grab all for my need but:I have made a small modification to return a different version string to
manage compatibility issues. This modification is available on request. :) Can I "request" this modification? Here is my modified src/ffmpeg directory:
http://neuron2.net/misc/ffmpeg1837dg.zip
Please coordinate any release of a new libavcodec.dll with me please, as it is quite easy to break DGAVCDec functionality if you upgrade to more recent ffmpeg code.
komisar
4th December 2008, 16:05
neuron2, THNX.
Ok. No problem. If I successfully build what i need -- i am post patch here.
komisar
4th December 2008, 20:33
neuron2, latest version of ffdshow-tryout not work correctly. Version of 1837 with h264_predictive_lossless2.diff non-lossless open correctly, lossless -- open with message
http://komisar.gin.by/test/cr1.png
show first frame correctly, but crash with save .dga or play [F5]
tested with dgavcdec107.zip
P.S. latest ffdshow-tryout and dgavcdec100a35.zip work (without h264_predictive_lossless2.diff).
Atak_Snajpera
4th December 2008, 21:23
@neuron
Could you check this sample http://www.mediafire.com/?ymugtm4zhnj
DGAVCindex reports insane audio delay (CANALplus.FILM.HD.Nordic.Thor.0.8W.10jul.2007 PID 281 3_2ch 384Kbps DELAY -45759574ms.ac3).
eac3to reports -241ms
Guest
5th December 2008, 02:48
DGAVCindex reports insane audio delay I've been working on audio delay for the last two days and found quite a few bugs. It's now working well in my private build, which fixes your stream.
The canTsTop stream is a different matter. It has the AVC equivalent of the problem we sometimes saw with DGIndex where you have to start your project in by a GOP. It's a pathologic stream and I wrote a timestamps analysis tool to prove it. For that stream, starting in by a GOP together with the fixes I mentioned produces a good result. I'll explain it all in detail when I make the release. I just have to do some regression testing.
BTW, I am removing the Treat I as IDR option. There's no reason not to have it on always. Speak up now if you disagree.
Sagekilla
5th December 2008, 02:50
is h264_predictive_lossless2.diff the one that changes the lossless mode from intra --> inter frame based?
If it is, that's why ffdshow-tryouts won't open it. No decoder except CoreAVC (I think) supports predictive lossless.
Guest
5th December 2008, 02:52
neuron2, latest version of ffdshow-tryout not work correctly. Version of 1837 with h264_predictive_lossless2.diff non-lossless open correctly, lossless -- open with message
http://komisar.gin.by/test/cr1.png
show first frame correctly, but crash with save .dga or play [F5]
tested with dgavcdec107.zip If you give me the changes I can try to debug it for you.
P.S. latest ffdshow-tryout and dgavcdec100a35.zip work (without h264_predictive_lossless2.diff). It may appear to work for simple streams but random access is broken with many of my test streams. Anyway, why use such an old version of DGAVCDec?
komisar
5th December 2008, 07:37
neuron2
If you give me the changes I can try to debug it for you.
http://komisar.gin.by/test/ffdshow-tryout_1837.7z (Clear 1837 version)
http://komisar.gin.by/test/dg_ffdshow-tryout_1837.diff (You modification for 1837 version)
http://komisar.gin.by/test/libavcodec.dll (compiled version with predictive_lossless2 patch)
http://komisar.gin.by/test/ff_lossless_old_ffmpeg.diff (lossless patch for old version of ffmpeg)
http://komisar.gin.by/x.patch/last.used/ff_h264_predictive_lossless2.diff (lossless patch for actual version of ffmpeg)
Anyway, why use such an old version of DGAVCDec?I am forgot to update the version...
Guest
5th December 2008, 13:52
As the changes were extensive, I'd like to get some testing on this before a release.
http://neuron2.net/misc/dgavcindex108test.zip
@Atak_Snajpera
It fixes your bug.
@canTsTop
Your stream has an issue at the beginning. After loading your file, hit the > button and then the [ button to start the project in by one GOP. Then Save project.
Test results will be appreciated. Thank you.
Guest
5th December 2008, 13:54
...stuff... Thank you. Can you also provide me a lossless sample stream?
komisar
5th December 2008, 14:03
Thank you. Can you also provide me a lossless sample stream?
http://komisar.gin.by/test/test_ll.264 (lossless)
http://komisar.gin.by/test/test_safe.264 (safe, crf=26)
Guest
5th December 2008, 14:05
You be da man. Thank you.
canTsTop
5th December 2008, 16:55
Your stream has an issue at the beginning. After loading your file, hit the > button and then the [ button to start the project in by one GOP. Then Save project.
This way i get correct a/v synchronization
And with this new version i can see difference in other video, now i get perfect synchronization. i made samples if anyone interest, difference is small but exist:
with old DGAVCIndex: http://www.mediafire.com/file/ulgogijzmnu/old.avi
with new DGAVCIndex: http://www.mediafire.com/file/2j231mdmtz1/new.avi
Thank You neuron2 very much
p.s. with this new version dgavcindex108test, i get this warning then i save project, is it normal?
http://www.ipix.lt/images/80266304.png
with dgavcdec107 there is no such warning
Guest
5th December 2008, 17:17
For the error popup, can you give me a stream? Thank you.
canTsTop
5th December 2008, 17:22
here it is http://www.mediafire.com/?0yndynjgfnm
Guest
5th December 2008, 17:24
Can't look at it until tonight as my firewall blocks media sites. Can you put it on an FTP?
Guest
5th December 2008, 18:35
@canTsTop
OK, got it from the link you PM'ed me.
Found and fixed the problem. Will be in the release. Thank you for your test results.
Guest
6th December 2008, 00:47
Found and fixed the problem. I've updated the ZIP file with the fixed test version:
http://neuron2.net/misc/dgavcindex108test.zip
opieant
8th December 2008, 22:46
don: Do you still plan to release the source code for DGAVCIndex in the future? I seem to remember you saying it would be released when more stable versions were out, but that was back in the "alpha" days.
Just curious about this since it would be interesting to modify DGAVCIndex to output details similar to those in D2V files such as field-related flags. That would make it possible detect pulldown patterns and pattern transitions, and ultimately convert 1080i to 1080p for a lot of source material, using an external application to analyze the picture/field info. This method works very well for MPEG-2 and would probably work nicely for H.264 video as well. :)
Guest
8th December 2008, 22:56
That information is in the DGA file already. I've no plans at this time to release the source code.
opieant
9th December 2008, 05:14
Blind I am. Thanks for the help. :)
Looks like I'm dealing with highly inefficient encodings since the data in the DGA file indicates each and every field is coded separately (PIC 1 and PIC 2 only), even if the source material (MPEG-2) made use of the RFF flag. D'oh!
Chumbo
27th December 2008, 15:57
@neuron2,
I ran into some errors with a tile. I've put the clip here for you if you have time to look at it please.
http://rapidshare.com/files/177250361/clip.h264.html (IF YOU'RE NOT NEURON2, PLEASE DON'T DOWNLOAD THIS AS THERE IS A 10-DOWNLOAD LIMIT).
Plays clean in MPC HC and via directshow, but causes errors to pop up and then garbage in the image. I'm using 1.0.7.
Guest
27th December 2008, 16:11
It plays clean in DGAVCDecNV, so I conclude that it's a problem in the version of libavcodec that is used in DGAVCDec. The same problems appear in VLC.
Chumbo
27th December 2008, 16:59
It plays clean in DGAVCDecNV, so I conclude that it's a problem in the version of libavcodec that is used in DGAVCDec. The same problems appear in VLC.
Aha. Thanks for checking it out so quick. :) I have an ATI card in my system so I assume I can't use the nVidia version right?
Guest
27th December 2008, 23:17
That's right, it runs only on the Nvidia cards.
G_M_C
28th December 2008, 10:29
Neuron2:
ffdshow_tryouts project just released a new beta (23 dec 2008). Would an update of DGAVCIndex using libavcodec from that new beta6 be worthwhile ?
Guest
28th December 2008, 15:39
Not until the regressions for random access are fixed.
Guest
28th December 2008, 15:58
I've made some changes to improve audio delay detection and to properly detect and demux the new audio on BD, i.e., DTS Master Audio, TrueHD, EAC3. I would appreciate testing of this DGAVCIndex build:
http://neuron2.net/misc/dgavcindex108test.zip
Note that I ignore DTS Express audio because I cannot find anything that will play it, and it is never used for the main audio tracks.
I will port this to the NV tools when it is stabilized.
nautilus7
28th December 2008, 16:14
DTS express can be decoded by nero dts decoder. eac3to uses it to decode such tracks.
canTsTop
28th December 2008, 23:10
tested few recordings with new test version, audio/video synchronization is correct
Guest
1st January 2009, 15:14
* Added support for the new audio types found on BluRay disks.
* Improved the audio delay calculation.
* Removed the Treat I as IDR option as it is now always enabled.
http://neuron2.net/dgavcdec/dgavcdec108.zip
Chumbo
1st January 2009, 17:28
* Added support for the new audio types found on BluRay disks.
* Improved the audio delay calculation.
* Removed the Treat I as IDR option as it is now always enabled.
http://neuron2.net/dgavcdec/dgavcdec108.zip
Thank you and Happy New Year!!! :)
Chefkoch_ico
3rd January 2009, 01:12
Hi!
I have a problem concerning my Canon HF100 AVCHD camcorder.
I can set it to 24p recording, but too bad, it puts the 24p stream somehow into a 29,97 fps stream. There is no good way to retrieve the original frames, at least no that I know of.
Here are some details on this:
http://forum.corecodec.com/viewtopic.php?f=3&t=1163&p=6947#p6793
http://forum.corecodec.com/viewtopic.php?t=817.0#p5007
Is there a way to sole this problem with DGAVCDec(NV) and AVISynth?
Best regards
Atak_Snajpera
3rd January 2009, 13:33
can you upload sample to www.mediafire.com
Chefkoch_ico
3rd January 2009, 14:12
can you upload sample to www.mediafire.com
Done
http://www.mediafire.com/file/tnzgyhy0zoj/20080817152150.m2ts
Thx
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.