Re: [Live-devel] Separating Transport Stream IDs from PES IDs

2014-06-27 Thread Piers Hawksley
Thanks Ross, So MPEG2TransportStreamFromPESSource provides data with the stream_id already set and no methods for setting the packet id ? I'm sorry I didn't understand this before. We have an awkward requirement to work with an installed set of hardware decoders which are set to receive a spec

Re: [Live-devel] SIGABRT in base64Decode in liveMedia/Base64.cpp

2014-06-27 Thread Ross Finlayson
> Is the last line (handleRequestBytes() processing 3 new bytes) expected ? No, this is another bug in the code; it'll be fixed in the next release of the software (in a few hours). (Fortunately, it would cause a problem only if a Base-64-encoded request were split into three or more network re

Re: [Live-devel] Separating Transport Stream IDs from PES IDs

2014-06-27 Thread Ross Finlayson
No, this is still all wrong. First, it (once again) works for only one subclass of "MPEG2TransportStreamMultiplexor" (and, in particular, doesn't work for "MPEG2TransportStreamFromPESSource" at all). But it turns out that there's a more fundamental problem: This won't work if more than one str

Re: [Live-devel] live555 sdp issue

2014-06-27 Thread Ross Finlayson
> Sorry I stated wrong. > > After openRTSP received a file(test.h264), mplayer can play it but vlc can > not. OK, so that means that there is something wrong with your encoded video that is causing VLC to fail to play it - either directly from a file, or from a RTSP stream. You're going to ha

Re: [Live-devel] live555 sdp issue

2014-06-27 Thread xxiao8
Sorry I stated wrong. After openRTSP received a file(test.h264), mplayer can play it but vlc can not. mplayer can also play the rtsp stream directly which vlc can not. When VLC is used to play the stream, I can verify "Demux datasize" has valid value, and "Content bitrate" is around 500Kb/seco

Re: [Live-devel] SIGABRT in base64Decode in liveMedia/Base64.cpp

2014-06-27 Thread Piers Hawksley
Hi Ross, The new version has been running for over 3 hours and it successfully combines split base 64 encoded GET_PARAMETER requests: RTSPClientConnection[0x1de840]::handleRequestBytes() read 271 new bytes:R0VUX1BBUkFNRVRFUiBydHNwOi8vMTAuMjYuNy4xMjA6ODU1NC9zdHJlYW05LyBSVFNQLzEuMA0KQ1NlcTogNzI

Re: [Live-devel] Separating Transport Stream IDs from PES IDs

2014-06-27 Thread Piers Hawksley
Hi Ross, Thanks for you suggestions on the patch I sent in. I have removed the rogue member variable I proposed and made fCurrentPID protected and ensured the MPEG2TransportStreamMultiplexor constructor initialises it. fCurrentPID is now set in MPEG2TransportStreamFromESSource::addNewInputSo

Re: [Live-devel] SIGABRT in base64Decode in liveMedia/Base64.cpp

2014-06-27 Thread Piers Hawksley
Excellent - thanks Ross, I've downloaded and built the new version and started running it through gdb. I will let you know if it runs for > 2 hours and look out for requests that get split over more than one network read. Many Thanks, Piers ___ liv