z4box 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/z4box/version.rb +2 -1
- data/lib/z4box.rb +8 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 006cd796da0d5f698322496ab020ece63b3ed6529ff359d8a9c6802ecaa0b83d
|
4
|
+
data.tar.gz: c4558ce9819cbbd6e8a5acc02151abb4c44f5a0876d6cb2968a0556403ac8c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94168b6de3d6d4bde73b5f75d9818c1843b58631980ce349e2e888d2fbd686ea8aebdde92c165111078101376e230ddb3c1f7442cc50c13142810053b4266e4f
|
7
|
+
data.tar.gz: 5304a8bc47d4474146674b1d9c116bdffeb5dcf391d2d1dce82182a6fae7623fbdca89e0cbcfc0de72a6d9ed05950478464c98e940cfd7a6b6b488bdabc708e5
|
data/lib/z4box/version.rb
CHANGED
data/lib/z4box.rb
CHANGED
@@ -155,10 +155,15 @@ module Z4box
|
|
155
155
|
# define output stream
|
156
156
|
s = ":screen-fps=30 :screen-caching=100 --sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1024,height=768 }:standard{access=http, mux=ts, dst=:8080}'"
|
157
157
|
# start vlc server.
|
158
|
-
|
159
|
-
|
158
|
+
Process.detach( fork {
|
159
|
+
`cvlc #{r} #{s} &`
|
160
|
+
} )
|
161
|
+
sleep 5
|
162
|
+
|
160
163
|
@@VLC = VLC::Client.new('127.0.0.1', 9595)
|
161
|
-
|
164
|
+
# Process.detach( fork {
|
165
|
+
@@VLC.connect
|
166
|
+
# } )
|
162
167
|
|
163
168
|
##
|
164
169
|
# add items to playlist.
|