[Live-devel] Save video stream to MP4 file, audio play normal, video play slow

Tuan DN tuan.dn at anlab.vn
Fri Sep 30 21:28:32 PDT 2011


Hi everyone,

I am a newbie with live555, I would like to ask a question.

I use live555 to record a mediastream by following command:

*testProgs/openRTSP.exe -d 10 -4 rtsp://192.168.1.174:5544 >live555.mp4*

But when mp4 file is created, the video is much more slow than audio, please
see the attached file. Below is the log when I run live555:

=====================
o=- -8959207471341189980 -8959207471340249383 IN IP4 192.168.1.174:55rtsp://
192.168.1.174:5544

c=IN IP4 0.0.0.0

a=tool: Visualink HD

a=range:npt=0-

m=audio 62004 RTP/AVP 98

a=rtpmap:98 mpeg4-generic/48000/2

a=fmtp:98 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190;
SizeLength=13;IndexLength=3; IndexDeltaLength=3; Profile=1;

a=control:rtsp://192.168.1.174:5544/trackID=0

m=video 62002 RTP/AVP 96

a=rtpmap:96 H264/90000

a=fmtp:96 packetization-mode=0;profile-
level-id=42001e;sprop-parameter-sets=Z2QAH62wpDBSAgFxQWKQPQRWFIYKQEAuKCxSB6CKwpDBSAgFxQWKQPQRTDoUKQNC4oJHMGIemHQoUgaFxQSOYMQ9MOhQpA0LigkcwYh6xEQmIVilsQRWUURJsogxOU4QITKUIEVlCCTYQVhBMJQhMIjGggWQJFaIGBJZBAaEnaMIDwsSWQQKCwsrRBQYOWQweO0YEBZASNAogszlAtHt/4AEAASIAABd2AAV+QcAAAMAIWDoAABCwdn//xgAAAMBCwdAAAIWDs//+FA=,aP48sA==;

a=control:rtsp://192.168.1.174:5544/trackID=1
===========================
Could someone give me some advice on how to improve the quality of the
video.

Forgive my English.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111001/8b8852b2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: live555.mp4
Type: video/mp4
Size: 2351478 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111001/8b8852b2/attachment-0001.bin>


More information about the live-devel mailing list