Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Multimédia => Téma založeno: nador 16 Listopadu 2015, 22:50:52

Název: Jak na Miracast / Intel WiDi
Přispěvatel: nador 16 Listopadu 2015, 22:50:52
Zdravím, můžu jako laik zprovoznit vysílání z notebooku Ubuntu do televize LG 32LF650V-ZB? Na Androidu jsou aplikace jako Allcast, MediaShare, Screen Stream Mirroring, atd. Nic z toho ani nic podobného v Ubuntu centru není.

Našel jsem nějaký MiracleCast, ale podle návodu https://github.com/albfan/systemd-ubuntu-with-dbus (https://github.com/albfan/systemd-ubuntu-with-dbus) to nefunguje. V posledním kroku napíše "Nelze najít balík miraclecast"..

Potom jsem zkoušel, jestli bych se bez toho neobešel a nespokojil se s DLNA, ale k tomu jsem našel jen aplikaci Rygel, kterou neumím ani spustit, natož ovládat. Jediné, co umím spustit, je Předvolby Rygel, kde je předvolba co sdílet a v jaké síti (na výběr je "lo" a "wls1", což absolutně nevím, co znamená. A pak už jenom zavřít - nikde žádné sdílet, otevřít soubor, atd...

Děkuji za jakékoliv rady.
Název: Re:Jak na Miracast / Intel WiDi
Přispěvatel: Myrmica 18 Listopadu 2015, 15:08:18
Televize umí (jak tvrdí na netu ) DLNA. Tak si na netu najdi povídání třeba k serveru MiniDLNA a nainstaluj si ho, to by mohlo fungovat.
MiniDLNA je v Centru software pro Ubuntu.
Pokud bude potřeba mohu poradit, mě to funguje sice s jinou televizí, ale funguje.
Název: Re:Jak na Miracast / Intel WiDi
Přispěvatel: nador 18 Listopadu 2015, 20:04:14
OK, po zadání "minidlna" v Ubuntu Center mi to našlo "Lightweight DLNA/UPnP-AV server targeted at embedded systems".. nicméně nikde žádný spouštěč - jak se to spouští/ovládá..?
Název: Re:Jak na Miracast / Intel WiDi
Přispěvatel: Myrmica 19 Listopadu 2015, 07:08:11
To je daemon a měl by se spouštět při startu PC.
Nejaké info je např tady: https://help.ubuntu.com/community/MiniDLNA
Ale je toho spousta na netu, tak jen použít strejdu googla.
Název: Re:Jak na Miracast / Intel WiDi
Přispěvatel: nador 19 Listopadu 2015, 13:39:31
Ok, to jsem nerozběhal. Ale našel jsem tohle: http://ubuntuforums.org/showthread.php?t=1616685&p=10167714#post10167714 a to mi funguje.

Nenačítá mi to ale externí disk připojený na počítač (cesta /media/user/extdisk/), jenom složky na interním disku. Nevíte proč? Je docela nepraktické vždycky něco nejprve před spuštěním kopírovat dlouze z disku na disk.

A chápu správně, že ten MIracast zprovoznit na Ubuntu nejde?

Díky.
Název: Re:Jak na Miracast / Intel WiDi
Přispěvatel: Myrmica 19 Listopadu 2015, 13:57:53
Předpokládám, že jsi použil MiniDLNA a upravil jeho konfigurační soubor. Což je v pořádku.

Proč ti nejde ten externí disk by mohlo souviset s přístupovými právy. Mrkni sem:
http://askubuntu.com/questions/266033/permissions-for-video-folder-for-minidlna

Citace
He opened terminal and entered ...
Kód: [Vybrat]
sudo gedit /etc/default/minidlna...and edited the file...
Kód: [Vybrat]
# User and group the daemon should run as
USER=”root”
#GROUP=”minidlna”
To by mohlo pomoci.
Název: Re:Jak na Miracast / Intel WiDi
Přispěvatel: nador 23 Listopadu 2015, 12:46:51
Nevím, co dělám špatně, ale televize už počítač nevidí. nepomáhá ani "sudo service minidlna restart" nebo "sudo service minidlna force-reload".

Úpravu, co jste mi navrhl, jsem přesto udělal, ale nemůžu jí vyzkoušet, vzhledem k tomu, že televize počítač ani nenačte.
Název: Re:Jak na Miracast / Intel WiDi
Přispěvatel: Myrmica 23 Listopadu 2015, 20:08:35
Můj "/etc/default/minidlna"
Kód: [Vybrat]
# Defaults for minidlna initscript
# sourced by /etc/init.d/minidlna
# installed at /etc/default/minidlna by the maintainer scripts

# These options can be set to modify the behavior of the minidlna init script.
# The options commented out show the default values.

# Start the daemon if set to "yes"
START_DAEMON="yes"

# Path to the configuration file
#CONFIGFILE="/etc/minidlna.conf"

# Path to the log file
#LOGFILE="/var/log/minidlna.log"

# User and group the daemon should run as
#USER="minidlna"
USER="root"
#GROUP="minidlna"

# Additional options that are passed to the daemon
DAEMON_OPTS=""

a můj ~/minidlna.conf
Kód: [Vybrat]
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
# server.
#
# Unless otherwise noted, the commented out options show their default value.
#
# On Debian, you can also refer to the minidlna.conf(5) man page for
# documentation about this file.

# Specify the user name or uid to run as.
#user=minidlna
user=<user>


# Path to the directory you want scanned for media files.
#
# This option can be specified more than once if you want multiple directories
# scanned.
#
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
#   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
#   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
#   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
#media_dir=/var/lib/minidlna
media_dir=A,/home/<user>/Hudba
media_dir=P,/home/<user>/Obrázky
media_dir=V,/home/<user>/Videa

# Path to the directory that should hold the database and album art cache.
#db_dir=/var/cache/minidlna
db_dir=/home/<user>/service/cache

# Path to the directory that should hold the log file.
#log_dir=/var/log
log_dir=/home/<user>/service/log/

# Type and minimum level of importance of messages to be logged.
#
# The types are "artwork", "database", "general", "http", "inotify",
# "metadata", "scanner", "ssdp" and "tivo".
#
# The levels are "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#
# The types are comma-separated, followed by an equal sign ("="), followed by a
# level that applies to the preceding types. This can be repeated, separating
# each of these constructs with a comma.
#
# The default is to log all types of messages at the "warn" level.
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

# Use a different container as the root of the directory tree presented to
# clients. The possible values are:
#   * "." - standard container
#   * "B" - "Browse Directory"
#   * "M" - "Music"
#   * "P" - "Pictures"
#   * "V" - "Video"
# If you specify "B" and the client device is audio-only then "Music/Folders"
# will be used as root.
#root_container=.

# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
#network_interface=

# IPv4 address to listen on (e.g. 192.0.2.1/24).
# If omitted, the mask defaults to 24. The IPs are added to those determined
# from the network_interface option above.
# This option can be specified more than once.
#listening_ip=

# Port number for HTTP traffic (descriptions, SOAP, media transfer).
# This option is mandatory (or it must be specified on the command-line using
# "-p").
port=8200

# URL presented to clients (e.g. http://example.com:80).
#presentation_url=/

# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
#friendly_name=
friendly_name=monty

# Serial number the server reports to clients.
# Defaults to 00000000.
serial=681019810597110

# Model name the server reports to clients.
#model_name=Windows Media Connect compatible (MiniDLNA)

# Model number the server reports to clients.
# Defaults to the version number of minidlna.
#model_number=

# Automatic discovery of new files in the media_dir directory.
#inotify=yes

# List of file names to look for when searching for album art.
# Names should be delimited with a forward slash ("/").
# This option can be specified more than once.
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# Strictly adhere to DLNA standards.
# This allows server-side downscaling of very large JPEG images, which may
# decrease JPEG serving performance on (at least) Sony DLNA products.
#strict_dlna=no

# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
#enable_tivo=no

# Notify interval, in seconds.
#notify_interval=895

# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock

místo <user> dej své uživatelské jméno.
(až teď jsem si všiml diference v účtech, které jsou zapsány v run as. Přesto to funguje.)
Třeba ti to pomůže.
Víc mě teď nenapadá.