[gst-devel] Transcoding and otherwise dealing with streams.

Baldur Gislason baldur at medizza.com
Fri Sep 10 18:52:15 CEST 2010


I am trying to construct a C application that can either pick up
audio/video from a file (mpeg transport stream) or receive mpeg
transport stream on a UDP socket.
Input format is MPEG2 A/V and output is H.264 with MPEG audio or AAC,
transport stream multiplexing on output.
So far I have managed to transcode video from network but am getting
buffer underruns on the queue. If I add audio everything just stops,
the pipeline does nothing and I can't quite figure out why.
If I read the data from a file, I get buffer overruns. So clearly this
is a clocking thing. I have searched for documentation regarding
clocking in gstreamer but found nothing useful. The app developers
manual mentions clocking but nothing about how it applies to code, and
gst-inspect says none of the elements I have looked at have any
clocking capabilities?!f

Anyway, I was wondering if anyone had an example for building an MPEG
transcoding pipeline in C, for working with a live stream and not file
input, file output. File input, network output would be the other
scenario.

Baldur Gislason




More information about the gstreamer-devel mailing list