Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Presenter Stuttering over time in the recording #522

Open
mliradelc opened this issue May 10, 2017 · 5 comments
Open

Video Presenter Stuttering over time in the recording #522

mliradelc opened this issue May 10, 2017 · 5 comments
Labels

Comments

@mliradelc
Copy link

mliradelc commented May 10, 2017

Using Galicaster 2.0.0 I have a video stuttering over time, this can observe in this video: Video

The recording is affected by this, please view this video over the time (It has no sound): Video 2

Only the presenter stream is affected by this, and the cpu usage is about 30% all the time.

The strange is that the stuttering stops when you focus another window in the UI (Like using alt-tab), as you can see in the first video

The machine is:
Galicaster 2.0.0
Ubuntu 16.04

Hardware:
SDI camera @ 1080p30
BM Decklink Mini recorder
Datapath vision RGB E1S
Intel core i7 - 7400
8 GB Ram
MSI Z270 Motherboard
Nvidia GT730 Video Card

The profiles using actually are this:
Conf-dist.ini and conf.ini
profile lecture.ini

@mliradelc mliradelc changed the title Video Presenter Stutering over time in the recording Video Presenter Stuttering over time in the recording May 10, 2017
@sinhote
Copy link
Contributor

sinhote commented May 10, 2017

We have the same problem in almost all our Galicasters here at the University of Cologne. It also affected the Galicaster 1.x in both Community and Pro versions.

Based on our experience, the issue manifests iff:

  • Galicaster runs fullscreen.
  • The recording window is the top-most window in the screen.
  • The active profile has two streams (profiles with only one track do not suffer from this bug).

That means that the bug does NOT manifest (i.e. no stuttering) when:

  • There's a window above the main screen of Galicaster (including the "No Audio" dialog)
  • Galicaster runs in a window that does not cover the whole screen.

We suspect it must have something to do with the hardware characteristics of the computer; for instance, the issue does not affect our older Dell Optiplex 7010, but it does appear in the newer Dell Optiplex XE2. It happens in other models we currently use in production, too, but, strangely enough, it does not affect a laptop we are currently testing to use as mobile capture agent.

However, it is not a matter of processing power or performance (in other words, running the exact same pipeline as Galicaster from the command line --using gst-launch-- displays the two videos fluently and records them to disk without problems).

Also, it does not have anything to do with the recording devices: it manifests equally with Blackmagic, Datapath and Magewell, with PCIe or USB connections (always according to our experience).

I contacted Teltek informally about this issue a couple times (more than a year ago) but they could never reproduce this issue, which therefore makes it very difficult to debug. Therefore, we are running all our Galicaster in window mode (setting the resolution parameter of the [basic] section in the config.ini file to a value lower than the desktop's resolution) to workaround the problem.

It is kind of a relief to know that we are not the only ones seeing these issues. I hope that, at least, the workaround will help you to move forward despite of the bug.

@mliradelc
Copy link
Author

mliradelc commented May 10, 2017

I think this problem is more from the UI aspect than the others.

Ruben in your tests have you tried with the compiz configuration off?

I don't have another machine to test it with another enviroment, but it will interesting to test this in Linux mint using Gnome rather than Unity. If someone can make this test will be very useful.

Update: Ruben, your workaround works, now, Do you have the commands to disable the top bar and the side bar in ubuntu?

@sinhote
Copy link
Contributor

sinhote commented May 11, 2017

I think this problem is more from the UI aspect than the others.

I don't have another machine to test it with another enviroment, but it will interesting to test this in Linux mint using Gnome rather than Unity. If someone can make this test will be very useful.

It may have to do with the desktop environment, too, I don't know... We did try to use Lubuntu instead of Ubuntu in order to lower the footprint of the OS and get rid of unnecessary dependencies (e.g. Libreoffice), but the issue there manifested no matter what (Galicaster fullscreen or not). So we went back to Ubuntu because we are already familiar with the system.

Ruben in your tests have you tried with the compiz configuration off?

I don't know what you mean by that, sorry

Do you have the commands to disable the top bar and the side bar in ubuntu?

Well, this is bug report and the question is completely unrelated... but anyway, the top bar and side bar (I guess you mean the Unity launcher) are handled in a complete different way.

  • You can hide the launcher in "System Preferences > Appearance > Behavior > Hide launcher automatically". In order to make it even more difficult for the launcher to show, I reduce the sensitivity to the minimum and select the top-left corner as the trigger are (because it's smaller than the whole left side).
  • I don't think you can hide the top bar at all when an app is in window mode. I haven't even tried, though. Anyway, it does not show any menus for Galicaster, so it's not a big problem IMHO.

I'd be happy to try and help you with any further questions, but if they are unrelated to this issues, we should perhaps bring them to the mailing list because they are off the topic here.

@smarquard
Copy link

smarquard commented May 11, 2017 via email

@sinhote
Copy link
Contributor

sinhote commented May 15, 2017

Hi @smarquard ,

That may certainly help, but the root cause cannot be a high framerate in the preview, because if I run a pipeline which is exactly the same as the one used by Galicaster (with preview + recording), with the exact same components, only with gst-launch instead of python, the preview(s) run fluently and without problems.

I should try and reproduce the bug with a test python program, in order to discard GTK's python bindings as the root cause.

@Alfro Alfro added the bug label Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants