how to switch TS program

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

how to switch TS program

kedahanzi
hello,
when i play TS(recorded from tv card) media file using gstreamer, there are 6 programs in TS media file.
i want to switch program by service ID or pmt pid, how i do it.
 
much thanks.

hanzi.nie | Software Engineer
--------------------------------------------------------------------------------------
AMTT Digital 安美数字
Tel:+86 10 58305322
Fax:+86 10 58305300
Mobile:+86 13581753420
Email:[hidden email] 
Http:www.amttgroup.com
Add :RoomB4-B5,20thFloor,1(T3),Compound No.1,XizhimenwaiStreet
     Xicheng District ,Beijing    100044

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to switch TS program

André Dieb
If you're using mpegtsdemux, check the program-number property.

2010/10/18 kedahanzi <[hidden email]>
hello,
when i play TS(recorded from tv card) media file using gstreamer, there are 6 programs in TS media file.
i want to switch program by service ID or pmt pid, how i do it.
 
much thanks.

hanzi.nie | Software Engineer
--------------------------------------------------------------------------------------
AMTT Digital 安美数字
Tel:+86 10 58305322
Fax:+86 10 58305300
Mobile:+86 13581753420
[hidden email] 
Http:www.amttgroup.com
Add :RoomB4-B5,20thFloor,1(T3),Compound No.1,XizhimenwaiStreet
     Xicheng District ,Beijing    100044

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
André Dieb Martins

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to switch TS program

kedahanzi
In reply to this post by kedahanzi
dear andre.dieb ,
much thanks for your answer, if i want to get channel name from SDT by mpegtsdemux plugin,
how do i do it?
 
>I can't confirm anything about ffdemux_mpegts, never used it. Though,
>mpegtsdemux works nice for me, I'd say worth trying out. Also, if you were
>capturing using dvbsrc you could try filtering PIDs (pids property).
>2010/10/19 kedahanzi <[hidden email]>
>  hello Andr?Dieb,
> but mpegtsdemux is in bad plugin, do i make use of ffdemux_mpegts to do it?
>
> If you're using mpegtsdemux, check the program-number property.
>  2010/10/18 kedahanzi <[hidden email]>
>  >  hello,
>
> > when i play TS(recorded from tv card) media file using gstreamer, there are
> > 6 programs in TS media file.
> > i want to switch program by service ID or pmt pid, how i do it.
> >
> > much thanks.
> >
> > hanzi.nie | Software Engineer
>
>
> 2010-10-19
> ------------------------------
>  kedahanzi

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to switch TS program

gabriel_s
<quote author="kedahanzi">
dear andre.dieb ,
much thanks for your answer, if i want to get channel name from SDT by mpegtsdemux plugin,
how do i do it?


Split the TS strea via tee plugins and add the mpegtsparse plugin, ( tee0. ! queue ! mpegtsparse), then check for the
elements messages on the bus.