Ubuntu как Miracast Отправитель / получатель
Я ничего не мог найти в Ubuntu, действующем как получатель или отправитель Miracast.
- Это может работать вообще?
- Есть ли аппаратные предпосылки?
- Требуется ли WiFi или он может работать через локальную сеть или другое сетевое соединение?
- Wi-Fi Direct, кажется, является необходимым требованием, достаточно ли это? (т.е. если система поддерживает WiFi direct, значит ли это, что она поддерживает Miracast?)
- Есть ли различия в поддержке между получением / отправкой?
- Как задержка? (по сравнению с конкурентами, то есть VNC, коммерческими устройствами Miracast и т. д.)
- Как мне на самом деле использовать это, если это сложно?
В частности, я планирую использовать его вместе с телефоном Android (4.x Jelly Bean).
7 ответов
OpenWFD мертв и теперь заменен MiracleCast:
MiracleCast — это реализация технологии Miracast с открытым исходным кодом (также: Wifi-Display (WFD)). Он основан на исследовательском проекте OpenWFD и заменит его. Мы ориентируемся на правильную и тесную интеграцию в существующие системы Linux-Desktop по сравнению с OpenWFD, который задумывался как площадка для быстрого прототипирования.
Несмотря на свое название и происхождение, сам проект не ограничивается Miracast. Мы можем поддерживать любой вид потоковой передачи с минимальным объемом дополнительной работы. Тем не менее, Miracast останется главной целью развития благодаря уровню осведомленности.
Это все еще в начале своего цикла разработки. В настоящее время кажется, что он может выполнять связывание, но не выполняет реальное потоковое видео.
Демонстрация OpenWFD на FOSDEM 2014 также выполнила потоковую передачу, но, насколько я понимаю, MiracleCast — это проект » сделай все правильно «, тогда как код, который он показал в FOSDEM, «вероятно, будет работать только на этой машине».
Miracast основан на WiFi Direct, который, насколько я могу судить, требует беспроводной карты с аппаратной поддержкой стандарта.
отправитель
Я думаю, что Intel Wireless Display — это способ отправить экран ноутбука на приемник Miracast.
Однако, насколько я могу судить, Ubuntu в настоящее время не поддерживает карты Wireless Display.
Получатель
Для получения контента от передатчика Miracast (например, от вашего телефона) вы можете приобрести адаптеры приемника Miracast, которые будут выводиться на любой вход HDMI: Rocketfish ™ — видеоприемник Miracast
Я не знаю, есть ли на любом устройстве драйверы Ubuntu. Если кто-то может подтвердить или предложить другое устройство с драйверами Ubuntu, это было бы здорово.
Источник
Miracast ��� linux mint
MiracleCast — Wifi-Display/Miracast Implementation
The MiracleCast project provides software to connect external monitors to your system via Wi-Fi. It is compatible to the Wifi-Display specification also known as Miracast. MiracleCast implements the Display-Source as well as Display-Sink side.
The Display-Source side allows you to connect external displays to your system and stream local content to the device. A lot of effort is put into making this as easy as connecting external displays via HDMI. Note: This is not implemented yet. Please see #4
On the other hand, the Display-Sink side allows you to create wifi-capable external displays yourself. You can use it on your embedded devices or even on full desktops to allow other systems to use your device as external display.
The MiracleCast projects requires the following software to be installed:
systemd: A system management daemon. It is used for device-management (udev), dbus management (sd-bus) and service management. Systemd >= 221 will work out of the box. For earlier versions systemd must be compiled with —enable-kdbus, even though kdbus isn’t used, but only the independent, experimental sd-libraries. required: >=systemd-213
glib: A utility library. Used by the current DHCP implementation. Will be removed once sd-dns gains DHCP-server capabilities. required:
=glib2-2.38 (might work with older releases, untested..)
check: Test-suite for C programs. Used for optional tests of the MiracleCast code base. optional:
=check-0.9.11 (might work with older releases, untested..)
gstreamer: MiracleCast rely on gstreamer to show cast its output. You can test if all needed is installed launching res/test-viewer.sh
P2P Wi-Fi device Although widespread these days, there are some devices not compatible with Wi-Fi Direct (prior know as Wi-Fi P2P). Test yours with res/test-hardware-capabilities.sh
copy the dbus policy res/org.freedesktop.miracle.conf to /etc/dbus-1/system.d/
Build and install
To compile MiracleCast, you can choose from:
See more info on wiki Building
Automatic interface selection with udev
If you want to select the interface to start miraclecast with, add a udev rule with the script res/write-udev-rule.sh and configure miraclecast with
You can also choose the interface with —interface option for miracle-wifid.
Linux Flavours and general compilation instructions
Check your systemd version with:
If you are on 221 or above your systemd has kdbus enabled.
If you are below 221, an alternative repo was created to install systemd with dbus
See there was interface changes on systemd 219, if you are below that version, use branch systemd-219 to compile miraclecast
See specific instructions on that repo
Use existing AUR package. Remember to enable kdus to systemd-git dependency if you are below 221 systemd.
You can achieve installation using yaourt
If you feel confidence enough (since systemd is the entrypoint for an OS) extract instructions from arch linux AUR PKGBUILD:
Steps to use it as sink
shutdown wpa_supplicant and NetworkManager
launch wifi daemon
launch sink control (your network card will be detected. here 3)
run WiFi Display on link:
Pair your machine with other miracast device (mirroring)
See your screen device on this machine
Steps to use it as peer
Repeat steps 1 and 2 from «use as sink»
launch wifi control
Enable visibility for other devices
Locate them using scanning
Apart from list, or show info with peer there’s nothing useful here by now. For a Q&D see Using as peer
The User Input Back Channel (UIBC) is an optional WFD feature that when implemented facilitates communication of user inputs to a User Interface, present at the WFD Sink, to the WFD Source.
To use it just add —uibc on miracle-sinkctl startup. Single mouse events and key events are implemented.
This software is licensed under the terms of the GNU-LGPL license. Please see ./COPYING for further information.
This software is originally maintained by: David Herrmann dh.herrmann@gmail.com
This fork is maintained by: Alberto Fanjul albertofanjul@gmail.com
If you have any questions, do not hesitate to contact one of the maintainers.
- Website: http://www.freedesktop.org/wiki/Software/miracle
- Original repo: git://people.freedesktop.org/
About
Connect external monitors to your system via Wifi-Display specification also known as Miracast
Источник