I have the DM355 so only MPEG4 elementary stream is available to me. I have a modified MPEG4VideoStreamFramer.cpp source file (that somebody gave me, if you want it I'll send it to you) that addresses the header compatibility issues with the DM355 MPEG4 codec and live555 so I have no problem streaming the videos, but it's a two step process. First encode & save to disk, then stream by running liveMediaServer or TestOnDemandRTSP. Could you tell me a little bit more about how you modified the test program that you used? They all seem to use inputs files, I'm guess I would need to use the buffers that contain the encoded data instead of a file object? Do you know which buffers contain the encoded data? Also did you have to modify the ByteStreamFileSource.cpp library? That is where it looks like the fread from a file is done.

Thanks

Jerry Johns wrote:

Hey Anthony,

We’ve been successful in producing a real-time video/audio streaming solution for the DaVinci – we didn’t use MPEG4 as the format of choice (I don’t think its header structures are compatible with LiveMedia). Our solution uses LiveMedia integrated with the video encoder application to achieve this goal. H.264 was the format we chose, and we had to write a custom packetizer for it in LiveMedia (it doesn’t support it natively). We run all this under a single process so that we can control the priority of the livemedia thread (which is a hog) – its pretty straightforward to integrate liveMedia into the encode demo application – you have modify the test program in LiveMedia into a pthread entry point, and include that as a source file that you can build into the encode app as a separate pthread. This involves also changing the Makefile

It streams quite nicely to VLC and to Quicktime using the RTSP Server.

If you want to do MPEG4, you’ll have to parse the m4v files produced by the mpeg4 codec server to see how its header structures differ from what liveMedia expects

The RFC specs are usually the best way to figure this out

Hope it helps,

**Jerry Johns**

//Design Engineer//

//Nuvation Research Corp - Canada//

//Tel: (519) 746-2304 ext. 225//

//www.nuvation.com <http://www.nuvation.com>//

------------------------------------------------------------------------

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to