无法通过 RTSP 将 x264 视频正确流式传输到移动设备

发布于 2024-09-03 19:35:18 字数 350 浏览 5 评论 0原文

我正在创建类似 YouTube 的网站的移动版本。我将使用 Darwin Streaming Server 来传输使用 x264 和 NeroAAC 压缩并使用 MP4Box 提示的低分辨率剪辑。

当我用 VLC 播放器播放它时,流媒体工作正常,正如预期的那样。当我尝试使用 HTC Hero 打开 URL 时,它会切换到播放器模式,然后开始“加载视频”动画,然后一段时间后显示“无法连接到服务器”。无论比特率如何,DSS 提供的示例电影都可以很好地流式传输。

我尝试了一些编码选项,但总是相同的结果。我怀疑 nocabac 和 level=11 但它没有改变任何东西。

对于这种类型是否有一些更具体的编码选项?

谢谢你!

I'm creating mobile version of YouTube-like website. And i'm going to use Darwin Streaming Server for streaming low-res clips compressed with x264 and NeroAAC and hinted with MP4Box.

When i'm playing it with VLC player streaming works fine, as expected. When i'm trying to open URL with my HTC Hero, it switches to player mode, then starts "loading video" animation, then after some time it shows "unable to connect to server". Sample movies provided with DSS streamed fine regardless bitrate.

I tried few encoding options, but always the same result. I suspect nocabac and level=11 but it didn't changed nothing.

Is there some more specific encoding options for such type?

Thank You!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

大姐,你呐 2024-09-10 19:35:19

264 和 AAC 均受支持,但更好用:

a)RTSP streaming URL for mobile video playback. H.263 video and AMR audio.
or
b)RTSP streaming URL for mobile video playback. MPEG-4 SP video and AAC audio.

Android Streaming 仅支持 3gp 格式文件

 rtsp://myStreamingserver/myvideo.3gp

264 and AAC are supported, but is better to use:

a)RTSP streaming URL for mobile video playback. H.263 video and AMR audio.
or
b)RTSP streaming URL for mobile video playback. MPEG-4 SP video and AAC audio.

Android Streaming is only supported with 3gp format files

 rtsp://myStreamingserver/myvideo.3gp
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文