Project ideas from Hacker News discussions.

MPEG-2 Transport Streams and MOQ: Yes, MPEG-TS Is Still Relevant Today

📝 Discussion Summary (Click to expand)

1. Onboarding by diving deep into specifications
New engineers were often given raw standards documents to study before doing any hands‑on work.
- Balooga: “Graduated from college and day one in my first real job, I was handed a hardcopy of the MPEG‑2 transport stream spec and told to read it and come back with questions.”
- PorciiVorbesc: “Yeah, 15‑30 years ago, when professional experienced SW devs weren’t dime a dozen … you get to read and learn a lot of source code, requirements, specs, design documents and standards, before actually building things.”

2. Applying low‑level spec knowledge to solve concrete problems
Once the spec was understood, engineers used it to implement fixes—bit‑flipping, aspect‑ratio adjustments, or synchronizing streams.
- KaiserPro: “I turned to my toolset … spending the next few days workout out how to flip the aspect ratio bit of the mpeg2 … I did this using perl and binary regex.”
- korhojoa: “I've been struggling with getting carplay to show it's alternate screen … I've tried different kinds of filler, null ts packets, P-frames with no changes, etc.”

3. Debate over MPEG‑TS overhead vs. backward compatibility
Participants argued that the main issue with transport streams is their unnecessary overhead, acknowledging the trade‑off with legacy support.
- wmf: “The real argument about Transport Stream isn't its age but unnecessary overhead. If backwards compatibility is more important than overhead, fine. But acknowledge that there is a tradeoff.”


🚀 Project Ideas

SpecSage – Interactive Standards Learning Hub

Summary

  • Turns dense standards documents (e.g., MPEG‑2 transport stream spec) into searchable, interactive tutorials with visual diagrams, code snippets, quizzes, and a Q&A forum.
  • Core value: Reduces onboarding time from days to hours by letting engineers learn specs hands‑on and ask contextual questions.

Details

Key Value
Target Audience New hires in embedded, broadcast, telecom, and defense teams; engineering managers overseeing onboarding
Core Feature Interactive spec viewer with section‑level annotations, executable examples, and built‑in discussion threads
Tech Stack React + TypeScript frontend, Node.js/Express backend, PostgreSQL, ElasticSearch for full‑text search, Docker
Difficulty Medium
Monetization Revenue-ready: SaaS subscription – $15/user/month (team plans)

Notes

  • HN commenters bemoan being handed a hardcopy spec and told to “read it and come back with questions” (Balooga, PorciiVorbesc); SpecSage gives them a living doc they can annotate and query.
  • Enables faster ramp‑up and reduces reliance on gray‑beard mentors, sparking discussion about modernizing legacy onboarding practices.

TS‑Fix – MPEG‑2 Transport Stream Compliance & Aspect Ratio Automation

Summary

  • CLI/GUI tool that automatically scans MPEG‑2 TS files, corrects aspect‑ratio flags, inserts compliant filler/null packets, and repairs common non‑compliant encoder outputs (e.g., missing PAT/PMT, illegal PID values).
  • Core value: Eliminates manual Perl/binary‑regex scripts and costly commercial hardware for broadcast‑prep workflows.

Details

Key Value
Target Audience Broadcast engineers, video post‑production houses, embedded firmware developers working with MPEG‑TS
Core Feature One‑click compliance fixing + aspect‑ratio conversion (4:3 ↔ 16:9) with logging and batch processing
Tech Stack Rust core (for bit‑level parsing), optional Tauri GUI, FFmpeg libs for verification, CI‑ready Docker image
Difficulty Medium
Monetization Revenue-ready: Per‑seat license – $99/year (volume discounts)

Notes

  • KaiserPro described having to “flip the aspect ratio bit … using perl and binary regex” and dealing with non‑compliant data; TS‑Fix automates exactly that pain point.
  • Provides a concrete utility that HN users could plug into existing ffmpeg pipelines, generating lively discussion about open‑source TS tooling.

StreamKeep – Real‑time TS Filler Injection for Idle Video Streams

Summary

  • Lightweight agent (runs on edge devices or EC2 instances) that monitors an MPEG‑2 TS/H.264 stream and injects appropriate filler (NULL TS packets, SEI NAL units, or SPS/PPS) when video frames pause, preventing decoder loss‑of‑sync.
  • Core value: Solves CarPlay alternate‑screen and similar use‑cases where encoders stop sending frames, keeping downstream decoders locked without needing encoder changes.

Details

Key Value
Target Audience Automotive infotainment integrators, embedded video pipeline developers, IoT video‑streaming services
Core Feature Adaptive filler insertion based on real‑time TS PCR/jitter monitoring, configurable idle‑timeout
Tech Stack C++ (low‑overhead), GStreamer plugins for TS handling, optional eBPF probe for kernel‑level tracing, deployable via Yocto or Docker
Difficulty High
Monetization Hobby (open‑source core) with optional commercial support – $199/year for enterprise SLA

Notes

  • Korhojoa’s comment about CarPlay’s encoder stopping frames and the decoder losing sync after 3 seconds directly matches the problem StreamKeep solves.
  • Offering a lightweight, royalty‑free filler injector invites discussion on HN about real‑time TS robustness and could become a go‑to reference design for automotive video pipelines.

Read Later