ArmLinux get TS stream by HTTP

Sertac TULLUK sertac at merihvideo.com.tr
Wed Sep 5 07:58:49 PDT 2012


Dear All;

After big efforts, I have succesfully cross compiled gstreamer for my 
ArmLinux board.

root at KUBU2:/gst_arm/lib# file *
gstreamer-1.0:                 directory
libgstbase-1.0.la:             libtool library file,
libgstbase-1.0.so:             symbolic link to `libgstbase-1.0.so.0.0.0'
libgstbase-1.0.so.0:           symbolic link to `libgstbase-1.0.so.0.0.0'
libgstbase-1.0.so.0.0.0:       ELF 32-bit LSB shared object, ARM, 
version 1, dynamically linked, not stripped
libgstcheck-1.0.la:            libtool library file,
libgstcheck-1.0.so:            symbolic link to `libgstcheck-1.0.so.0.0.0'
libgstcheck-1.0.so.0:          symbolic link to `libgstcheck-1.0.so.0.0.0'
libgstcheck-1.0.so.0.0.0:      ELF 32-bit LSB shared object, ARM, 
version 1, dynamically linked, not stripped
libgstcontroller-1.0.la:       libtool library file,
libgstcontroller-1.0.so:       symbolic link to 
`libgstcontroller-1.0.so.0.0.0'
libgstcontroller-1.0.so.0:     symbolic link to 
`libgstcontroller-1.0.so.0.0.0'
libgstcontroller-1.0.so.0.0.0: ELF 32-bit LSB shared object, ARM, 
version 1, dynamically linked, not stripped
libgstnet-1.0.la:              libtool library file,
libgstnet-1.0.so:              symbolic link to `libgstnet-1.0.so.0.0.0'
libgstnet-1.0.so.0:            symbolic link to `libgstnet-1.0.so.0.0.0'
libgstnet-1.0.so.0.0.0:        ELF 32-bit LSB shared object, ARM, 
version 1, dynamically linked, not stripped
libgstreamer-1.0.la:           libtool library file,
libgstreamer-1.0.so:           symbolic link to `libgstreamer-1.0.so.0.0.0'
libgstreamer-1.0.so.0:         symbolic link to `libgstreamer-1.0.so.0.0.0'
libgstreamer-1.0.so.0.0.0:     ELF 32-bit LSB shared object, ARM, 
version 1, dynamically linked, not stripped
pkgconfig:                     directory
root at KUBU2:/gst_arm/lib#

And also, I have written a simple userspace app that can read & parse a 
TS file, send to DEMUX device, Set PID Filters, setup Video and Audio 
devices, and finally I can play MPEG2, MPEG4, H.264, MPGAudio and AC3 
Audio streams flawlessly.

( e.g #/tmp/tsplay.elf /tmp/test1080.ts will play h264 at 1080i and ac3 
perfectly)

Now, I would like to learn, how can I get a TS stream from network in 
HTTP protocol, and write TS packets into some memory buffer, and pass 
this mem buffer to my DEMUX directly, so I would be able to play TS over 
HTTP ( Similar to IPTV function, but it will only support mpeg2, h264, 
mpga and ac3. Because my chipset does not support multiformat decoder, 
and speed is just 220MHz, so I can't play anything with Mplayer because 
it uses software decoding).

Can I use Gstreamer framework to get TS stream over HTTP ? Or, is there 
a easier way to accomplish this?

Regards

Sertac



More information about the gstreamer-embedded mailing list