Converting MPEG-TS to MPEG-PS

Bernhard Graaf bernhard.graaf at gmx.de
Fri Jun 10 01:27:44 PDT 2011


Hi,

 

I have a problem for seeking in MPEG-TS-files (to slow) and want to convert
a TS-Stream to PS.

But it seems to be a little tricky to select the pids. My pipe looks like
this:

'gst-launch-0.10 dvbsrc pids=97:511:512 frequ... ! mpegtsdemux
es-pids=511:512 !  mpeg2dec ! filesink location=test.mpg'

 

The pids are: 97 = PMT, 511 = Video, 512 = Audio.

 

But it doesn't work. The file is always 0 Bytes long.

 

Without converting, it's a very simple pipe:

'gst-launch-0.10 dvbsrc pids=97:511:512 frequ... ! filesink
location=test.mpg'

 

And it's works very good.

 

What to I wrong to convert the stream?

 

Thanks' a lot for helping!!

Bernhard

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110610/e785f583/attachment.html>


More information about the gstreamer-devel mailing list