Axis Camera H264 Recording is Choppy
Posted: 10 Apr 2012 01:03
So I have a couple of Axis P1347 cameras mounted in an aircraft, and am attempting to record H264 Video from them, using the following command:
/usr/bin/cvlc -vvv rtsp://10.15.1.22/axis-media/media.amp\?streamprofile=0" --sout {dst=std{access=file,mux=mp4,dst=file.avi}}. This gets me a 1080p 24fps video stream from the Axis camera.
This _mostly_ works. When we're flying along nice and sedately over the clouds, I get very nice video. Unfortunately, whenever it gets "interesting" and there is a lot of movement in the frame, I tend to get video that either "skips" or appears to jerk very slightly backwards on playback. Downgrading to 720 from 1080 seems to make things _better_, but does not eliminate the issue. There is nothing in the logs from the recording that is particularly suspicious.
However, when I play it back, I get the following when the "skips" occur:
out of range intrachroma pred mode at 87 50
error while decoding BM8750
concealing 2122DC 2122AC 2122MV errors.
Any idea what might be causing this problem? I've done a _lot_ of fiddling around with various options, both in the axis camera encoding settings and with VLC options. The only things that seem to have made things better is changing to the lower resolution and changing my container format to mp4 from avi. However, even with these changes, the errors still occur at a lower rate, and always right at the best parts of the video.
/usr/bin/cvlc -vvv rtsp://10.15.1.22/axis-media/media.amp\?streamprofile=0" --sout {dst=std{access=file,mux=mp4,dst=file.avi}}. This gets me a 1080p 24fps video stream from the Axis camera.
This _mostly_ works. When we're flying along nice and sedately over the clouds, I get very nice video. Unfortunately, whenever it gets "interesting" and there is a lot of movement in the frame, I tend to get video that either "skips" or appears to jerk very slightly backwards on playback. Downgrading to 720 from 1080 seems to make things _better_, but does not eliminate the issue. There is nothing in the logs from the recording that is particularly suspicious.
However, when I play it back, I get the following when the "skips" occur:
out of range intrachroma pred mode at 87 50
error while decoding BM8750
concealing 2122DC 2122AC 2122MV errors.
Any idea what might be causing this problem? I've done a _lot_ of fiddling around with various options, both in the axis camera encoding settings and with VLC options. The only things that seem to have made things better is changing to the lower resolution and changing my container format to mp4 from avi. However, even with these changes, the errors still occur at a lower rate, and always right at the best parts of the video.