Converting MPEG-TS to MPEG-PS (next try)
Bernhard Graaf
bernhard.graaf at gmx.de
Fri Jun 10 11:09:05 PDT 2011
Hi,
so I try to use a complex pipe:
gst-launch-0.10 dvbsrc adapter=0 frequency=12544000 pids="97:511:512"
polarity="h" symbol-rate=22000 ! mpegtsdemux name=demux ! queue ! mpeg2dec !
ffmpegcolorspace name=video demux. ! queue ! mad name=audio video. ! queue !
mpegpsmux ! filesink location=test.mpg
But the message is:
WARNUNG: Fehlerhafte Leitung: queue2 konnte nicht mit mpegpsmux0 verknüpft
werden
In English something like: Warning: queue2 could not be linked to
mpegpsmux0.
Any Idea?
Thanks for helping!
Regards
Bernhard
_____
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Bernhard Graaf
Gesendet: Freitag, 10. Juni 2011 15:13
An: 'Discussion of the development of and with GStreamer'
Betreff: AW: Converting MPEG-TS to MPEG-PS (please help! bug in mpegpsmux?)
Hi,
the next test. Ive try to use this pipe:
gst-launch-0.10 -v dvbsrc adapter=0 frequency=12544000 pids=97:511:512:515
polarity='h' symbol-rate=22000 ! mpegtsdemux es-pids=511:512 name=mux !
queue ! mpeg2dec ! ffmpegcolorspace mux. ! queue ! mad ! audioconvert mux.
! queue ! mpegpsmux ! filesink location=test2.mpg
Then I will only get the audio-data. Any Idea?
_____
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Bernhard Graaf
Gesendet: Freitag, 10. Juni 2011 12:46
An: 'Discussion of the development of and with GStreamer'
Betreff: Converting MPEG-TS to MPEG-PS (please help! bug in mpegpsmux?)
Hi,
is there anyone who can tell me, why the mpepsmux-element recognized only
the video caps?
If I try to use the pipe only with audio-pids, Ill get a file with
audio-data, but the Message is also:
/GstPipeline:pipeline0/MpegPsMux:mpegpsmux0.GstPad:pad0: caps = video/mpeg,
mpegversion=(int)2, systemstream=(boolean)false
So, there must be a bug in the mpegpsmux-element!
Who can help me?
Bernhard
_____
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Bernhard Graaf
Gesendet: Freitag, 10. Juni 2011 11:48
An: 'Discussion of the development of and with GStreamer'
Betreff: AW: Converting MPEG-TS to MPEG-PS
Hi,
Sorry, there is a fault in my pipe. I try this:
gst-launch-0.10 -v dvbsrc adapter=0 frequency=12544000 pids=97:511:512:515
polarity='h' symbol-rate=22000 ! mpegtsdemux es-pids=511:512 ! mpegpsmux !
filesink location=test.mpg
The Messages are:
New clock: MpegTSClock
/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink: caps =
video/mpegts, mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0: pat-info =
((GValueArray*) 0x8307b60)
/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0: pmt-info =
((MpegTsPmtInfo*) 0xb6c04680)
/GstPipeline:pipeline0/MpegPsMux:mpegpsmux0.GstPad:pad0: caps = video/mpeg,
mpegversion=(int)2, systemstream=(boolean)false
/GstPipeline:pipeline0/MpegPsMux:mpegpsmux0.GstPad:src: caps = video/mpeg,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/mpeg,
mpegversion=(int)2, systemstream=(boolean)true
And thats what I get: Only the video-stream without any audio.
Whats wrong with this pipe?
Thanks a lot!
Bernhard
_____
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Bernhard Graaf
Gesendet: Freitag, 10. Juni 2011 10:28
An: 'Discussion of the development of and with GStreamer'
Betreff: Converting MPEG-TS to MPEG-PS
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 doesnt work. The file is always 0 Bytes long.
Without converting, its a very simple pipe:
gst-launch-0.10 dvbsrc pids=97:511:512 frequ
.. ! filesink
location=test.mpg
And its 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/d853c1de/attachment-0001.htm>
More information about the gstreamer-devel
mailing list