PDA

View Full Version : XVID - interlaced encoding


fberreth
30th September 2003, 20:50
Hello,

I'm trying to encode my NTSC DV movies with XVid. I use avisynth, my DV decoder produces RGB output that has the fields weaved together.

With avisynth I normally separate fields, convert to YUY2, apply some noise reduction, cropping, horizontal resize and then weave it back together. In VDub I apply XVid encoding.

I noticed that if I enable interlaced encoding in XVid or not doesn't make any difference in the file size. Also, if I don't weave the fields back together in AVISynth then on playback I see the fields one after the other (not weaved). I use ffdshow to decode the video & enable deinterlacing (for watching on Monitor).

What I'm puzzled about is that it doesn't matter if I enable interlaced encoding in XVid or not. Seems like the result is the same. How can that be? What input stream is XVid expecting?

Thanks,
Frank.

sysKin
1st October 2003, 14:58
Originally posted by fberreth
What I'm puzzled about is that it doesn't matter if I enable interlaced encoding in XVid or not. Seems like the result is the same. How can that be? What input stream is XVid expecting?What you're doing is OK, I have no idea what can be wrong. It might be another devapi3 bug :/

I'll check devapi4 soon. Also, you reminded me, I have to make VHQ and b-frames working with interlaced video ;)

Radek

fberreth
1st October 2003, 16:17
Hi SysKin,

where can I get the new XVid with devapi4? BTW, I didn't mention it, but I downloaded Koepi's latest XVid test binary a few weeks ago to test this. Don't know if that has devapi3 or 4 or whatever but I sure would like to have this working ...

Thanks for your help,
Frank.

Tommy Carrot
1st October 2003, 18:57
All public builds are dev-api3. If you wanna test dev-api4, you'll have to compile it.

fberreth
2nd October 2003, 00:59
Can you make a build available to me? Then I can test if that dev-api4 is going to fix it.
Other question, when will dev-api4 be stable enough to be in the "public" binaries?

sysKin
3rd October 2003, 16:28
OK, news update :)

'Interlaced' thingy seems to work in devapi4. I also just fixed it to work with b-frames correctly (no more artifacts) and GMC (same). VHQ is also updated, but it isn't really what I wanted to do - what I wanted is quite complex and would make VHQ exactly twice as slow.

@fberreth: visit us on IRC - we could use someone who's actually using xvid with interlaced video, and can test stuff for us :)

Radek