Self-hosted app·Video sites and adult platforms
Shaka Packager for HLS
on a dedicated server in Panama City.
Packager HLS VPS or dedicated? Run Shaka Packager v3.9.3 on a Chrome server in PTY1, Panama City: 10 Gbps unmetered under fair use.
- FFmpeg
- nginx
- Docker
PTY1·Panama City
In stockRecommended for this use case
- 10 Gbps portunmetered traffic, fair useIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4KVM console and full rootIncluded
Optional: NVMe +$10 per 2 TB, up to 12 TB · 25 Gbps port +$25 · 32 GB memory +$12
Pay quarterly for 10% less, yearly for 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 12 cores, 24 threads AMD EPYC 4464P
- 3 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Panamanian law
01/06
Short answer.
Yes. Shaka Packager runs on any of our machines, and the one we recommend is the Chrome dedicated server in PTY1, Panama City (AMD EPYC 4464P, 12 cores/24 threads, 64 GB DDR5 ECC, 3 TB NVMe Gen4) at $109.99 a month, paired with a 1 TB object-storage bucket at $7.96 for masters and archives. The packager itself will not be your bottleneck: it remuxes streams that are already encoded into HLS segments and playlists, which costs very little CPU. The encoder in front of it and the bandwidth behind it are where the money goes, and that is why we put video on a dedicated 10 Gbps port with unmetered traffic under fair use rather than on a VPS, where every plan includes a fixed monthly transfer. If you searched for a packager HLS VPS to try out a pipeline, a Pro VPS is fine for that. For paying viewers, take the Chrome.
02/06
What Shaka Packager
is and who maintains it.
Shaka Packager is an open-source packaging and encryption tool from Google's Shaka Project, the same group that publishes Shaka Player. It reads encoded audio, video and subtitles and writes HLS and DASH: media playlists, a master playlist, and segments in fragmented MP4 or MPEG-TS, optionally encrypted with Widevine or raw keys, with more limited support for PlayReady and FairPlay. It handles both VOD files and live input. The project began as edash-packager and took its current name in v1.5.0; since v3.0.0 (February 2024) the Linux releases are fully static executables. The current release as we write is v3.9.3, dated 27 July 2026, published on GitHub and as the google/shaka-packager image on Docker Hub.
Two properties decide how you build around it. It does not encode, so something upstream (FFmpeg on the same box, or an encoder at the studio) has to produce the bitrate ladder. And for live input, UDP MPEG-TS is the only protocol it reads directly; the project's own tutorial sends everything else through FFmpeg first. In practice a contribution feed arrives over SRT, FFmpeg encodes the renditions, and each rendition is handed to the packager over UDP on the loopback interface, where packet loss is not the concern it is on a real network.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
Encoding is another matter. If your ladders arrive pre-encoded from the studio, this server is mostly a file server with a remuxer attached.
Disk follows directly from the ladder. The example below totals about 10.3 Mbps (6, 3 and 1.2 Mbps of video plus 128 kbps AAC), or roughly 4.6 GB per hour of packaged content. That is theoretically about 600 hours on the Chrome's 3 TB, or about 2,300 hours if you grow it to 11 TB with four +2 TB options; the 12 TB per-server ceiling is reachable on Cobalt, Tungsten and Titan, but not exactly on Chrome, because its 3 TB base plus 2 TB steps lands on 11. A live channel with a two-minute window and ten preserved segments keeps around 230 MB on disk at any moment (theoretical), so live output is never what fills the drives.
RAM is where a VOD origin earns or loses its response time. Linux serves hot segments from page cache; on 64 GB, after the OS and an encoder, something like 50 GB is cache, enough for about 18 hours of the 6 Mbps top rung (theoretical). A catalogue whose traffic piles onto new releases lives comfortably in that. A broad long tail pushes reads to NVMe, which copes, but if your analytics show a wide hot set, raise RAM to 128 or 192 GB at $12 per 32 GB. Memory bandwidth is not the limit people fear: the EPYC 4004 parts have two DDR5 channels, and even a saturated 25 Gbps port is about 3.1 GB/s of reads, a small fraction of what two channels deliver.
The port sets the size of your audience. At 10 Gbps and a 6.1 Mbps top rendition, saturation is about 1,630 concurrent viewers; with 20 % headroom, plan on roughly 1,300 (theoretical, before TCP and TLS overhead). The 25 Gbps option moves that to about 3,260.
Location is the other half of the case for PTY1. Viewers in Europe or Asia are better served by a CDN pulling from this origin than by the origin itself.
| Workload | What drives it | Our match |
|---|---|---|
| Packaging only, ladders arrive encoded | Port, disk | Chrome, 10 Gbps; add 25 Gbps when the audience demands it |
| Live encoding + packaging | CPU per channel | Chrome for a few channels; Titan (24/48, 12 memory channels) beyond that |
| VOD origin with a wide hot set | RAM, NVMe | Chrome + RAM and NVMe options, or Tungsten |
| Masters and cold archive | Capacity | 1 TB bucket, larger sizes as it grows |
04/06
Deploying it
on a Chrome.
Order the server with Debian 13: deploy a Chrome in PTY1. Order a 1 TB bucket from the panel; you receive an S3 endpoint and an access key, with the secret key once in a ticket, not a disk. Install Docker Engine from Docker's own apt repository, which lists Debian 13 (Trixie) as supported, and install FFmpeg from Debian itself (apt install ffmpeg, version 7.1.5 in Trixie). We keep FFmpeg on the host because it is the component you will tune and restart most, and there is no official FFmpeg image to pin; the packager and nginx go in containers. Check that the Debian build has SRT with ffmpeg -protocols | grep srt before you rely on it.
The encoder listens for SRT on UDP 9000 and sends each rendition to its own loopback port. Keyframes are forced every two seconds so that six-second segments cut cleanly on every rung.
ffmpeg -hide_banner -loglevel warning \
-i 'srt://0.0.0.0:9000?mode=listener&latency=200000&passphrase=change-this-passphrase' \
-filter_complex '[0:v]split=3[a][b][c];[a]scale=-2:1080[v1];[b]scale=-2:720[v2];[c]scale=-2:480[v3]' \
-map '[v1]' -c:v libx264 -preset veryfast -b:v 6000k -maxrate 6000k -bufsize 12000k \
-force_key_frames 'expr:gte(t,n_forced*2)' -sc_threshold 0 -f mpegts 'udp://127.0.0.1:5001?pkt_size=1316' \
-map '[v2]' -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k -bufsize 6000k \
-force_key_frames 'expr:gte(t,n_forced*2)' -sc_threshold 0 -f mpegts 'udp://127.0.0.1:5002?pkt_size=1316' \
-map '[v3]' -c:v libx264 -preset veryfast -b:v 1200k -maxrate 1200k -bufsize 2400k \
-force_key_frames 'expr:gte(t,n_forced*2)' -sc_threshold 0 -f mpegts 'udp://127.0.0.1:5003?pkt_size=1316' \
-map 0:a:0 -c:a aac -b:a 128k -f mpegts 'udp://127.0.0.1:5004?pkt_size=1316'Run it as a systemd unit with Restart=always. The compose file pins the packager to v3.9.3 and uses host networking so it can bind the loopback ports; the doubled $$ stops Compose from interpolating the segment template.
# /opt/hls/compose.yaml
services:
packager:
image: google/shaka-packager:v3.9.3
network_mode: host
working_dir: /srv/hls/live
volumes:
- /srv/hls:/srv/hls
entrypoint: ["packager"]
command:
- "in=udp://127.0.0.1:5004,stream=audio,init_segment=audio_init.mp4,segment_template=audio_$$Number$$.m4s,playlist_name=audio.m3u8,hls_group_id=audio,hls_name=main"
- "in=udp://127.0.0.1:5001,stream=video,init_segment=1080p_init.mp4,segment_template=1080p_$$Number$$.m4s,playlist_name=1080p.m3u8"
- "in=udp://127.0.0.1:5002,stream=video,init_segment=720p_init.mp4,segment_template=720p_$$Number$$.m4s,playlist_name=720p.m3u8"
- "in=udp://127.0.0.1:5003,stream=video,init_segment=480p_init.mp4,segment_template=480p_$$Number$$.m4s,playlist_name=480p.m3u8"
- "--segment_duration=6"
- "--hls_master_playlist_output=master.m3u8"
- "--hls_playlist_type=LIVE"
- "--time_shift_buffer_depth=120"
- "--preserved_segments_outside_live_window=10"
restart: unless-stopped
nginx:
image: nginx:stable
network_mode: host
volumes:
- /srv/hls:/srv/hls:ro
- ./hls.conf:/etc/nginx/conf.d/default.conf:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
restart: unless-stopped# /opt/hls/hls.conf
server {
listen 443 ssl;
http2 on;
server_name hls.example.com;
ssl_certificate /etc/letsencrypt/live/hls.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/hls.example.com/privkey.pem;
root /srv/hls;
types { application/vnd.apple.mpegurl m3u8; video/mp4 mp4 m4s; }
default_type application/octet-stream;
location ~ \.m3u8$ { add_header Cache-Control "no-cache"; add_header Access-Control-Allow-Origin "*"; }
location /live/ { add_header Cache-Control "public, max-age=60"; add_header Access-Control-Allow-Origin "*"; }
location /vod/ { add_header Cache-Control "public, max-age=604800"; add_header Access-Control-Allow-Origin "*"; }
}The short cache on live segments is deliberate. $Number$ restarts at 1 when the packager restarts, so live segment names get reused, and a long max-age would let a CDN serve yesterday's segment 1 to today's viewers. Clear /srv/hls/live in the unit's ExecStartPre for the same reason. VOD output never changes once written and can be cached for a week. For VOD, the same binary packages files with --hls_playlist_type VOD, run once per title from a script with docker compose run --rm packager and in=title_1080p.mp4,... descriptors in place of the UDP inputs.
On the firewall, expose 443 and 80 (for certificate renewal), and allow UDP 9000 only from your contribution addresses; the hand-off ports 5001–5004 are bound to 127.0.0.1 and never leave the machine. Masters and finished VOD go to the bucket through its S3 API, for example rclone copy /srv/hls/vod pty:masters/vod --transfers 16 after an rclone config create pty s3 provider Other endpoint <endpoint> access_key_id <key> secret_access_key <secret>. An rclone mount of the bucket is acceptable behind nginx for a read-mostly VOD library; do not point live output at a mount.
05/06
Cost.
| Build | Specification | Monthly |
|---|---|---|
| Chrome + 1 TB bucket (our recommendation) | 12/24 cores, 64 GB, 3 TB NVMe, 10 Gbps, 1 TB bucket | $117.95 |
| + 25 Gbps port | as above, 25 Gbps | $142.95 |
| + 64 GB RAM and 8 TB NVMe | 128 GB, 11 TB NVMe, 25 Gbps, 1 TB bucket | $206.95 |
| Tungsten + 25 Gbps + 6 TB NVMe + 1 TB bucket | 16/32 cores, 128 GB, 12 TB NVMe | $227.95 |
| Titan + 25 Gbps + 1 TB bucket | 24/48 cores, 192 GB, 8 TB NVMe, 12 memory channels | $252.95 |
Every dedicated server includes the 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4, a KVM console, full root, DDR5 ECC and NVMe Gen4. The bucket has unlimited traffic in both directions at 5 Gbps and is billed by size only, with no request fees. Quarterly billing takes 10 % off and yearly 25 %, which brings the base Chrome to $98.99 or $82.49 a month. Full prices are on our pricing page.
The routes that look cheaper elsewhere stop being cheap once the payload is video. Cloudflare's Free, Pro and Business CDN terms (updated 28 September 2026) require non-Enterprise customers to use paid products such as Stream to serve video, and reserve the right to limit zones that serve it without them. Amazon CloudFront's pay-as-you-go rate to South America is $0.110 per GB after the first free terabyte, so 100 TB a month to Latin American viewers comes to about $9,690 (theoretical, 1 TB taken as 1,000 GB). CloudFront's flat-rate plans are kinder, with 50 TB per distribution on Pro, Business and Premium (Premium configurable up to 600 TB), but a 10 Gbps port running at half its capacity moves about 1,600 TB a month (theoretical).
Payment is in crypto only (BTC, ETH, XMR, USDT, USDC and others), with balances in US dollars. Top-ups from $250 carry a 15 % bonus, and the unused paid part of a top-up is refundable within 14 days. Ordering is no-KYC: an email address is enough.
06/06
Limits and acceptable
use.
Some material we do not host under any framing: child sexual abuse material, intimate images of real people published without their consent (including synthetic ones), and streams you have no right to redistribute. A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful. The rest is yours to carry, and the server's location changes none of it. Age-assurance laws follow your viewers: in the UK, services that allow pornography have had to run highly effective age assurance since 25 July 2025, and Brazil's ECA Digital (Law 15.211/2025), in force since 17 March 2026, requires reliable age verification from services likely to be accessed by minors wherever they are operated. Performer age and consent records are your obligation under the law of wherever you produce. DRM licences come from Google, Apple or Microsoft, or a DRM vendor, not from us. If your viewer accounts include EU residents, Panama has no EU adequacy decision, so transfers need safeguards such as the 2021 standard contractual clauses. Access logs on your nginx are configured by you.
On jurisdiction, the facts are narrower than some hosts suggest. Article 29 of Panama's Constitution allows private communications to be intercepted only on the order of a judicial authority. The US Department of Justice lists CLOUD Act agreements only with the United Kingdom and Australia, none with Panama, but Panama and the United States have had a mutual legal assistance treaty in force since 1995. Our offshore hosting page sets out the rest.
Catalogue·Options
Every configuration, every option, every price.
Six dedicated servers, all with a 10 Gbps port and unmetered traffic. Add NVMe, memory, a faster port or more addresses when you order.
| Server | CPU | Cores / threads | Memory | Storage | Port, traffic | Price | Order |
|---|---|---|---|---|---|---|---|
| IronEntry level | EPYC 4244P | 6 / 12 | 32 GB DDR5 | 1 TB NVMe | 10 Gbps unmetered | $64.99/mo | Order Iron |
| SteelBalanced | EPYC 4344P | 8 / 16 | 64 GB DDR5 | 2 TB NVMe | 10 Gbps unmetered | $84.99/mo | Order Steel |
| ChromeRecommendedMore cores | EPYC 4464P | 12 / 24 | 64 GB DDR5 | 3 TB NVMe | 10 Gbps unmetered | $109.99/mo | Order Chrome |
| CobaltHigh frequency | EPYC 4564P | 16 / 32 | 96 GB DDR5 | 4 TB NVMe | 10 Gbps unmetered | $139.99/mo | Order Cobalt |
| TungstenLarge memory | EPYC 4584PX | 16 / 32 | 128 GB DDR5 | 6 TB NVMe | 10 Gbps unmetered | $164.99/mo | Order Tungsten |
| TitanMaximum density | EPYC 9254 | 24 / 48 | 192 GB DDR5 | 8 TB NVMe | 10 Gbps unmetered | $219.99/mo | Order Titan |
NVMe can be added in 2 TB steps up to 12 TB.
Every plan
- 10 Gbps port25 Gbps for $25 more
- Unmetered trafficfair use, no per-TB bill
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- KVM consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Can I run Shaka Packager on a VPS instead?
Yes, and for testing a pipeline it is the cheaper choice. VPS traffic is metered, though: the Pro VPS ($22.99) includes 20 TB at 1 Gbps, and the largest, Cloud VPS Titan ($119.99), 100 TB at 5 Gbps. At an average 5 Mbps per viewer, 100 TB is about 44,000 viewer-hours a month (theoretical). The Chrome costs less than Cloud VPS Titan and its 10 Gbps port is unmetered under fair use.
Does Shaka Packager transcode?
No. It packages and encrypts streams that are already encoded. Use FFmpeg, as above, or a hardware encoder upstream, and keep keyframes aligned across the ladder.
Can I put Cloudflare in front of the origin?
Not on Free, Pro or Business for video, under Cloudflare's own terms, unless you move the video into their paid products or take an Enterprise contract. Any CDN that accepts video can pull from a PTY1 origin; keep the short live cache headers shown above.
Will a DMCA notice take my stream down?
A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful.
Can the object-storage bucket be the origin?
It is an S3-compatible bucket, not a block volume, and it suits masters and finished VOD. Live segments belong on local NVMe; read-mostly VOD can sit behind nginx through rclone mount.
How do I reach you?
Open a support ticket from the client panel. Panama Host is operated by Cyber Host International, S.A., Addison House Plaza, 1st floor, Panama City, Panama.
Sources
Every fact on this page, with its source
Checked 3 Nov 2026 unless noted.
Panamanian law and authorities
- Article 29, Constitution of PanamaGaceta Oficial 25176 (Legispan)
EU and other countries
Industry, providers and software
- Shaka Packager releases, v3.9.3 dated 27 July 2026; v3.0.0 (28 February 2024) introduced fully static Linux executables; v1.5.0 renamed the project from edash-packagerGitHub
- Live packaging tutorial: UDP multicast is the only live protocol read directly; other protocols through FFmpegShaka Packager docs
- HLS options (--hls_playlist_type, --time_shift_buffer_depth, --preserved_segments_outside_live_window)Shaka Packager docs
- Docker Engine on Debian, Trixie 13 supportedDocker docs
- FFmpeg 7:7.1.5-0+deb13u1 in Debian stableDebian tracker
- CDN (Free, Pro or Business) terms on video, last updated 28 September 2026Cloudflare Service-Specific Terms
- CloudFront pay-as-you-go rates, South AmericaAWS
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.