Skip to content
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

added support for srt #1616

Closed
wants to merge 1 commit into from
Closed

added support for srt #1616

wants to merge 1 commit into from

Conversation

JoeSchiff
Copy link
Contributor

This will solve: #1503

I would like to set up a test for this, but I don't know how to start streaming a video in pyav. I was able to create a network live stream with this:
ffmpeg -i local_file.mp4 -c:v libx264 -f mpegts 'srt://127.0.0.1:40052?mode=listener&latency=2000000'

I then opened the network stream with:

path = "srt://127.0.0.1:40052?mode=caller"
container = av.open(path)

Pyav decoded the network stream and everything seemed to work.

If anyone knows how to create a network stream in pyav, I could write a test for this.

@JoeSchiff JoeSchiff marked this pull request as draft November 5, 2024 02:03
@JoeSchiff JoeSchiff closed this Nov 5, 2024
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.

1 participant