[maemo-developers] How to transport mp4 streams using mpegts container in gstreamer?

From: Jami Pekkanen jami.pekkanen at nokia.com
Date: Mon Jun 25 11:39:16 EEST 2007
On Fri, 2007-06-22 at 15:55 +0800, ext
maemo-developers-bounces at maemo.org wrote:
> I'm trying to develop an application able to receive mp4 streams from 
> the network using gstreamer but I'm lacking on pipeline elements.
> I've 
> done some test and what i get is this: 
> 
>  gst-launch-0.10 filesrc location=file.mp4 ! qtdemux ! ffmux_mpegts !
> rtpmp4gpay ! udpsink
>  
> -------------gst_pad_link_check_compatible_unlocked 3-------------
> WARNING: erroneous pipeline: could not link ffmux_mpegts0 to
> rtpmp4gpay0
> 
> I don't know what the problem is.Can anyone tell me how to transport
> mp4 streams using mpegts container in gstreamer?

When throwing ffmux_mpegts and rtpmp4gpay to gst-inspect it seems that
rtpmp4gpay doesn't want multiplexed stream:

rtpmp4gpay:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/mpeg
            mpegversion: 4
           systemstream: false
      audio/mpeg
            mpegversion: 4

But the muxer naturally sends one:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      video/mpegts
           systemstream: true

So you could try just leaving the muxing element off the pipeline or if
that doesn't work the stream may have to be re-encoded.

- Jami Pekkanen


More information about the maemo-developers mailing list