public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea <mariofutire@googlemail.com>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] [PATCH] DMX_OUT_TSDEMUX_TAP: record two streams from same mux, resend
Date: Sun, 09 Mar 2008 21:13:10 +0000	[thread overview]
Message-ID: <47D452E6.2000408@googlemail.com> (raw)

 > Hi there,

 > This is what you want for capturing multiple audio streams from the same
 > multiplex simultaneously: open demux0 several times and send
 > depacketised output there. And capturing a single video stream is fine
 > too: open dvr0. But for capturing multiple video streams, it's surely
 > not what you want: you want multi-open (so demux0, not dvr0), but you
 > want the TS nature preserved (because that's what you want on output, as
 > you're going to re-multiplex it with the audio).

Can I ask your opinion on the best solution for:

I would like to have 2 separate TS (audio + video + subtitles...) for 2 channels (same frequency).
Is it possible to set a DMX_SET_PES_FILTER with many pids?

Ideally I would like to multi-open the demux, set a PES filter for a few pids (currently I can do 
only for 1), read from demux and save the TS.

So that I can have more the one applications running.

What I can do now is: multi-open the demux, set filter -1 (i.e. get everything), read, and only save 
the pids I want.

I was just wondering what is the best solution.
I don't like to get many times the whole TS. It's a bit of a waste.

 > At least one existing solution -- GStreamer -- sends all its streams
 > simultaneously via dvr0 and demuxes again in userland, but it seems a
 > bit of a shame to pick out all the PIDs in kernel, stick them back
 > together in kernel, and send them to userland only to get unpicked
 > again, when the alternative is such a small API addition.

Andrea

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

             reply	other threads:[~2008-03-09 21:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-09 21:13 Andrea [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-28 11:52 [linux-dvb] [PATCH] DMX_OUT_TSDEMUX_TAP: record two streams from same mux, resend Peter Hartley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47D452E6.2000408@googlemail.com \
    --to=mariofutire@googlemail.com \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox