nopnop2002 / esp-idf-video-streaming

Capture video from a USB camera using ESP-IDF
MIT License
38 stars 4 forks source link

http server no work #18

Open 2054686334 opened 2 months ago

2054686334 commented 2 months ago

no log output,can't get any image from http

I (3779) example: format_desc->fourccFormat=(YUY2)
I (3789) example: frame_desc->wWidth=120
I (3789) example: frame_desc->wHeight=160
I (3799) example: format_desc->bDescriptorSubtype=4
I (3799) example: frame_desc->dwDefaultFrameInterval=400000
I (3809) example: format_desc->bDescriptorSubtype == UVC_VS_FORMAT_UNCOMPRESSED
W (3819) example: FRAME SIZE=320x240 FRAME RATE=30
W (3819) example: FRAME FORMAT=MJPEG
I (3829) example: format=7 width=240 height=320 fps=30
bmHint: 0001
bFormatIndex: 2
bFrameIndex: 2
dwFrameInterval: 333333
wKeyFrameRate: 0
wPFrameRate: 0
wCompQuality: 0
wCompWindowSize: 0
wDelay: 0
dwMaxVideoFrameSize: 4147200
dwMaxPayloadTransferSize: 512
bInterfaceNumber: 1
I (3859) example: uvc_start_streaming=0
Streaming...
I (9329) HTTP: root_get_handler
I (12689) wifi:<ba-add>idx:0 (ifx:0, ea:c8:29:bd:68:7a), tid:0, ssn:10, winSize:64
2054686334 commented 2 months ago

after this line "Streaming...",there is no output.so i think stream code is still no word

nopnop2002 commented 2 months ago

For some reason this log of yours is very late.

I (12689) wifi:idx:0 (ifx:0, ea:c8:29:bd:68:7a), tid:0, ssn:10, winSize:64

My log shows the same content on 8856tick. It may be that the WiFi connection is slow to establish. There may be some problem establishing a WiFi connection.

I (7996) example: got ip:192.168.10.123
I (7996) example: connected to ap SSID:aterm-d5a4ee-g password:7530c4872b4f2
I (8006) example: mdns hostname set to: [esp-cam]
I (8006) example: cparam0=[192.168.10.123]
I (8016) HTTP: Start task_parameter=192.168.10.123 ---> Start http server here.
I (8016) HTTP: Starting HTTP server on http://192.168.10.123:8080
I (8856) wifi:<ba-add>idx:0 (ifx:0, f8:b7:97:36:de:52), tid:5, ssn:0, winSize:64
I (9026) wifi:<ba-add>idx:1 (ifx:0, f8:b7:97:36:de:52), tid:0, ssn:4, winSize:64
2054686334 commented 2 months ago

For some reason this log of yours is very late.

I (12689) wifi:idx:0 (ifx:0, ea:c8:29:bd:68:7a), tid:0, ssn:10, winSize:64

My log shows the same content on 8856tick. It may be that the WiFi connection is slow to establish. There may be some problem establishing a WiFi connection.

I (7996) example: got ip:192.168.10.123
I (7996) example: connected to ap SSID:aterm-d5a4ee-g password:7530c4872b4f2
I (8006) example: mdns hostname set to: [esp-cam]
I (8006) example: cparam0=[192.168.10.123]
I (8016) HTTP: Start task_parameter=192.168.10.123 ---> Start http server here.
I (8016) HTTP: Starting HTTP server on http://192.168.10.123:8080
I (8856) wifi:<ba-add>idx:0 (ifx:0, f8:b7:97:36:de:52), tid:5, ssn:0, winSize:64
I (9026) wifi:<ba-add>idx:1 (ifx:0, f8:b7:97:36:de:52), tid:0, ssn:4, winSize:64

yes,i think there is some problem in connection,no log output from wifi while i try to get video,and seldom get"root_get_handler"