Questions tagged [interlacing]

33 questions
78
votes
6 answers

When to interlace an image?

As a general rule of thumb when is it appropriate to make a gif interlaced, a png interlaced and a jpeg progressive? Especially when publishing the image on the web.
Timo Huovinen
  • 46,329
  • 33
  • 128
  • 127
7
votes
2 answers

How to detect if a frame is odd or even on an interlaced image?

I have a device that is taking TV screenshots at precise times (it doesn't take incomplete frames). Still this screenshot is an interlace image made from two different original frames. Now, the question is if/how is possible to identify which of…
sorin
  • 137,198
  • 150
  • 472
  • 707
5
votes
2 answers

GLSL Interlacing

I would like to efficiently render in an interlaced mode using GLSL. I can alrdy do this like: vec4 background = texture2D(plane[5], gl_TexCoord[1].st); if(is_even_row(gl_TexCoord[1].t)) { vec4 foreground = get_my_color(); gl_FragColor =…
ronag
  • 43,567
  • 23
  • 113
  • 204
3
votes
1 answer

Swscale color space convert interlaced frames?

I am writing an application that exports video that I have captured (PAL SDI). The original color space is uyvy (4:2:2). When I convert the frames with swscale to 4:2:0 and encode with avcodec I get color bleeding between the fields. I suspect this…
Nioreh
  • 253
  • 3
  • 14
3
votes
1 answer

Recursive interlacing permutation

I have a program (a fractal) that draws lines in an interlaced order. Originally, given H lines to draw, it determines the number of frames N, and draws every Nth frame, then every N+1'th frame, etc. For example, if H = 10 and N = 3, it draws them…
Edmund
  • 10,070
  • 1
  • 36
  • 52
3
votes
1 answer

Media Foundation set video interlacing and decode

I have an MOV file and I want to decode it and have all frames as separate images. So I try to configure an uncompressed media type in the following way: // configure the source reader IMFSourceReader*…
mbaros
  • 797
  • 5
  • 23
2
votes
2 answers

How can an Interlaced .png file's size be smaller than the original file?

Ok, so I tried to use the imagemagick command: "convert picA.png -interlace line picB.png" to make an interlace version of my .png images. Most of the time, I got the resulting image is larger than the original one, which is kinda normal. However,…
CSDD
  • 123
  • 9
2
votes
0 answers

Images get interlaced when using camera2 API

I'm trying to create an app using the camera2 api, what I need is to create a burst of 30 fps which I was able to create. The problems is both the preview images and the saved images interlaced (I'm photographing some blinking leds so its easy to…
Eladit
  • 158
  • 1
  • 2
  • 9
2
votes
1 answer

GIF Image getting distorted on interlacing

I have a few images that were converted using Imagemagick and its interlaced operation. These were the animated GIF images. The issue is that, while converting, the images have distorted and I do not have original images with me as it was the…
Nerve
  • 5,435
  • 3
  • 25
  • 29
2
votes
0 answers

Can't get gstreamer to produce deinterlaced video

Background: I'm streaming video from a Bosch VideoJet x40 network video encoder. It reads in up to 4 analog camera inputs and outputs RTP streams. I'm supplying test footage from an old VCR (Saving Private Ryan!), using a single yellow video…
2
votes
3 answers

Load an image via Interlacing - From low to full resolution - HTML

I am creating a site that uses an image as the background. I hate having the image load from top to bottom as it just makes the page look bad as it is loading. I have seen some sites that load a really low resolution image and then it gradually…
michaellindahl
  • 1,913
  • 4
  • 35
  • 62
1
vote
1 answer

FFmpeg Idet with Timecode/Frame Number?

Is it possible to get ffmpeg to tell you which frames it thinks are interlaced/progressive when running the idet filter? My use case is that when interlaced frames are detected in a file I need to be able to know which frames ffmpeg thinks are…
Matt Cohen
  • 11
  • 1
1
vote
1 answer

why scan line of interlace is form middle point, and not horizontal?

I am new to video format. I searched about interlacing scan mode.and fount I want to know why the scan line is start at the middle of the line and not horizontal. Is LED display and CRT display same as the picture is showing?
jianing
  • 143
  • 1
  • 1
  • 7
1
vote
0 answers

Why does my YouTube video look fuzzy?

I have been recording a video game series with this old Dazzle capture card. If you look at my video, you can see how the footage looks fuzzy. I think it has something to do with my having to deinterlace it. I tried a couple different deinterlacing…
1
vote
1 answer

read video metadata in objective c

I am trying to see whether a video file the user has selected is interlaced/progressive, and then do some manipulation depending on that. I have tried to check whether the cmsamplebuffer i have extracted is defined as top field first or bottom field…
alwaysmpe
  • 316
  • 4
  • 10
1
2 3