This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/bash/ | |
cd ~/p2psp-console/bin/ | |
cvlc Big_Buck_Bunny_small.ogv --sout "#http{mux=ogg,dst=:8080/BBB.ogv}" :sout-keep & | |
./splitter --source_addr 127.0.0.1 --source_port 8080 --splitter_port 8001 --channel BBB.ogv --header_size 30000 > /dev/null & | |
./monitor --splitter_addr 127.0.0.1 --splitter_port 8001 --player_port 9000 > /dev/null & | |
vlc http://localhost:9000 & | |
./peer --splitter_addr 127.0.0.1 --splitter_port 8001 --player_port 10000 & | |
vlc http://localhost:10000 & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/bash/ | |
cd ~/p2psp-console/bin/ | |
echo "Killing all VLC instances (sources and listeners)" | |
killall vlc | |
sleep 1 | |
echo "Create two sources" | |
cvlc ~/Videos/Big_Buck_Bunny_small.ogv --sout "#std{access=shout,mux=ogg,dst=source:hackme@localhost:8000/BBBs.ogv}" --loop & | |
sleep 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using Peer_DBS | |
2017-03-03 00:58:34.242514 [33m/home/anuraag/core/src/core/peer_core.cc:25: TRACE: Compiled with directive: __D__[0m | |
2017-03-03 00:58:34.242896 [33m/home/anuraag/p2psp-console/src/peer.cc:151: TRACE: Console initialized[0m | |
2017-03-03 00:58:34.242943 [33m/home/anuraag/p2psp-console/src/peer.cc:490: TRACE: Player port = 10000[0m | |
Waiting for the player at (0.0.0.0,10000) | |
2017-03-03 00:58:34.728819 [33m/home/anuraag/p2psp-console/src/peer.cc:330: TRACE: Player connected. Player is (127.0.0.1,58794)[0m | |
Player connected | |
2017-03-03 00:58:34.732243 [33m/home/anuraag/p2psp-console/src/peer.cc:505: TRACE: Splitter address = 127.0.0.1[0m | |
2017-03-03 00:58:34.732332 [33m/home/anuraag/p2psp-console/src/peer.cc:515: TRACE: Splitter port = 8001[0m | |
2017-03-03 00:58:34.734205 [33m/home/anuraag/p2psp-console/src/peer.cc:521: TRACE: Connected to the splitter[0m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anuraag@anu123:~$ lsof -Pi :9999 -sTCP:LISTEN -t | |
anuraag@anu123:~$ lsof -Pi :8080 -sTCP:LISTEN -t | |
anuraag@anu123:~$ cd Documents/Codes/automatic-test/ | |
anuraag@anu123:~/Documents/Codes/automatic-test$ ./Original2.sh -a 1 | |
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) | |
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) | |
[00005595a58577b8] dummy interface: using the dummy interface module... | |
[00005652c1763148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. | |
[00007facc84c8d18] mux_ogg mux: Open | |
[00007fb46c000e28] http access error: error: HTTP/1.0 404 Client error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#rm /home/hackerman/TecMul/TM/*.txt #Cambiar ruta por la que contenga los txt | |
#cd /home/hackerman/p2psp-console/bin/ #Cambiar ruta por la que tenga el p2psp-console | |
cd ~/p2psp-console/bin/ | |
while getopts "a:" opt; do | |
case ${opt} in | |
a) | |
NUM_PEERS="${OPTARG}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# rm /home/hackerman/TecMul/TM/*.txt #Cambiar ruta por la que contenga los txt #Change route containing the txt | |
cd ~/p2psp-console/bin/ #Cambiar ruta por la que tenga el p2psp-console #Change path for the p2psp-console | |
#clear | |
#echo -e "\n\nKilling All VLC\n\n" | |
#killall Vlc | |
while getopts "a:" opt; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./basic_test.sh -a 1 | |
TIME is - 20 | |
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) | |
#################### PORT IS 11160 ##################### | |
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) | |
[0000556d87bdd588] dummy interface: using the dummy interface module... | |
[00007fdb504c8d18] mux_ogg mux: Open | |
[00005619fcb31148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. | |
[00007f14e4000e68] http access error: error: HTTP/1.0 404 Client error | |
[00007f14e4000e68] core access error: read error: Connection reset by peer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./Orig.sh -a 1 | |
53400 | |
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) | |
[0000557902d0c148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. | |
[00007fbc94000e28] core access error: read error: Connection reset by peer | |
[00007fbc94000e28] http access error: failed to read answer | |
[00007fbc94000e28] core access error: connection failed: Connection refused | |
[00007fbc94000e28] http access error: cannot connect to localhost:9999 | |
[00007fbc94000e28] access_mms access error: cannot connect to localhost:9999 | |
QObject::~QObject: Timers cannot be stopped from another thread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./Orig2.sh -a 1 | |
11608 | |
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) | |
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) | |
[0000563c3b3ca758] dummy interface: using the dummy interface module... | |
[00007f05b04c8d18] mux_ogg mux: Open | |
[000055690eb2b148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. | |
[00007fdd5c000e28] http access error: error: HTTP/1.0 404 Client error | |
[00007fdd5c000e28] http access error: failed to read answer | |
[00007fdd5c000e28] access_mms access error: cannot connect to localhost:9999 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#rm /home/hackerman/TecMul/TM/*.txt #Cambiar ruta por la que contenga los txt | |
#cd /home/hackerman/p2psp-console/bin/ #Cambiar ruta por la que tenga el p2psp-console | |
cd ~/p2psp-console/bin | |
while getopts "a:" opt; do | |
case ${opt} in | |
a) | |
NUM_PEERS="${OPTARG}" |
OlderNewer