Quantcast

Accessing non-video streams in MPEGTS [SEC=UNCLASSIFIED]

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Accessing non-video streams in MPEGTS [SEC=UNCLASSIFIED]

Durrand, Paul (Contractor)

UNCLASSIFIED

I am working with GStreamer to read and write MPEG TS files ultimately in an application. I am able to play the video stream using the following command:
gst-launch-0.10 -e filesrc location=cars.mpg ! mpegtsdemux ! ffdec_mpeg2video ! xvimagesink
What I am now trying to understand is how to read and write to non audio/video streams. I have a stream in the MPEGTS which contains KLV metadata. I have code which will decode and encode the information but I am unsure how to select the specific stream which contains the data with GStreamer.
 
Can anyone provide some guidance?
 
Thanks,
Paul
 

IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Accessing non-video streams in MPEGTS [SEC=UNCLASSIFIED]

Edward Hervey
Hi,

  Unfortunately private streams aren't exposed in mpeg-ts demuxers.

  If those private streams contain only metadata, you can 'just' push
them as tags on the other audio/video streams.

  And you'd have to do the same thing for muxing (collect the tags and
create your private streams).

  What metadata exactly do those contain ?

    Edward

On Mon, 2011-07-18 at 13:23 +0930, Durrand, Paul (Contractor) wrote:

> UNCLASSIFIED
>
> I am working with GStreamer to read and write MPEG TS files ultimately
> in an application. I am able to play the video stream using the
> following command:
>         gst-launch-0.10 -e filesrc location=cars.mpg ! mpegtsdemux !
>         ffdec_mpeg2video ! xvimagesink
> What I am now trying to understand is how to read and write to non
> audio/video streams. I have a stream in the MPEGTS which contains KLV
> metadata. I have code which will decode and encode the information but
> I am unsure how to select the specific stream which contains the data
> with GStreamer.
>  
> Can anyone provide some guidance?
>  
> Thanks,
> Paul
>  
>
> IMPORTANT: This email remains the property of the Department of
> Defence and is subject to the jurisdiction of section 70 of the Crimes
> Act 1914. If you have received this email in error, you are requested
> to contact the sender and delete the email.
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Accessing non-video streams in MPEGTS [SEC=UNCLASSIFIED]

Durrand, Paul (Contractor)
UNCLASSIFIED

Thanks for the response Edward.

We are using the SMPTE-336M
(http://store.smpte.org/product-p/st%200336-2007.htm) for KLV and then
using MISB 0601.4
(http://www.gwg.nga.mil/misb/docs/standards/Standard060104.pdf) and MISB
0102.6 (http://www.gwg.nga.mil/misb/docs/standards/Standard010206.pdf)
local data sets. This stream has timecoding to ensure the metadata is
associated with the appropriate frame.

I am doing the encoding and decoding myself, I just need access to the
raw data in the specific stream to read and write to.

Paul

-----Original Message-----
From:
gstreamer-devel-bounces+paul.durrand=[hidden email]
op.org
[mailto:gstreamer-devel-bounces+paul.durrand=[hidden email]
reedesktop.org] On Behalf Of Edward Hervey
Sent: Monday, 18 July 2011 5:44 PM
To: Discussion of the development of and with GStreamer
Subject: Re: Accessing non-video streams in MPEGTS [SEC=UNCLASSIFIED]

Hi,

  Unfortunately private streams aren't exposed in mpeg-ts demuxers.

  If those private streams contain only metadata, you can 'just' push
them as tags on the other audio/video streams.

  And you'd have to do the same thing for muxing (collect the tags and
create your private streams).

  What metadata exactly do those contain ?

    Edward

On Mon, 2011-07-18 at 13:23 +0930, Durrand, Paul (Contractor) wrote:
> UNCLASSIFIED
>
> I am working with GStreamer to read and write MPEG TS files ultimately

> in an application. I am able to play the video stream using the
> following command:
>         gst-launch-0.10 -e filesrc location=cars.mpg ! mpegtsdemux !
>         ffdec_mpeg2video ! xvimagesink What I am now trying to
> understand is how to read and write to non audio/video streams. I have

> a stream in the MPEGTS which contains KLV metadata. I have code which
> will decode and encode the information but I am unsure how to select
> the specific stream which contains the data with GStreamer.
>  
> Can anyone provide some guidance?
>  
> Thanks,
> Paul
>  
>
> IMPORTANT: This email remains the property of the Department of
> Defence and is subject to the jurisdiction of section 70 of the Crimes

> Act 1914. If you have received this email in error, you are requested
> to contact the sender and delete the email.
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

IMPORTANT: This email remains the property of the Department of Defence
and is subject to the jurisdiction of section 70 of the Crimes Act 1914.
If you have received this email in error, you are requested to contact
the sender and delete the email.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...