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

Refactor streaming #8438

Merged
merged 2 commits into from
Feb 13, 2025
Merged

Refactor streaming #8438

merged 2 commits into from
Feb 13, 2025

Conversation

egbertbouman
Copy link
Member

This PR refactors the current broken streaming logic, and addresses various issues causing the videoplayer to stop/crash in the middle of the video.

I've also added a streaming option to the GUI, but enabled it only when in dev mode and using Chrome, since only Chrome supports MKV files (unofficially). As long as the video file is supported by Chrome, it's working fine.

The big remaining issue is that some commonly used audio codes (e.g. (E)AC3) aren't supported, so you'll end up with video without audio. This happens a lot, unfortunately. The next step would be to transcode video files in realtime (with ffmpeg) in order to improve compatibility.

@egbertbouman egbertbouman force-pushed the streaming branch 4 times, most recently from fb7b193 to 765f5d9 Compare February 13, 2025 10:21
@egbertbouman egbertbouman marked this pull request as ready for review February 13, 2025 12:32
@egbertbouman
Copy link
Member Author

validate

@egbertbouman egbertbouman merged commit b2788eb into Tribler:main Feb 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants