Re: [Live-devel] question about parseSPropParameterSets()

2012-02-08 Thread James Zhang
Hello Ross Sorry for the late reply and thanks alot for your answer I have tried unicast server said: "h264ESVideoTest" stream, from the file "test.264" Play this stream using the URL "rtsp://192.168.1.4:8554/h264ESVideoTest" I do have a test.264 file in that folder Client said: *2012-02-08 21

Re: [Live-devel] question about parseSPropParameterSets()

2012-02-02 Thread Ross Finlayson
Also, your client is using a very old version of the "LIVE555 Streaming Media" software. You should upgrade it if you can. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists

Re: [Live-devel] question about parseSPropParameterSets()

2012-02-02 Thread Ross Finlayson
> Received SETUP response: RTSP/1.0 461 Unsupported Transport This happens because the server's stream is multicast, but your client is asking for it to be streamed via RTP-over-TCP, which you can't do for multicast streams. If your client *does not* request RTP-over-TCP streaming (e.g., if you

Re: [Live-devel] question about parseSPropParameterSets()

2012-02-02 Thread James Zhang
Forgot to mention that I m using testH264VideoStreamer. On 3 February 2012 14:37, James Zhang wrote: > Hello Ross > > I m using live555 test server to streaming a h264 video form hard disc > > from terminal it looks like > > Play this stream using the URL "rtsp://172.28.31.103:8554/testStream" >

Re: [Live-devel] question about parseSPropParameterSets()

2012-02-02 Thread James Zhang
Hello Ross I m using live555 test server to streaming a h264 video form hard disc from terminal it looks like Play this stream using the URL "rtsp://172.28.31.103:8554/testStream" Beginning streaming... Beginning to read from file... My client get: ** *2012-02-03 14:32:37.376 rtsp[51110:6c03]

Re: [Live-devel] question about parseSPropParameterSets()

2012-02-02 Thread Ross Finlayson
> I got a question. Lots of documents mentioned that (7) sps, (8) pps, (6) sei. > what is that mean? They're defined in the H.264 specification: ISO/IEC 14496-10, I think. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mai

Re: [Live-devel] question about parseSPropParameterSets()

2012-02-02 Thread James Zhang
Hello everyone I got a question. Lots of documents mentioned that (7) sps, (8) pps, (6) sei. what is that mean? Nal unit is a binary set, 7 means position 7 or 0111 or something else? Thanks alot Best regards James On 31 January 2012 23:17, James Zhang wrote: > Hello everyone > > Thanks for

Re: [Live-devel] question about parseSPropParameterSets()

2012-01-31 Thread James Zhang
Hello everyone Thanks for everybody's suggestion. Looks i have made it start to do something instead on no frame, fail to decode. I m keep getting something like this. Is it because of i m putting the wrong NAL units to decoder? My nal structure is 0x1sps0x1pps *[h264 @ 0x700f400]slice type to

Re: [Live-devel] question about parseSPropParameterSets()

2012-01-31 Thread Jon Burgess
> > > > > SPropRecord * data to a NSData and send into extradata to decode? > > I don't know what a "NSData" is (it's apparently something outside our > libraries), but I hope it should be obvious from the implementation of the > function in "liveMedia/H264VideoRTPSource.cpp" how it works. > > "NS

Re: [Live-devel] question about parseSPropParameterSets()

2012-01-31 Thread Novalis Vapuru
James, You can parse sprop parameters in order to get meaningfull stream info [ stream width, height etc] if you need. You can get details from here: http://stackoverflow.com/questions/6394874/fetching-the-dimensions-of-a-h264video-stream Best Wishes Novalis 2012/1/31 Ross Finlayson : > After

Re: [Live-devel] question about parseSPropParameterSets()

2012-01-30 Thread Ross Finlayson
> After parseSPropParameterSets, I should be able to get sps and pps(in binary > format?) Yes, and that's exactly what the "sPropBytes" field is! It's a pointer to an array of "sPropLength" bytes (i.e., binary). > > But when i use print command to print the strings, I got some wired data. No

Re: [Live-devel] question about parseSPropParameterSets()

2012-01-30 Thread James Zhang
Hello Ross Thank you very much for your fast and nice reply. After parseSPropParameterSets, I should be able to get sps and pps(in binary format?) But when i use print command to print the strings, I got some wired data. I m not sure why it looks like that: code: for(unsigned i=0; i > I have

Re: [Live-devel] question about parseSPropParameterSets()

2012-01-30 Thread Ross Finlayson
G'day James, it's nice to hear from another University of Auckland person. > I have a question about parseSPropParameterSets() function. > > Based on my understanding, I think this function will read in the SPS and PPS > data, Yes, it will read in a coded ASCII string that represents the SPS a

[Live-devel] question about parseSPropParameterSets()

2012-01-30 Thread James Zhang
Hello everyone I have a question about parseSPropParameterSets() function. Based on my understanding, I think this function will read in the SPS and PPS data, then do base64 decode to generate a nal unit. I have fit the SPS and PPS data by using this unsigned int num=0; SPropRecord * sps=pars