Re: [Live-devel] Streaming h264 MPEG-2 TS

2012-10-24 Thread Eran
Oshi Keren-Zur  writes:

> 
> 
> Hi,We are developing a linux based embedded device which functions as a
streaming server.The device has a video encoder which produces h264 MPEG-4
Elementary Stream, Audio encoder, and closed caption source.Our project started
off with the requirement to stream the Video by RTP. We used liveMedia for
this.As the project evolved additional requirements/limitations were added:1.
Offline streaming of previously captured data with trick-play2. The Streaming
client can only play MPEG-2 ts.After some research regarding extending our use
of liveMedia to satisfy these requirements,We reached the conclusion that using
liveMedia as it is currently implemented will be difficult since1. Multiplexing
of h.264, audio and closed captions to an MPEG-2 ts is 
>  not supported2. Indexing of h264 video for trick play is not supported.Is our
conclusion correct? If not, we would appreciate some guidance on how to solve
the above problems.Otherwise, is there some other tool/library that can perform
this?Thanks,Oshi
> 
> 
> ___
> live-devel mailing list
> live-devel@...
> http://lists.live555.com/mailman/listinfo/live-devel
> 



Hi.

We're also developing a linux based embedded device (based on TI DM368) which
functions as a streaming server, and has a video encoder which produces h264
MPEG-4 Elementary Stream (it gives me pointers to encoded h264 frames). We also
use RTP right now, and we also have a new requirement to use MPEG-2 ts instead.
I've noticed that liveMedia can produce an MPEG-2 ts stream from an h264 file as
a source, but I haven't managed to use it with our h264 stream produced from the
encoder in "real time" as a source.
Have you managed to get it done? Can you please share how?

Thanks!


___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


Re: [Live-devel] Streaming h264 MPEG-2 TS

2012-10-24 Thread Ross Finlayson
I found your message rather disjointed and confusing, but I hope the following 
answers your question(s):

- Our RTSP server implementation *does* support 'trick play' operation on MPEG 
Transport Stream files (but not 'live' MPEG Transport Stream data).  These 
Transport Stream files can contain MPEG-1, MPEG-2, or H.264 Video (plus audio, 
text, etc. tracks).  An 'index file' must be created for each Transport Stream 
file (for 'trick play' operations to work).  For more information, see
http://www.live555.com/liveMedia/transport-stream-trick-play.html

- Our software *can* be used to create a MPEG Transport Stream from a H.264 
video input (and at least some types of MPEG audio input), using the 
"MPEG2TransportStreamFromESSource" class.  Note, in particular, the 
"testH264VideoToTransportStream" demo application (in the "testProgs" 
directory) that shows how to generate a MPEG Transport Stream file from a H.264 
video Elementary Stream file.

- I'm not sure how you would add 'closed caption' subtitles to a MPEG Transport 
Stream, but you may be able to do this by subclassing 
"MPEG2TransportStreamFromESSource", and have your subclass define a new 
"addNewTextSource()" member function that calls the "addNewInputSource()" 
member function (which is "protected:" as of the latest release of the 
software).


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


Re: [Live-devel] Streaming h264 MPEG-2 TS

2012-10-24 Thread Eran
Actually I don't need trick play or closed captions.
I only need to use Mpeg-2 Transport Stream to stream my h264 video that is
encoded in real time, and "testH264VideoToTransportStream" demo application only
deals with h264 files, and not real time streams.

I quoted Oshi's message (which contained the questions about trick play and
closed captions) because I've noticed that he wrote that he's also doing what I
need (regardless of the trick play and CC), so I thought he may have already
done this.

Thanks.

___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


Re: [Live-devel] Streaming h264 MPEG-2 TS

2012-10-24 Thread Ross Finlayson
> I only need to use Mpeg-2 Transport Stream to stream my h264 video that is
> encoded in real time, and "testH264VideoToTransportStream" demo application 
> only
> deals with h264 files, and not real time streams.

That's because it is simply a demonstration application.  You can change the 
code to read instead from your H.264 video encoder simply by changing 
"inputFileName".  Alternatively, if your encoder is not accessible via the file 
system (or via a named pipe), then you can write your own class (a subclass of 
"FramedSource") to encapsulate it.

For more information, see http://www.live555.com/liveMedia/faq.html#liveInput


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel