131 / h264-live-player

A live h264 player for the browser (ideal for raspberrypi / raspicam )
MIT License
1.08k stars 250 forks source link

1920x1080@30hz Video delay too much #32

Open szhansen opened 7 years ago

szhansen commented 7 years ago

hi, I test on Raspberry3 Model B, and use : node server-rpi.js, i set raspivid input 1920x1080@30hz,When i browser video ,it have a very big delay. Any advise for this ?

Thank you so much.

szhansen commented 7 years ago

even i user 1024*768, the picture have Mosaic,but the Pi's cpu useage is only :28%, i use wlan to connect pi with my pc, the net i think is ok, so i really confused.

131 commented 7 years ago

I have no rpi at this time, so i cannot help you a lot, yet i think your should try to lower the bitrate and force the baseline profile in raspivid command line parameters

See --profile baseline and --bitrate ??? https://www.raspberrypi.org/documentation/raspbian/applications/camera.md

weicool888 commented 7 years ago

don't send me these mails,ok?

At 2017-01-14 20:45:06, "François Leurent" notifications@github.com wrote:

I have no rpi at this time, so i cannot help you a lot, yet i think your should try to lower the bitrate and force the baseline profile in raspivid command line parameters

See --profile baseline and --bitrate ??? https://www.raspberrypi.org/documentation/raspbian/applications/camera.md

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

131 commented 7 years ago

@weicool888 , you received a mail because you "watch" this repository and asked to receive mail when someone create activity in it. Unwatch h264-live-player or toggle mail notification from github web interface.

szhansen commented 7 years ago

hi,François, thank you for your reply. The "--profile" is default "baseline",but I don't think it's Raspi issue,please take a look at the bellow picture,it's raspi's cpu usage,I use wlan to connect pc with the pi,so it can't be the network speed issue, could you tell me where have the limit ? any parameter could be refine for it ? Thank you so much.

1080p30hz

sc0Vu commented 5 years ago

@szhansen I got this issue too when streamed video from raspberry pi. Guess it might be problem in fps or decode in browser. Did you fix this?

YellowQC commented 4 years ago

@szhansen did you fix this problem? works fine in size 720X1080,but other size phone failed。