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

Problem with mpegts+opus #180

Closed
a-ucontrol opened this issue Mar 31, 2024 · 2 comments · May be fixed by #190
Closed

Problem with mpegts+opus #180

a-ucontrol opened this issue Mar 31, 2024 · 2 comments · May be fixed by #190

Comments

@a-ucontrol
Copy link

a-ucontrol commented Mar 31, 2024

Hello.
I have two mpegts streams.

  1. h264 + aac
  2. h264 + opus

https://github.com/ZLMediaKit/ZLMediaKit was used for live streaming.

docker run -id -p 1935:1935 -p 8080:80 -p 8443:443 -p 8554:554 -p 10000:10000 -p 10000:10000/udp -p 8000:8000/udp -p 9000:9000/udp zlmediakit/zlmediakit:master
ffmpeg -stream_loop -1 -re -i /var/lib/ruware/media/av1-h264-1920x1080_30-opus.mp4 -vcodec copy -acodec aac -f rtsp -rtsp_transport tcp rtsp://127.0.0.1:8554/live/aac &
ffmpeg -stream_loop -1 -re -i /var/lib/ruware/media/av1-h264-1920x1080_30-opus.mp4 -vcodec copy -acodec opus -strict -2 -f rtsp -rtsp_transport tcp rtsp://127.0.0.1:8554/live/opus &

Both work correctly in ffplay:

ffplay http://127.0.0.1:8080/live/aac.live.ts
ffplay http://127.0.0.1:8080/live/opus.live.ts

mpegts.js correctly shows http://127.0.0.1:8080/live/aac.live.ts
but the stream http://127.0.0.1:8080/live/opus.live.ts is not

Sorry for my English

@suzp1984
Copy link
Contributor

suzp1984 commented May 4, 2024

I think #190 can fix this issue.

@a-ucontrol
Copy link
Author

a-ucontrol commented May 4, 2024

Thanks, it works!

I close this issue

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