Log in

View Full Version : Help! Weird interlacing pattern...


JanBing
13th February 2014, 18:28
I'm having some trouble with recent HDTV recordings, which show strange interlacing artifacts in some episodes.

First of all, some episodes look okay (although slightly blurred, since they're only 720p upscaled to 1080p). These look like this:
http://tryimg.com/4/t.png

But then again some episodes look like these:
http://tryimg.com/4/t1.png
http://tryimg.com/4/t2.png
http://tryimg.com/4/t3.png

Were they upscaled in some weird way? Do you think it's possible to retrieve the (upscaled) 1080p image from them, and the fields are just shuffled around?

As you can see, the text overlays are at 1080p, so those were added afterwards by the TV channel. I could live with them getting messed up in the process of restoring the rest of the image ;)

Guest
13th February 2014, 18:37
Post a link to an unprocessed source stream sample and give us your Avisynth script. You can use DGSplit to cut the transport stream file.

JanBing
13th February 2014, 18:47
Well, I don't think the TS-stream would be of much help here, because the interlace pattern isn't changing (even in the same stream another episode of the same show looks like the first screenshot I've posted) - the PNGs are the raw frames (the channel logo and text overlays are pixel perfect, as you can see). So I guess my AviSynth-script right now isn't any better than this:

ImageSource("t%.1d.png", 1, 3, 25)

return last

I did play around with combinations of SeparateFields(), SelectOdd(), SelectEven(), Weave(), Crop() and AddBorders(), but I just don't manage to put that image back together. Hence the thread. Nevertheless I'll upload a piece of the stream.

Guest
13th February 2014, 19:03
That's your script to process a transport stream? If you want useful help from us you need to provide the transport stream sample and the script you use to process it. Random PNGs are totally useless for us.

You say you have upscaled but there is no resize in your script. So you are really just making no sense at all. Where did you get these transport streams?

cretindesalpes
13th February 2014, 21:22
You probably need CCC (http://forum.doom9.org/showthread.php?t=158696).

JanBing
14th February 2014, 01:18
That's your script to process a transport stream? If you want useful help from us you need to provide the transport stream sample and the script you use to process it. Random PNGs are totally useless for us.

You say you have upscaled but there is no resize in your script. So you are really just making no sense at all. Where did you get these transport streams?
I'm not really sure where I wasn't making sense... I'm sorry that I expected my post to be actually read, but from your answer I can't help but think you didn't. Nowhere did I say that I upscaled the image. Also the (FullHD) screenshots I posted clearly show a station logo, so I assumed it was obvious that they are, of course, from a 1080p broadcast (although they only used 720p material upscaled to 1080p for the actual show).

And just forget about the transport stream. Let's just pretend I only have those three images and want to fix the artifacts in there. Posting the TS is difficult with my connection and pointless regarding the problem at hand, believe me.

If you prefer to lecture me about my stupid post (which would make more sense if you've actually read it) then go ahead. I on the other hand was hoping the fine folks on here would actually be able to give me some pointers about those artifacts I've asked about... Like cretindesalpes did, thanks for that! I'll look into the CCC stuff :)

osgZach
14th February 2014, 02:59
The bottom line is you are extremely unlikely to get any kind of useful advice without posting a sample of your transport stream.
People can't fix the problem if they can't actually work on the material. A couple of screen shots don't tell us anything about problems in a moving picture stream. Especially if they have something to do with messed up fields or other problems.

You don't need to upload something that is 100MB + in size. Just cut a couple hundred frames that clearly show some of the issue you are having.

Furthermore, posting a script that references a picture doesn't show us what you are attempting to do to the stream thus far, that has not worked out for you - so again, no one can really recommend anything useful.

If you had asked why you must provide a TS sample in a much less snarky way, you'd probably get better clarification from someone still willing to help you.

Guest
14th February 2014, 03:40
@JanBig

As you evade answering my clear question about your source I close the thread. You may explain in a PM to me if you want your thread re-opened.