Hi All,<br><br> 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.<br>
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.<br><br>The method i am using to change the channel is :-<br>
* 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<br> mpegtsdemux plugin to the pid of the channel which i want to play.<br>
* Set the pipeline back to PLAYING state.<br> * 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.<br><br> the pipeline is<br>
gst-launch dvbsrc diseqc-source=0 frequency=10990000 symbol-rate=27500 polarity="v" code-rate-hp=3/4 ! mpegtsdemux ! queue ! mpeg2dec ! ffmpegcolorspace ! xvimagesink<br><br> Where am i going wrong here? Why is the video of the new channel getting freezed??<br>
<br>regards,<br>Sumanth<br><br> <br>