Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: a fast TS2PS converter...
"Marcus O.C. Metzler" wrote:
> Felix Domke writes:
> > is there any (simple) tool to convert a filtered transportstream
> > (video+audio) to a programstream? it's like ts2pes i think, but not
> > exactly...
> >
> > the problem of mpegtool in this case is that it's simply too slow (i think),
> > i want to convert the stream in realtime on a 66Mhz PowerPC-processor :)...
> > that's the problem, and maybe the C++-stuff is slowing down that thing too
> > much. (piping the output of a pid-reader just produces 99% cpu load and
> > nothing usable ;)
> >
> > another thing:
> >
> > TS2PES just extracts the two pes from the stream, it doesn't create any
> > headers like "pack" and "ps maps" etc.?
> >
> Try "cat ts_stream | ts2av_pes |av_pes2ps "
> That should be faster and avoid the C++ buffer problems. The ts2av_pes
> only takes the first audio and video pids from the PAT and PMT, so you
> may have to change that. You have to be aware that the resulting PS may
> not be well muxed depending on the incoming TS. The headers also do
> not reflect the true buffer sizes.
>
> > i want to have a valid PS after the conversion (maybe playable with the
> > windows-mplayer2 (using some mpeg2-directshow filter)), so i think these
> > headers are required, or am i wrong?
> >
> The windows player should play it. The programs mentioned above use
> the same routines as the driver for those transformations.
FYI: I am currently implementing an TS/PS-to-PS/TS multiplexer, which probably
will do what Felix needs. It is not yet in a releasable state, somewhat test-pre-alpha,
and does currently (PS|PES|TS)*-->TS, but output to programstream is foreseen
as the next task I will work on. I hope to be ready with this by end of march (latest).
regards,
Oskar
--
Oskar Schirmer
mailto:oskar@convergence.de, http://www.convergence.de
---
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index