Skip to content

Problem with mpegts+opus #180

@a-ucontrol

Description

@a-ucontrol

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions