Associate GtkScale with gst_element_seek()?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Associate GtkScale with gst_element_seek()?

phngcv
Hi guys, 

I have a question regarding tracking position in GStreamer. Here is the interface of my media player:

 MediaPlayer.png

I am trying to implement a new function to this software that allows me to move to different location in the file stream by moving the INDICATOR along the HORIZONTAL SCALE. BTW, I also have a question that needs to be answered.

Therefore, I just wonder what GStreamer functions should I use to achieve this? Is that gst_element_seek()? I have read the online documentation of GStreamer but still unable to find out the purpose of gst_element_seek() and how to use it in my situation.

Thank you for answering my question! I hope you have a good day!


Best regards,


Phong Cao,


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Associate GtkScale with gst_element_seek()?

Andreas Tunek-2
You can talk a look at my pet project. Look at the files gst_player.c and player_window.cc at https://github.com/tuna74/TunaAudioExtracter
My program does exactly what you want.

BR
Andreas Tunek

2011/5/21 Phong Cao <[hidden email]>
Hi guys, 

I have a question regarding tracking position in GStreamer. Here is the interface of my media player:

 MediaPlayer.png

I am trying to implement a new function to this software that allows me to move to different location in the file stream by moving the INDICATOR along the HORIZONTAL SCALE. BTW, I also have a question that needs to be answered.

Therefore, I just wonder what GStreamer functions should I use to achieve this? Is that gst_element_seek()? I have read the online documentation of GStreamer but still unable to find out the purpose of gst_element_seek() and how to use it in my situation.

Thank you for answering my question! I hope you have a good day!


Best regards,


Phong Cao,


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel