How to get an entire valid H.264 stream with OpenRTSP.exe

I entered the following OpenRTSP.exe command from a WIndows 7 command prompt on a new Lenovo desktop workstation connected to a landline router and I obtained the following warning message: The input frame data was too large for our buffer.  335043 bytes of trailing data was dropped!  Correct this by increasing the "bufferSize" parameter in the "createNew()" call.

Please tell me what else I need to do  to get an entire valid H.264 stream with OpenRTSP.exe from the command prompt.

openRTSP.exe -4 rtsp://192.168.1.16/ufirststream >> Mary5.264
Warning: The -q, -4 or -i option was used, but not -w.  Assuming a video width o
f 240 pixels
Warning: The -q, -4 or -i option was used, but not -h.  Assuming a video height
of 180 pixels
Warning: The -q, -4 or -i option was used, but not -f.  Assuming a video frame r
ate of 15 frames-per-second
Opening connection to 192.168.1.16, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://192.168.1.16/ufirststream RTSP/1.0
CSeq: 2
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2015.06.25)


Received 152 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Fri, Oct 03 2003 19:41:52 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARA
METER


Sending request: DESCRIBE rtsp://192.168.1.16/ufirststream RTSP/1.0
CSeq: 3
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2015.06.25)
Accept: application/sdp


Received 779 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Fri, Oct 03 2003 19:41:52 GMT
Content-Base: rtsp://192.168.1.16/ufirststream/
Content-Type: application/sdp
Content-Length: 613

v=0
o=- 104894753321 1 IN IP4 192.168.1.16
s=CAM2000HD
i=ufirststream
t=0 0
a=tool:SMServer 1.0.1
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:CAM2000HD
a=x-qt-text-inf:ufirststream
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:5089
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640029;sprop-parameter-sets=Z2QA
Ka2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J
8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBE/LgKpAAADAHgAAAaQYEAAC3GwAADctQve+F4RCNQ=,aO4
8sA==
a=control:track1
a=x-onvif-track:track1
a=x-bufferdelay:1.000000
a=framerate:7

Opened URL "rtsp://192.168.1.16/ufirststream", returning a SDP description:
v=0
o=- 104894753321 1 IN IP4 192.168.1.16
s=CAM2000HD
i=ufirststream
t=0 0
a=tool:SMServer 1.0.1
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:CAM2000HD
a=x-qt-text-inf:ufirststream
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:5089
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640029;sprop-parameter-sets=Z2QA
Ka2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J
8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBE/LgKpAAADAHgAAAaQYEAAC3GwAADctQve+F4RCNQ=,aO4
8sA==
a=control:track1
a=x-onvif-track:track1
a=x-bufferdelay:1.000000
a=framerate:7

Created receiver for "video/H264" subsession (client ports 58302-58303)
Sending request: SETUP rtsp://192.168.1.16/ufirststream/track1 RTSP/1.0
CSeq: 4
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2015.06.25)
Transport: RTP/AVP;unicast;client_port=58302-58303


Received 242 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Fri, Oct 03 2003 19:41:52 GMT
Transport: RTP/AVP;unicast;destination=192.168.1.10;source=192.168.1.16;client_p
ort=58302-58303;server_port=10008-10009;ssrc=6c36f7ec;mode="PLAY"
Session: F1CF0007;timeout=65


Setup "video/H264" subsession (client ports 58302-58303)
Outputting to the file: "stdout"
Sending request: PLAY rtsp://192.168.1.16/ufirststream/ RTSP/1.0
CSeq: 5
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2015.06.25)
Session: F1CF0007
Range: npt=0.000-


Received 200 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: Fri, Oct 03 2003 19:41:52 GMT
Range: npt=0.000-
Session: F1CF0007
RTP-Info: url=rtsp://192.168.1.16/ufirststream/track1;seq=11941;rtptime=86717864
8;ssrc=6c36f7ec


Started playing session
Receiving streamed data...
MultiFramedRTPSource::doGetNextFrame1(): The total received frame size exceeds t
he client's buffer size (100000).  335043 bytes of trailing data will be dropped
!
QuickTimeFileSink::afterGettingFrame(): The input frame data was too large for o
ur buffer.  335043 bytes of trailing data was dropped!  Correct this by increasi
ng the "bufferSize" parameter in the "createNew()" call.

Any help is greatly appreciated
camster123Senior C++ Software EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sarabandeCommented:
you could change the output buffer size by -b commandline option. see

http://www.live555.com/openRTSP/#option-summary

Sara
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
camster123Senior C++ Software EngineerAuthor Commented:
Sarabande's solution is very useful to me,
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.