[SDL 1.3] Rolling shutter like effect when play full HD video

Hi all

There is a rolling shutter like effect when play 1080p video with SDL 1.3.

Its horizontal, image quite obviously breaks and flashes. Its not obvious with 720p.

There is no such issue with the MPlayer with the same video.

I create the window with SDL_CreateWindow() with SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS | SDL_WINDOW_OPENGL.

The renderer is created with SDL_CreateRenderer() with SDL_RENDERER_ACCELERATED.

The SDL_RenderPresent() is used for display.

The GPU is Nvidia GeForce GT 330M (GT216) with 1GB Ram with the driver from Nvidia.

What could I do to rectify this issue?

Many thanks in advance.

Best regards
Unga

The information about how you set up the rendering context is useful, but how are you actually playing the video?? That would help.________________________________
From: unga888@yahoo.com (Unga)
Subject: [SDL] [SDL 1.3] Rolling shutter like effect when play full HD video

Hi all

There is a rolling shutter like effect when play 1080p video with SDL 1.3.

Its horizontal, image quite obviously breaks and flashes. Its not obvious with 720p.

There is no such issue with the MPlayer with the same video.

I create the window with SDL_CreateWindow() with SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS | SDL_WINDOW_OPENGL.

The renderer is created with SDL_CreateRenderer() with SDL_RENDERER_ACCELERATED.

The SDL_RenderPresent() is used for display.

The GPU is Nvidia GeForce GT 330M (GT216) with 1GB Ram with the driver from Nvidia.

What could I do to rectify this issue?

Many thanks in advance.

Best regards
Unga


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hello,

since you use OpenGL for rendering, did you try activating vsync?
Not sure if this helps or if it is even your problem.

Regards,
ChristophOn 03.10.2011 16:34, Unga wrote:

Hi all

There is a rolling shutter like effect when play 1080p video with SDL 1.3.

Its horizontal, image quite obviously breaks and flashes. Its not obvious with 720p.

There is no such issue with the MPlayer with the same video.

I create the window with SDL_CreateWindow() with SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS | SDL_WINDOW_OPENGL.

The renderer is created with SDL_CreateRenderer() with SDL_RENDERER_ACCELERATED.

The SDL_RenderPresent() is used for display.

The GPU is Nvidia GeForce GT 330M (GT216) with 1GB Ram with the driver from Nvidia.

What could I do to rectify this issue?

Many thanks in advance.

Best regards
Unga


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

What could I do to rectify this issue?

After creating your renderer:

 SDL_GL_SetSwapInterval(1);

…strictly speaking, you shouldn’t be able to do this with the current
renderer API, though, but I’m pretty sure this should work at the moment.

–ryan.

Try SDL_RENDERER_PRESENTVSYNC and let us know.On Tue, Oct 4, 2011 at 5:48 AM, Ryan C. Gordon wrote:

What could I do to rectify this issue?

After creating your renderer:

SDL_GL_SetSwapInterval(1);

…strictly speaking, you shouldn’t be able to do this with the current
renderer API, though, but I’m pretty sure this should work at the moment.

–ryan.

_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Try SDL_RENDERER_PRESENTVSYNC and let us know.

…or you could do that. :slight_smile:

(sorry for the brain fart in my email, Jeremy is 100% correct, I was
100% wrong.)

–ryan.