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

2nd+ streams lead to errors that can cause some players to not work. #22

Closed
noideaman opened this issue Nov 14, 2021 · 12 comments
Closed
Labels
bug Something isn't working

Comments

@noideaman
Copy link
Contributor

noideaman commented Nov 14, 2021

The first person to get the stream works, video plays back fine.
any one after will get errors that cause the video to freeze or the player to refuse to play

See the attached video

streamissues2.mp4

This happens on lan and over hls proxy.
I have tried changing the type of audio as well happens to both aac and mp3
Using the latest git docker build as well.

@m1k1o
Copy link
Owner

m1k1o commented Nov 14, 2021

Thanks for reporting. My first thought is issue #20. Could you please enable debug logs and see what messages are reported?

In Yaml:

# allow debug outputs
debug: true

@noideaman
Copy link
Contributor Author

noideaman commented Nov 16, 2021

error.log
got the debug output.
hdhomeruns are weird they always out put a bit of garbage (at least primes) at the start.

@m1k1o
Copy link
Owner

m1k1o commented Nov 18, 2021

I can't seem to reproduce it with my source and players (vlc & ffplay). All five clients are running smoothly.

image

@noideaman
Copy link
Contributor Author

Can i get you a box on my network to test on?
it will be windows due to parsec. can msg ya on matrix

@m1k1o
Copy link
Owner

m1k1o commented Nov 19, 2021

Sure. That would help.

@noideaman
Copy link
Contributor Author

got you ready to go, but cant seem to msg you.

@m1k1o
Copy link
Owner

m1k1o commented Nov 20, 2021

I cant seem to message you too. It just keeps loading.

UPDATE: I was able to send invite to your old matirx.net account. So it is maybe some misconfiguration on your server. Do you have enabled federation?

@noideaman
Copy link
Contributor Author

I have federation enabled. it is a docker container, just updated it seems to be having issues no clue as to why

@noideaman
Copy link
Contributor Author

Also i am begingin to think this is more of how the hdhomerun gives the stream out. having the issue with just running ffmpeg out side of go-transocde

@noideaman
Copy link
Contributor Author

noideaman commented Nov 21, 2021

been testing some more have had more luck getting less errors with these flags over the hls muxer

 -segment_list v760.m3u8 \
 -segment_list_type hls \
 -segment_wrap 4 \
 -segment_list_size 4 \
 -segment_list_flags +live \
 -segment_time 2 v760-%03d.ts

@noideaman
Copy link
Contributor Author

noideaman commented Nov 22, 2021

been messing around more. get issues even with those,
Seems to be how hdhomerun hands off the stream.
Only truly stable way is (so far) is to play the video in obs and stream over nginx-rtmp.
It is like the hdhomerun is sending some garbage of some sort randomly, and ffmpeg does not notice and fix.

@m1k1o
Copy link
Owner

m1k1o commented Nov 22, 2021

I would like to look into it and find cause of the problem. Can you give me access to a test stream? Or at least record some portion of it and upload it please here (zipped, so that github cannot try any retranscoding).

@m1k1o m1k1o added the bug Something isn't working label Dec 8, 2021
@m1k1o m1k1o closed this as completed Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants