【发布时间】:2014-07-03 11:22:37
【问题描述】:
我想通过 HLS ASF 文件流式传输 H264 流。我正在使用 VLC 转码为 .ts 文件并创建索引。命令如下所示:
vlc.exe test.asf --sout=#duplicate{dst=std{access=livehttp{seglen=2,delsegs=true,numsegs=2, index=mystream.m3u8,index-url=mystream-## ##.ts},mux=ts{use-key-frames},dst=mystream-####.ts}}
VLC 创建 ts 文件并刷新索引,IIS 发布流,一切正常。但是如果文件中存在间隙,例如没有时间戳从 10 到 20 秒的样本,VLC 将等待 10 秒,然后继续流式传输,这不适合我。 是否有可能以某种方式告诉 vlc 跳过空白?
【问题讨论】:
标签: vlc http-live-streaming transcoding