Conan Zamolo, a former youth justice officer at Don Dale youth detention centre, has admitted he filmed himself bursting into a cell and repeatedly asking the boys in their beds to give him oral sex.
He was giving evidence to the Royal Commission into the Protection and Detention of Children in the Northern Territory.
Zomolo said he was "goofing around" in the videos and had a "good relationship with the kids".
Zamolo also admitted to the hearing he had filmed children being forced to eat bird faeces and posted the footage on social media site Snapchat.
He also disclosed he had filmed a detainee urinating, but denied he had used his phone to film another inmate masturbating in the shower.