(raspberry pi csi camera) Reading h264 data from raspivid-stdout with java

listed in answer

(raspberry pi csi camera) Reading h264 data from raspivid-stdout with java
0 votes, 0.00 avg. rating (0% score)

ANSWER:

This thread from the Raspi forums might have some useful info.

In terms of the correct class, OutputStreamWriter looks like it’s doing a conversion you don’t need to happen. Your stream’s in bytes. It needs to stay that way.

Do you need a FileOutputStream?

EDIT: WHOOPS! Misread. You already have a fos. But for sure your writer is doing a conversion.

Seth from http://stackoverflow.com/questions/18090942