Questions tagged [interlacing]

36 questions
84
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
  • 53,325
  • 33
  • 152
  • 143
7
votes
3 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
  • 161,544
  • 178
  • 535
  • 806
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
  • 49,529
  • 25
  • 126
  • 221
4
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
  • 825
  • 8
  • 31
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,533
  • 3
  • 39
  • 57
3
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
  • 2,012
  • 5
  • 36
  • 64
2
votes
1 answer

Pixelating an image over time and looping in Processing

I'm trying to load an image and pixelate it over time. I have downloaded some code which enables me to pixelate the image depending on the location of the mouse. I would like to slowly pixelate and loop back round similar to how interlacing works…
Paul
  • 31
  • 2
2
votes
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
  • 23
  • 4
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
  • 339
  • 2
  • 14
2
votes
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
  • 595
  • 8
  • 17
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
  • 168
  • 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
  • 6,463
  • 4
  • 29
  • 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…
1
vote
1 answer

Imagick::getImageInterlaceScheme is deprecated

Imagick::getImageInterlaceScheme is deprecated but I can't find a way to replace it in the code. I tried with Imagick::getInterlaceSchema but it returns different values for the same image. Does anybody know what would be the proper way to replace…
1
2 3