Перейти к содержанию
Посмотреть в приложении

A better way to browse. Learn more.

Форум Академгородка, Новосибирск

A full-screen app on your home screen with push notifications, badges and more.

Чтобы установить это приложение на iOS и iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
Чтобы установить это приложение на Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

vlc streem on linux

Опубликовано
Нужно сделать стрим на vlc. система убунта, без иксов. на офф сайте только под графикой. где почитать можно ? или может кто то делал такое, поделитесь опытом...

Рекомендуемые сообщения

Опубликовано

Давайте я уточню. Вы хотите вещать видео поток с сервера, на котором не запущен X server ?

тогда попробуйте

QUOTE (http://www.videolan.org/doc/streaming-howto/en/ch04.html#id294801)

Stream in HTTP:

      on the server, run:

          on the client(s), run:

Transcode and stream in HTTP:

For example, if you want to stream an audio CD in Ogg/Vorbis over HTTP:

Опубликовано
  • Автор
Вобщем в ЭГ. это планируеться делать. У них там просто нужно поставить галку оповещение sap и появиться список каналов. В моей ситуации видимо нужно знать ip каждого канала?
Опубликовано
  • Автор

starting VLC root wrapper... using UID 0 (root)

***************************************

* Running VLC as root is discouraged. *

***************************************

 

It is potentially dangerous, and might not even work properly.

[00000001] main vlc debug: checking builtin modules

[00000001] main vlc debug: checking plugin modules

[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-0 4041e.dat

[00000001] main vlc warning: could not open plugins cache file /root/.vlc/cache/ plugins-04041e.dat for reading

[00000001] main vlc debug: recursively browsing `modules'

[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'

[00000001] main vlc debug: recursively browsing `plugins'

[00000001] main vlc debug: module bank initialized, found 214 modules

[00000001] main vlc debug: opening config file /root/.vlc/vlcrc

[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet

[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU

[00000001] main vlc debug: looking for memcpy module: 1 candidate

[00000001] main vlc debug: using memcpy module "memcpy"

[00000276] main playlist debug: waiting for thread completion

[00000276] main playlist debug: thread 3038608288 (playlist) created at priority 0 (playlist/playlist.c:184)

[00000277] main private debug: waiting for thread completion

[00000277] main private debug: thread 3030215584 (preparser) created at priority 0 (playlist/playlist.c:210)

[00000278] main interface debug: looking for interface module: 1 candidate

[00000278] main interface debug: using interface module "hotkeys"

[00000278] main interface debug: thread 3021822880 (interface) created at priori ty 0 (interface/interface.c:231)

[00000279] main interface debug: looking for interface module: 1 candidate

[00000279] main interface debug: using interface module "screensaver"

[00000279] main interface debug: thread 3013430176 (interface) created at priori ty 0 (interface/interface.c:231)

[00000276] main playlist debug: adding playlist item `input_stream' ( input_stre am )

[00000280] main interface debug: looking for interface module: 5 candidates

[00000280] skins2 interface error: Cannot open display

[00000280] skins2 interface error: cannot initialize OSFactory

Интерфейс удаленного управления запущен. Введите 'help' для справки.

[00000280] main interface debug: using interface module "rc"

[00000280] main interface debug: thread 3005037472 (manager) created at priority 0 (interface/interface.c:216)

[00000276] main playlist debug: creating new input thread

[00000281] main input debug: waiting for thread completion

[00000281] main input debug: thread 2996644768 (input) created at priority 0 (in put/input.c:263)

[00000281] main input debug: creating statistics handler

[00000283] main stream output debug: stream=`standard'

[00000284] main private debug: looking for sout stream module: 1 candidate

[00000284] main private debug: set sout option: sout-standard-access to http

[00000284] main private debug: set sout option: sout-standard-mux to ogg

[00000284] main private debug: set sout option: sout-standard-dst to server.exam ple.org:8080

[00000284] stream_out_standard private debug: creating `http/ogg://server.exampl e.org:8080'

[00000284] stream_out_standard private debug: extension is org:8080

[00000284] stream_out_standard private debug: extension -> mux=(null)

[00000284] stream_out_standard private debug: using `http/ogg://server.example.o rg:8080'

[00000285] main private debug: looking for sout access module: 1 candidate

[00000285] main private: creating httpd

status change: ( new input: input_stream )

status change: ( audio volume: 256 )

status change: ( play state: 1 )

[00000285] main private debug: net: listening to server.example.org port 8080

[00000285] main private error: Cannot resolve server.example.org port 8080 : Nam e or service not known

[00000285] main private error: cannot create socket(s) for HTTP host

[00000285] access_output_http private error: cannot listen on server.example.org :8080

[00000285] main private warning: no sout access module matching "http" could be loaded

[00000284] stream_out_standard private error: no suitable sout access module for `http/ogg://server.example.org:8080'

[00000284] main private warning: no sout stream module matching "standard" could be loaded

[00000284] main private debug: destroying chain... (name=standard)

[00000284] main private debug: destroying chain done

[00000283] main stream output error: stream chain failed for `standard{access=ht tp,mux=ogg,dst=server.example.org:8080}'

[00000281] main input error: cannot start stream output instance, aborting

status change: ( stop state: 0 )

[00000281] main input debug: thread 2996644768 joined (input/input.c:401)

[00000276] main playlist: nothing to play

signal 2 received, terminating vlc - do it again in case it gets stuck

status change: ( stop state: 0 )

status change: ( quit )

[00000001] main vlc debug: removing all interfaces

[00000280] main interface debug: thread 3005037472 joined (interface/interface.c :258)

[00000280] main interface debug: removing module "rc"

[00000279] main interface debug: thread 3013430176 joined (interface/interface.c :258)

[00000279] main interface debug: removing module "screensaver"

[00000278] main interface debug: thread 3021822880 joined (interface/interface.c :258)

[00000278] main interface debug: removing module "hotkeys"

[00000001] main vlc debug: removing playlist handler

[00000277] main private debug: thread 3030215584 joined (playlist/playlist.c:247 )

[00000276] main playlist debug: thread 3038608288 joined (playlist/playlist.c:24 8)

[00000276] main playlist: stopping playback

[00000276] main playlist debug: deleting playlist item `input_stream'

[00000001] main vlc debug: removing all video outputs

[00000001] main vlc debug: removing all audio outputs

[00000001] main vlc debug: removing module "memcpy"

[00000001] main vlc debug: saving plugins cache file /root/.vlc/cache/plugins-04 041e.dat

 

  • 2 года спустя...
Опубликовано

Есть UBUNTU server 9.10

 

root@dvb:~# vlc

VLC is not supposed to be run as root. Sorry.

If you need to use real-time priorities and/or privileged TCP ports

you can use vlc-wrapper (make sure it is Set-UID root and

cannot be run by non-trusted users first).

root@dvb:~# vlc-wrapper

Cannot determine unprivileged user for VLC!

root@dvb:~# vlc-wrapper -vvv --color --ttl 12 --ts-es-id-pid --dvb-adapter=0 --programs=59,410 dvb:// --dvb-frequency=12303000 --dvb-srate=27500000 --dvb-lnb-lof1=10750000 --dvb-lnb-lof2=10750000 --dvb-lnb-slof=0 --sout '#duplicate{dst="standard{access=http,mux=ogg,url=0.0.0.0:8001}",select="program=59",dst="standard{access=http,mux=ogg,url=0.0.0.0:8002}",select="program=410"}'

Cannot determine unprivileged user for VLC!

root@dvb:~# vlc -vvv --color --ttl 12 --ts-es-id-pid --dvb-adapter=0 --programs=59,410 dvb:// --dvb-frequency=12303000 --dvb-srate=27500000 --dvb-lnb-lof1=10750000 --dvb-lnb-lof2=10750000 --dvb-lnb-slof=0 --sout '#duplicate{dst="standard{access=http,mux=ogg,url=0.0.0.0:8001}",select="program=59",dst="standard{access=http,mux=ogg,url=0.0.0.0:8002}",select="program=410"}'

VLC is not supposed to be run as root. Sorry.

If you need to use real-time priorities and/or privileged TCP ports

you can use vlc-wrapper (make sure it is Set-UID root and

cannot be run by non-trusted users first).

root@dvb:~#

 

под root не запускается. Под обычным пользователем вешается только на порт 8080 и вещает только один канал (первый попавшийся. в данном случае 59).

Что еще забыл?

 

Опубликовано

Пробую запустить с декодированием:

 

vlc -vvv -vvv --color --ttl 12 --ts-es-id-pid --dvb-adapter=0 --programs=59,410 dvb:// --dvb-

 

frequency=12303000 --dvb-srate=27500000 --dvb-lnb-lof1=10750000 --dvb-lnb-lof2=10750000 --dvb-lnb-slof=0 --

 

sout '#transcode{vcodec=mp4v,acodec=mpga,width=320,height=240,vb=768,ab=16}:standa

rd

 

{access=http,mux=ogg,dst=0.0.0.0:8080}'

 

Показывает 2 канала но в одном потоке.

Опубликовано

Победил следующей строкой

 

vlc -vvv -vvv --color --ttl 12 --ts-es-id-pid --dvb-adapter=0 --programs=59,410 dvb:// --dvb-

 

frequency=12303000 --dvb-srate=27500000 --dvb-lnb-lof1=10750000 --dvb-lnb-lof2=10750000 --dvb-lnb-slof=0 --

 

sout '#transcode{vcodec=mp4v,venc=ffmpeg,quality=7,acodec=mpga,width=320,height=24

0,vb=512,ab=16}:duplicate

 

{dst=std{access=http,mux=ogg,dst=0.0.0.0:8081,name="7TV"},select="program=59",dst=std

 

{access=http,mux=ogg,dst=0.0.0.0:8082,name="Bridge TV"},select="program=410"}'

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

Гость
Ответить в этой теме...

Аккаунт

Навигация

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.