Choppy vs Smooth Video -- bvr vs MP4

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
I won't pretend to understand the difference between these two recording formats other than that .bvr files are easier to work with (you can view files while the file is still open for recording AND you can export chunks of recorded video--which are two features not supported if using MP4 in Blue Iris). What I've noticed however is that video playback is far smoother when recording using the MP4 format.

The following Hikvision 4MP (2688X1520) videos were recorded using direct to disk at 20fps (20 iframes), constant bitrate @ 12288 Kbps, noise reduction 50, no backlight settings, smooth=50

FrontYard Record Format.png

Choppy video using .bvr format: https://dl.dropboxusercontent.com/u/17674025/FrontYard.20160309_084350.bvr

Smooth video using MP4 format: https://dl.dropboxusercontent.com/u/17674025/FrontYard.20160309_083209.mp4

I know there must be many variables that influence smoothness of videos, but at first glance, the MP4 format appears to be the most desirable if a person is willing to forfeit the advantages of .bvr recording. Having said that, is there a way to improve video playback of .bvr recordings to match that of MP4 recordings?

The videos come from a camera connected by Cat5e running through a 10/100 Mbps PoE switch to my computer.

Questions/comments welcome :)
 

ruppmeister

Getting the hang of it
Joined
Apr 15, 2015
Messages
668
Reaction score
98
I think you are part of the group on the forums here that experience something similar. See this thread - https://www.ipcamtalk.com/showthread.php/9369-Choppy-video-with-the-IE-active-X

Not exactly what you are seeing, but posts in there reflect something very similar. I am starting to think that recent changes to the BI server software might have influenced this. The more that people report it the more likely a discovery can be made on what the problem is.
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
I think you are part of the group on the forums here that experience something similar. See this thread - https://www.ipcamtalk.com/showthread.php/9369-Choppy-video-with-the-IE-active-X

Not exactly what you are seeing, but posts in there reflect something very similar. I am starting to think that recent changes to the BI server software might have influenced this. The more that people report it the more likely a discovery can be made on what the problem is.
Thanks Rupp--I've been watching that thread too--I started a new thread because my circumstances are different; I'm not viewing files remotely; I'm viewing them in BI directly on the computer that I've recorded video to....not using activex or a browser.

You said that you're not exactly sure what I'm seeing....do you mean that you're unable to see a difference in the two videos (links) I posted above?
 

ruppmeister

Getting the hang of it
Joined
Apr 15, 2015
Messages
668
Reaction score
98
No, I was simply stating that I knew the thread I linked too isn't the exact same problem as you are having but seem similar enough to share the link.

I do see the difference in the two you have posted and agree with you it shouldn't be like that.
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
No, I was simply stating that I knew the thread I linked too isn't the exact same problem as you are having but seem similar enough to share the link.

I do see the difference in the two you have posted and agree with you it shouldn't be like that.
Ok, gotcha, thanks Rupp!
 

atom

Getting the hang of it
Joined
Feb 3, 2015
Messages
323
Reaction score
97
Location
Australia
This is an interesting one for me too beepsilver. For a while now I've noticed most of my cams (16 non-hidden, all DTD BVR) live-view and recordings had started showing the same sort of choppy behaviour your BVR vid does (sometimes much worse). One cam in particular was worse than the rest, so after reading your post I tried changing it to MP4 DTD. Now not only is it nice and smooth, but so are all of the others despite not having changed any of them. Weird, but good, so thanks for posting about this.


I have another cam that's the same as the one above, running the same settings, and it has no issues with BVR. And they're Dahua's, so it's not as if it's something unusual or non-standard.


As future updates come out I'll retry BVR for the particular cam to see if anything has changed because I do like the ability to go back over recent footage.
 

mcx

Pulling my weight
Joined
Mar 26, 2014
Messages
98
Reaction score
102
One problem with MP4 clips. When I try to play clips on my Android device's I get this, but only if I try to play from alert list:

hot.png
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
One problem with MP4 clips. When I try to play clips on my Android device's I get this, but only if I try to play from alert list:

View attachment 8926
That would indicate your files are probably jpg files instead of videos....I can't reproduce this on my Nexus 6 with the BI client. I don't know why BI would do that....but one thing is for sure, using MP4 for recording is not very stable. I switched all my cams over to MP4 recording because, simply stated, the video is much smoother. However there appears to be a trade-off because I've noticed a couple of issues that I'm going to let Ken know about.

When motion is detected you have to close the file to future recording in order to view it. I usually hit the stoplight then reenable it...that closes the file for recording and the red box around the thumbnail disappears. Then, I double click the thumbnail to view the video, but often times the video does not play, but the slider moves to indicate it is playing....so I'll stop and restart the video....it'll sometimes take three or four attempts before the video plays normally.
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
This is an interesting one for me too beepsilver. For a while now I've noticed most of my cams (16 non-hidden, all DTD BVR) live-view and recordings had started showing the same sort of choppy behaviour your BVR vid does (sometimes much worse). One cam in particular was worse than the rest, so after reading your post I tried changing it to MP4 DTD. Now not only is it nice and smooth, but so are all of the others despite not having changed any of them. Weird, but good, so thanks for posting about this.


I have another cam that's the same as the one above, running the same settings, and it has no issues with BVR. And they're Dahua's, so it's not as if it's something unusual or non-standard.


As future updates come out I'll retry BVR for the particular cam to see if anything has changed because I do like the ability to go back over recent footage.
I don't understand it, but I'm glad changing only one camera fixed the others for you!
 

Rockford622

Getting the hang of it
Joined
Feb 19, 2016
Messages
188
Reaction score
33
You're not alone beepsilver. I just looked at your .bvr file and that is exactly what mine does. Every once in a while it seems to get stuck for a very short period of time.

I had another issue where I was told I should uncheck the "use RTSP/stream timecode" checkbox and that seemed to fix my one issue, but my .bvr files are still slightly choppy like yours.

All 4 of my cameras are HikVision's as well (different models than yours, but still).

How is your live viewing of video in BI? Is it choppy or smooth? I know mine is a little choppy which translates into a choppy .bvr file.

If I go to the live view directly to the camera, it's as smooth as silk.
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
How is your live viewing of video in BI? Is it choppy or smooth? I know mine is a little choppy which translates into a choppy .bvr file.

If I go to the live view directly to the camera, it's as smooth as silk.
My live viewing of video in BI (changed to 30 fps for testing) is choppy just like in the bvr files. Live viewing in my Hikvision software (run through Firefox) looks very good, but the video freezes for several seconds quite often--but when it's not freezing, it's smooth as silk like you say. I don't see the freezing in BI, so I don't know if the freezing is a function of the firmware or not....I'd like to know what's causing it, but I'm just happy there's no freezing in BI. I've tried many many many combinations of variable/constant/bitrate/fps/resolution, etc, but I still get the freezing...

Thanks for the feedback; hopefully future updates will address the bvr issue.
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
Ok, my expert opinion on this is that Blue Iris BVR playback attempts to decode each frame "just in time" and it apparently takes longer than the 1/30 of a second to decode those very large key frames ...

ACTUALLY, that's Ken's opinion
:D and here's what he's looking at doing to mitigate: I will have to see about making this double-buffered/threaded ...

I also mentioned to him that live preview is also affected. Bottom-line, Ken is aware and he'll likely have something for us soon.
 

Rockford622

Getting the hang of it
Joined
Feb 19, 2016
Messages
188
Reaction score
33
Well, that's good news!

Your bit rate of 12288 Kbps is really high...mine is only at 4000 Kbps. Have you tried to reduce that and see if the stuttering is at least less than it is now? Maybe if decoding is the issue, the less data to decode would be better.
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
Well, that's good news!

Your bit rate of 12288 Kbps is really high...mine is only at 4000 Kbps. Have you tried to reduce that and see if the stuttering is at least less than it is now? Maybe if decoding is the issue, the less data to decode would be better.
I can certainly test lower bitrates, perhaps tomorrow morning, but I have used 8192 and 6144 and the stuttering is still present....
 

Rockford622

Getting the hang of it
Joined
Feb 19, 2016
Messages
188
Reaction score
33
I upgraded to the latest and came to that same conclusion as well.
 

Rockford622

Getting the hang of it
Joined
Feb 19, 2016
Messages
188
Reaction score
33
I imagine it's not. Thanks for the update...I'll test it each time he puts out on update :)
 

beepsilver

Getting comfortable
Joined
Mar 9, 2014
Messages
863
Reaction score
982
Location
Nebraska
...Live viewing in my Hikvision software (run through Firefox) looks very good, but the video freezes for several seconds quite often--but when it's not freezing, it's smooth as silk like you say. I don't see the freezing in BI, so I don't know if the freezing is a function of the firmware or not....I'd like to know what's causing it, but I'm just happy there's no freezing in BI. I've tried many many many combinations of variable/constant/bitrate/fps/resolution, etc, but I still get the freezing...
I resolved this (embarrassingly simple solution) by logging in to the Hikvision camera (via Firefox) and going to Local Configuration and changing the stream to "HTTP." The video does not freeze and runs very very smooth.
 

Rockford622

Getting the hang of it
Joined
Feb 19, 2016
Messages
188
Reaction score
33
Do you mean you changed the protocol? This is how mine are setup:
Untitled-1.jpg
 
Top