Skip to content

feat: add support for MPEG-TS over unix #4389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jean343
Copy link
Contributor

@jean343 jean343 commented Apr 1, 2025

fixes: #4388

For testing

Settings:

paths:
  ffmpeg:
    source: unix:/tmp/ffmpeg.socket

Populate unix socket:

ffmpeg -re -f lavfi -i testsrc=size=1280x720:rate=30 \
-c:v libx264 -pix_fmt yuv420p -preset ultrafast -b:v 600k \
-f mpegts "unix:/tmp/ffmpeg.socket"

Play the video:

ffplay -i rtsp://localhost:8554/ffmpeg

Copy link

codecov bot commented Apr 10, 2025

Codecov Report

Attention: Patch coverage is 54.00000% with 46 lines in your changes missing coverage. Please review.

Project coverage is 57.22%. Comparing base (edbdd34) to head (01bc131).

Files with missing lines Patch % Lines
internal/staticsources/unix/source.go 60.00% 28 Missing and 8 partials ⚠️
internal/conf/path.go 0.00% 5 Missing ⚠️
internal/core/static_source_handler.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4389      +/-   ##
==========================================
- Coverage   57.23%   57.22%   -0.02%     
==========================================
  Files         204      205       +1     
  Lines       20855    20955     +100     
==========================================
+ Hits        11936    11991      +55     
- Misses       8012     8049      +37     
- Partials      907      915       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow support for MPEG-TS over unix sockets
1 participant