quarta-feira, 13 de fevereiro de 2013

Release 0.0.8

Release notes

  • Unified view and grid views. A grid is a view with multiple cameras and a view has only one camera view. Same views, javascript files and stylesheets for both.
  • New getCamerasSortedArray() method in config to return a sorted cameras array. This is used to display the cameras list properly ordered.

sexta-feira, 8 de fevereiro de 2013

Release 0.0.7

Release notes

  • Implemented the grab exit event to try to rerun the process after a short delay.
  • Max video time limit in seconds.
  • Links to grid, views and events in the cameras list at the main page.

quinta-feira, 7 de fevereiro de 2013

Release 0.0.6


Release notes


  • Socket.io reconnect ok. Moved the for loop that emits subscribe events for the cameras into the connect event. After reconnect this event is fired again.
  • Alert box to show client disconnect.
  • Fixed a bug in using the '(new Date()).toISOString().substr(0,10)' expression to get the date folder name where the recordings are saved. The time returned did not consider the  timezone.
  • Added -y option in ffmpeg command to overwrite output files without asking.

sexta-feira, 1 de fevereiro de 2013

Release 0.0.5

Release notes

  • New page for viewing the recorded events.
  • Fixed bug with event mp4 video generated. Added "-pix_fmt yuv420p" output parameter to the ffmpeg command. Now the generated video plays in Google Chrome browse.

Convert multiple jpeg files to mp4 video using ffmpeg

This doesn't work:

ffmpeg -r 2 -f image2 -i %05d.jpg out.mp4

The video generated doesn't play in Chrome.

The problem is with the pixel format. This is the correct way to generate the video:

ffmpeg -r 2 -f image2 -i %05d.jpg -pix_fmt yuv420p out2.mp4