Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rock@rabian-rock:~/tmp$ ls
- installmacplayer.sh macplay.cgi prepare_upload.sh set720p.sh
- logmacplayer macplay_socket sendkeymacplayer
- macplay macplayer set1080p.sh
- rock@rabian-rock:~/tmp$ bash ./installmacplayer.sh
- + sudo su -p -c 'export NEW_EGLPLATFORM=surfaceflinger; find /etc|xargs grep EGL_PLATFORM 2>/dev/null|cut -f1 -d":"|xargs sed -i -e "s/EGL_PLATFORM=.*/EGL_PLATFORM=${NEW_EGLPLATFORM}/"'
- + sudo su -c 'find /etc|xargs grep EGL_PLATFORM 2>/dev/null'
- /etc/profile.d/libhybris_path_eglplatform.sh:EGL_PLATFORM=surfaceflinger
- /etc/profile.d/libhybris_path_eglplatform.sh:export EGL_PLATFORM
- /etc/environment:EGL_PLATFORM=surfaceflinger
- /etc/bash.bashrc:EGL_PLATFORM=surfaceflinger
- /etc/bash.bashrc:export EGL_PLATFORM
- + sudo su -p -c 'export NEW_EGLPLATFORM=surfaceflinger; sed -i -e "s/EGL_PLATFORM_DEFAULT=.*/EGL_PLATFORM_DEFAULT=${NEW_EGLPLATFORM}/" /usr/local/share/libhybris/libhybris.sh'
- + sudo su -c 'grep "EGL_PLATFORM_DEFAULT=" /usr/local/share/libhybris/libhybris.sh 2>/dev/null'
- EGL_PLATFORM_DEFAULT=surfaceflinger
- + chmod a+x installmacplayer.sh logmacplayer macplay macplay.cgi macplay_socket macplayer prepare_upload.sh sendkeymacplayer set1080p.sh set720p.sh
- + sudo cp logmacplayer macplay macplay_socket sendkeymacplayer /usr/local/sbin/
- + sudo cp macplayer /usr/local/bin/
- + sudo cp set1080p.sh set720p.sh /usr/local/sbin/
- + sudo cp macplay.cgi /usr/lib/cgi-bin/
- cp: cannot create regular file '/usr/lib/cgi-bin/': Not a directory
- rock@rabian-rock:~/tmp$ cd
- rock@rabian-rock:~$ ls
- Desktop
- Documents
- Downloads
- Music
- Pictures
- Public
- Templates
- Videos
- kodi.sh
- machybris-rk3288_4.4.2-0.1.1_armhf.deb
- machybris-rk3288_4.4.2_rkpatch-0.1.1_armhf.deb
- mackodi_isengard-jessie-0.1.1_armhf.deb.mackodiplay
- mackodi_isengard-jessie-0.1.1_armhf.deb.new
- macplay.sh
- macplay2.sh
- macplayer
- macplayer2
- rk3188
- sintel_trailer-1080p.mp4
- tmp
- rock@rabian-rock:~$ sudo su
- root@rabian-rock:/home/rock# macplay
- macplay macplay_socket macplayer
- root@rabian-rock:/home/rock# macplay
- macplay macplay_socket macplayer
- root@rabian-rock:/home/rock# which macplay
- /usr/local/sbin/macplay
- root@rabian-rock:/home/rock# cat /usr/local/sbin/macplay
- #!/bin/bash
- set -x
- SOCKIN=50505
- SOCKOUT=60606
- echo "<br>"
- if [ -z "$1" ]; then
- echo "$0: no input given! <br>"
- elif [ ${#1} = 1 ]; then
- echo "$0: command '$1' <br>"
- if [ $(ps -ef|grep macplayer|wc -l) = 1 ]; then
- echo "$0: macplayer not running, not sending command! <br>"
- else
- echo -n "$1"|socat - udp-sendto:127.0.0.1:$SOCKIN
- fi
- else
- echo "$0: play '$1' <br>"
- if ! [ $(ps -ef|grep macplayer|wc -l) = 1 ]; then
- echo "$0: macplayer already running, stopping it first! then play<br>"
- echo -n "q"|socat - udp-sendto:127.0.0.1:$SOCKIN
- sleep 2
- fi
- # kill 'm all
- sudo pkill -9 macplayer
- sudo pkill -9 surfaceflinger
- # player args
- FILE="$1"
- #FILE=http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- BIN=/usr/local/bin/macplayer
- #screen -d -m sudo su -c "EGL_PLATFORM=surfaceflinger $BIN '$FILE'"
- screen -d -m sudo su -c "macplay_socket $SOCKIN $SOCKOUT '$FILE'"
- fi
- export DISPLAY=:0.0
- xrefresh || true
- root@rabian-rock:/home/rock# macplay http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + SOCKIN=50505
- + SOCKOUT=60606
- + echo '<br>'
- <br>
- + '[' -z http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts ']'
- + '[' 66 = 1 ']'
- + echo '/usr/local/sbin/macplay: play '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'' <br>'
- /usr/local/sbin/macplay: play 'http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts' <br>
- ++ ps -ef
- ++ grep macplayer
- ++ wc -l
- + '[' 1 = 1 ']'
- + sudo pkill -9 macplayer
- + sudo pkill -9 surfaceflinger
- + FILE=http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + BIN=/usr/local/bin/macplayer
- + screen -d -m sudo su -c 'macplay_socket 50505 60606 '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'''
- /usr/local/sbin/macplay: line 36: screen: command not found
- + export DISPLAY=:0.0
- + DISPLAY=:0.0
- + xrefresh
- No protocol specified
- xrefresh: unable to open display ':0.0'
- + true
- root@rabian-rock:/home/rock# sudo apt-get install screen
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
- libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libirs-export91
- libisccfg-export90 libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal
- Use 'apt-get autoremove' to remove them.
- Suggested packages:
- iselect screenie byobu
- The following NEW packages will be installed:
- screen
- 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
- Need to get 536 kB of archives.
- After this operation, 777 kB of additional disk space will be used.
- Get:1 http://http.debian.net/debian/ jessie/main screen armhf 4.2.1-3+deb8u1 [536 kB]
- Fetched 536 kB in 4s (129 kB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_TIME = "nl_NL.UTF-8",
- LC_MONETARY = "nl_NL.UTF-8",
- LC_ADDRESS = "nl_NL.UTF-8",
- LC_TELEPHONE = "nl_NL.UTF-8",
- LC_NAME = "nl_NL.UTF-8",
- LC_MEASUREMENT = "nl_NL.UTF-8",
- LC_IDENTIFICATION = "nl_NL.UTF-8",
- LC_NUMERIC = "nl_NL.UTF-8",
- LC_PAPER = "nl_NL.UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package screen.
- (Reading database ... 231852 files and directories currently installed.)
- Preparing to unpack .../screen_4.2.1-3+deb8u1_armhf.deb ...
- Unpacking screen (4.2.1-3+deb8u1) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Processing triggers for systemd (215-17+deb8u5) ...
- Setting up screen (4.2.1-3+deb8u1) ...
- locale: Cannot set LC_ALL to default locale: No such file or directory
- Processing triggers for systemd (215-17+deb8u5) ...
- root@rabian-rock:/home/rock# macplay http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + SOCKIN=50505
- + SOCKOUT=60606
- + echo '<br>'
- <br>
- + '[' -z http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts ']'
- + '[' 66 = 1 ']'
- + echo '/usr/local/sbin/macplay: play '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'' <br>'
- /usr/local/sbin/macplay: play 'http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts' <br>
- ++ ps -ef
- ++ grep macplayer
- ++ wc -l
- + '[' 1 = 1 ']'
- + sudo pkill -9 macplayer
- + sudo pkill -9 surfaceflinger
- + FILE=http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + BIN=/usr/local/bin/macplayer
- + screen -d -m sudo su -c 'macplay_socket 50505 60606 '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'''
- + export DISPLAY=:0.0
- + DISPLAY=:0.0
- + xrefresh
- No protocol specified
- xrefresh: unable to open display ':0.0'
- + true
- root@rabian-rock:/home/rock# exit
- exit
- rock@rabian-rock:~$ macplay http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + SOCKIN=50505
- + SOCKOUT=60606
- + echo '<br>'
- <br>
- + '[' -z http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts ']'
- + '[' 66 = 1 ']'
- + echo '/usr/local/sbin/macplay: play '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'' <br>'
- /usr/local/sbin/macplay: play 'http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts' <br>
- ++ ps -ef
- ++ grep macplayer
- ++ wc -l
- + '[' 1 = 1 ']'
- + sudo pkill -9 macplayer
- + sudo pkill -9 surfaceflinger
- + FILE=http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + BIN=/usr/local/bin/macplayer
- + screen -d -m sudo su -c 'macplay_socket 50505 60606 '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'''
- + export DISPLAY=:0.0
- + DISPLAY=:0.0
- + xrefresh
- rock@rabian-rock:~$ ps -ef
- UID PID PPID C STIME TTY TIME CMD
- root 1 0 0 05:06 ? 00:00:03 /sbin/init
- root 2 0 0 05:06 ? 00:00:00 [kthreadd]
- root 3 2 0 05:06 ? 00:00:00 [ksoftirqd/0]
- root 5 2 0 05:06 ? 00:00:01 [kworker/u:0]
- root 6 2 0 05:06 ? 00:00:00 [migration/0]
- root 7 2 0 05:06 ? 00:00:00 [migration/1]
- root 9 2 0 05:06 ? 00:00:00 [ksoftirqd/1]
- root 10 2 0 05:06 ? 00:00:00 [migration/2]
- root 12 2 0 05:06 ? 00:00:00 [ksoftirqd/2]
- root 13 2 0 05:06 ? 00:00:00 [migration/3]
- root 15 2 0 05:06 ? 00:00:00 [ksoftirqd/3]
- root 16 2 0 05:06 ? 00:00:00 [khelper]
- root 17 2 0 05:06 ? 00:00:00 [suspend_sys_syn]
- root 18 2 0 05:06 ? 00:00:00 [suspend]
- root 19 2 0 05:06 ? 00:00:04 [kconsole]
- root 20 2 0 05:06 ? 00:00:00 [sync_supers]
- root 21 2 0 05:06 ? 00:00:00 [bdi-default]
- root 22 2 0 05:06 ? 00:00:00 [kblockd]
- root 23 2 0 05:06 ? 00:00:00 [khubd]
- root 24 2 0 05:06 ? 00:00:00 [irq/58-rk30-adc]
- root 26 2 0 05:06 ? 00:00:00 [cfg80211]
- root 27 2 0 05:06 ? 00:00:02 [fb-vsync]
- root 28 2 0 05:06 ? 00:00:00 [fb-vsync]
- root 29 2 0 05:06 ? 00:00:00 [hdmi-it66121]
- root 30 2 0 05:06 ? 00:00:00 [kworker/u:1]
- root 31 2 0 05:06 ? 00:00:00 [it66121 irq]
- root 32 2 0 05:06 ? 00:00:00 [cfinteractive]
- root 34 2 0 05:06 ? 00:00:00 [rk3188_cpufreqd]
- root 35 2 0 05:06 ? 00:00:00 [irq/42-vdpu]
- root 36 2 0 05:06 ? 00:00:00 [irq/41-vepu]
- root 37 2 0 05:06 ? 00:00:00 [kswapd0]
- root 38 2 0 05:06 ? 00:00:00 [ksmd]
- root 39 2 0 05:06 ? 00:00:00 [fsnotify_mark]
- root 40 2 0 05:06 ? 00:00:00 [crypto]
- root 54 2 0 05:06 ? 00:00:00 [irq/95-rga]
- root 61 2 0 05:06 ? 00:00:00 [f_mtp]
- root 62 2 0 05:06 ? 00:00:00 [file-storage]
- root 63 2 0 05:06 ? 00:00:00 [irq/173-rtc_hym]
- root 64 2 0 05:06 ? 00:00:00 [binder]
- root 65 2 0 05:06 ? 00:00:00 [krfcommd]
- root 66 2 0 05:06 ? 00:00:00 [ddrtestd]
- root 67 2 0 05:06 ? 00:00:00 [ddrfreqd]
- root 74 2 0 05:06 ? 00:00:06 [rknand_buffer]
- root 75 2 0 05:06 ? 00:00:08 [rk_ftl_gc]
- root 76 2 0 05:06 ? 00:00:00 [mtdblock0]
- root 77 2 0 05:06 ? 00:00:00 [mtdblock1]
- root 78 2 0 05:06 ? 00:00:00 [mtdblock2]
- root 79 2 0 05:06 ? 00:00:00 [mtdblock3]
- root 80 2 0 05:06 ? 00:00:07 [mtdblock4]
- root 124 2 0 05:06 ? 00:00:00 [kworker/3:1]
- root 127 2 0 05:06 ? 00:00:00 [jbd2/mtdblock4-]
- root 128 2 0 05:06 ? 00:00:00 [ext4-dio-unwrit]
- root 148 2 0 05:06 ? 00:00:00 [flush-31:4]
- root 149 2 0 05:06 ? 00:00:00 [kauditd]
- root 154 1 0 05:06 ? 00:00:01 /lib/systemd/systemd-journald
- root 155 1 0 05:06 ? 00:00:00 /lib/systemd/systemd-udevd
- root 370 1 0 05:06 ? 00:00:03 /usr/sbin/NetworkManager --no-da
- root 373 1 0 05:06 ? 00:00:00 /usr/sbin/sshd -D
- root 379 1 0 05:06 ? 00:00:00 /usr/sbin/cron -f
- root 380 1 0 05:06 ? 00:00:00 /usr/sbin/ModemManager
- root 385 1 0 05:06 ? 00:00:00 /system/bin/servicemanager --sta
- root 386 2 0 05:06 ? 00:00:00 [loop0]
- root 388 2 0 05:06 ? 00:00:00 [ext4-dio-unwrit]
- root 390 1 0 05:06 ? 00:00:00 /system/bin/mediaserver
- root 405 2 0 05:06 ? 00:00:00 [mali_freq_workq]
- root 470 1 0 05:06 ? 00:00:00 /lib/systemd/systemd-logind
- avahi 782 1 0 05:06 ? 00:00:00 avahi-daemon: running [rabian-ro
- ntp 808 1 0 05:06 ? 00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.
- message+ 810 1 0 05:06 ? 00:00:02 /usr/bin/dbus-daemon --system --
- Debian-+ 823 1 0 05:06 ? 00:00:00 /usr/sbin/exim4 -bd -q30m
- avahi 825 782 0 05:06 ? 00:00:00 avahi-daemon: chroot helper
- root 827 2 0 05:06 ? 00:00:00 [kworker/2:2]
- root 830 1 0 05:06 ? 00:00:01 /usr/sbin/syslog-ng -F
- root 837 1 0 05:06 ? 00:00:00 /usr/lib/policykit-1/polkitd --n
- root 850 1 0 05:06 tty1 00:00:00 /sbin/agetty --noclear tty1 linu
- root 851 1 0 05:06 ttyFIQ0 00:00:00 /sbin/agetty --keep-baud 115200
- root 859 1 0 05:06 ? 00:00:00 /usr/sbin/lightdm
- root 860 2 0 05:06 ? 00:00:00 [kworker/1:2]
- root 869 859 0 05:06 tty7 00:00:05 /usr/bin/X :0 -seat seat0 -auth
- root 876 859 0 05:06 ? 00:00:00 lightdm --session-child 13 16
- rock 881 1 0 05:06 ? 00:00:00 /lib/systemd/systemd --user
- rock 882 881 0 05:06 ? 00:00:00 (sd-pam)
- rock 888 876 0 05:06 ? 00:00:00 x-session-manager
- root 903 2 0 05:06 ? 00:00:00 [ksdioirqd/mmc1]
- root 928 2 0 05:06 ? 00:00:00 [RTW_XMIT_THREAD]
- root 929 2 0 05:06 ? 00:00:04 [RTW_CMD_THREAD]
- root 930 2 0 05:06 ? 00:00:00 [RTWHALXT-wlan1]
- root 931 2 0 05:06 ? 00:00:00 [RTWHALXT-p2p0]
- root 932 1 0 05:06 ? 00:00:01 /sbin/wpa_supplicant -u -s -O /r
- rock 938 888 0 05:06 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus
- rock 941 1 0 05:06 ? 00:00:00 /usr/bin/dbus-launch --exit-with
- rock 942 1 0 05:06 ? 00:00:00 /usr/bin/dbus-daemon --fork --pr
- rock 946 1 0 05:06 ? 00:00:00 /usr/lib/dconf/dconf-service
- rock 950 1 0 05:06 ? 00:00:00 gnome-keyring-daemon --start
- rock 955 888 0 05:06 ? 00:00:01 /usr/bin/mate-settings-daemon
- rock 957 888 0 05:06 ? 00:00:00 marco
- rock 962 888 0 05:06 ? 00:00:01 mate-panel
- rock 964 1 0 05:06 ? 00:00:00 /usr/lib/gvfs/gvfsd
- rock 986 1 0 05:06 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volum
- rock 987 888 0 05:06 ? 00:00:02 caja
- root 989 1 0 05:06 ? 00:00:00 /usr/lib/udisks2/udisksd --no-de
- rock 990 888 0 05:06 ? 00:00:01 /usr/bin/python /usr/bin/blueman
- rock 992 888 0 05:06 ? 00:00:06 nm-applet
- rock 1003 888 0 05:06 ? 00:00:00 /usr/lib/arm-linux-gnueabihf/pol
- rock 1006 888 0 05:06 ? 00:00:00 mate-screensaver
- rock 1007 888 0 05:06 ? 00:00:00 mate-power-manager
- rock 1013 1 0 05:06 ? 00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-mo
- rock 1025 1 0 05:06 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volum
- rock 1027 1 0 05:06 ? 00:00:00 /usr/lib/at-spi2-core/at-spi-bus
- rock 1031 1027 0 05:06 ? 00:00:00 /usr/bin/dbus-daemon --config-fi
- rock 1034 1 0 05:06 ? 00:00:00 /usr/lib/at-spi2-core/at-spi2-re
- rock 1038 1 0 05:06 ? 00:00:00 /usr/lib/gvfs/gvfs-goa-volume-mo
- rock 1043 1 0 05:06 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-mo
- root 1046 1 0 05:06 ? 00:00:00 /usr/lib/upower/upowerd
- rock 1061 1 0 05:06 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw
- rock 1066 1 0 05:06 ? 00:00:00 /usr/lib/arm-linux-gnueabihf/gco
- rock 1079 1 0 05:06 ? 00:00:00 /usr/lib/mate-panel/wnck-applet
- rock 1085 1 0 05:06 ? 00:00:01 /usr/lib/mate-panel/clock-applet
- rock 1086 1 0 05:06 ? 00:00:01 /usr/lib/mate-panel/notification
- root 1494 2 0 05:09 ? 00:00:00 [ax88772a]
- root 1586 370 0 05:10 ? 00:00:00 /sbin/dhclient -d -q -sf /usr/li
- root 1695 373 0 05:11 ? 00:00:00 sshd: rock [priv]
- rock 1697 1695 0 05:11 ? 00:00:00 sshd: rock@pts/0
- rock 1698 1697 0 05:11 pts/0 00:00:00 -bash
- root 1703 2 0 05:11 ? 00:00:00 [kworker/0:1]
- root 1727 2 0 05:12 ? 00:00:00 [kworker/2:1]
- root 1829 2 0 05:12 ? 00:00:00 [kworker/1:1]
- root 1836 1 0 05:12 ? 00:00:00 /usr/lib/packagekit/packagekitd
- root 1848 2 0 05:14 ? 00:00:00 [kworker/3:0]
- root 1853 2 0 05:18 ? 00:00:00 [kworker/0:2]
- root 1854 373 0 05:18 ? 00:00:00 sshd: rock [priv]
- rock 1856 1854 0 05:18 ? 00:00:00 sshd: rock@pts/1
- rock 1857 1856 0 05:18 pts/1 00:00:00 -bash
- root 1864 2 0 05:19 ? 00:00:00 [kworker/3:2]
- rock 1865 1698 0 05:20 pts/0 00:00:00 lftp mac-l1.com@mac-l1.com
- root 1941 2 0 05:23 ? 00:00:00 [kworker/2:0]
- root 2049 2 0 05:23 ? 00:00:00 [kworker/0:0]
- rock 2124 1857 0 05:23 pts/1 00:00:00 ps -ef
- rock@rabian-rock:~$ macplayer
- macplayer: error while loading shared libraries: libfdk-aac.so.0: cannot open shared object file: No such file or directory
- rock@rabian-rock:~$ sudo apt-get install libfdk-aac
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- E: Unable to locate package libfdk-aac
- rock@rabian-rock:~$ sudo apt-get install libfdk-aac-dev
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
- libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libirs-export91
- libisccfg-export90 libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal
- Use 'apt-get autoremove' to remove them.
- The following extra packages will be installed:
- libfdk-aac0
- The following NEW packages will be installed:
- libfdk-aac-dev libfdk-aac0
- 0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
- Need to get 324 kB of archives.
- After this operation, 718 kB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://http.debian.net/debian/ jessie/non-free libfdk-aac0 armhf 0.1.3+20140816-2 [286 kB]
- Get:2 http://http.debian.net/debian/ jessie/non-free libfdk-aac-dev armhf 0.1.3+20140816-2 [38.0 kB]
- Fetched 324 kB in 5s (59.2 kB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_TIME = "nl_NL.UTF-8",
- LC_MONETARY = "nl_NL.UTF-8",
- LC_ADDRESS = "nl_NL.UTF-8",
- LC_TELEPHONE = "nl_NL.UTF-8",
- LC_NAME = "nl_NL.UTF-8",
- LC_MEASUREMENT = "nl_NL.UTF-8",
- LC_IDENTIFICATION = "nl_NL.UTF-8",
- LC_NUMERIC = "nl_NL.UTF-8",
- LC_PAPER = "nl_NL.UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libfdk-aac0:armhf.
- (Reading database ... 231910 files and directories currently installed.)
- Preparing to unpack .../libfdk-aac0_0.1.3+20140816-2_armhf.deb ...
- Unpacking libfdk-aac0:armhf (0.1.3+20140816-2) ...
- Selecting previously unselected package libfdk-aac-dev:armhf.
- Preparing to unpack .../libfdk-aac-dev_0.1.3+20140816-2_armhf.deb ...
- Unpacking libfdk-aac-dev:armhf (0.1.3+20140816-2) ...
- Setting up libfdk-aac0:armhf (0.1.3+20140816-2) ...
- Setting up libfdk-aac-dev:armhf (0.1.3+20140816-2) ...
- Processing triggers for libc-bin (2.19-18+deb8u6) ...
- rock@rabian-rock:~$ macplay http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + SOCKIN=50505
- + SOCKOUT=60606
- + echo '<br>'
- <br>
- + '[' -z http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts ']'
- + '[' 66 = 1 ']'
- + echo '/usr/local/sbin/macplay: play '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'' <br>'
- /usr/local/sbin/macplay: play 'http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts' <br>
- ++ ps -ef
- ++ grep macplayer
- ++ wc -l
- + '[' 1 = 1 ']'
- + sudo pkill -9 macplayer
- + sudo pkill -9 surfaceflinger
- + FILE=http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts
- + BIN=/usr/local/bin/macplayer
- + screen -d -m sudo su -c 'macplay_socket 50505 60606 '\''http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/06401.ts'\'''
- + export DISPLAY=:0.0
- + DISPLAY=:0.0
- + xrefresh
- rock@rabian-rock:~$ macplayer
- machybrisegl: VT_ACTIVATE: Operation not permitted
- machybrisegl: chvt(10) failed!
- I(0x421d9340): setSchedulingParams:809 thead(0x421d9340): policy FIFO, prio 99 [1-99]
- Creating EGL surface.
- machybrisegl: VT_ACTIVATE: Operation not permitted
- machybrisegl: chvt(7) failed!
- chvt: VT_ACTIVATE: Operation not permitted
- /bin/sh: 1: cannot create /sys/class/display/display0.HDMI/enable: Permission denied
- /bin/sh: 1: cannot create /sys/class/display/display0.HDMI/enable: Permission denied
- rock@rabian-rock:~$ sudo su
- root@rabian-rock:/home/rock# env
- LC_PAPER=nl_NL.UTF-8
- XDG_SESSION_ID=c3
- LC_ADDRESS=nl_NL.UTF-8
- LC_MONETARY=nl_NL.UTF-8
- SHELL=/bin/bash
- TERM=xterm
- LC_NUMERIC=nl_NL.UTF-8
- USER=root
- LC_TELEPHONE=nl_NL.UTF-8
- SUDO_USER=rock
- SUDO_UID=1000
- USERNAME=root
- MAIL=/var/mail/root
- PATH=/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- LC_IDENTIFICATION=nl_NL.UTF-8
- PWD=/home/rock
- LANG=C.UTF-8
- LC_MEASUREMENT=nl_NL.UTF-8
- EGL_PLATFORM=surfaceflinger
- SHLVL=1
- SUDO_COMMAND=/bin/su
- HOME=/root
- LOGNAME=root
- SUDO_GID=1001
- DISPLAY=localhost:11.0
- LC_TIME=nl_NL.UTF-8
- LC_NAME=nl_NL.UTF-8
- _=/usr/bin/env
- root@rabian-rock:/home/rock# macplayer
- machybrisegl: chvt(10) succeeded!
- machybrisegl: start_surfaceflinger() succeeded!
- I(0x422e8000): setSchedulingParams:809 thead(0x422e8000): policy FIFO, prio 99 [1-99]
- Creating EGL surface.
- Primary display width: 1280.000000, height: 720.000000
- Creating GL texture.
- I(0x422e8000): setupGraphics2:643 windowWidth=1280
- I(0x422e8000): setupGraphics2:644 windowHeight=720
- I(0x48b05390): run:886 StdinThread START
- I(0x49305390): run:872 DecoderThread START
- I(0x49305390): printSchedulingParams:823 thead(0x49305390): policy FIFO, prio 99 [0-0]
- ffplay version 3.2-macplayer-3.2 Copyright (c) 2003-2016 the FFmpeg developers
- built with gcc 4.9.2 (Debian 4.9.2-10)
- configuration: --prefix=/home/rock/macplayer/ffmpeg/ffmpeg-install --extra-version=macplayer-3.2 --pkg-config-flags=--static --enable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-doc --enable-gpl --enable-runtime-cpudetect --enable-muxer=all --enable-demuxer=all --enable-encoder=all --enable-decoder=all --enable-protocol=all --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --disable-shared --enable-static --enable-pthreads
- libavutil 55. 34.100 / 55. 34.100
- libavcodec 57. 64.100 / 57. 64.100
- libavformat 57. 56.100 / 57. 56.100
- libavdevice 57. 1.100 / 57. 1.100
- libswscale 4. 2.100 / 4. 2.100
- libswresample 2. 3.100 / 2. 3.100
- libpostproc 54. 1.100 / 54. 1.100
- Simple media player
- usage: ffplay [options] input_file
- An input file must be specified
- Use -h to get full help or, even better, run 'man ffplay'
- machybrisegl: stop_surfaceflinger() succeeded!
- machybrisegl: chvt(7) succeeded!
- root@rabian-rock:/home/rock# macplayer /home/rock/sintel_trailer-1080p.mp4
- machybrisegl: chvt(10) succeeded!
- machybrisegl: start_surfaceflinger() succeeded!
- I(0x4226e000): setSchedulingParams:809 thead(0x4226e000): policy FIFO, prio 99 [1-99]
- Creating EGL surface.
- Primary display width: 1280.000000, height: 720.000000
- Creating GL texture.
- I(0x4226e000): setupGraphics2:643 windowWidth=1280
- I(0x4226e000): setupGraphics2:644 windowHeight=720
- I(0x48915390): run:886 StdinThread START
- I(0x492ff390): run:872 DecoderThread START
- I(0x492ff390): printSchedulingParams:823 thead(0x492ff390): policy FIFO, prio 99 [0-0]
- ffplay version 3.2-macplayer-3.2 Copyright (c) 2003-2016 the FFmpeg developers
- built with gcc 4.9.2 (Debian 4.9.2-10)
- configuration: --prefix=/home/rock/macplayer/ffmpeg/ffmpeg-install --extra-version=macplayer-3.2 --pkg-config-flags=--static --enable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-doc --enable-gpl --enable-runtime-cpudetect --enable-muxer=all --enable-demuxer=all --enable-encoder=all --enable-decoder=all --enable-protocol=all --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --disable-shared --enable-static --enable-pthreads
- libavutil 55. 34.100 / 55. 34.100
- libavcodec 57. 64.100 / 57. 64.100
- libavformat 57. 56.100 / 57. 56.100
- libavdevice 57. 1.100 / 57. 1.100
- libswscale 4. 2.100 / 4. 2.100
- libswresample 2. 3.100 / 2. 3.100
- libpostproc 54. 1.100 / 54. 1.100
- X11 connection rejected because of wrong authentication.
- xcb_connection_has_error() returned true
- I(0x4a805390): setSchedulingParams:809 thead(0x4a805390): policy FIFO, prio 80 [1-99]
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/rock/sintel_trailer-1080p.mp4':
- Metadata:
- major_brand : isom
- minor_version : 512
- compatible_brands: isomiso2avc1mp41
- creation_time : 1970-01-01T00:00:00.000000Z
- title : Sintel Trailer
- artist : Durian Open Movie Team
- encoder : Lavf52.62.0
- copyright : (c) copyright Blender Foundation | durian.blender.org
- description : Trailer for the Sintel open movie project
- Duration: 00:00:52.21, start: 0.000000, bitrate: 2240 kb/s
- Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 2108 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default)
- Metadata:
- creation_time : 1970-01-01T00:00:00.000000Z
- handler_name : VideoHandler
- Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 126 kb/s (default)
- Metadata:
- creation_time : 1970-01-01T00:00:00.000000Z
- handler_name : SoundHandler
- X11 connection rejected because of wrong authentication.
- xcb_connection_has_error() returned true
- I(0x4ba7b390): setSchedulingParams:809 thead(0x4ba7b390): policy FIFO, prio 70 [1-99]
- D(0x4a805390): Open:308 CDVDVideoCodecHybris::Open - trying to open, codec(28), profile(0), level(1251204464)
- I(0x4b1ff390): setSchedulingParams:809 thead(0x4b1ff390): policy FIFO, prio 90 [1-99]
- I(0x4226e000): InitSurfaceTexture:1014 CDVDVideoCodecHybris::InitSurfaceTexture::1014 - m_textureId = 1
- I(0x4226e000): InitSurfaceTexture:1020 CDVDVideoCodecHybris::InitSurfaceTexture::1020 - decoding_session = 12a95c8
- I(0x4226e000): InitSurfaceTexture:1024 CDVDVideoCodecHybris::InitSurfaceTexture::1024 - igbc_wrapper = 12a8d78
- I(0x4226e000): InitSurfaceTexture:1027 CDVDVideoCodecHybris::InitSurfaceTexture::1027 - m_surfaceTexture = 12a8f08
- I(0x4226e000): InitSurfaceTexture:1030 CDVDVideoCodecHybris::InitSurfaceTexture::1030 - m_frameAvailable = 12a96c0
- I(0x4226e000): InitSurfaceTexture:1032 CDVDVideoCodecHybris::InitSurfaceTexture::1032 - igbp = 12a9648
- I(0x4226e000): InitSurfaceTexture:1034 CDVDVideoCodecHybris::InitSurfaceTexture::1034 - m_surface = 1284310
- I(0x4226e000): handleMessage:932 VIDEO_RESIZED (1920x1080)!!!
- I(0x513c1390): setSchedulingParams:809 thead(0x513c1390): policy FIFO, prio 50 [1-99]
- ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
- I(0x513c1390): OutputFormatChanged:883 CDVDVideoCodecHybris:: width(1920), height(1080), stride(1920), slice-height(1080), color-format(1)
- I(0x513c1390): OutputFormatChanged:886 CDVDVideoCodecHybris:: crop-left(0), crop-top(0), crop-right(0), crop-bottom(0)
- I(0x513c1390): OutputFormatChanged:889 CDVDVideoCodecHybris:: Direct Surface Rendering
- I(0x4226e000): handleMessage:932 VIDEO_RESIZED (1920x1080)!!!
- ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred 0B f=0/0
- machybrisegl: stop_surfaceflinger() succeeded!0KB sq= 0B f=0/0
- machybrisegl: chvt(7) succeeded!
- root@rabian-rock:/home/rock# exit512KB vq= 5801KB sq= 0B f=0/0
- exit
- rock@rabian-rock:~$ sudo apt-get install apache2
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
- libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libirs-export91
- libisccfg-export90 libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal
- Use 'apt-get autoremove' to remove them.
- The following extra packages will be installed:
- apache2-data apache2-utils ssl-cert
- Suggested packages:
- apache2-doc apache2-suexec-pristine apache2-suexec-custom openssl-blacklist
- The following NEW packages will be installed:
- apache2 apache2-data apache2-utils ssl-cert
- 0 upgraded, 4 newly installed, 0 to remove and 8 not upgraded.
- Need to get 586 kB of archives.
- After this operation, 1500 kB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://http.debian.net/debian/ jessie/main apache2-utils armhf 2.4.10-10+deb8u7 [196 kB]
- Get:2 http://http.debian.net/debian/ jessie/main apache2-data all 2.4.10-10+deb8u7 [163 kB]
- Get:3 http://http.debian.net/debian/ jessie/main apache2 armhf 2.4.10-10+deb8u7 [207 kB]
- Get:4 http://http.debian.net/debian/ jessie/main ssl-cert all 1.0.35 [20.9 kB]
- Fetched 586 kB in 12s (47.8 kB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_TIME = "nl_NL.UTF-8",
- LC_MONETARY = "nl_NL.UTF-8",
- LC_ADDRESS = "nl_NL.UTF-8",
- LC_TELEPHONE = "nl_NL.UTF-8",
- LC_NAME = "nl_NL.UTF-8",
- LC_MEASUREMENT = "nl_NL.UTF-8",
- LC_IDENTIFICATION = "nl_NL.UTF-8",
- LC_NUMERIC = "nl_NL.UTF-8",
- LC_PAPER = "nl_NL.UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package apache2-utils.
- (Reading database ... 231928 files and directories currently installed.)
- Preparing to unpack .../apache2-utils_2.4.10-10+deb8u7_armhf.deb ...
- Unpacking apache2-utils (2.4.10-10+deb8u7) ...
- Selecting previously unselected package apache2-data.
- Preparing to unpack .../apache2-data_2.4.10-10+deb8u7_all.deb ...
- Unpacking apache2-data (2.4.10-10+deb8u7) ...
- Selecting previously unselected package apache2.
- Preparing to unpack .../apache2_2.4.10-10+deb8u7_armhf.deb ...
- Unpacking apache2 (2.4.10-10+deb8u7) ...
- Selecting previously unselected package ssl-cert.
- Preparing to unpack .../ssl-cert_1.0.35_all.deb ...
- Unpacking ssl-cert (1.0.35) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Processing triggers for systemd (215-17+deb8u5) ...
- Setting up apache2-utils (2.4.10-10+deb8u7) ...
- Setting up apache2-data (2.4.10-10+deb8u7) ...
- Setting up apache2 (2.4.10-10+deb8u7) ...
- Enabling module mpm_event.
- Enabling module authz_core.
- Enabling module authz_host.
- Enabling module authn_core.
- Enabling module auth_basic.
- Enabling module access_compat.
- Enabling module authn_file.
- Enabling module authz_user.
- Enabling module alias.
- Enabling module dir.
- Enabling module autoindex.
- Enabling module env.
- Enabling module mime.
- Enabling module negotiation.
- Enabling module setenvif.
- Enabling module filter.
- Enabling module deflate.
- Enabling module status.
- Enabling conf charset.
- Enabling conf localized-error-pages.
- Enabling conf other-vhosts-access-log.
- Enabling conf security.
- Enabling conf serve-cgi-bin.
- Enabling site 000-default.
- Setting up ssl-cert (1.0.35) ...
- locale: Cannot set LC_ALL to default locale: No such file or directory
- Processing triggers for systemd (215-17+deb8u5) ...
- rock@rabian-rock:~$ sudo a2dismod mpm_event
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_PAPER = "nl_NL.UTF-8",
- LC_ADDRESS = "nl_NL.UTF-8",
- LC_MONETARY = "nl_NL.UTF-8",
- LC_NUMERIC = "nl_NL.UTF-8",
- LC_TELEPHONE = "nl_NL.UTF-8",
- LC_IDENTIFICATION = "nl_NL.UTF-8",
- LC_MEASUREMENT = "nl_NL.UTF-8",
- LC_TIME = "nl_NL.UTF-8",
- LC_NAME = "nl_NL.UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- Module mpm_event disabled.
- To activate the new configuration, you need to run:
- service apache2 restart
- rock@rabian-rock:~$ sudo service apache2 restart
- Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
- rock@rabian-rock:~$ sudo a2enmod mpm_prefork
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_PAPER = "nl_NL.UTF-8",
- LC_ADDRESS = "nl_NL.UTF-8",
- LC_MONETARY = "nl_NL.UTF-8",
- LC_NUMERIC = "nl_NL.UTF-8",
- LC_TELEPHONE = "nl_NL.UTF-8",
- LC_IDENTIFICATION = "nl_NL.UTF-8",
- LC_MEASUREMENT = "nl_NL.UTF-8",
- LC_TIME = "nl_NL.UTF-8",
- LC_NAME = "nl_NL.UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- Considering conflict mpm_event for mpm_prefork:
- Considering conflict mpm_worker for mpm_prefork:
- Enabling module mpm_prefork.
- To activate the new configuration, you need to run:
- service apache2 restart
- rock@rabian-rock:~$ sudo service apache2 restart
- rock@rabian-rock:~$ sudo systemctl restart apache2
- rock@rabian-rock:~$ sudo a2enmod cgi
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_PAPER = "nl_NL.UTF-8",
- LC_ADDRESS = "nl_NL.UTF-8",
- LC_MONETARY = "nl_NL.UTF-8",
- LC_NUMERIC = "nl_NL.UTF-8",
- LC_TELEPHONE = "nl_NL.UTF-8",
- LC_IDENTIFICATION = "nl_NL.UTF-8",
- LC_MEASUREMENT = "nl_NL.UTF-8",
- LC_TIME = "nl_NL.UTF-8",
- LC_NAME = "nl_NL.UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
- Enabling module cgi.
- To activate the new configuration, you need to run:
- service apache2 restart
- rock@rabian-rock:~$ sudo systemctl restart apache2
- rock@rabian-rock:~$ cd tmp/
- rock@rabian-rock:~/tmp$ ls
- installmacplayer.sh macplay.cgi prepare_upload.sh set720p.sh
- logmacplayer macplay_socket sendkeymacplayer
- macplay macplayer set1080p.sh
- rock@rabian-rock:~/tmp$ bash installmacplayer.sh
- + sudo su -p -c 'export NEW_EGLPLATFORM=surfaceflinger; find /etc|xargs grep EGL_PLATFORM 2>/dev/null|cut -f1 -d":"|xargs sed -i -e "s/EGL_PLATFORM=.*/EGL_PLATFORM=${NEW_EGLPLATFORM}/"'
- + sudo su -c 'find /etc|xargs grep EGL_PLATFORM 2>/dev/null'
- /etc/profile.d/libhybris_path_eglplatform.sh:EGL_PLATFORM=surfaceflinger
- /etc/profile.d/libhybris_path_eglplatform.sh:export EGL_PLATFORM
- /etc/environment:EGL_PLATFORM=surfaceflinger
- /etc/bash.bashrc:EGL_PLATFORM=surfaceflinger
- /etc/bash.bashrc:export EGL_PLATFORM
- + sudo su -p -c 'export NEW_EGLPLATFORM=surfaceflinger; sed -i -e "s/EGL_PLATFORM_DEFAULT=.*/EGL_PLATFORM_DEFAULT=${NEW_EGLPLATFORM}/" /usr/local/share/libhybris/libhybris.sh'
- + sudo su -c 'grep "EGL_PLATFORM_DEFAULT=" /usr/local/share/libhybris/libhybris.sh 2>/dev/null'
- EGL_PLATFORM_DEFAULT=surfaceflinger
- + chmod a+x installmacplayer.sh logmacplayer macplay macplay.cgi macplay_socket macplayer prepare_upload.sh sendkeymacplayer set1080p.sh set720p.sh
- + sudo cp logmacplayer macplay macplay_socket sendkeymacplayer /usr/local/sbin/
- + sudo cp macplayer /usr/local/bin/
- + sudo cp set1080p.sh set720p.sh /usr/local/sbin/
- + sudo cp macplay.cgi /usr/lib/cgi-bin/
- rock@rabian-rock:~/tmp$ ls /home/rock/sintel_trailer-1080p.mp4
- /home/rock/sintel_trailer-1080p.mp4
- rock@rabian-rock:~/tmp$ sudo vi /etc/sudoers
- rock@rabian-rock:~/tmp$ sudo su
- root@rabian-rock:/home/rock/tmp# vi /etc/sudoers
- root@rabian-rock:/home/rock/tmp# sudo usermod -aG sudo www-data
- root@rabian-rock:/home/rock/tmp# sudo setcap CAP_SYS_ADMIN+ep /usr/local/bin/macplayer
- root@rabian-rock:/home/rock/tmp# ls
- installmacplayer.sh macplay.cgi prepare_upload.sh set720p.sh
- logmacplayer macplay_socket sendkeymacplayer
- macplay macplayer set1080p.sh
- root@rabian-rock:/home/rock/tmp# reboot
- Connection to rabian-rock closed by remote host.
- Connection to rabian-rock closed.
- marc@marc-laptop-2:~$ _rabian-rock
- Warning: the RSA host key for 'rabian-rock' differs from the key for the IP address '192.168.123.30'
- Offending key for IP in /home/marc/.ssh/known_hosts:54
- Matching host key in /home/marc/.ssh/known_hosts:15
- Are you sure you want to continue connecting (yes/no)? yes
- rock@rabian-rock's password:
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Wed Feb 15 05:18:37 2017 from marc-laptop-2
- rock@rabian-rock:~$ macplay "http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30"
- + SOCKIN=50505
- + SOCKOUT=60606
- + echo '<br>'
- <br>
- + '[' -z 'http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30' ']'
- + '[' 109 = 1 ']'
- + echo '/usr/local/sbin/macplay: play '\''http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30'\'' <br>'
- /usr/local/sbin/macplay: play 'http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30' <br>
- ++ ps -ef
- ++ grep macplayer
- ++ wc -l
- + '[' 1 = 1 ']'
- + sudo pkill -9 macplayer
- + sudo pkill -9 surfaceflinger
- + FILE='http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30'
- + BIN=/usr/local/bin/macplayer
- + screen -d -m sudo su -c 'macplay_socket 50505 60606 '\''http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30'\'''
- + export DISPLAY=:0.0
- + DISPLAY=:0.0
- + xrefresh
- rock@rabian-rock:~$ sudo su
- root@rabian-rock:/home/rock# macplay_socket 50505 60606 'http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30'
- + socat -T1 - udp4-listen:50505,reuseaddr,fork
- /usr/local/sbin/macplay_socket: line 4: socat: command not found
- + macplayer 'http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30'
- ++ socat - udp-sendto:127.0.0.1:60606
- /usr/local/sbin/macplay_socket: line 4: socat: command not found
- ++ ps -ef
- ++ grep 50505
- ++ awk '{print $2}'
- ++ xargs kill -9
- Killed
- root@rabian-rock:/home/rock# sudo apt-get install socat
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
- libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libirs-export91
- libisccfg-export90 libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal
- Use 'apt-get autoremove' to remove them.
- The following NEW packages will be installed:
- socat
- 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
- Need to get 314 kB of archives.
- After this operation, 796 kB of additional disk space will be used.
- Get:1 http://http.debian.net/debian/ jessie/main socat armhf 1.7.2.4-2 [314 kB]
- Fetched 314 kB in 3s (92.0 kB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_TIME = "nl_NL.UTF-8",
- LC_MONETARY = "nl_NL.UTF-8",
- LC_ADDRESS = "nl_NL.UTF-8",
- LC_TELEPHONE = "nl_NL.UTF-8",
- LC_NAME = "nl_NL.UTF-8",
- LC_MEASUREMENT = "nl_NL.UTF-8",
- LC_IDENTIFICATION = "nl_NL.UTF-8",
- LC_NUMERIC = "nl_NL.UTF-8",
- LC_PAPER = "nl_NL.UTF-8",
- LANG = "C.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to a fallback locale ("C.UTF-8").
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package socat.
- (Reading database ... 232455 files and directories currently installed.)
- Preparing to unpack .../socat_1.7.2.4-2_armhf.deb ...
- Unpacking socat (1.7.2.4-2) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Setting up socat (1.7.2.4-2) ...
- root@rabian-rock:/home/rock# macplay_socket 50505 60606 'http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30'
- + socat -T1 - udp4-listen:50505,reuseaddr,fork
- + macplayer 'http://www.video-unified.com/4K/Transformer/Transformer.ayk/Transformer.m3u8?debit_max=8000000&debut=1&fin=30'
- ++ socat - udp-sendto:127.0.0.1:60606
- X11 connection rejected because of wrong authentication.
- ^C++ grep 50505
- ++ xargs kill -9
- ++ ps -ef
- ++ awk '{print $2}'
- Killed
- root@rabian-rock:/home/rock# exit
- exit
- rock@rabian-rock:~$ ps -ef
- UID PID PPID C STIME TTY TIME CMD
- root 1 0 1 05:39 ? 00:00:02 /sbin/init
- root 2 0 0 05:39 ? 00:00:00 [kthreadd]
- root 3 2 0 05:39 ? 00:00:00 [ksoftirqd/0]
- root 4 2 0 05:39 ? 00:00:00 [kworker/0:0]
- root 5 2 0 05:39 ? 00:00:00 [kworker/u:0]
- root 6 2 0 05:39 ? 00:00:00 [migration/0]
- root 7 2 0 05:39 ? 00:00:00 [migration/1]
- root 8 2 0 05:39 ? 00:00:00 [kworker/1:0]
- root 9 2 0 05:39 ? 00:00:00 [ksoftirqd/1]
- root 10 2 0 05:39 ? 00:00:00 [migration/2]
- root 11 2 0 05:39 ? 00:00:00 [kworker/2:0]
- root 12 2 0 05:39 ? 00:00:00 [ksoftirqd/2]
- root 13 2 0 05:39 ? 00:00:00 [migration/3]
- root 14 2 0 05:39 ? 00:00:00 [kworker/3:0]
- root 15 2 0 05:39 ? 00:00:00 [ksoftirqd/3]
- root 16 2 0 05:39 ? 00:00:00 [khelper]
- root 17 2 0 05:39 ? 00:00:00 [suspend_sys_syn]
- root 18 2 0 05:39 ? 00:00:00 [suspend]
- root 19 2 1 05:39 ? 00:00:04 [kconsole]
- root 20 2 0 05:39 ? 00:00:00 [sync_supers]
- root 21 2 0 05:39 ? 00:00:00 [bdi-default]
- root 22 2 0 05:39 ? 00:00:00 [kblockd]
- root 23 2 0 05:39 ? 00:00:00 [khubd]
- root 24 2 0 05:39 ? 00:00:00 [irq/58-rk30-adc]
- root 25 2 0 05:39 ? 00:00:00 [kworker/0:1]
- root 26 2 0 05:39 ? 00:00:00 [cfg80211]
- root 27 2 0 05:39 ? 00:00:00 [fb-vsync]
- root 28 2 0 05:39 ? 00:00:00 [fb-vsync]
- root 29 2 0 05:39 ? 00:00:00 [hdmi-it66121]
- root 30 2 0 05:39 ? 00:00:01 [kworker/u:1]
- root 31 2 0 05:39 ? 00:00:00 [it66121 irq]
- root 32 2 0 05:39 ? 00:00:00 [cfinteractive]
- root 33 2 0 05:39 ? 00:00:00 [kworker/u:2]
- root 34 2 0 05:39 ? 00:00:00 [rk3188_cpufreqd]
- root 35 2 0 05:39 ? 00:00:00 [irq/42-vdpu]
- root 36 2 0 05:39 ? 00:00:00 [irq/41-vepu]
- root 37 2 0 05:39 ? 00:00:00 [kswapd0]
- root 38 2 0 05:39 ? 00:00:00 [ksmd]
- root 39 2 0 05:39 ? 00:00:00 [fsnotify_mark]
- root 40 2 0 05:39 ? 00:00:00 [crypto]
- root 54 2 0 05:39 ? 00:00:00 [irq/95-rga]
- root 61 2 0 05:39 ? 00:00:00 [f_mtp]
- root 62 2 0 05:39 ? 00:00:00 [file-storage]
- root 63 2 0 05:39 ? 00:00:00 [irq/173-rtc_hym]
- root 64 2 0 05:39 ? 00:00:00 [binder]
- root 65 2 0 05:39 ? 00:00:00 [krfcommd]
- root 66 2 0 05:39 ? 00:00:00 [ddrtestd]
- root 67 2 0 05:39 ? 00:00:00 [ddrfreqd]
- root 74 2 0 05:39 ? 00:00:00 [kworker/2:1]
- root 75 2 0 05:39 ? 00:00:00 [rknand_buffer]
- root 76 2 0 05:39 ? 00:00:00 [rk_ftl_gc]
- root 77 2 0 05:39 ? 00:00:00 [mtdblock0]
- root 78 2 0 05:39 ? 00:00:00 [mtdblock1]
- root 79 2 0 05:39 ? 00:00:00 [mtdblock2]
- root 80 2 0 05:39 ? 00:00:00 [mtdblock3]
- root 81 2 2 05:39 ? 00:00:07 [mtdblock4]
- root 86 2 0 05:39 ? 00:00:00 [kworker/3:1]
- root 126 2 0 05:39 ? 00:00:00 [kworker/1:1]
- root 129 2 0 05:39 ? 00:00:00 [jbd2/mtdblock4-]
- root 130 2 0 05:39 ? 00:00:00 [ext4-dio-unwrit]
- root 131 2 0 05:39 ? 00:00:00 [ax88772a]
- root 132 2 0 05:39 ? 00:00:00 [kworker/0:2]
- root 149 2 0 05:39 ? 00:00:00 [flush-31:4]
- root 150 2 0 05:39 ? 00:00:00 [kauditd]
- root 155 1 0 05:39 ? 00:00:01 /lib/systemd/systemd-journald
- root 156 1 0 05:39 ? 00:00:00 /lib/systemd/systemd-udevd
- root 385 1 1 05:39 ? 00:00:02 /usr/sbin/NetworkManager --no-da
- root 388 1 0 05:39 ? 00:00:00 /usr/sbin/sshd -D
- root 396 1 0 05:39 ? 00:00:00 /usr/sbin/cron -f
- root 398 2 0 05:39 ? 00:00:00 [loop0]
- root 399 1 0 05:39 ? 00:00:00 /usr/sbin/ModemManager
- root 402 2 0 05:39 ? 00:00:00 [ext4-dio-unwrit]
- root 418 2 0 05:39 ? 00:00:00 [mali_freq_workq]
- root 422 1 0 05:39 ? 00:00:00 /system/bin/servicemanager --sta
- root 456 1 0 05:39 ? 00:00:00 /system/bin/mediaserver
- root 539 1 0 05:39 ? 00:00:00 /lib/systemd/systemd-logind
- ntp 768 1 0 05:39 ? 00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.
- avahi 811 1 0 05:39 ? 00:00:00 avahi-daemon: running [rabian-ro
- message+ 847 1 0 05:39 ? 00:00:02 /usr/bin/dbus-daemon --system --
- Debian-+ 856 1 0 05:39 ? 00:00:00 /usr/sbin/exim4 -bd -q30m
- avahi 861 811 0 05:39 ? 00:00:00 avahi-daemon: chroot helper
- root 865 1 0 05:39 ? 00:00:00 /usr/sbin/apache2 -k start
- www-data 869 865 0 05:39 ? 00:00:00 /usr/sbin/apache2 -k start
- www-data 870 865 0 05:39 ? 00:00:00 /usr/sbin/apache2 -k start
- www-data 871 865 0 05:39 ? 00:00:00 /usr/sbin/apache2 -k start
- www-data 872 865 0 05:39 ? 00:00:00 /usr/sbin/apache2 -k start
- www-data 873 865 0 05:39 ? 00:00:00 /usr/sbin/apache2 -k start
- root 876 1 0 05:39 ? 00:00:00 /usr/sbin/syslog-ng -F
- root 879 2 0 05:39 ? 00:00:00 [ksdioirqd/mmc1]
- root 907 1 1 05:40 ? 00:00:02 /usr/lib/policykit-1/polkitd --n
- root 915 1 0 05:40 tty1 00:00:00 /sbin/agetty --noclear tty1 linu
- root 921 1 0 05:40 ttyFIQ0 00:00:00 /sbin/agetty --keep-baud 115200
- root 929 1 0 05:40 ? 00:00:00 /usr/sbin/lightdm
- root 930 2 0 05:40 ? 00:00:00 [kworker/0:3]
- root 935 929 2 05:40 tty7 00:00:05 /usr/bin/X :0 -seat seat0 -auth
- root 939 2 0 05:40 ? 00:00:00 [RTW_XMIT_THREAD]
- root 940 2 0 05:40 ? 00:00:01 [RTW_CMD_THREAD]
- root 941 2 0 05:40 ? 00:00:00 [RTWHALXT-wlan1]
- root 942 2 0 05:40 ? 00:00:00 [RTWHALXT-p2p0]
- root 945 929 0 05:40 ? 00:00:00 lightdm --session-child 13 16
- root 946 1 0 05:40 ? 00:00:00 /sbin/wpa_supplicant -u -s -O /r
- root 953 385 0 05:40 ? 00:00:00 /sbin/dhclient -d -q -sf /usr/li
- rock 955 1 0 05:40 ? 00:00:00 /lib/systemd/systemd --user
- rock 957 955 0 05:40 ? 00:00:00 (sd-pam)
- rock 960 945 0 05:40 ? 00:00:00 x-session-manager
- rock 1029 960 0 05:40 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus
- rock 1033 1 0 05:40 ? 00:00:00 /usr/bin/dbus-launch --exit-with
- rock 1036 1 0 05:40 ? 00:00:00 /usr/bin/dbus-daemon --fork --pr
- rock 1040 1 0 05:40 ? 00:00:00 /usr/lib/dconf/dconf-service
- rock 1050 1 0 05:40 ? 00:00:00 gnome-keyring-daemon --start
- rock 1055 960 0 05:40 ? 00:00:01 /usr/bin/mate-settings-daemon
- rock 1057 960 0 05:40 ? 00:00:00 marco
- rock 1062 960 0 05:40 ? 00:00:01 mate-panel
- rock 1064 1 0 05:40 ? 00:00:00 /usr/lib/gvfs/gvfsd
- rock 1085 960 1 05:40 ? 00:00:02 caja
- rock 1087 1 0 05:40 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volum
- rock 1089 960 0 05:40 ? 00:00:01 /usr/bin/python /usr/bin/blueman
- root 1090 1 0 05:40 ? 00:00:00 /usr/lib/udisks2/udisksd --no-de
- rock 1092 960 3 05:40 ? 00:00:07 nm-applet
- rock 1099 960 0 05:40 ? 00:00:00 /usr/lib/arm-linux-gnueabihf/pol
- rock 1105 960 0 05:40 ? 00:00:00 mate-screensaver
- rock 1109 960 0 05:40 ? 00:00:00 mate-power-manager
- rock 1113 1 0 05:40 ? 00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-mo
- rock 1120 1 0 05:40 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volum
- rock 1126 1 0 05:40 ? 00:00:00 /usr/lib/at-spi2-core/at-spi-bus
- rock 1134 1 0 05:40 ? 00:00:00 /usr/lib/gvfs/gvfs-goa-volume-mo
- rock 1135 1126 0 05:40 ? 00:00:00 /usr/bin/dbus-daemon --config-fi
- rock 1138 1 0 05:40 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw
- rock 1140 1 0 05:40 ? 00:00:00 /usr/lib/at-spi2-core/at-spi2-re
- rock 1149 1 0 05:40 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-mo
- root 1155 1 0 05:40 ? 00:00:00 /usr/lib/upower/upowerd
- rock 1159 1 0 05:40 ? 00:00:00 /usr/lib/mate-panel/wnck-applet
- rock 1180 1 0 05:40 ? 00:00:00 /usr/lib/mate-panel/clock-applet
- rock 1181 1 1 05:40 ? 00:00:02 /usr/lib/mate-panel/notification
- rock 1183 1 0 05:40 ? 00:00:00 /usr/lib/arm-linux-gnueabihf/gco
- root 1190 2 0 05:40 ? 00:00:00 [kworker/1:2]
- root 1195 2 0 05:40 ? 00:00:00 [kworker/2:2]
- root 1205 2 0 05:40 ? 00:00:00 [kworker/3:2]
- www-data 1227 865 0 05:40 ? 00:00:00 /usr/sbin/apache2 -k start
- root 1279 388 0 05:41 ? 00:00:00 sshd: rock [priv]
- rock 1281 1279 0 05:41 ? 00:00:00 sshd: rock@pts/0
- rock 1282 1281 0 05:41 pts/0 00:00:00 -bash
- root 1421 1 1 05:43 ? 00:00:00 /usr/lib/packagekit/packagekitd
- www-data 1503 1 0 05:43 ? 00:00:00 SCREEN -d -m sudo su -c macplay_
- root 1505 1503 0 05:43 pts/1 00:00:00 sudo su -c macplay_socket 50505
- root 1506 1505 0 05:43 pts/1 00:00:00 su -c macplay_socket 50505 60606
- root 1507 1 1 05:43 ? 00:00:00 /lib/systemd/systemd --user
- root 1508 1507 0 05:43 ? 00:00:00 (sd-pam)
- root 1510 1506 0 05:43 ? 00:00:00 /bin/bash /usr/local/sbin/macpla
- root 1511 1510 0 05:43 ? 00:00:00 socat -T1 - udp4-listen:50505,re
- root 1512 1510 16 05:43 ? 00:00:00 macplayer http://www.video-unifi
- root 1513 1510 0 05:43 ? 00:00:00 /bin/bash /usr/local/sbin/macpla
- root 1514 1513 0 05:43 ? 00:00:00 /bin/bash /usr/local/sbin/macpla
- root 1515 1514 1 05:43 ? 00:00:00 socat - udp-sendto:127.0.0.1:606
- root 1519 1 3 05:43 ? 00:00:00 /system/bin/surfaceflinger
- rock 1558 1282 0 05:43 pts/0 00:00:00 ps -ef
- rock@rabian-rock:~$
- rock@rabian-rock:~$
- rock@rabian-rock:~$ sudo reboot
- Connection to rabian-rock closed by remote host.
- Connection to rabian-rock closed.
- marc@marc-laptop-2:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement