Skip to content

youtube continue detect #6583

@alicera

Description

@alicera

Search before asking

Question

python detect.py --source youtube_url
I cant detect the 24 hours with youtube link. It will happen the message about xx hours.

[https @ 0x7fca34619e40] Cannot reuse HTTP connection for different host: rr4---sn-npoeen7d.googlevideo.com:-1 != rr1---sn-ipoxu-un5y.googlevideo.com:-1
[https @ 0x7fca1462d000] Cannot reuse HTTP connection for different host: rr5---sn-un57en7e.googlevideo.com:-1 != rr5---sn-ipoxu-un5d.googlevideo.com:-1
[https @ 0x7fc9f45d4040] Cannot reuse HTTP connection for different host: rr5---sn-un57sn7y.googlevideo.com:-1 != rr5---sn-ipoxu-un5ez.googlevideo.com:-1
[https @ 0x7fc9d45f0280] Cannot reuse HTTP connection for different host: rr4---sn-npoeenee.googlevideo.com:-1 != rr1---sn-ipoxu-un5y.googlevideo.com:-1
[https @ 0x7fca3461db00] Cannot reuse HTTP connection for different host: rr4---sn-npoeen7d.googlevideo.com:-1 != rr1---sn-ipoxu-un5y.googlevideo.com:-1
[https @ 0x7fca14624800] Cannot reuse HTTP connection for different host: rr5---sn-un57en7e.googlevideo.com:-1 != rr5---sn-ipoxu-un5d.googlevideo.com:-1
[https @ 0x7fca3463abc0] Cannot reuse HTTP connection for different host: rr4---sn-npoeen7d.googlevideo.com:-1 != rr1---sn-ipoxu-un5y.googlevideo.com:-1
WARNING: Video stream unresponsive, please check your IP camera connection.
WARNING: Video stream unresponsive, please check your IP camera connection.
WARNING: Video stream unresponsive, please check your IP camera connection.
[ERROR:[email protected]] global /io/opencv/modules/videoio/src/cap.cpp (164) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.5) /io/opencv/modules/videoio/src/cap_images.cpp:235: error: (-5:Bad argument) CAP_IMAGES: error, expected '0?[1-9][du]' pattern, got: https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1644251250/ei/EvQAYq-EEvCGvcAP87OzaA/ip/1.164.221.42/id/LqOpCr-_XjY.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/rr3---sn-ipoxu-un5ez.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/6470/mh/8J/mm/44/mn/sn-ipoxu-un5ez/ms/lva/mv/m/mvi/3/pl/25/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1644229235/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRgIhAIQq2S8xMJXmycwrjWrRjJFMYJTTYwi2URt7lQ_75qr5AiEA3F3f_RTc-ytBxMSMkS6jGoAOrdzBK_arGnk3AF-mnOw%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRgIhAKkKkyuEubiQpMA4Ra8w0jgRHHi8Vdn7iE8nNrMTyuNIAiEAsNg6q5bUVigvkcKXd7LlOx6z5ZL_L004pajItMl5Kb4%3D/playlist/index.m3u8 in function 'icvExtractPattern'


WARNING: Video stream unresponsive, please check your IP camera connection.
[ERROR:[email protected]] global /io/opencv/modules/videoio/src/cap.cpp (164) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.5) /io/opencv/modules/videoio/src/cap_images.cpp:235: error: (-5:Bad argument) CAP_IMAGES: error, expected '0?[1-9][du]' pattern, got: https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1644251257/ei/GfQAYpzNJfGds8IP3ZuG-Ao/ip/1.164.221.42/id/-7cADyjUH_E.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/rr8---sn-ipoxu-un56.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/8120/mh/DN/mm/44/mn/sn-ipoxu-un56/ms/lva/mv/m/mvi/8/pcm2cms/yes/pl/25/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1644229235/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIhAL5e5k3JXZ8x-ypCfwXOdhu23f22mHFvAG4RwVcLI6mVAiAcG2UldLUvVBl3bhAjHQUXiGd4bDLPULIVpW89PspFYQ%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIhAJferyknQgMWAMw1yh8vZURMg7PQYSf3P4vpQqumFzGiAiBCTjYvSOsiTh-Wj8IF0lTfQgQzUw7bxxy-MnfEQoMK9g%3D%3D/playlist/index.m3u8 in function 'icvExtractPattern'


WARNING: Video stream unresponsive, please check your IP camera connection.
[ERROR:[email protected]] global /io/opencv/modules/videoio/src/cap.cpp (164) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.5) /io/opencv/modules/videoio/src/cap_images.cpp:235: error: (-5:Bad argument) CAP_IMAGES: error, expected '0?[1-9][du]' pattern, got: https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1644251267/ei/I_QAYsnABM3lgQOL14iwCw/ip/1.164.221.42/id/pTcdr5grL2o.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/rr1---sn-ipoxu-un5y.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7530/mh/c4/mm/44/mn/sn-ipoxu-un5y/ms/lva/mv/m/mvi/1/pl/25/dover/11/pacing/0/keepalive/yes/fexp/24001373,24007246/mt/1644229235/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgbDod3CB3a6l89z-fmpd79j80NV8Xk7F4P3vnNvRC9G0CIQDKo0Qv5quepzmCLVDfLSYFAn7GhXSH49RG0HYr6kffcA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRQIhALPBjboqH1MIqnlaqpdCUqqe6T_ccpYAvbX7T3N4epHCAiBe2mBir4iQsCoOXOn3qlAktaHW1OgtAoG_IBdcbMXfvA%3D%3D/playlist/index.m3u8 in function 'icvExtractPattern'

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions