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

[error] 792#792: *1035 invalid TS sync byte while reading data, client: 127.0.0.1, server: 0.0.0.0:8002 #218

Open
DavidRadan opened this issue Jan 30, 2025 · 1 comment

Comments

@DavidRadan
Copy link

DavidRadan commented Jan 30, 2025

Hello ,
I think there is a bug with the newer version of srt and nginx .
after nginx build accourding to the guide below we get error on the nginx side - Do you know why maybe ?

Guide
MPEGTS/SRT
Sample ffmpeg command: ffmpeg -re -i test.mp4 -c copy -f mpegts "srt://localhost:7045?streamid={channel}_{stream}"
Supported codecs:

Video: h264 / AVC, h265 / HEVC
Audio: AAC, MP3, AC3, E-AC3, OPUS

FFMPEG Command :
ffmpeg -re -i 1.mp4 -c copy -f mpegts "srt://192.168.0.134:7045?streamid=bb_hd"

Error :
[error] 792#792: *1035 invalid TS sync byte while reading data, client: 127.0.0.1, server: 0.0.0.0:8002
Image

@erankor
Copy link
Collaborator

erankor commented Feb 8, 2025

Hi, you can try to capture the data after the SRT->TCP conversion, and then I can check it out and see if it looks like a valid TS or not. For example, you can start a local TCP server using netcat - nc -l 1234 > dump.ts, and configure nginx-srt-module to proxy to the netcat port, instead of the nginx-mpegts-module port.

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

No branches or pull requests

2 participants