如果没有音频流,流畅的流媒体播放就无法工作
我在使用 Antrica ANT-32000 编码器播放流畅的流时遇到问题,当我录制 ISM 时,我在音频中找不到任何数据,如果我删除它。我正在使用 RTSP 获取流。如果音频流不良则视频无法播放,这是一个已知问题吗? 这是我得到的清单:
<?xml version="1.0" encoding="UTF-8" ?>
- <SmoothStreamingMedia MajorVersion="2" MinorVersion="1" Duration="560592442">
- <StreamIndex Type="video" Url="QualityLevels({bitrate})/Fragments(video={start time})" Name="video" Chunks="8" QualityLevels="1">
<QualityLevel Index="0" Bitrate="500000" MaxWidth="720" MaxHeight="480" FourCC="AVC1" CodecPrivateData="000000016742a01fe7281687b60220000177600057e41c00000301ab3f00000d59f87fffc600000300d59f800006acfc3fffe0400000000168de3c80" />
- <c d="20019673">
<f i="0" s="432020" />
</c>
</StreamIndex>
- <StreamIndex Type="audio" Name="audio" Url="QualityLevels({bitrate})/Fragments(audio={start time})" Language="enn" QualityLevels="1">
<QualityLevel Index="0" AudioTag="255" BitsPerSample="16" PacketSize="2" CodecPrivateData="" />
</StreamIndex>
</SmoothStreamingMedia>
谢谢。
I am having problems playing a smooth stream with the Antrica ANT-32000 encoder, when I record the ISM I get no data in the audio and if I remove it. I am acquiring the stream using RTSP. Is it a known problem that the video isn't able to play if there is a bad audio stream?
This is the manifest I get:
<?xml version="1.0" encoding="UTF-8" ?>
- <SmoothStreamingMedia MajorVersion="2" MinorVersion="1" Duration="560592442">
- <StreamIndex Type="video" Url="QualityLevels({bitrate})/Fragments(video={start time})" Name="video" Chunks="8" QualityLevels="1">
<QualityLevel Index="0" Bitrate="500000" MaxWidth="720" MaxHeight="480" FourCC="AVC1" CodecPrivateData="000000016742a01fe7281687b60220000177600057e41c00000301ab3f00000d59f87fffc600000300d59f800006acfc3fffe0400000000168de3c80" />
- <c d="20019673">
<f i="0" s="432020" />
</c>
</StreamIndex>
- <StreamIndex Type="audio" Name="audio" Url="QualityLevels({bitrate})/Fragments(audio={start time})" Language="enn" QualityLevels="1">
<QualityLevel Index="0" AudioTag="255" BitsPerSample="16" PacketSize="2" CodecPrivateData="" />
</StreamIndex>
</SmoothStreamingMedia>
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保在 Antrica 设置页面中将 AUDIO 设置为 1。另外,请确保在您的网址中使用以下链接链接到它:
camera_ip:554/video1+audio1
。Make sure you set AUDIO to 1 in the Antrica settings page. Also, in your url make sure you link to it using:
camera_ip:554/video1+audio1
.