Announcement

Collapse
No announcement yet.

Improving Video Streaming With GTK+ 3D Surfaces

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TomH
    replied
    I get the following crash (the first frame of the video appears on the surface of the cube and the right hand window before it dies)

    GStreamer version: 0.10.30
    Now playing stream.
    New dynamic pad linked: video/x-raw-rgb
    New dynamic pad linked: audio/x-raw-int

    Gdk-ERROR **: The program 'GtkGLApp_x64' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
    (Details: serial 36773 error_code 9 request_code 137 minor_code 7)
    (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() function.)
    aborting...

    Fedora 14 (2.6.35.6-45.fc14)
    MacBook 4,1 (Intel 965GM chipset)

    Leave a comment:


  • leif81
    replied
    Where's the git repo?

    Leave a comment:


  • hungerfish
    replied
    Also need source here on arch linux. Cannot find libpng...

    Leave a comment:


  • dagger
    replied
    It would be much easier if source code is published...

    $ ldd GtkGLApp_x64 | grep not
    libpng12.so.0 => not found
    libgtkglext-x11-1.0.so.0 => not found
    libgdkglext-x11-1.0.so.0 => not found

    Leave a comment:


  • devius
    replied
    Here are my results:

    Video is very slow. Something like 2fps but audio is correct, independent of input file bitrate. With high bitrate video (reported as New dynamic pad linked: video/x-raw-rgb, New dynamic pad linked: audio/x-raw-float, Stream with high frequencies VQ coding) it's the same 2fps but this time it seems to skip some frames every second or so and that causes the cube animation to also skip in sync with the video.

    Compositing active: flickering on the rotating cube window. It seems to alternate between a part of my desktop and the cube animation. Although with a second video it alternates between solid black (maybe a part of an open terminal since I use black background?) and the cube animation. Also the alternating background image is always visible flickering even with other windows on top of GtkGLApp.

    Without compositing everything works fine apart from the problems mentioned in the beggining.

    GPU:
    AMD, Radeon HD4200, 500MHz, 128MB (side-port)/ 256MB (shared)

    CPU:
    AMD Athlon II X4 630, 2.8GHz, 4GB

    OS:
    openSUSE 11.2

    GUI:
    KDE (Kwin) 4.5.3

    Extra info:
    catalyst drivers 10.11

    Leave a comment:


  • phoronix
    started a topic Improving Video Streaming With GTK+ 3D Surfaces

    Improving Video Streaming With GTK+ 3D Surfaces

    Phoronix: Improving Video Streaming With GTK+ 3D Surfaces

    Within the open-source world, code examples and documentation can be particularly important in ensuring a lower barrier to participation. One developer, Jose Commins, has worked on creating demos, such as how to use OpenGL within GTK+. One of his projects is GtkGLApp, but now he's working on a new one involving real-time video streaming to GTK+ 3D surfaces...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X