• Home
  • About
  • Blog Archives
  • Contact Me
  • FAQ
  • The Big 101
Subscribe: Posts | Comments | E-mail

jonobacon@home

Posted on December 1, 2006 - by jono

Modifiying GStreamer pipelines in PLAYING

Jokosher

Recently there has been some discussion in the Jokosher team about creating an abstraction for our main GStreamer pipeline. Jokosher is probably one of the most complex Open Source GStreamer applications out there right now, and managing the state of the pipeline is becoming complex. In GStreamer the pipeline has different states – NULL, READY, PAUSED and PLAYING. These states indicate what the pipeline is doing – PLAYING plays the audio as an example. We were under the impression that only certain states allowed modifications to the pipeline, so all pipeline modifications in Jokosher happen in NULL or READY. So, Laszlo, the King Of Cairo and Canadian Supreme has been working on something known as the ‘GP’ – the Grand Pipeline. Its an abstraction that means we have controlled access to the pipeline and the states would be handled automatically.

Well, it turns out all this is moot. Today, in an informal discussion in #gstreamer it was revealed that you can actually modify the pipeline in PLAYING. This is a big deal. It means we don’t need the GP, and it importantly means that we can hugely simply our use of state in Jokosher – and only ever deal with PAUSED (when stopped) and PLAYING (when playing). Of course, its all theory right now, when we hack the code it may not work, but if Wim Taymens deems it so, it should work. He is Jedi.

I know the last two paragraphs are a dull-o-rama for non GStreamer people, but Google needs to be taught that you can modify a GStreamer pipeline in PLAYING!



This entry was posted on Friday, December 1st, 2006 at 5:28 pm and is filed under Jokosher. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Comments

We'd love to hear yours!



  1. Visit My Website

    December 3, 2006

    Permalink

    Rob said:

    Indeed it is possible, Farsight does a lot of it for doing things like dynamically changing codec and changing sinks and sources mid-stream, see http://projects.collabora.co.uk/trac/farsight/browser/plugins/rtp/rtpstream.c

    Reply


Leave a Reply


Here's your chance to speak.

Click here to cancel reply.

  1. Name (required)

    Mail (required)

    Website

    Message

  • Ad Ad Ad Ad
  • Prepare For Awesome

  • Recent Articles

    • Fixing Ubuntu Software Center Descriptions
    • Red Hat, Canonical and GNOME Contributions
    • Ubuntu Global Jam: Start Your Engines!
    • Awesome GUADEC Espresso and Coffee Bar
    • Team Reporting
    • The Five Horsemen
    • Community Leadership Summit 2010 This Weekend!
    • Ahmed Kamal Joins The Horsemen
    • Severed Fifth Update
    • Rocking The LoCo Council
  • Recent Comments

    • Inge Wallin on Red Hat, Canonical and GNOME Contributions
    • Anon on Red Hat, Canonical and GNOME Contributions
    • Greg on Red Hat, Canonical and GNOME Contributions
    • Jim on Red Hat, Canonical and GNOME Contributions
    • Adam Williamson on Red Hat, Canonical and GNOME Contributions
    • Eddward on Red Hat, Canonical and GNOME Contributions
    • HunterA3 on Red Hat, Canonical and GNOME Contributions
    • ScottK on Fixing Ubuntu Software Center Descriptions
    • Contribuciones a GNOME – Red Hat 16%, Canonical 1% | Ubunlog on Red Hat, Canonical and GNOME Contributions
    • ah on Red Hat, Canonical and GNOME Contributions
  • Flickr Photos

  •  

    December 2006
    M T W T F S S
    « Nov   Jan »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031
  • jb@h Rockstars This Year

    • ethana2 (30)
    • Zac (17)
    • nixternal (16)
    • Tom (12)
    • Bruno Girin (11)
    • James Duncan (11)
    • Adam Williamson (10)
    • Anon (10)
    • Brandon Tomlinson (10)
    • Jef Spaleta (10)
© 2008 jonobacon@home - At home with Jono Bacon, Community Manager and Author