Audio, video, codeci...
Odgovori

Re: Streaming server

15 srp 2012, 23:19

Jesi li uspio?

Re: Streaming server

16 srp 2012, 22:11

Ne, ne mogu složiti ovo je output:

Kod:
vlc -vvv --http-host=161.53.77.214 Alan\ Ford\ i\ grupa\ TNT\ -\ Protiv\ Superhika.avi --sout '#standard{access=http,mux=ogg,dst=127.0.0.1:8080}'
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x8d1b8f0] main libvlc debug: VLC media player - 2.0.1 Twoflower
[0x8d1b8f0] main libvlc debug: Copyright �� 1996-2012 VLC authors and VideoLAN
[0x8d1b8f0] main libvlc debug: revision 2.0.1-0-gf432547
[0x8d1b8f0] main libvlc debug: configured with ./configure  '--enable-static' '--build=i686-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--sysconfdir=/etc' '--with-binary-version=4' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libproxy' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-oss' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-dxva2' '--disable-gnomevfs' '--disable-goom' '--disable-portaudio' '--disable-projectm' '--disable-sqlite' '--disable-telx' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv' '--enable-libva' '--enable-linsys' '--enable-pvr' '--enable-udev' '--enable-v4l2' 'build_alias=i686-linux-gnu'
[0x8d1b8f0] main libvlc debug: searching plug-in modules
[0x8d1b8f0] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0x8d1b8f0] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x8d1b8f0] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0x8d1b8f0] main libvlc debug: plug-ins loaded: 415 modules
[0x8d1b8f0] main libvlc debug: opening config file (/home/bozo/.config/vlc/vlcrc)
[0x8d1b8f0] main libvlc debug: translation test: code is "C"
[0x8d1b8f0] main libvlc debug: CPU has capabilities MMX 3DNow! MMXEXT SSE SSE2 FPU
[0x8d1b8f0] main libvlc debug: looking for memcpy module: 4 candidates
[0x8d1b8f0] main libvlc debug: using memcpy module "memcpymmxext"
[0x8db03a8] main input debug: Creating an input for 'Media Library'
[0x8db03a8] main input debug: Input is a meta file: disabling unneeded options
[0x8db03a8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x8db03a8] main input debug: `file/xspf-open:///home/bozo/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/bozo/.local/share/vlc/ml.xspf'
[0x8db03a8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/bozo/.local/share/vlc/ml.xspf' file='/home/bozo/.local/share/vlc/ml.xspf'
[0x8d2ee10] main demux debug: looking for access_demux module: 3 candidates
[0x8d2ee10] main demux debug: no access_demux module matching "file" could be loaded
[0x8d2ee10] main demux debug: TIMER module_need() : 2.499 ms - Total 2.499 ms / 1 intvls (Avg 2.499 ms)
[0x8db03a8] main input debug: creating access 'file' location='/home/bozo/.local/share/vlc/ml.xspf', path='/home/bozo/.local/share/vlc/ml.xspf'
[0x8d2f828] main access debug: looking for access module: 2 candidates
[0x8d2f828] filesystem access debug: opening file `/home/bozo/.local/share/vlc/ml.xspf'
[0x8d2f828] main access debug: using access module "filesystem"
[0x8d2f828] main access debug: TIMER module_need() : 1.709 ms - Total 1.709 ms / 1 intvls (Avg 1.709 ms)
[0x8d2ee10] main stream debug: Using stream method for AStream*
[0x8d2ee10] main stream debug: starting pre-buffering
[0x8d2ee10] main stream debug: received first data after 0 ms
[0x8d2ee10] main stream debug: pre-buffering done 296 bytes in 0s - 787 KiB/s
[0x8dae3b8] main stream debug: looking for stream_filter module: 7 candidates
[0x8dae3b8] main stream debug: no stream_filter module matching "any" could be loaded
[0x8dae3b8] main stream debug: TIMER module_need() : 2.623 ms - Total 2.623 ms / 1 intvls (Avg 2.623 ms)
[0x8dae3b8] main stream debug: looking for stream_filter module: 1 candidate
[0x8dae3b8] main stream debug: using stream_filter module "stream_filter_record"
[0x8dae3b8] main stream debug: TIMER module_need() : 0.886 ms - Total 0.886 ms / 1 intvls (Avg 0.886 ms)
[0x8db03a8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/bozo/.local/share/vlc/ml.xspf' file='/home/bozo/.local/share/vlc/ml.xspf'
[0x8e932d0] main demux debug: looking for demux module: 1 candidate
[0x8e932d0] playlist demux debug: using XSPF playlist reader
[0x8e932d0] main demux debug: using demux module "playlist"
[0x8e932d0] main demux debug: TIMER module_need() : 1.344 ms - Total 1.344 ms / 1 intvls (Avg 1.344 ms)
[0x8e92318] main demux meta debug: looking for meta reader module: 2 candidates
[0x8e92318] lua demux meta debug: Trying Lua scripts in /home/bozo/.local/share/vlc/lua/meta/reader
[0x8e92318] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x8e92318] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x8e92318] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x8e92318] main demux meta debug: no meta reader module matching "any" could be loaded
[0x8e92318] main demux meta debug: TIMER module_need() : 6.290 ms - Total 6.290 ms / 1 intvls (Avg 6.290 ms)
[0x8db03a8] main input debug: `file/xspf-open:///home/bozo/.local/share/vlc/ml.xspf' successfully opened
[0x8db5ce0] main xml reader debug: looking for xml reader module: 1 candidate
[0x8db5ce0] main xml reader debug: using xml reader module "xml"
[0x8db5ce0] main xml reader debug: TIMER module_need() : 2.013 ms - Total 2.013 ms / 1 intvls (Avg 2.013 ms)
[0x8e932d0] playlist demux debug: parsed 0 tracks successfully
[0x8db03a8] main input debug: EOF reached
[0x8e932d0] main demux debug: removing module "playlist"
[0x8dae3b8] main stream debug: removing module "stream_filter_record"
[0x8d2f828] main access debug: removing module "filesystem"
[0x8db03a8] main input debug: TIMER input launching for 'Media Library' : 21.677 ms - Total 21.677 ms / 1 intvls (Avg 21.677 ms)
[0x8dae3b8] main interface debug: looking for interface module: 1 candidate
[0x8dae3b8] main interface debug: using interface module "hotkeys"
[0x8dae3b8] main interface debug: TIMER module_need() : 1.102 ms - Total 1.102 ms / 1 intvls (Avg 1.102 ms)
[0x8e932d0] main interface debug: looking for interface module: 1 candidate
[0x8e932d0] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x8e932d0] main interface debug: no interface module matching "inhibit,none" could be loaded
[0x8e932d0] main interface debug: TIMER module_need() : 1.476 ms - Total 1.476 ms / 1 intvls (Avg 1.476 ms)
[0x8e932d0] main interface error: no suitable interface module
[0x8dafbc0] main playlist debug: playlist threads correctly activated
[0x8dafbc0] main playlist debug: adding item `Alan Ford i grupa TNT - Protiv Superhika.avi' ( file:///home/bozo/Alan%20Ford%20i%20grupa%20TNT%20-%20Protiv%20Superhika.avi )
[0x8dae468] main interface debug: looking for interface module: 1 candidate
[0x8dae468] main interface debug: no interface module matching "globalhotkeys,none" could be loaded
[0x8dae468] main interface debug: TIMER module_need() : 1.453 ms - Total 1.453 ms / 1 intvls (Avg 1.453 ms)
[0x8dae468] main interface error: no suitable interface module
[0x8d1b8f0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x8d1b8f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x8dae468] main interface debug: looking for interface module: 5 candidates
[0x8dae468] qt4 interface error: Could not connect to X server
[0xb5200560] main input debug: Creating an input for 'Alan Ford i grupa TNT - Protiv Superhika.avi'
[0x8dafbc0] main playlist debug: rebuilding array of current - root Playlist
[0x8dafbc0] main playlist debug: rebuild done - 1 items, index -1
[0x8dae468] skins2 interface debug: Cannot open X display
[0x8dae468] skins2 interface error: cannot initialize OSFactory
[0x8dae468] [cli] lua interface debug: Found lua interface script: /usr/lib/vlc/lua/intf/cli.luac
[0x8dae468] [cli] main interface debug: using interface module "lua"
[0x8dae468] [cli] main interface debug: TIMER module_need() : 11.426 ms - Total 11.426 ms / 1 intvls (Avg 11.426 ms)
[0x8dafbc0] main playlist debug: processing request item: null, node: Playlist, skip: 0
[0x8dafbc0] main playlist debug: starting playback of the new playlist item
[0x8dafbc0] main playlist debug: creating new input thread
[0xb4f005f0] main input debug: Creating an input for 'Alan Ford i grupa TNT - Protiv Superhika.avi'
[0x8db4120] main stream output debug: using sout chain=`standard{access=http,mux=ogg,dst=127.0.0.1:8080}'
[0x8db4120] main stream output debug: stream=`standard'
[0x8db42e8] main stream out debug: looking for sout stream module: 1 candidate
[0x8db42e8] main stream out debug: set config option: sout-standard-access to http
[0x8db42e8] main stream out debug: set config option: sout-standard-mux to ogg
[0x8db42e8] main stream out debug: set config option: sout-standard-dst to 127.0.0.1:8080
[0x8dab3f8] main access out debug: looking for sout access module: 1 candidate
[0x8dab3f8] access_output_http access out warning: "127.0.0.1" HTTP host might be ignored in multiple-host configurations, use at your own risks.
[0x8dab3f8] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[0x8dab3f8] [color=#FF0000]main access out debug: net: listening to 127.0.0.1 port 8080
[0x8dab3f8] main access out error: socket bind error (Permission denied)
[0x8dab3f8] main access out error: cannot create socket(s) for HTTP host
[0x8dab3f8] access_output_http access out error: cannot start HTTP server[/color]
[0x8dab3f8] main access out debug: no sout access module matching "http" could be loaded
[0x8dab3f8] main access out debug: TIMER module_need() : 3.667 ms - Total 3.667 ms / 1 intvls (Avg 3.667 ms)
[0x8db42e8] stream_out_standard stream out error: no suitable sout access module for `http/ogg://127.0.0.1:8080'
[0x8db42e8] main stream out debug: no sout stream module matching "standard" could be loaded
[0x8db42e8] main stream out debug: TIMER module_need() : 10.324 ms - Total 10.324 ms / 1 intvls (Avg 10.324 ms)
[0x8db42e8] main stream out debug: destroying chain... (name=(null))
[0x8db42e8] main stream out debug: destroying chain done
[0x8db4120] main stream output error: stream chain failed for `standard{access=http,mux=ogg,dst=127.0.0.1:8080}'
[0x8dafbc0] main playlist debug: finished input
[0xb4f005f0] main input error: cannot start stream output instance, aborting
[0x8dafbc0] main playlist debug: dead input
[0xb4f005f0] main input debug: TIMER input launching for 'Alan Ford i grupa TNT - Protiv Superhika.avi' : 20.190 ms - Total 20.190 ms / 1 intvls (Avg 20.190 ms)
[0x8dafbc0] main playlist debug: changing item without a request (current 0/1)
[0x8dafbc0] main playlist debug: nothing to play
[0x8dae468] [cli] lua interface: Listening on host "*console".
VLC media player 2.0.1 Twoflower
Command Line Interface initialized. Type `help' for help.
> [0x8dafbc0] main playlist debug: no fetch required for (null) (art currently (null))
^C[0x8d1b8f0] main libvlc debug: deactivating the playlist
[0x8dafbc0] main playlist debug: deactivating the playlist
[0x8d3bc18] main playlist export debug: saving Media Library to file /home/bozo/.local/share/vlc/ml.xspf
[0x8d3bc18] main playlist export debug: looking for playlist export module: 1 candidate
[0x8d3bc18] main playlist export debug: using playlist export module "export"
[0x8d3bc18] main playlist export debug: TIMER module_need() : 0.609 ms - Total 0.609 ms / 1 intvls (Avg 0.609 ms)
[0x8d3bc18] main playlist export debug: removing module "export"
[0x8dafbc0] main playlist debug: playlist correctly deactivated
[0x8d1b8f0] main libvlc debug: removing all services discovery tasks
[0x8d1b8f0] main libvlc debug: removing all interfaces
[0x8d1b8f0] main libvlc debug: exiting
[0x8dae468] [cli] main interface debug: removing module "lua"
[0x8dae3b8] main interface debug: removing module "hotkeys"
[0x8dafbc0] main playlist debug: destroying
[0x8d1b8f0] main libvlc debug: TIMER ML Load : Total 26.832 ms / 1 intvls (Avg 26.832 ms)
[0x8d1b8f0] main libvlc debug: TIMER Preparse run : Total 58.103 ms / 1 intvls (Avg 58.103 ms)
[0x8d1b8f0] main libvlc debug: TIMER Items array build : Total 1.054 ms / 1 intvls (Avg 1.054 ms)
[0x8d1b8f0] main libvlc debug: TIMER ML Dump : Total 0.987 ms / 1 intvls (Avg 0.987 ms)
[0x8d1b8f0] main libvlc debug: removing stats
[0x8d1b8f0] main libvlc debug: removing module "memcpymmxext"



Prilično sam uvjeren da je u ovom ispod problem, ali ne znam kako to korigirati.

main access out debug: net: listening to 127.0.0.1 port 8080
[0x8dab3f8] main access out error: socket bind error (Permission denied)
[0x8dab3f8] main access out error: cannot create socket(s) for HTTP host
[0x8dab3f8] access_output_http access out error: cannot start HTTP server

Re: Streaming server

16 srp 2012, 22:21

OK, skužio sam. Stavio sam port 8000 umjesto 8080 i sada nema brdo grešaka, ali i dalje ne radi.

Re: Streaming server

16 srp 2012, 22:59

Pretpostavljam da gledaš
http://wiki.videolan.org/Documentation:Streaming_HowTo
http://www.mydigitallife.info/how-to-se ... ital-home/
http://www.videolan.org/vlc/streaming.html

Re: Streaming server

04 vel 2013, 22:20

Ok možda sam falio temu no dobar sofware za video streaming je serviio ... radi na svim platformama i free je ako stream radi unutar mreže ako treba preko weba nešto malo košta.

Re: Streaming server

04 vel 2013, 22:39

shrike je napisao/la:OK, skužio sam. Stavio sam port 8000 umjesto 8080 i sada nema brdo grešaka, ali i dalje ne radi.


shirke, ako nisi rijesio:

vlc -vvv Alan\ Ford\ i\ grupa\ TNT\ -\ Protiv\ Superhika.avi --sout '#standard{access=http,mux=ogg,dst=127.0.0.1:8080}'

bi ti trebalo pokrenuti stvar ako se nalazis u direktoriju gdje je taj alan ford.
ako i dalje ne radi, renameaj file u nesto bez razmaka ili ga zatvori u zagradu bez ovih backslash ecapeova, VLC ima problema sa razmacima.

Re: Streaming server

04 vel 2013, 22:40

da, vlc u terminalu se pokrece sa cvlc, nije neki bad ako vozis grafiku, ali nece raditi na headless masini.

Re: Streaming server

05 vel 2013, 18:24

Ja koristim minidlna za gledanje na TV-u i odlično radi

Sent from my GT-I9100 using Tapatalk 2
Odgovori