* [linux-dvb] How to record whole TS?
@ 2008-07-29 9:58 kurt xue
2008-07-29 10:01 ` Frederic CAND
0 siblings, 1 reply; 10+ messages in thread
From: kurt xue @ 2008-07-29 9:58 UTC (permalink / raw)
To: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 354 bytes --]
Hi :) I have a question, how to record whole stream?
I know if I set a PES FILTER and mark as DMX_OUT_TS_TAP flag, then I can
read the filtered stream from dvr device. But now I want to record all PIDs
instead of a specific one. How to achieve this? Is it possible to open demux
device without set any filter?
Thanks in advance!
Best regards,
Kurt
[-- Attachment #1.2: Type: text/html, Size: 424 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-29 9:58 [linux-dvb] How to record whole TS? kurt xue
@ 2008-07-29 10:01 ` Frederic CAND
2008-07-29 11:20 ` kurt xue
0 siblings, 1 reply; 10+ messages in thread
From: Frederic CAND @ 2008-07-29 10:01 UTC (permalink / raw)
To: kurt xue; +Cc: linux-dvb
kurt xue a écrit :
> Hi :) I have a question, how to record whole stream?
>
> I know if I set a PES FILTER and mark as DMX_OUT_TS_TAP flag, then I can
> read the filtered stream from dvr device. But now I want to record all
> PIDs instead of a specific one. How to achieve this? Is it possible to
> open demux device without set any filter?
>
> Thanks in advance!
>
> Best regards,
> Kurt
>
>
Did you try to set pid 0x2000 ? In my memories this will provide you
with all pids ... Please give you results back!
--
CAND Frederic
Product Manager
ANEVIA
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-29 10:01 ` Frederic CAND
@ 2008-07-29 11:20 ` kurt xue
2008-07-29 15:58 ` Frederic CAND
0 siblings, 1 reply; 10+ messages in thread
From: kurt xue @ 2008-07-29 11:20 UTC (permalink / raw)
To: Frederic CAND; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 869 bytes --]
Hi CAND,
Thanks for your reply, you are right. When I set pid 0x2000, the demux gives
whole stream. You are so good, maybe this should be mentioned in the api doc
:). Thanks!
Best regards,
Kurt
On Tue, Jul 29, 2008 at 12:01 PM, Frederic CAND <frederic.cand@anevia.com>wrote:
> kurt xue a écrit :
>
> Hi :) I have a question, how to record whole stream?
>>
>> I know if I set a PES FILTER and mark as DMX_OUT_TS_TAP flag, then I can
>> read the filtered stream from dvr device. But now I want to record all PIDs
>> instead of a specific one. How to achieve this? Is it possible to open demux
>> device without set any filter?
>>
>> Thanks in advance!
>>
>> Best regards,
>> Kurt
>>
>>
>>
> Did you try to set pid 0x2000 ? In my memories this will provide you with
> all pids ... Please give you results back!
>
> --
> CAND Frederic
> Product Manager
> ANEVIA
>
[-- Attachment #1.2: Type: text/html, Size: 1409 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-29 11:20 ` kurt xue
@ 2008-07-29 15:58 ` Frederic CAND
2008-07-29 16:02 ` Marcel Siegert
0 siblings, 1 reply; 10+ messages in thread
From: Frederic CAND @ 2008-07-29 15:58 UTC (permalink / raw)
To: kurt xue; +Cc: linux-dvb
kurt xue a écrit :
> Hi CAND,
>
> Thanks for your reply, you are right. When I set pid 0x2000, the demux
> gives whole stream. You are so good, maybe this should be mentioned in
> the api doc :). Thanks!
>
I guess that should be the case (for the doc).
However, take care : handling a full MPTS takes much more CPU than just
some PIDs ...
RegardS.
--
CAND Frederic
Product Manager
ANEVIA
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-29 15:58 ` Frederic CAND
@ 2008-07-29 16:02 ` Marcel Siegert
2008-07-29 16:09 ` Frederic CAND
0 siblings, 1 reply; 10+ messages in thread
From: Marcel Siegert @ 2008-07-29 16:02 UTC (permalink / raw)
To: Frederic CAND; +Cc: linux-dvb
hiho,
Frederic CAND schrieb:
> kurt xue a écrit :
>> Hi CAND,
>>
>> Thanks for your reply, you are right. When I set pid 0x2000, the demux
>> gives whole stream. You are so good, maybe this should be mentioned in
>> the api doc :). Thanks!
>>
>
> I guess that should be the case (for the doc).
> However, take care : handling a full MPTS takes much more CPU than just
> some PIDs ...
> RegardS.
that depends on the device you're using for recording, doesn't it? :)
regards
marcel
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-29 16:02 ` Marcel Siegert
@ 2008-07-29 16:09 ` Frederic CAND
2008-07-30 5:03 ` vijet m
0 siblings, 1 reply; 10+ messages in thread
From: Frederic CAND @ 2008-07-29 16:09 UTC (permalink / raw)
To: Marcel Siegert; +Cc: linux-dvb
Marcel Siegert a écrit :
> hiho,
>
> Frederic CAND schrieb:
>> kurt xue a écrit :
>>> Hi CAND,
>>>
>>> Thanks for your reply, you are right. When I set pid 0x2000, the
>>> demux gives whole stream. You are so good, maybe this should be
>>> mentioned in the api doc :). Thanks!
>>>
>>
>> I guess that should be the case (for the doc).
>> However, take care : handling a full MPTS takes much more CPU than
>> just some PIDs ...
>> RegardS.
>
>
> that depends on the device you're using for recording, doesn't it? :)
>
> regards marcel
>
My idea was, handling 3 Mbps containing one Video PID + one Audio PID +
some SI/PSI Tables seems to me cost-effective compared to handling
40Mbps of a DVB Stream (that's what was my example ... DVB-S Streams...)
--
CAND Frederic
Product Manager
ANEVIA
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-29 16:09 ` Frederic CAND
@ 2008-07-30 5:03 ` vijet m
2008-07-30 7:07 ` kurt xue
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: vijet m @ 2008-07-30 5:03 UTC (permalink / raw)
To: Frederic CAND; +Cc: linux-dvb, Marcel Siegert
[-- Attachment #1.1: Type: text/plain, Size: 1850 bytes --]
Hi,
Sorry to interrupt your discussion but I have a question regarding recording
of MPEG2 streams.
As Kurt said, if you set pesfilter with output as DMX_OUT_TS_TAP and pass
the pid, it will record the streams corresponding
to that pid. So, if I pass audio and video pid, then it will record only the
audio and video streams.
I wanted to know how to record the DVB SI/PSI tables corresponding to the
streams I'm recording.
Do I have to pass the pids of the tables I want to record or is there some
other way?
Right now, I'm using the pid value 0x2000 for setting pes filter which is
proving to be computationally intensive and consuming lot of CPU.
Please help.
Thanks in advance,
Vijet M
On Tue, Jul 29, 2008 at 9:39 PM, Frederic CAND <frederic.cand@anevia.com>wrote:
> Marcel Siegert a écrit :
> > hiho,
> >
> > Frederic CAND schrieb:
> >> kurt xue a écrit :
> >>> Hi CAND,
> >>>
> >>> Thanks for your reply, you are right. When I set pid 0x2000, the
> >>> demux gives whole stream. You are so good, maybe this should be
> >>> mentioned in the api doc :). Thanks!
> >>>
> >>
> >> I guess that should be the case (for the doc).
> >> However, take care : handling a full MPTS takes much more CPU than
> >> just some PIDs ...
> >> RegardS.
> >
> >
> > that depends on the device you're using for recording, doesn't it? :)
> >
> > regards marcel
> >
>
> My idea was, handling 3 Mbps containing one Video PID + one Audio PID +
> some SI/PSI Tables seems to me cost-effective compared to handling
> 40Mbps of a DVB Stream (that's what was my example ... DVB-S Streams...)
>
> --
> CAND Frederic
> Product Manager
> ANEVIA
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
[-- Attachment #1.2: Type: text/html, Size: 2565 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-30 5:03 ` vijet m
@ 2008-07-30 7:07 ` kurt xue
2008-07-30 7:23 ` Nico Sabbi
2008-07-30 8:19 ` Frederic CAND
2 siblings, 0 replies; 10+ messages in thread
From: kurt xue @ 2008-07-30 7:07 UTC (permalink / raw)
To: vijet m; +Cc: Marcel Siegert, linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 2394 bytes --]
Hi Vijet,
Some PSI tables locate in special PIDs, pls refer to 13818-1; and you also
can analyze PMT first to get information about whatever PIDs carrying the
table you want to record. Hope that can answer your question :)
Best regards,
Kurt
2008/7/30 vijet m <coolvijet@gmail.com>
> Hi,
>
> Sorry to interrupt your discussion but I have a question regarding
> recording of MPEG2 streams.
> As Kurt said, if you set pesfilter with output as DMX_OUT_TS_TAP and pass
> the pid, it will record the streams corresponding
> to that pid. So, if I pass audio and video pid, then it will record only
> the audio and video streams.
> I wanted to know how to record the DVB SI/PSI tables corresponding to the
> streams I'm recording.
> Do I have to pass the pids of the tables I want to record or is there some
> other way?
> Right now, I'm using the pid value 0x2000 for setting pes filter which is
> proving to be computationally intensive and consuming lot of CPU.
> Please help.
>
> Thanks in advance,
> Vijet M
>
> On Tue, Jul 29, 2008 at 9:39 PM, Frederic CAND <frederic.cand@anevia.com>wrote:
>
>> Marcel Siegert a écrit :
>> > hiho,
>> >
>> > Frederic CAND schrieb:
>> >> kurt xue a écrit :
>> >>> Hi CAND,
>> >>>
>> >>> Thanks for your reply, you are right. When I set pid 0x2000, the
>> >>> demux gives whole stream. You are so good, maybe this should be
>> >>> mentioned in the api doc :). Thanks!
>> >>>
>> >>
>> >> I guess that should be the case (for the doc).
>> >> However, take care : handling a full MPTS takes much more CPU than
>> >> just some PIDs ...
>> >> RegardS.
>> >
>> >
>> > that depends on the device you're using for recording, doesn't it? :)
>> >
>> > regards marcel
>> >
>>
>> My idea was, handling 3 Mbps containing one Video PID + one Audio PID +
>> some SI/PSI Tables seems to me cost-effective compared to handling
>> 40Mbps of a DVB Stream (that's what was my example ... DVB-S Streams...)
>>
>> --
>> CAND Frederic
>> Product Manager
>> ANEVIA
>>
>> _______________________________________________
>> linux-dvb mailing list
>> linux-dvb@linuxtv.org
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>
>
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
[-- Attachment #1.2: Type: text/html, Size: 3610 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-30 5:03 ` vijet m
2008-07-30 7:07 ` kurt xue
@ 2008-07-30 7:23 ` Nico Sabbi
2008-07-30 8:19 ` Frederic CAND
2 siblings, 0 replies; 10+ messages in thread
From: Nico Sabbi @ 2008-07-30 7:23 UTC (permalink / raw)
To: linux-dvb
On Wednesday 30 July 2008 07:03:33 vijet m wrote:
> Hi,
>
> Sorry to interrupt your discussion but I have a question regarding
> recording of MPEG2 streams.
> As Kurt said, if you set pesfilter with output as DMX_OUT_TS_TAP
> and pass the pid, it will record the streams corresponding
> to that pid. So, if I pass audio and video pid, then it will record
> only the audio and video streams.
> I wanted to know how to record the DVB SI/PSI tables corresponding
> to the streams I'm recording.
> Do I have to pass the pids of the tables I want to record or is
> there some other way?
> Right now, I'm using the pid value 0x2000 for setting pes filter
> which is proving to be computationally intensive and consuming lot
> of CPU. Please help.
>
> Thanks in advance,
> Vijet M
using dvbstream from the CVS repository in dvbtools.sf.net:
$ dvbstream -prog -f .... -o:dump.ts "Program name"
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-dvb] How to record whole TS?
2008-07-30 5:03 ` vijet m
2008-07-30 7:07 ` kurt xue
2008-07-30 7:23 ` Nico Sabbi
@ 2008-07-30 8:19 ` Frederic CAND
2 siblings, 0 replies; 10+ messages in thread
From: Frederic CAND @ 2008-07-30 8:19 UTC (permalink / raw)
To: vijet m; +Cc: linux-dvb, Marcel Siegert
vijet m a écrit :
> Hi,
>
> Sorry to interrupt your discussion but I have a question regarding
> recording of MPEG2 streams.
> As Kurt said, if you set pesfilter with output as DMX_OUT_TS_TAP and
> pass the pid, it will record the streams corresponding
> to that pid. So, if I pass audio and video pid, then it will record only
> the audio and video streams.
> I wanted to know how to record the DVB SI/PSI tables corresponding to
> the streams I'm recording.
> Do I have to pass the pids of the tables I want to record or is there
> some other way?
> Right now, I'm using the pid value 0x2000 for setting pes filter which
> is proving to be computationally intensive and consuming lot of CPU.
> Please help.
>
> Thanks in advance,
> Vijet M
>
Good way to do is set pid 0, analyse the PAT, grab the PMT PID of the
service you're interested in, add it to the demux, then parse the PMT,
grabe the ES PIDs you're interested in, and add it to the demux.
With this you'll be able tou watch the video and hear the audio. If you
need more tables you should read iso-13818-1, and en 300 438
Cheers
--
CAND Frederic
Product Manager
ANEVIA
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-07-30 8:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 9:58 [linux-dvb] How to record whole TS? kurt xue
2008-07-29 10:01 ` Frederic CAND
2008-07-29 11:20 ` kurt xue
2008-07-29 15:58 ` Frederic CAND
2008-07-29 16:02 ` Marcel Siegert
2008-07-29 16:09 ` Frederic CAND
2008-07-30 5:03 ` vijet m
2008-07-30 7:07 ` kurt xue
2008-07-30 7:23 ` Nico Sabbi
2008-07-30 8:19 ` Frederic CAND
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox