Not the case in Germany. You just can't post the videos to public places.
https://www.dw.com/en/dashcams-in-germany-permissible-in-cou...
Austria is supposedly completely illegal, but unless the police there will stop you for having one, I'd probably risk it. Perhaps courts wouldn't admit it as evidence, but insurance arbitration might, or it might at lease avoid an insurance fight altogether.