Skip to main content
Log in

Anomaly detection in compressed H.264/AVC video

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Real time anomaly detection is the need of the hour for any security applications. In this article, we have proposed a real time anomaly detection for H.264 compressed video streams utilizing pre-encoded motion vectors (MVs). The proposed work is principally motivated by the observation that MVs have distinct characteristics during anomaly than usual. Our observation shows that H.264 MV magnitude and orientation contain relevant information which can be used to model the usual behavior (UB) effectively. This is subsequently extended to detect abnormality/anomaly based on the probability of occurrence of a behavior. The performance of the proposed algorithm was evaluated and bench-marked on UMN and Ped anomaly detection video datasets, with a detection rate of 70 frames per sec resulting in 90× and 250× speedup, along with on-par detection accuracy compared to the state-of-the-art algorithms.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. Adam A, Rivlin E, Shimshoni I, Reinitz D (2008) Robust real-time unusual event detection using multiple fixed-location monitors. IEEE Trans Pattern Anal and Mach Intell 30(3):555–560

    Article  Google Scholar 

  2. Benezeth Y, Jodoin PM, Saligrama V, Rosenberger C (2009) Abnormal events detection based on spatio-temporal co-occurences. In: Proceedings of the IEEE conference on Computer vision and pattern recognition, pp 2458–2465

  3. Biswas S, Babu R V (2013) Real time anomaly detection in H.264 compressed videos. In: National conference on Computer vision, pattern recognition, image processing and graphics. NCVPRIPG, pp 1–4

  4. Boiman O, Irani M (2005) Detecting irregularities in images and in video. In: Proceedings of the IEEE international conference on Computer vision, pp 462–469

  5. Chan AB, Vasconcelos N (2008) Modeling, clustering, and segmenting video with mixtures of dynamic textures. IEEE Trans Pattern Anal and Mach Intell 30(5):909–926

    Article  Google Scholar 

  6. Cong Y, Yuan J, Liu J (2011) Sparse reconstruction cost for abnormal event detection. In: Proceedings of the IEEE conference on Computer vision and pattern recognition, pp 3449–3456

  7. Hu W, Xiao X, Fu Z, Xie D, Tan T, Maybank S (2006) A system for learning statistical motion patterns. IEEE Trans Pattern Anal and Mach Intell 28(9):1450–1464

    Article  Google Scholar 

  8. Itti L, Baldi P (2005) A principled approach to detecting surprising events in video. In: Proceedings of the IEEE conference on Computer vision and pattern recognition, vol 1, pp 631–637

  9. Kim J, Grauman K (2009) Observe locally, infer globally: a space-time MRF for detecting abnormal activities with incremental updates. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 2921–2928

  10. Kratz L, Nishino K (2009) Anomaly detection in extremely crowded scenes using spatio-temporal motion pattern models. In: Proceedings of the IEEE conference on Computer vision and pattern recognition, pp 1446–1453

  11. Mahadevan V, Li W, Bhalodia V, Vasconcelos N (2010) Anomaly detection in crowded scenes. In: Proceedings of the IEEE conference on Computer vision and pattern recognition, pp 1975–1981

  12. Mehran R, Oyama A, Shah M (2009) Abnormal crowd behavior detection using social force model. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 935–942

  13. Moiron S, Faria S, Assunçao P, Silva V, Navarro A (2007) H. 264/AVC to MPEG-2 video transcoding architecture. In: Proceeding of the conference on Telecommunications, pp 449–452

  14. Peds dataset. http://www.svcl.ucsd.edu/projects/anomaly/dataset.html

  15. Piciarelli C, Micheloni C, Foresti GL (2008) Trajectory-based anomalous event detection. IEEE Trans Circ and Syst for Video Technol 18(11):1544–1554

    Article  Google Scholar 

  16. Pourazad MT, Nasiopoulos P, Ward RK (2010) Generating the depth map from the motion information of H.264-encoded 2D video sequence. J Image and Video Process 2010(4):4:1–4:13

    Google Scholar 

  17. Ramakanth SA, Babu RV (2012) Feature match: an efficient low dimensional patchmatch technique. In: Proceedings of the indian conference on computer vision, graphics and image processing, pp 45:1–45:7

  18. Reddy V, Sanderson C, Lovell BC (2011) Improved anomaly detection in crowded scenes via cell-based analysis of foreground speed, size and texture. In: IEEE conference on Computer vision and pattern recognition workshops. CVPRW, pp 55–61

  19. Remagnino P, Jones GA (2001) Classifying surveillance events from attributes and behaviour. algorithms 6(7):1–12

    Google Scholar 

  20. Ryan D, Denman S, Fookes C, Sridharan S (2011) Textures of optical flow for real-time anomaly detection in crowds. In: 8th IEEE international conference on Advanced video and signal-based surveillance. AVSS, pp 230–235

  21. Saligrama V, Chen Z (2012) Video anomaly detection based on local statistical aggregates. In: Proceedings of the IEEE conference on Computer vision and pattern recognition, pp 2112–2119

  22. Stauffer C, Grimson WEL (2000) Learning patterns of activity using real-time tracking. IEEE Trans Pattern Anal and Mach Intell 22(8):747–757

    Article  Google Scholar 

  23. Sun X, Yao H, Ji R, Liu X, Xu P (2011) Unsupervised fast anomaly detection in crowds. In: Proceedings of the ACM international conference on Multimedia, pp 1469–1472

  24. UMN dataset. http://mha.cs.umn.edu/proj_events.shtml#crowd

  25. Wiegand T, Sullivan GJ, Bjontegaard G, Luthra A (2003) Overview of the H.264/AVC video coding standard. IEEE Trans Circ and Syst for Video Technol 13(7):560–576

    Article  Google Scholar 

  26. Wu S, Oreifej O, Shah M (2011) Action recognition in videos acquired by a moving camera using motion decomposition of lagrangian particle trajectories. In: Proceedings of the IEEE international conference on Computer vision, pp 1419–1426

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to R. Venkatesh Babu.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Biswas, S., Babu, R.V. Anomaly detection in compressed H.264/AVC video. Multimed Tools Appl 74, 11099–11115 (2015). https://doi.org/10.1007/s11042-014-2219-4

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-014-2219-4

Keywords

Navigation