【发布时间】:2020-07-28 17:59:16
【问题描述】:
我在使用 Ziggeo Recorder 拍摄高清视频时遇到困难。
我已经设置了一个记录器,基本上,它是 Ziggeo 托管解决方案的克隆:
<script>
$(document).ready( function() {
//assigning the event handler for click on the Next button on first screen
$("#step1 button").on("click", function() {
//hide first screen
$("#step1").hide();
//show second screen
$("#step2").show();
//add our embedding to the page
var recorder = new ZiggeoApi.V2.Recorder({
//we find the element with id="recorder" to attach v2 recorder to it
element: document.getElementById("recorder"),
attrs: {
//we make the recorder responsive
responsive: true,
//we set the max time for recording to 120 seconds
timelimit: 2 * 60,
theme: "modern",
video_width: 1920,
video_height: 1080,
video_profile_transcoding: "HDcapture",
hd: true,
//we add name and email to the video as a custom data
"custom-data": {
name: $("#name").val(),
email: $("#email").val()
}
}
});
//we activate the recorder
recorder.activate();
recorder.on("verified", function() {
//once video is uploaded and seen that it can be processed the verified event fires we show the
// button to Submit the form
$("#step2 button").show();
});
});
//When Submit button is clicked
$("#step2 button").on("click", function() {
//hide second screen showing recorder
$("#step2").hide();
//show the "Thank you" screen
$("#step3").show();
});
});
</script>
我在 attrs 数组中尝试了以下操作,但无济于事。
video_width: 1920,
video_height: 1080,
video_profile_transcoding: "HDcapture",
hd: true,
我设置了一个视频转码配置文件(并将其设为默认),但它无法捕捉。
所有视频都来自:
video_width: 640,
video_heigh: 480,
hd: false,
这些 Ziggeo 支持资源似乎没有回答如何录制高清(w/v2 和 JS)...
https://support.ziggeo.com/hc/en-us/articles/206452028-How-do-I-record-in-HD-
https://ziggeo.com/blog/record-video-in-hd/
而且我在这里看不到对高清的引用: https://ziggeo.com/docs/api
在此先感谢您的帮助或指导。 Ziggeo 产品的承诺很棒——我只需要让它提供高清!
【问题讨论】:
标签: javascript webrtc ziggeo-api ziggeo-sdk