Justin Bieber walks unsteadily and even appears to stumble while performing a sobriety test shortly after his January arrest on driving under the influence and other charges, according to police video.

Only a few moments depict Justin in the roughly 10 hours of video released by Miami-Dade County prosecutors following public records requests from news organisations.

The videos were recorded at the Miami Beach police department in Florida shortly after Bieber and R&B singer Khalil Amir Sharieff were arrested during what officers said was an illegal street drag race in sports cars. They were not charged with drag racing, however.

In one clip, Justin - dressed in a dark hoodie with the hood over his head, dark baggy shorts and bright red shoes - wavers as he tries to walk carefully and slowly heel to toe.

He stumbles slightly as he turns and appears to have his arms out for balance. In a second try he stumbles again, even reaching out to a wall for support, and has an animated face-to-face conversation with a police officer in which both point fingers at each other.

There are only brief glimpses of the pop singer's face and no close-ups in the medium-quality video, which also included no time codes to determine how long he underwent the sobriety tests.

Other brief clips show Justin being walked through various parts of the police station, and one previously released video depicted the 19-year-old singer being patted down by an officer. None of the videos have any sound.

Khalil is also depicted in some segments, sitting quietly in a chair and watching Justin undergo the sobriety test. At one point the two appear to be talking and Khalil raises a clenched fist.

Several clips were withheld at the request of Justin's lawyers, including four segments depicting him urinating into a cup for a drug test. Miami-Dade County Judge William Altfield will review those clips and plans another hearing next week on whether they will be released.

Justin has pleaded not guilty to DUI, resisting arrest and driving with an invalid licence. Breath tests showed that his blood-alcohol content was below the 0.02 level considered intoxicated for under-age drivers, but the urine test found the presence of marijuana and the antidepressant Xanax.

Police reports described the singer after his arrest as "excited, talkative, profanity, co-operative, insulting and cocky" and noted that he had a pronounced odour of alcohol on his breath, bloodshot eyes and a flushed face.

Regarding the marijuana, one officer said he noticed a strong smell of the drug while Justin was sitting in the back of a police car. The officer asked him about it.

"Yeah, we were smoking all night at the studio," the report quotes Justin as replying.