Portál AbcLinuxu, 9. května 2025 23:55
#!/bin/sh vlc --intf dummy dvb: --dvb-frequency=690000000 --ts-es-id-pid --programs=513,769,514,770,2049 --sout '#duplicate{dst=std{access=http,mux=ts,url=10.10.0.101:6543/nova},select="program=513",dst=std{access=http,mux=ts,url=10.10.0.101:6543/prima},select="program=769",dst=std{access=http,mux=ts,url=10.10.0.101:6543/cinema},select="program=514",dst=std{access=http,mux=ts,url=10.10.0.101:6543/cool},select="program=770",dst=std{access=http,mux=ts,url=10.10.0.101:6543/barandov_tv},select="program=2049"}'&Původně to vypadalo, že je problém jen v dvb: > nově dvb:// ale bohužel tak to není. Musel sem začít od píky
vlc dvb:// --dvb-frequency=690000000 --ts-es-id-pid --programs=513 --sout '#duplicate{dst=std{access=http,mux=ts,url=10.10.0.100:8453/nova},select="program=513"}'vypadá že jede v pohodě, nehodí žádnou chybu a v okně programu vidím, že jede nova. Bohužel pokud se po síti, nebo i na lokále pokusím připojit :
vlc http://10.10.0.50:8453/novaTak vypíše :
[0x8c8d1f0] main access out error: socket bind error (Permission denied) [0x8c8d1f0] main access out error: socket bind error (Permission denied) [0x8c8d1f0] main access out error: cannot create socket(s) for HTTP host [0x8c8d1f0] access_output_http access out error: cannot listen on port 8080 [0x8c8d1f0] main access out warning: no sout access module matching "http" could be loaded [0x8c8ac88] stream_out_standard stream out error: no suitable sout access module for `http/ts://(null)' [0x8c8ac88] main stream out warning: no sout stream module matching "std" could be loaded [0x8ab3e90] stream_out_duplicate stream out error: no destination given [0x8ab3e90] main stream out warning: no sout stream module matching "duplicate" could be loaded [0x8ab3700] main stream output error: stream chain failed for `duplicate{dst=std{access=http,mux=ts,url=10.10.0.50/nova},select="program=513"}' [0x8ab33e8] main input error: cannot start stream output instance, abortingTen
socket bind error (Permission denied)
mi vrtá hlavou. Na compu mi apache jede normálně bez problémů a ani to s tím snad nesouvisí.mplayer http://10.10.0.100:8453/nova
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing http://10.10.0.100:8453/nova. Resolving 10.10.0.100 for AF_INET6... Couldn't resolve name for AF_INET6: 10.10.0.100 Connecting to server 10.10.0.100[10.10.0.100]: 8453... connect error: Connection refused STREAM_ASF, URL: http://10.10.0.100:8453/nova Resolving 10.10.0.100 for AF_INET6... Couldn't resolve name for AF_INET6: 10.10.0.100 Connecting to server 10.10.0.100[10.10.0.100]: 8453... connect error: Connection refused Failed, exiting. Resolving 10.10.0.100 for AF_INET6... Couldn't resolve name for AF_INET6: 10.10.0.100 Connecting to server 10.10.0.100[10.10.0.100]: 8453... connect error: Connection refused No stream found to handle url http://10.10.0.100:8453/nova Exiting... (End of file)Už si s tím hraju druhej den a už nevím jak dál. Neví někdo, kde dělám chybu? Díky
Řešení dotazu:
vlc http://10.10.0.50:8453/novamá bejt samozřejmě
vlc http://10.10.0.100:8453/novaPřeklep.
... dst=std{access=http,mux=ts,url=10.10.0.101:6543/cinema ....se použije :
... dst=std{access=http,mux=ts,dst=10.10.0.101:6543/cinema ...Patrně se změnila syntaxe
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.