View Full Version : DGAVCDec 1.0.9
Guest
26th April 2007, 21:11
I don't know what you guys are talking about. What is that log from?
If you are decoding using DGAVCDecode.dll via an avisynth script, that delivers decompressed video, so how could the log say anything about invalid PPSs?
Tell me more because I can't guess what your entire process is. You're giving me logs from other software without telling me about it.
Does the Avisynth script play correctly in VirtualDub?
lucassp
26th April 2007, 21:22
DGAVCDecode_AVCSource("D:\Codecs\test.dga")
that's my .avs file and it plays well under Media Player. the log is from MeGUI.
Guest
27th April 2007, 02:48
DGAVCDecode_AVCSource("D:\Codecs\test.dga")
that's my .avs file and it plays well under Media Player. the log is from MeGUI. You better ask the MeGui guys, then. First, I have no idea what DGAVCDecode_AVCSource() is. I didn't make it and never heard of it. Second, my filter delivers uncompressed video so there's no way it could be responsible for unreferenced PPS's, etc.
ChronoCross
27th April 2007, 05:20
that looks like a x264 output.
@neuron2
DGAVCDecode_AVCSource() is simply a different way of calling a filer. Basically think if you have both DVD2AVI's dll and DGDecode's dll loading with avisynth.
DVD2AVI_MPEG2Source() would call the DVD2AVI dll.
DGDecode_MPEG2Source() would call DGindex's dll.
ToS_Maverick
27th April 2007, 08:10
lucassp's log is from megui + x264, i sometimes get the same messages from megui + xvid. don't know if the encoder or megui throws the errors :(
here's my log:
Looking for job processor for job...
Processor found!
Starting job job2 at 05:00:26
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-i "M:\Video\DVB\collateral.avs" -pass2 "M:\Video\DVB\collateral.stats" -bitrate 4720 -chigh 15 -clow 5 -overhead 0 -max_key_interval 25 -nopacked -qtype 1 -closed_gop -imin 3 -imax 4 -pmin 3 -pmax 5 -max_bframes 2 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -threads 2 -mkv "M:\Video\DVB\collateral.mkv"
successfully started encoding
Processing ended at 09:38:42
----------------------------------------------------------------------------------------------------------
Log for job job2
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
[h264 @ 68980000]top block unavailable for requested intra mode at 44 56
[h264 @ 68980000]error while decoding MB 44 56, bytestream (14949)
[h264 @ 68980000]top block unavailable for requested intra4x4 mode -1 at 61 56
[h264 @ 68980000]error while decoding MB 61 56, bytestream (42193)
[h264 @ 68980000]top block unavailable for requested intra4x4 mode -1 at 69 56
[h264 @ 68980000]error while decoding MB 69 56, bytestream (21491)
Trying to retrieve width and height from input header
Input colorspace is YV12
xvidcore build version: xvid-1.2.0-dev
Bitstream version: 1.2.-127
Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
Detected 2 cpus, using 2 threads.
Tot: enctime(ms) =8404354.00, length(bytes) = -235050453
Avg: enctime(ms) = 48.80, fps = 20.49, length(bytes) = -1364
I frames: 7723 frames, size = 63123/487504004, quants = 3 / 3.00 / 3
P frames: 82609 frames, size = -18999/-1569517360, quants = 3 / 3.04 / 4
B frames: 81746 frames, size = 10360/846961705, quants = 4 / 4.03 / 5
N frames: 150 frames, size = 7/ 1198
desired video bitrate of this job: 4720 kbit/s - obtained video bitrate (approximate): 4717 kbit/s
----------------------------------------------------------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Postprocessing finished!
edit: wrong logfile ;)
lucassp
27th April 2007, 10:04
You better ask the MeGui guys, then. First, I have no idea what DGAVCDecode_AVCSource() is. I didn't make it and never heard of it. Second, my filter delivers uncompressed video so there's no way it could be responsible for unreferenced PPS's, etc.
ok! but that file handled with DirectShowSource works perfectly while handled with DGAVCIndex fails to encode!
ToS_Maverick
27th April 2007, 12:16
x264 refuses to code the file, xvid_encraw works fine... but sometimes the encoded stream has artifacts due to an error in the stream/decoder, don't know which one ;)
squid_80
27th April 2007, 13:37
Second, my filter delivers uncompressed video so there's no way it could be responsible for unreferenced PPS's, etc.
The external dlls are throwing errors to stderr. They're only visible when using a command line program like x264 or xvid_encraw.
Guest
27th April 2007, 16:54
ok! but that file handled with DirectShowSource works perfectly while handled with DGAVCIndex fails to encode! But you said the AVS plays fine in Media Player. I'll look into it.
lucassp
28th April 2007, 20:47
But you said the AVS plays fine in Media Player. I'll look into it.
It plays well in Media Player using both source (Direct Show and DGAVCIndex) filters, but encoding fails using DGAVCIndex,
Guest
28th April 2007, 21:41
It plays well in Media Player using both source (Direct Show and DGAVCIndex) filters, but encoding fails using DGAVCIndex, Please give me the x264 command line that fails with the linked stream. Thank you.
Another question: Your log says it encoded 236 frames, and that is how many there are when I play the script in Avisynth. So in what way did encoding fail? Is it just the PPS messages that bother you?
tomos
28th April 2007, 23:21
all fine on 32 bit vista now. cant get it to work at all on 64 bit vista though. using alpha 4 and dragging and dropping the video onto dgavcindex loads the video fine. it indexes fine but i have no joy at all in opening the AVS file after.
with only the avcsource line in the AVS script i get:
there is no function named "AVCSource"
if i use 'load plugin', i get:
LoadPlugin: プラグイン読込エラー
reading back to the start of this thread it seems it's because the dll isnt being loaded?
tried various combos of having the dll's in the avisynth folder as i do in 32 bit vista and in win/system32 but no joy.
anyone using Vista x64 with dgavc
alls fine via DSS btw
Thunderbolt8
29th April 2007, 01:22
Many different satellite streams, all H.264.
If all those work, we are finally getting somewhere with H.264
do you mean with that that mkvmerge has problems with file sizes > 10 gb and therefore this could be part of my problems I posted in the other threads ?
squid_80
29th April 2007, 05:13
reading back to the start of this thread it seems it's because the dll isnt being loaded?
tried various combos of having the dll's in the avisynth folder as i do in 32 bit vista and in win/system32 but no joy.
anyone using Vista x64 with dgavc
If you're using a 64-bit version of windows put the dlls in windows\syswow64, not windows\system32.
tomos
29th April 2007, 06:39
doh!
thanks. will gibe that a go :)
edit
-----
it worked :)
lucassp
29th April 2007, 19:00
Please give me the x264 command line that fails with the linked stream. Thank you.
Another question: Your log says it encoded 236 frames, and that is how many there are when I play the script in Avisynth. So in what way did encoding fail? Is it just the PPS messages that bother you?
--pass 1 --bitrate 9000 --stats "D:\Codecs\test.stats" --bframes 3 --b-pyramid --subme 1 --analyse none --me dia --threads 2 --thread-input --progress --no-psnr --no-ssim --output NUL "D:\Codecs\test.avs"
--pass 2 --bitrate 9000 --stats ".stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 6 --trellis 2 --analyse all --8x8dct --threads auto --thread-input --progress --no-psnr --no-ssim --output "D:\Codecs\test.mp4" "D:\Codecs\test.avs"
The first pass gives me the PPS messages and the second pass doesn't even start. The log that I posted on the 26th April is the log from the first pass.
Great program neuron2. Just wondering if there are any plans in the next release to add usage of a template.avs file in the DGAVCDec program directly. It would work much like template.avs does with DGIndex. Basically my template file would allow DGAVCDec to automatically create an avisynth script file with every project created. For my purposes I would want the script to contain the AVCSource("") line but with the correct filename automatically generated for me.
Great program neuron2. Just wondering if there are any plans in the next release to add usage of a template.avs file in the DGAVCDec program directly. It would work much like template.avs does with DGIndex. Basically my template file would allow DGAVCDec to automatically create an avisynth script file with every project created. For my purposes I would want the script to contain the AVCSource("") line but with the correct filename automatically generated for me.
If i understand Neuron2's post about this a bit, that he has the idea to get most, if not all, DGIndex features into DGAVCIndex. Might even end up with the same GUI.
And my hope is that in the long run DGIndex, DGAVCIndex (and my utlimate hope for DGVC1Index) will all be integrated into the ultimate tool: DGHDIndex. But thats my hope, and since i dont have a chrystal ball her, i dont know if Neuron2 has the same idea of it (and sadly my programming skillz are not good enough, so that i can help out).
In the mean time i give this opinion on DG(AVC)Index and Neuron2's effords: http://gathering.tweakers.net/global/smileys/worshippy.gif
I already have AVS template generation working in my private build. I want to get DGMPGDec 1.4.9 out first and then I will resume fulltime on DGAVCDec and get out a new alpha.
I doubt that DGMPEGDec and DGAVCDec will merge but you never know.
Gannjunior
9th May 2007, 22:49
hi big neuron and thanks for your new tool!! :)
trying to open avc files (.mts) produced by my panasonic HDC-SD1 but when i drop the file into dgavcdec, its not able to open...any suggestion? do you want a little clip?
ciao!
ToS_Maverick
9th May 2007, 22:53
i'll ask instead of neuron2, to keep him from asking the same question over and over again:
did you demux the stream? cause avcindex currently only supports .h264 files
Gannjunior
9th May 2007, 23:14
hi maverick...yes... i was reading now that i have to demux...but i'm having some trouble...do i demux it by mencoder? reading here http://forum.doom9.org/showthread.php?t=114361&highlight=avchd , but im not able to get any demux...
lucassp
9th May 2007, 23:17
even if he demuxes the .mts files, he cannot open the .h264 streams with DGAVCIndex because that camcoder records at 1440x1080i.
even if he demuxes the .mts files, he cannot open the .h264 streams with DGAVCIndex because that camcoder records at 1440x1080i. That shouldn't be a problem unless it is PAFF. Is that what you are referring to?
Inventive Software
10th May 2007, 11:49
That shouldn't be a problem unless it is PAFF. Is that what you are referring to?
I thought you'd implemented PAFF support, or at least was working on it....
lucassp
10th May 2007, 12:16
That shouldn't be a problem unless it is PAFF. Is that what you are referring to?
I don't know for sure if it's PAFF :) It would be useful if Gannjunior could provide us a short stream so we can check.
LE: After some google searches I found that the AVCHD standard encodes only PAFF.
Gannjunior
11th May 2007, 09:17
hi luca,
i'll provide a little "raw" clip from my pana later. :)
I solved the problem in this way: i passed the raw avc file to nero vision that it should be able to edit avc directly, but, in the facts, it has some problems. However it permits me to get a passage file: infact i can obtain an hd-mpjpeg file that i can work in pinnacle 10.7 (waiting for may 15th the 11 version)..-> new edited mjpeg file that finally i can pass to nero recode or megui to obtain the final hd-avc file edited.
i would like to show the litte 'job'...what subforum could be better? avc-forum?
thanks,
ciao
Deinorius
11th May 2007, 15:19
Is there any documentation about Commandline using of DGAVCIndex?
I would like to use DGAVCIndex in StaxRip per Event Command.
I just can open the file. How can I make the .dga?
Gannjunior
11th May 2007, 15:48
dgavcindex will produce the .dga file..and after you have to load it in avisynth by using dgavcdecode.dll...
----------
for luca and neuron:
here your are a 33" clip as shot from my panasonic HDC-SD1, at 13 mbit HF.
http://www.savefile.com/files/713171
ciao!!
Guest
11th May 2007, 16:55
Is there any documentation about Commandline using of DGAVCIndex?
I would like to use DGAVCIndex in StaxRip per Event Command.
I just can open the file. How can I make the .dga? You'll have to wait for a later version for command line support.
lucassp
11th May 2007, 19:47
hi luca,
i'll provide a little "raw" clip from my pana later. :)
I solved the problem in this way: i passed the raw avc file to nero vision that it should be able to edit avc directly, but, in the facts, it has some problems. However it permits me to get a passage file: infact i can obtain an hd-mpjpeg file that i
can work in pinnacle 10.7 (waiting for may 15th the 11 version)..-> new edited mjpeg file that finally i can pass to nero recode or megui to obtain the final hd-avc file edited.
i would like to show the litte 'job'...what subforum could be better? avc-forum?
thanks,
ciao
You can recode a AVCHD stream using Haali Media Splitter, CoreAVC, AVISynth and MeGUI (from what I know CoreAVC is the only solution for PAFF):
DirectShowSource("D:\Codecs\00003.MTS",fps=29.9700898503294,audio=false)
LanczosResize(1440,784) # Lanczos (Sharp)
ConvertToYV12()
Deinorius
12th May 2007, 08:19
You'll have to wait for a later version for command line support. I see. I hope, we don't have to wait too long. :devil:
@Gannjunior
I talked about the Commandline Interface, not the GUI.
dirio49
19th May 2007, 22:50
HI.
When i minimize it and then try to get it back up it crashes.( this happens when i have something loaded)
I am running Microsoft Windows XP Professional (5.1, Build 2600 : Service Pack 2).
thanks
Guest
20th May 2007, 04:13
Yeah, I know, it's already been reported and fixed. Alpha 5 is very near.
Guest
22nd May 2007, 04:56
Here is alpha 5. I regret that I can't remember exactly what I did, because I neglected to keep a copy of the alpha 4 source to diff against. :( I do know that I fixed a lot of stuff and added some new stuff, such as Save BMP and AVS template creation.
http://neuron2.net/dgavcdec/dgavcdec100a5.zip
Deinorius
22nd May 2007, 07:30
I'm afraid, you didn't add Commandline? When will it be added?
ChronoCross
22nd May 2007, 07:47
how about we let him finish actual decoding features before asking for command line =)
You know.....mbaff paff support hehe.
Guest
22nd May 2007, 08:15
I'm afraid, you didn't add Commandline? When will it be added? As I said earlier, it will be added in a future version, in the fullness of time.
@ChronoCross
MBAFF is already there. It's PAFF that is missing.
lucassp
22nd May 2007, 13:22
hello
when I'm trying to open this file:
http://rapidshare.com/files/32723790/test.264.html
I get the following messege and nothing happens no matter what option I make:
http://img515.imageshack.us/img515/8182/testet9.png (http://imageshack.us)
Guest
22nd May 2007, 14:00
The file is garbage. There are no start code prefixes at all. Search for 00 00 01 and there aren't any! It also doesn't play in VLC.
I see in my binary editor that the file came from an x264 encode. What did you do to mess it up so bad? If you didn't do anything, you better inform akupenguin about this.
lucassp
22nd May 2007, 14:50
The original file is a MKV file and I dumped the video stream using Mplayer. Now I've dumped the video stream using another MKV demuxer and it works ok. My conclusion is that Mplayer doesn't dump tracks from MKV files correctly.
G_M_C
22nd May 2007, 15:17
The original file is a MKV file and I dumped the video stream using Mplayer. Now I've dumped the video stream using another MKV demuxer and it works ok. My conclusion is that Mplayer doesn't dump tracks from MKV files correctly.
I found that it is best to use the tools that go with the MKV-package (in this case MKVExtract tracks "file.mkv" <options>). It's never made an error as yet.
I'll try the newer DGAVCIndex-version later tonight on a complete 2 hours long 1080p that i'm using to sprucing up my old DVD. See if it works as well as the alpha 4 version.
mellon
22nd May 2007, 20:54
Can you incorporate VC-1 decoding in the same rush? When decoding is delegated to ffmpeg and ffmpeg has a VC-1 decoder now. I don't know about the efforts - just asking.
Best wishes
Deinorius
22nd May 2007, 21:07
how about we let him finish actual decoding features before asking for command line =)
You know.....mbaff paff support hehe. Maybe, but it would make my life easier. :p
Actually I'm just asking. :devil:
G_M_C
22nd May 2007, 22:09
I'm not interested in a CLI at all, i'd rather see the implementation of a "information panel" like DGMPGIndex has. Not to see the kind of frame-type/video-info (interlaced/Rec709 or such), but to monitor progress when you save the project (the other info for the panel will come later, i'm shure).
This because it is very hard to guess the progress from the movement of the tiny frame selector, especially on 2 hours plus video-files. Atm i put up my taskmanager to see when exactly the CPU-usage drops, to be shure the indexation has ended (and that is offcourse not my preferred method ;) ).
But i put up with it, just because this tool works so well when doing my transcode-work through AviSynth etc.
Guest
23rd May 2007, 01:21
Yeah, I hear ya. I was thinking the same thing the other day. How do I know when it is done? I'll definitely put something in the next alpha to resolve that. Thanks for highlighting it, G_M_C.
I want to just point out to people that I have limited time for all this stuff; it's a hobby for me. That means I have to pick and choose and do the important stuff first. And I have to have fun doing it! So please be patient about functionality. I'm listening and I appreciate your ideas. But they may take a while to rise to the top of the priority list.
Right now, I want to get the DLLs eliminated so that I can trace/debug the decoder directly. That will be essential for implementing PAFF support.
Deinorius
23rd May 2007, 06:29
Oh, that's really important. So don't worry about me. :)
G_M_C
23rd May 2007, 08:26
Yeah, I hear ya. I was thinking the same thing the other day. How do I know when it is done? I'll definitely put something in the next alpha to resolve that. Thanks for highlighting it, G_M_C.
I want to just point out to people that I have limited time for all this stuff; it's a hobby for me. That means I have to pick and choose and do the important stuff first. And I have to have fun doing it! So please be patient about functionality. I'm listening and I appreciate your ideas. But they may take a while to rise to the top of the priority list.
Right now, I want to get the DLLs eliminated so that I can trace/debug the decoder directly. That will be essential for implementing PAFF support.
I know that you're only doing this for a hobby; That's why i dont ask for miracles, or all knids of features. But I got the feeling you ported some code from DGMPGIndex, so i thought of the info-panel. And the only thing i ask for in that panel is the indicater that stetes the estimated time remaining / elapsed time, and the "FINISHED" :)
On the subject of the ported code; I noticed the ini's are (allmost) the same, and i have a question about that: Does changing the DCT to 5 (IEEE 1180) and the scale to 0 (TV scale) produce the disired effect (ie ouputting TV scaled IEEE1180) ?
PS: In the original ini they are on 6 (SSEMMX SKAL) and 1 (PC-scale).
Guest
23rd May 2007, 12:30
The INI file is currently just an artifact. I haven't addressed that yet.
Inventive Software
23rd May 2007, 13:49
Are IDCT's actually used with AVC or not?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.