citolen / goproh4

Node.js module to control a GoPro Hero 4
MIT License
103 stars 24 forks source link

Semi-Gibberish displayed video (screenshot attached) #18

Closed saket424 closed 8 years ago

saket424 commented 8 years ago

screenshot from 2016-05-31 14-07-47

I am seeing semi-gibberish(pieces are broken but inividually do contain various parts of the video feed) when I browse at http://127.0..0.1:8082/index. what am i doing wrong -- seems like some error in the encoder/decoder cycle ?

citolen commented 8 years ago

Hey,

It seems like this issue #11, could you try changing the width and height variable (line 13,14) in livestream.js ?

Try with the value 432x240.

If that works could you tell me which gopro you are using and which firmware version ?

saket424 commented 8 years ago

Yes value 432x240 fixed it. Sorry for the duplicate

If that works could you tell me which gopro you are using and which firmware version ?

GoProH4 Black firmware version 3.0.0

karjri commented 8 years ago

Using value 432x240 fixes the problem also for me. Thank you!

Camera: GoPro HERO 4 Silver Firmware: 03.00.00

Server: Raspbian 4.9.2-10 @ ffmpeg version N-80976-g9157ac2

ahnl commented 4 years ago

If above values don't work, use resolution 640x480 or 848x480 (seems to depend on current video mode)

Works for GoPro HERO 7 Silver

Also you can try increasing bitrate value in the ffmpeg command for better quality.