Strona 1 z 1

Serwer uPNP / DLNA headless

: 26 paź 2012, 17:17
autor: pioruns
Znacie jakiś serwer uPNP abo DLNA pod Linuksa? Żeby działał na Debianie w wierszu poleceń? Chcę postawić taki soft, żeby potem sobie z komórki/innych urządzeń słuchać muzyki/oglądać filmy z tego serwerka. Może jakoś inaczej się da to rozwiązać?

Re: Serwer uPNP / DLNA headless

: 26 paź 2012, 21:15
autor: Echinos

Re: Serwer uPNP / DLNA headless

: 27 paź 2012, 12:20
autor: pioruns
MiniDLNA się świetnie sprawdził :) Dzięki.

Re: Serwer uPNP / DLNA headless

: 17 lut 2013, 16:56
autor: t0m3k6
Witam. Wczoraj przesiadłem się z windows 7 na ubuntu 12.10 x64. Po zainstalowaniu minidlna na komputerze telewizor ue40c7000 widzi dysk pliki z muzyki zdjęć i filmów, muzyka i zdjęcia odtwarzane są bez problemu natomiast video pisze nieobsługiwany format pliku. Instalowałem pakiet ffmpeg-snapshot.tar.bz2 i nadal nic. Poniżej zamieszczam plik minidlna.config

Kod: Zaznacz cały

# 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.


# 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=A,/home/tomasz/Muzyka
media_dir=P,/home/tomasz/Obrazy
media_dir=V,/home/tomasz/Wideo
#
# WARNING: After changing this option, you need to rebuild the database. Either
#          run minidlna with the '-R' option, or delete the 'files.db' file
#          from the db_dir directory (see below).
#          On Debian, you can run, as root, 'service minidlna force-reload' instead.
media_dir=/var/lib/minidlna

# Path to the directory that should hold the database and album art cache.
#db_dir=/var/lib/minidlna

# Path to the directory that should hold the log file.
#log_dir=/var/log

# Minimum level of importance of messages to be logged.
# Must be one of "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#log_level=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 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.
#network_interface=

# IPv4 address to listen on (e.g. 192.0.2.1).
#listening_ip=

# Port number for HTTP traffic (descriptions, SOAP, media transfer).
port=8200

# URL presented to clients.
# The default is the IP address of the server on port 80.
#presentation_url=http://example.com:80

# Name that the DLNA server presents to clients.
#friendly_name=

# Serial number the server reports to clients.
serial=12345678

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

# Model number the server reports to clients.
model_number=1

# 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 ("/").
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/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
Prosiłbym o pomoc w tej sprawie. Pozdrawiam.

Re: Serwer uPNP / DLNA headless

: 18 lut 2013, 03:17
autor: pioruns
To wina telewizora, nie minidlna. Minidlna po prostu przekazuje strumień do urządzenia, co czyni wyśmienicie.

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 08:26
autor: tomylee
Zainstalowałem minidlna na Ubuntu 13.10 i tak jak pisał kolega powyżej telewizor (Samsung) widzi poprawnie wszystkie katalogi i pliki ale przy próbie odtworzenia jakieś filmu mkv pokazuje komunikat "Nieobsługiwany format pliku". Na Win7 nie ma z tymi plikami żadnych problemów są widoczne i odtwarzają się prawidłowo. Jest na to jakaś rada? Nie chce przechodzić na windę.

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 09:39
autor: zibiboniek1
a wszystkie sterowniki masz zainstalowane?

Kod: Zaznacz cały

sudo apt-get install ubuntu-restricted-extras

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 10:33
autor: tomylee
Wszystko zainstalowane a jak nie działało tak nie działa. A może przyczyna leży po stronie minidlna?

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 10:59
autor: zibiboniek1
to odpal minidlna w terminalu i zobacz co wypluje

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 11:42
autor: tomylee
Wpisałem minidlna i żadnego błędu nie było, sudo minidlna też nie wywala błędów.

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 11:49
autor: zibiboniek1
tzn. nie było błędu przy próbie odtworzenia pliku wideo?

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 11:54
autor: tomylee
nie było błędu przy uruchamianiu z terminala a z odtwarzaniem na tv dalej to samo

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 11:59
autor: zibiboniek1
odpalasz minidlna przez terminal, przechodzisz do katalogu gdzie masz wideo i odpalasz film na którym wywala błąd i jak Już ten błąd wywali to powinieneś w terminalu dostać info co się stało.

Re: Serwer uPNP / DLNA headless

: 26 mar 2014, 12:31
autor: tomylee
dzięki za podpowiedź, jak wrócę z pracy to przetestuje i napisze jak poszło

-- 26 mar 2014 20:14 --

odinstalowałem wszystko zainstalowałem od początku i działa tak jak miało działać.
wielkie dzięki za pomoc :)

Re: Serwer uPNP / DLNA headless

: 26 cze 2014, 16:21
autor: prourug
Cześć a jak jest z obsługa napisów w filmach ?
Pytam bo sam czekam na nowy dysk i będe wtedy konfigurował serwer pod kontem minidlna.