# Using Ruby/GStreamer for a DVD player

**URL:** <https://www.ruby-forum.com/t/using-ruby-gstreamer-for-a-dvd-player/76975>\
**Category:** Ruby\
**Created:** [November 22, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/using-ruby-gstreamer-for-a-dvd-player/76975 "2006-11-22T23:30:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Mills](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d78d45/32.png) [@James\_Mills](https://www.ruby-forum.com/u/James_Mills)\
**Post date:** [November 22, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/using-ruby-gstreamer-for-a-dvd-player/76975/1 "2006-11-22T23:30:03Z")

</div>

Hello list.

I have been successful in getting the gstreamer bindings for ruby to  
work for simple application such as those included in the “examples”  
section of the bindings source. However, I would really like to be  
able to perform some advanced actions, such as:

- determining the number of tracks on a DVD as well as the number of  
chapters within each track

- determine the available audio channels to a level good enough to  
choose by language (en, es, fr, etc)

My goal is to be able to give the user of my app the ability to play a  
specific track in the language of his or her choosing.

I have seen that this is a workable scenario with the gstreamer  
libraries themselves by investigating an application called thoggen.  
It is written in C, and my “parsing of C into ruby” skills are not  
good.

I think that the ruby bindings can do this as well. Unfortunately,  
there is very little documentation outside of the API. Certainly no  
offense to the author, as the bindings themselves seem very good  
AFAIK.

I think with a few good examples I could really get rolling with this.  
Can anyone enlighten me here?

Thanks!

~james
