Log in

View Full Version : DGAVCDec 1.0.9


Pages : 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

foxyshadis
15th July 2007, 13:44
Chuck, are you sure your source is 4:2:2? Almost every AVC encoder will convert to 4:2:0 on encoding, and I don't think ffmpeg supports decoding of higher colorspaces at all. If it's an interlaced source that gets color smeared on preview, try adding converttorgb32(interlaced=true) at the end of the script to fix that, as long as the interlacing was properly encoded in the stream.

ChuckUFarley
15th July 2007, 16:01
Yup it's definitely YUY2.
Using DirectShowSource(), AviSynth & VDub File Information:
CoreAVC= FourCC: [YUY2] - YUV 4:2:2 (YUY2 Decompressor)
ffdshow= FourCC: [YV12] - ATI YVU12 4:2:0 Planar (Xvid Decompressor)

CoreAVC has no problems playing AVC back in any colorspace, Libavcodec.dll seems to be limited right now.

It's a shame DGAVCDec can't use CoreAVC, but I can complete understand why not. Hopefully we'll get more colorspaces in future releases.

(Btw, the video is progressive so interlace artifacts aren't an issue.)

Guest
15th July 2007, 16:05
I'll bet dollars to donuts that it is YV12. Would you like to provide a sample so I can check that?

ChuckUFarley
15th July 2007, 17:15
You got it: http://rapidshare.com/files/43070135/Clip-002.mkv.html

It's 1 minute (in .mkv) cut with mkvtoolnix (23mb).

I didn't know if you wanted the raw x264 or not, but I did remove the audio to save on file size.

I would definitely like to know if CoreAVC is wrong. This is not the first x264 file I've come across that it reports as YUY2.

Edit: Hmm. The video renderer in MPC reports YV12.... that's odd.
I wonder which program is going wrong.

Inventive Software
15th July 2007, 17:57
Yup it's definitely YUY2.
Using DirectShowSource(), AviSynth & VDub File Information:
CoreAVC= FourCC: [YUY2] - YUV 4:2:2 (YUY2 Decompressor)
ffdshow= FourCC: [YV12] - ATI YVU12 4:2:0 Planar (Xvid Decompressor)

I'll bet dollars to donuts that it is YV12.

Sure you don't want that dollars to dollars? :D

@ChuckUFarley: BTW, raw x264 for him is better, as that's what DGAVCIndex currently supports. ;)

ChuckUFarley
15th July 2007, 18:23
neruon2: if you need me to extract the raw video let me know...

Either way I know now you prefer raw, it was just easier to split still in the container.

Guest
15th July 2007, 19:06
If you want me to look at it, you need to give me a raw H264 elementary stream. I don't have any MKV tools, nor am I interested in installing any.

ChuckUFarley
15th July 2007, 20:16
No problem: http://rapidshare.com/files/43099016/Clip.h264.html

Edit: (Insane babbling removed)

Currently the colorspace is the least of my problems.
I get random crashes (i.e. not the same place each time) when trying to encode my script with CCE.
I tried installing today's build of libavcodec and it got much further before crashing, but I still can't encode the full movie.

Scanning through with MPC I get "CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0".

I don't know if that's the same thing making CCE crash or not.

ChuckUFarley
17th July 2007, 03:12
Ok, so no help here I guess.

I do recommend to anyone having problems to try the nightly build of ffdshow.
The July 15 got me a lot farther than the stable beta 3 build.

Guest
17th July 2007, 04:39
Ok, so no help here I guess. You think my only responsibility in life is to help you, and if I don't answer in a day, you can cop an attitude? Well, you know what. I had a death in the family this weekend, and on the previous Friday, my company let 1300 people go (not me!). So I've been a little distracted. Know'm sayin'?

Furthermore, your nick violates rule 4. So I want you to ask the admins to change it. Otherwise I'll start striking you. I'm going to be generous, though, and give you more than a day. A week seems reasonable to me.

And I looked at your stream. It is 4:2:0 (YV12). chroma_format_idc is 1.

ChuckUFarley
17th July 2007, 05:37
Dude, I'm sorry. That all sucks.
But I was not dogging you personally. I assumed more people (besides you) had some experience and might have tips.

Finally, I will request a name change, I wasn't aware it would be an issue.

ChuckUFarley
19th July 2007, 01:02
I managed to completely encode the movie, but it required splitting it into 5 scripts of about 30-45 minutes each.
Any more and CCE would throw an error.
Possible memory leak?

I intend to encode the same script in x264 later. Hopefully that will be able to make it in one go.

Guest
19th July 2007, 02:56
You can also try a different MPEG2 encoder, such as HC. That would help us to determine if the problem is in DGAVCDec or CCE.

BTW, your nick has been declared OK by the powers that be, so there's no need to change it. I disagree, but I just work here. :)

ChuckUFarley
19th July 2007, 22:11
HC is unable to completely encode either. I got a standard Windows error that wasn't informative.

I don't know if I mentioned that the script uses multiple trim commands to edit the film... if that makes any difference.

Deinorius
20th July 2007, 00:28
May be, I found a bug. Look at the screenshots I made. Source ist totally fine. Indexing with DGAVCIndex brings big block artefacts.

Uploaded 1 min of the source stream. I use Alpha 6 with Original libavcodec.dll. Didn't try tryout.dll, just recognized it yet.

http://rapidshare.com/files/43901389/dga.h264.html

Source has 720p.

ChuckUFarley
20th July 2007, 02:43
You probably should install one of the tryout libavcodec's first.

Most people aren't even able to get DGAVCDec to load video with the older versions of the .dll let alone get it to index properly.

Gannjunior
28th July 2007, 10:32
hi Neuron,

i know that dgindex is able to read mpeg2 video inside .evo container from hd-dvd.

What's about vc1 video inside .evo? Is dgindex able to read it?

Because i would like a little raw clip from an hd-dvd of my friend, but i would like to cut it, because he's not able to upload me a big file... So, since Dgindex is able to get cut operations, i would like to know if it is possible or not with vc1-evo...

TIA

ciao

Guest
28th July 2007, 13:37
No VC1. DGIndex works on MPEG only.

SpAwN_gUy
30th July 2007, 12:16
What's about vc1 video inside .evo? Is dgindex able to read it? try this one (http://forum.doom9.org/showthread.php?t=121466&highlight=VC1source) .. but .. unfortunately it IS halted(i guess).. and ther is NO seeking.

OFFTOP: maybe, after completeing AVCDec, neuron could make the TRUe DGVC1Dec ... (i assume this will not be such a problem, when ffvc1(???)decoder will be there, and after messing around with ffavcdecoder (names are probbably wrong)).. so we would get DG(HD)Index and Decoders :)

hajj_3
2nd August 2007, 13:42
any update on progress neuron?

harissa
12th August 2007, 21:09
can anyone help me i can't open the ts h264 hdtv file
my guess is that i have to convert it to raw 264 so it can be loaded in dgavcdec100a6 , but i cant find any procedure anywhere

harissa
13th August 2007, 04:22
I manage to extract the raw *.264 from the ts hd file with mencoder
but i got this msg in DGAVCDec
"" paff interlacing not currently supported ""
any help ?
hd file is 1440*1080 29.9frame , so it s interlaced

harissa
13th August 2007, 05:11
megaupload.com/?d=Q87R16OG

here s the file it was recorded with a dvb appz
so i used the TsRemux.exe to rewrite a new ts
and used mencoder to extract the h264
for information all h264 1280*720 60fps can be easly open with DGAVCDec
only the interlaced one have this problem

mitsubishi
13th August 2007, 05:22
"" paff interlacing not currently supported ""

The error message is pretty clear, paff isn't supported, so it won't work until it is.

foxyshadis
13th August 2007, 05:25
Your stream isn't supported at all, it's been mentioned over and over in this thread, and it won't work in ffmpegsource either, so your only option is really directshowsource. Since development has stalled, there's no much point in waiting for the next version, which might be next week or next year.

harissa
13th August 2007, 05:29
directshowsource
i ve tried that the file didnt load at all
do i have to keep the ts or directshowsource. the raw file ?

foxyshadis
13th August 2007, 06:21
Whatever you have directshow splitters installed for. TS will probably be a lot easier to find than raw, haali's supports it for instance.

pyrates
18th August 2007, 08:45
I know that with a raw h.264 file, the framerate can't be found out. But if there can be an option that I can set what the framerate of the h.264 file should be, then the proper framerate can be set in the dga file that is created by opening it up in Notepad and making the change. Right now it defaults to 60000/2002, it should be either that, or 24000/1001 or 25/1. Or entering in a custom value would be good too for those weird sources.

Guest
18th August 2007, 13:22
I know that with a raw h.264 file, the framerate can't be found out. That's not always true. The frame rate is specified in the raw stream's SPS for fixed framerate files:

if (sps->vui_seq_parameters.fixed_frame_rate_flag == 1)
{
nalu->time_scale = sps->vui_seq_parameters.time_scale;
nalu->num_units_in_tick = sps->vui_seq_parameters.num_units_in_tick;
}
else
{
nalu->time_scale = 50;
nalu->num_units_in_tick = 1;
}

Then:


fprintf(p_aif, "\nFPS %d / %d", nalu->time_scale, 2 * nalu->num_units_in_tick);

Anyway, you can simply edit the DGA file and go to the bottom and change the FPS line.

pyrates
20th August 2007, 15:31
That's not always true. The frame rate is specified in the raw stream's SPS for fixed framerate files:

Anyway, you can simply edit the DGA file and go to the bottom and change the FPS line.

Yeah thats what I do right now, but it would be nice if the gui had an option to specify the framerate. But even better to detect it using that code.

Guest
20th August 2007, 15:51
But even better to detect it using that code. It already does use that code.

pyrates
21st August 2007, 06:32
It already does use that code.

Didnt work for me when I used it. Read it as 60000 / 2002 instead of 24000 / 1001. Had to go in and manually change it.

Guest
21st August 2007, 13:35
Didnt work for me when I used it. Read it as 60000 / 2002 instead of 24000 / 1001. Had to go in and manually change it. The default is 50 / 2, so those values must be in your stream. I'll look at it if you'd like to post a small source sample. Make sure that you get the same result when you index the sample (needs to contain the SPS).

pyrates
24th August 2007, 06:59
The default is 50 / 2, so those values must be in your stream. I'll look at it if you'd like to post a small source sample. Make sure that you get the same result when you index the sample (needs to contain the SPS).

Too late I guess for that now. Already is gone. But that was the only problem. Other then the usual last frame not being in the video but that's not even noticeable. The video encoded perfectly with no artifacts in it at all. The hd dvd in this case was Pay Back. Even when I tried to demux it with evodemux, it didn't show the framerate in their either. But I know all hd dvd that are movies are mastered to run at 24000/1001, so that's how i knew to use that value.

Alosaur
24th August 2007, 07:56
Too late I guess for that now. Already is gone. But that was the only problem. Other then the usual last frame not being in the video but that's not even noticeable. The video encoded perfectly with no artifacts in it at all. The hd dvd in this case was Pay Back. Even when I tried to demux it with evodemux, it didn't show the framerate in their either. But I know all hd dvd that are movies are mastered to run at 24000/1001, so that's how i knew to use that value.

Actually if you were dealing with a stream from an HD DVD it was perfectly correct in reporting 29.97 and not 23.976. HD DVD video streams, as with DVD, have soft telecine flags and that's why you get it reported as 29.97. The issue isn't with DGAVCIndex as it's just reporting the way the stream is flagged. Blu-Ray on the other hand stores the stream natively at 23.976 and has no telecine flags.

Revgen
27th September 2007, 01:55
Any news lately Neuron2?

JK1974
27th September 2007, 09:34
Has anybody seen this: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-September/035591.html

Itīs a first PAFF implementation for ffmpeg, but I donīt know how good it is working.

onlym3
28th September 2007, 20:07
I have Spiderman 3 here and when i index the movie with dgavcindex it ends up 11 seconds too short. When i build a graph Filesource - Sonic HD Demuxer - Sonic VideoDecoder 4.2 and use that in an .avs i get the correct length, so dgavcindex is somehow "loosing" 11 seconds.
Any ideas how or why this happens?

Guest
28th September 2007, 23:17
Has anybody seen this: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-September/035591.html

Itīs a first PAFF implementation for ffmpeg, but I donīt know how good it is working. That's great because I won't have to do it. :)

Regarding news: after 8 years of tireless work I am taking a little break. I hope to regain my energy in not too long.

Guest
28th September 2007, 23:18
I have Spiderman 3 here and when i index the movie with dgavcindex it ends up 11 seconds too short. When i build a graph Filesource - Sonic HD Demuxer - Sonic VideoDecoder 4.2 and use that in an .avs i get the correct length, so dgavcindex is somehow "loosing" 11 seconds.
Any ideas how or why this happens? Is it really a big deal for you? Do you lose sync or any important part of the video? What is the frame rate reported by the two applications? What is the movie length? If you play it using VLC or any other libavcodec-based player, does it also lose 11 seconds?

Adub
29th September 2007, 04:52
Good for you neuron2!! You deserve a break, I dare say. What with DGindex, decomb, DGAVCDec, and everything other thing you have done in the past 8 years, I'd damn well say you have earned a vacation!

Have a nice break!

Revgen
29th September 2007, 05:05
Regarding news: after 8 years of tireless work I am taking a little break. I hope to regain my energy in not too long.

Is it really a big deal for you? Do you lose sync or any important part of the video? What is the frame rate reported by the two applications? What is the movie length? If you play it using VLC or any other libavcodec-based player, does it also lose 11 seconds?

Wow! You've regained your energy pretty quick. ;)

Yet seriously, I really appreciate your work on both DGAVCDec and DMPGDec. It's always a good idea to take a break to prevent burnout. Enjoy your time off and take it easy. :thanks:

Toti
1st October 2007, 01:59
Awesome tool but does it work only in XP. No VISTA support?

Guest
1st October 2007, 02:18
Buy me a copy of Vista and I will let you know. Are you having some issues?

Toti
1st October 2007, 05:02
@Neuron 2, I'll be more than happy to send you Windows Vista if you provide me with your address send me a pm. Yes, the issue is that it just doesn't work in vista. The .avs file is not recognized.

Trahald
1st October 2007, 05:17
Hmmm... works ok here.. (vista ultimate x86) what does '.avs file is not recognized' mean?

Guest
1st October 2007, 05:44
@Toti

Are you talking about a shrink-wrapped legit Vista, or an illegal copy? I cannot accept the latter, but I appreciate the offer.

Yes, please explain your problem more. What exactly do you do and what goes wrong?

dk75
1st October 2007, 20:19
Master Yoda I am, I explain that to you then.

@neuron2: Toti installed DGAVCDec in system, indexed AVC stream, build AVS script and... he thinks that it is standalone.

@Toti: DGAVCDec isn't standalone program and AVS isn't part of it. DGAVCDec is part of AVS instead and that means that it's useful if you have and use AVS already. It is plugin to AVS with some helper tool along.
So you must install AVS BEFORE useing DGAVCDec.

Toti
2nd October 2007, 06:28
Hi Neuron, I am running Windows Vista Ultimate 32-bit. I index .264 file create an .avs file and Virtual Dub gives me an error.

If works fine to other people then its probably something wrong at my end or more likely imcompability with programs.

CineVision "not a valid video stream"
MainConcept "No Video stream found"
TMPGEnc "No Video found"

Neuron, let me know just a pm away.

Guest
2nd October 2007, 14:44
Does it play properly in DGAVCIndex? Have you installed Avisynth? What is the exact error you get in VirtualDub?