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
# 3Play_Submit | |
import os | |
import requests | |
from time import sleep | |
# Distribution Reach Production | |
threeplay_key = "" | |
batch_id = "183890" | |
working_dir = "/nfs/automation/reach_distribution/caption_request" |
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
# 3Play_Retrieve | |
import os | |
import requests | |
from datetime import date, timedelta | |
threeplay_host = "https://api.3playmedia.com" | |
# Production | |
threeplay_key = "" | |
batch_id = "" |
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
import cv2 | |
import time | |
# Replace with your NDI camera's stream URL (RTSP, HTTP, etc.) | |
ndi_stream_url = "rtsp://10.39.34.199/live_stream" | |
cap = cv2.VideoCapture(ndi_stream_url) | |
fps = 0 | |
pos = (30, 60) | |
font = cv2.FONT_HERSHEY_SIMPLEX | |
height = 1.5 | |
weight = 3 |
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
import subprocess | |
import requests | |
import json | |
import logging | |
from datetime import datetime | |
# Configure logging | |
logging.basicConfig( | |
filename="rtsp_monitor.log", | |
level=logging.INFO, |
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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Video Stream Recording to S3 with Optional EC2 Transcoding and Live Ingestion | |
Resources: | |
VideoStorageBucket: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: !Sub "${AWS::StackName}-video-storage" | |
VersioningConfiguration: |
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 | |
# Configuration | |
INPUT_STREAM="srt://10.39.33.83:1600?streamid=r=0" # Replace with your RTMP or SRT stream URL | |
DURATION=3 | |
SLOW_FACTOR=0.25 # 0.25x speed = 4x slow motion | |
TEMP_CLIP="temp_clip.mp4" | |
SLOWMO_CLIP="slowmo.mp4" | |
# Output options |
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 | |
export STREAM_URL="rtmp://your.rgnex.server/live" | |
export STREAM_KEY="yourStreamKey" | |
export INPUT_DEVICE="/dev/video0" # For Linux webcam; use "video=YourDeviceName" on Windows | |
LOG_FILE="ffmpeg_stream_$(date +%Y%m%d_%H%M%S).log" | |
# FFmpeg RTMP | |
ffmpeg -f v4l2 -i "$INPUT_DEVICE" \ |
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
<!-- | |
Delete Spot and Proxies, saving metadata and ProRes in Lanpad Backup. | |
--> | |
<workflow xmlns:xsi="" | |
xmlns="" | |
xmlns:nimbus="" | |
xsi:schemaLocation="" | |
id="dmed_admin_deleteSpot" | |
name="Delete Spot" |
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
<!-- | |
Submit Shoots transcript jobs to 3play | |
--> | |
<workflow xmlns:xsi="" | |
xmlns="" | |
xmlns:nimbus="" | |
xsi:schemaLocation="" | |
id="abc_cc_orderShootsTranscript" | |
name="Order EM Shoots Transcripts" |
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
<!-- | |
Creates database entry on media_shuttle_transfers table | |
Database is watched by Python script that sends upload link | |
--> | |
<workflow | |
xmlns:xsi="" | |
xmlns="" | |
xmlns:nimbus="" | |
xsi:schemaLocation="" |
NewerOlder