Re: [Live-devel] Possible bug in H264VideoStreamParser

2012-04-25 Thread Ross Finlayson
Although I can't rule out the possibility of a bug in "H264VideoStreamParser", I think that your problem is that the buffer used by the "FileSink" object in the "testH264VideoToTransportStream" demo application was too small for at least some of the NAL units in your input file. Unfortunately,

Re: [Live-devel] missed RTP packets when streaming directly from libx264

2012-04-25 Thread Ross Finlayson
> I'm try to stream live video using X264 and live555. Currently, what I do is: > (i) whenever doGetNextFrame() is called, I read a frame from a local YUV > file, and encode it into one or multiple NAL units, and (ii) whenever > deliverFrame() is called I copy all the NALs to the buffer This is

[Live-devel] missed RTP packets when streaming directly from libx264

2012-04-25 Thread Cheng-Hsin Hsu
Greetings, I'm try to stream live video using X264 and live555. Currently, what I do is: (i) whenever doGetNextFrame() is called, I read a frame from a local YUV file, and encode it into one or multiple NAL units, and (ii) whenever deliverFrame() is called I copy all the NALs to the buffer and

[Live-devel] Possible bug in H264VideoStreamParser

2012-04-25 Thread Mcnamara, JohnX
Hi, The H264VideoStreamParser::Parse() method appears to insert additional 0x0001 start codes when the buffered data is greater than the BANK_SIZE and the fBank[] banks are switched. Steps to reproduce: 1. Convert a H.264 video such as the Live555 sample slamtv10.264 file to MPE

Re: [Live-devel] Android log patch

2012-04-25 Thread Ross Finlayson
> Please take a look if you would consider the attached patch. > It allows live555 to log to the logcat window (instead of std out/std err) > when compiled for android (i.e. ANDROID is defined). Sorry, no, because this is too specific to one particular environment. What you should be doing inste

Re: [Live-devel] DeviceSource.cpp socket implementation

2012-04-25 Thread Ross Finlayson
> I’m wondering if anybody has a simple socket reading version of the > testOnDemandRTSPServer program. What you really mean to ask for is "a subclass of the 'OnDemandServerMediaSubsession' class that reads from a socket". There is such a class that you can use as a model: "MPEG2TransportUDPSe

[Live-devel] Android log patch

2012-04-25 Thread Ralf Globisch
Hi Ross, Please take a look if you would consider the attached patch. It allows live555 to log to the logcat window (instead of std out/std err) when compiled for android (i.e. ANDROID is defined). The other option would be to write an AndroidUsageEnvironment class, but since there are in any ca

[Live-devel] DeviceSource.cpp socket implementation

2012-04-25 Thread Martin Wright
Hi I'm wondering if anybody has a simple socket reading version of the testOnDemandRTSPServer program. I need to source raw PCM audio from a socket knowing the sample size, frequency and number of channels and send frames to the RTP sink. It would be really useful to see a concrete example of