Show ip camera in dashboard and store prefixed buffer video

Actually found it here

I did set the gpu memory to 256, i.e. gpu_mem=256

Try first before compiling ffmpeg, it might have support for hardware H.264 encoder plugin already!

But I'm not sure it will improve with rtsp cameras