我正在使用serviio服务器来流媒体我的视频,我有我的自定义配置文件来收看我的视频:
<Profile id="videoDrive" name="VIDEODRIVE" extendsProfileId="1" alwaysEnableTranscoding="true" selectable="false">
<Transcoding>
<Audio targetContainer="mp3">
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="lpcm" />
<Matches container="adts" />
<Matches container="asf" />
<Matches container="wavpack" />
<Matches container="mpc" />
<Matches container="ape" />
</Audio>
</Transcoding>
<OnlineTranscoding>
<!-- by default transcode for ios / android devices -->
<Video targetContainer="applehttp" targetVCodec="h264" targetACodec="aac" forceStereo="true">
<Matches container="*" />
</Video>
</OnlineTranscoding>
<AlternativeQualities>
<Quality type="MEDIUM">
<Transcoding>
<Video targetContainer="applehttp" targetVCodec="h264" targetACodec="aac" forceStereo="true" >
<Matches container="*" />
</Video>
</Transcoding>
</Quality>
</AlternativeQualities>
<ThumbnailsResolution>HD</ThumbnailsResolution>
<AutomaticImageRotation>true</AutomaticImageRotation>
</Profile>
但是有一个中等质量的小问题,当我转到原始流时,它会播放mp4流,当我下载它时,它会下载mp4文件,
但是当我转到媒体流时,它会下载一个m3u8文件
我也使用Jplayer插件来播放我的视频,原始链接工作正常,但是媒体不能播放,它给出了以下错误:
jPlayer 2.9.2 : id='jquery_jplayer_1' : Error!
Media URL could not be loaded.
Check media URL is valid.
有人知道怎么解决这个问题吗?我真的很想提供一些较低的质量,使其在移动设备上更容易访问。
我尝试将其设置为所有可能的targetContainers,但没有成功。我尝试使用配置文件中的其他构建,但它们都没有提供适用于Jplayer的中/低流
发布于 2015-03-17 15:23:37
这似乎是不可能的:Serviio Forum
https://stackoverflow.com/questions/29074922
复制相似问题