[gst-devel] channel changing dvbsrc plugin
Sumanth V
sumanth.v at allaboutif.com
Thu Mar 5 20:37:06 CET 2009
Hi All,
I am writing a application using a dvbsrc plugin to play the
incoming TV channels. How do i change the channels with out stopping the
application? Right now i am doing it by changing the es-pid property of the
mpegtsdemux plugin, i am able to to change the channels, but as soon as i
change the channel , the video is getting freezed, its not playing. but i
can change the channles. As soon as i shift to next channel, the video is
getting freezed.
For the first time when i start the application it plays which ever
channel i have selected, but later when i try to change the channels , the
video is getting freezed.
The method i am using to change the channel is :-
* when i want to change a channel, i set the pipeline to READY state and
tune to a channel which i want to play and the set the "es-pid" property of
the
mpegtsdemux plugin to the pid of the channel which i want to play.
* Set the pipeline back to PLAYING state.
* When the mpegtsdemux plugin generates a new pad for the new channel , i
unlink the previous linked queue pad to the mpegtsdemux and then link to the
new pad.
the pipeline is
gst-launch dvbsrc diseqc-source=0 frequency=10990000 symbol-rate=27500
polarity="v" code-rate-hp=3/4 ! mpegtsdemux ! queue ! mpeg2dec !
ffmpegcolorspace ! xvimagesink
Where am i going wrong here? Why is the video of the new channel getting
freezed??
regards,
Sumanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090305/670c3b7a/attachment.htm>
More information about the gstreamer-devel
mailing list