Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] a fast TS2PS converter...



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.


Marcus

---------------------------------------------------------------------
Dr. Marcus Metzler                             
mocm@netcologne.de                     http://www.metzlerbros.de
mocm@convergence.de                    http://www.convergence.de

Convergence Integrated Media GmbH          
Rosenthaler Str. 51                   
D-10178 Berlin                             
---------------------------------------------------------------------


--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index