Я пытаюсь передать поток своей веб-камеры через сеть, но принимающий клиент не может просмотреть и получить сообщение об ошибке: «VLC не может открыть MRL». Я пытался следовать инструкциям отсюда.

Я попытался сделать это локально с выключенным брандмауэром Windows 7 Enterprise, используя HTTP в качестве места назначения. Я создал поток, используя назначение HTTP на порту 8082, и установил флажок "Отображать локально". Я установил http-порт на 8082. Я вижу, что мой фотоаппарат здесь хорошо.

Я открыл другой экземпляр VLC для просмотра потока и указал на http://127.0.0.1:8082 , но получил сообщение об ошибке: «VLC не может открыть MRL« http://127.0.0.1:8082 ». Проверьте журнал для деталей. "

В окне отладки «Сообщения» (подробное описание 2) отображается следующее:

main debug: processing request item: http://127.0.0.1:8082, node: Playlist, skip: 0
main debug: resyncing on http://127.0.0.1:8082
main debug: http://127.0.0.1:8082 is at 1
main debug: starting playback of the new playlist item
main debug: resyncing on http://127.0.0.1:8082
main debug: http://127.0.0.1:8082 is at 1
main debug: creating new input thread
main debug: Creating an input for 'http://127.0.0.1:8082'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\01roc1\AppData\Local\Temp'
main debug: `http://127.0.0.1:8082' gives access `http' demux `' path `127.0.0.1:8082'
main debug: creating demux: access='http' demux='' location='127.0.0.1:8082' file='\\127.0.0.1:8082'
main debug: looking for access_demux module matching "http": 12 candidates
main debug: no access_demux modules matched
main debug: creating access 'http' location='127.0.0.1:8082', path='\\127.0.0.1:8082'
main debug: looking for access module matching "http": 20 candidates
access_http debug: querying proxy for http://127.0.0.1:8082
access_http debug: no proxy
access_http debug: http: server='127.0.0.1' port=8082 file=''
main debug: net: connecting to 127.0.0.1 port 8082
qt4 debug: IM: Setting an input
main warning: connection timed out
access_http error: cannot connect to 127.0.0.1:8082
main debug: net: connecting to 127.0.0.1 port 8082
main warning: connection timed out
access_mms error: cannot connect to 127.0.0.1:8082
main debug: no access modules matched
main error: open of `http://127.0.0.1:8082' failed
main debug: dead input
main debug: changing item without a request (current 1/2)
main debug: nothing to play
qt4 debug: IM: Deleting the input
main debug: processing request item: http://127.0.0.1:8082, node: Playlist, skip: 0
main debug: resyncing on http://127.0.0.1:8082
main debug: http://127.0.0.1:8082 is at 1
main debug: starting playback of the new playlist item
main debug: resyncing on http://127.0.0.1:8082
main debug: http://127.0.0.1:8082 is at 1
main debug: creating new input thread
main debug: Creating an input for 'http://127.0.0.1:8082'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\01roc1\AppData\Local\Temp'
main debug: `http://127.0.0.1:8082' gives access `http' demux `' path `127.0.0.1:8082'
main debug: creating demux: access='http' demux='' location='127.0.0.1:8082' file='\\127.0.0.1:8082'
main debug: looking for access_demux module matching "http": 12 candidates
main debug: no access_demux modules matched
main debug: creating access 'http' location='127.0.0.1:8082', path='\\127.0.0.1:8082'
main debug: looking for access module matching "http": 20 candidates
access_http debug: querying proxy for http://127.0.0.1:8082
access_http debug: no proxy
access_http debug: http: server='127.0.0.1' port=8082 file=''
main debug: net: connecting to 127.0.0.1 port 8082
qt4 debug: IM: Setting an input
main warning: connection timed out
access_http error: cannot connect to 127.0.0.1:8082
main debug: net: connecting to 127.0.0.1 port 8082
main warning: connection timed out
access_mms error: cannot connect to 127.0.0.1:8082
main debug: no access modules matched
main error: open of `http://127.0.0.1:8082' failed
main debug: dead input
main debug: changing item without a request (current 1/2)
main debug: nothing to play
qt4 debug: IM: Deleting the input

2 ответа2

0

и проверил на "Показать локально"

уберите галочку, и вы получите свою цель

0

Попробуйте ввести имя файла для потока - что-то вроде videostream.asf после IP-адреса камеры, например:

> http://127.0.0.1/videostream.asf

Я не знаю, если вы используете GUI CLI, но это GUI, добавление имени файла должно побудить вас ввести пароль и имя пользователя в новом всплывающем окне. С CLI это немного сложнее ....

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .