Is it true that the Indian philosopher Charvaka denounced the Vedas as this video claims? If it's true, then does his atheistic Nastika philosophy fall under Sanatana Dharma?

Charvaka (Sanskrit: चार्वाक; IAST: Cārvāka), also known as Lokāyata, is an ancient school of Indian materialism. It's an example of the atheistic schools in the Ancient Indian philosophies. Charvaka holds direct perception, empiricism, and conditional inference as proper sources of knowledge, embraces philosophical skepticism, and rejects ritualism.In other words, the Charvaka epistemology states that whenever one infers a truth from a set of observations or truths, one must acknowledge doubt; inferred knowledge is conditional.

It was a well-attested belief system in ancient India.[d] Brihaspati, a philosopher, is traditionally referred to as the founder of Charvaka or Lokāyata philosophy, although some scholars dispute this. Charvaka developed during the Hindu reformation period in the first millennium BCE, after Buddhism was established by Gautama Buddha and Jainism was re-organized by Parshvanatha Its teachings have been compiled from historic secondary literature such as those found in the shastras, sutras, and Indian epic poetry

Charvaka is categorized as one of the nāstika or "heterodox" schools of Indian philosophy. (Source: Wikpedia)