[Live-devel] openRTSP woes

Shawn Van Every vanevery at walking-productions.com
Tue May 19 12:56:25 PDT 2009


Hi Folks,

Running into a couple of issues using openRTSP and hoping for some  
advice on things that I should try or code that I should look at:

Doing recordings from Axis Q1755 H.264 HD cams using openRTSP.

Our first issue was that we would often get recordings that were  
missing a key atom and were therefore unplayable.  It was determined  
that this was due to network packet loss and some network  
reconfiguring has (mostly) solved the issue.

The second issue that we have run into is with audio/video sync.   
Right now, at the beginning of many of the recorded files, we are  
seeing very fast video with normal speed audio which I think is the  
culprit.  This lasts for less than a second.  (Using the -y flag seems  
to help but it throws away audio data making our audio very bad)  Is  
it possible this occurs until the first keyframe is seen?

We are encoding at full resolution and full framerate from these cams:

openRTSP -q -f 30 -w 1280 -h 720 -t -Q -b 2000000 rtsp://10.10.10.10/axis-media/media.amp?videocodec=h264&resolution=1280x720&audio=1&duration=0&fps=30&videobitrate=10000&videomaxbitrate=10000&videobitratepriority=framerate&videokeyframeinterval=2&compression=10&color=1&clock=0&date=0&text=0

Thanks,
shawn


More information about the live-devel mailing list