- Download MP4:
https://github.com/alfg/mp4/blob/master/test/tears-of-steel.mp4?raw=true
- Run
go run mp4_example.go tears-of-steel.mp4
go run mp4_example_2.go tears-of-steel.mp4
import datetime | |
import os | |
from concurrent.futures import ThreadPoolExecutor | |
from requests import get | |
import m3u8 | |
from threefive import decode | |
import time | |
PLAYLIST = "" |
// Guidance: https://www.tenouk.com/Module41c.html | |
#include <arpa/inet.h> | |
#include <array> | |
#include <iostream> | |
#include <netinet/in.h> | |
#include "udpSock.hpp" | |
#include "zz_diagnose.hpp" | |
int main() | |
{ |
# Simple example that receives UDP messages using Python 3 | |
# Guidance: https://wiki.python.org/moin/UdpCommunication | |
import socket | |
UDP_IP = '127.0.0.1' | |
UDP_PORT = 5005 | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
sock.bind((UDP_IP, UDP_PORT)) |