Unable to Record Video in Jenkins using ffmpeg in Windows System
I am using ffmpeg to capture video while running protractor scripts. Below ffmpeg code is working fine, when I directly run in windows from command line and able to create the video.
C:Jenkinsworkspacetestnode_modulesffmpeg-binariesbinffmpeg.exe -f gdigrab -framerate 30 -s 1024x768 -i desktop -g 1000 -q:v 18 C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg
But when I run the same code through jenkins(installed in windows system), showing below error and video is not getting recorded. Please help me in resolving the issue.
error is :[gdigrab @ 000002395689b400] Capturing whole desktop as 1024x768x32 at (0,0)
error is :[gdigrab @ 000002395689b400] Failed to capture image (error 5)
[gdigrab @ 000002395689b400] Could not find codec parameters for stream 0 (Video: bmp, none, 754987 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, gdigrab, from 'desktop':
Duration: N/A, bitrate: 754987 kb/s
Stream #0:0: Video: bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
Output #0, mpeg, to 'C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg':
Output file #0 does not contain any stream
============================================================
FFMPEG Binary Version used :4.0.0
Windows OS : Windows 10
Jenkins Version : 2.138.2
jenkins video ffmpeg protractor
add a comment |
I am using ffmpeg to capture video while running protractor scripts. Below ffmpeg code is working fine, when I directly run in windows from command line and able to create the video.
C:Jenkinsworkspacetestnode_modulesffmpeg-binariesbinffmpeg.exe -f gdigrab -framerate 30 -s 1024x768 -i desktop -g 1000 -q:v 18 C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg
But when I run the same code through jenkins(installed in windows system), showing below error and video is not getting recorded. Please help me in resolving the issue.
error is :[gdigrab @ 000002395689b400] Capturing whole desktop as 1024x768x32 at (0,0)
error is :[gdigrab @ 000002395689b400] Failed to capture image (error 5)
[gdigrab @ 000002395689b400] Could not find codec parameters for stream 0 (Video: bmp, none, 754987 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, gdigrab, from 'desktop':
Duration: N/A, bitrate: 754987 kb/s
Stream #0:0: Video: bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
Output #0, mpeg, to 'C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg':
Output file #0 does not contain any stream
============================================================
FFMPEG Binary Version used :4.0.0
Windows OS : Windows 10
Jenkins Version : 2.138.2
jenkins video ffmpeg protractor
add a comment |
I am using ffmpeg to capture video while running protractor scripts. Below ffmpeg code is working fine, when I directly run in windows from command line and able to create the video.
C:Jenkinsworkspacetestnode_modulesffmpeg-binariesbinffmpeg.exe -f gdigrab -framerate 30 -s 1024x768 -i desktop -g 1000 -q:v 18 C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg
But when I run the same code through jenkins(installed in windows system), showing below error and video is not getting recorded. Please help me in resolving the issue.
error is :[gdigrab @ 000002395689b400] Capturing whole desktop as 1024x768x32 at (0,0)
error is :[gdigrab @ 000002395689b400] Failed to capture image (error 5)
[gdigrab @ 000002395689b400] Could not find codec parameters for stream 0 (Video: bmp, none, 754987 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, gdigrab, from 'desktop':
Duration: N/A, bitrate: 754987 kb/s
Stream #0:0: Video: bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
Output #0, mpeg, to 'C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg':
Output file #0 does not contain any stream
============================================================
FFMPEG Binary Version used :4.0.0
Windows OS : Windows 10
Jenkins Version : 2.138.2
jenkins video ffmpeg protractor
I am using ffmpeg to capture video while running protractor scripts. Below ffmpeg code is working fine, when I directly run in windows from command line and able to create the video.
C:Jenkinsworkspacetestnode_modulesffmpeg-binariesbinffmpeg.exe -f gdigrab -framerate 30 -s 1024x768 -i desktop -g 1000 -q:v 18 C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg
But when I run the same code through jenkins(installed in windows system), showing below error and video is not getting recorded. Please help me in resolving the issue.
error is :[gdigrab @ 000002395689b400] Capturing whole desktop as 1024x768x32 at (0,0)
error is :[gdigrab @ 000002395689b400] Failed to capture image (error 5)
[gdigrab @ 000002395689b400] Could not find codec parameters for stream 0 (Video: bmp, none, 754987 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, gdigrab, from 'desktop':
Duration: N/A, bitrate: 754987 kb/s
Stream #0:0: Video: bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
Output #0, mpeg, to 'C:JenkinsworkspacetestAutomationVideoAutomation-11-7-2018-17.6.23.mpg':
Output file #0 does not contain any stream
============================================================
FFMPEG Binary Version used :4.0.0
Windows OS : Windows 10
Jenkins Version : 2.138.2
jenkins video ffmpeg protractor
jenkins video ffmpeg protractor
asked Nov 12 at 4:21
Deepak Kumar Susarla
84
84
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255930%2funable-to-record-video-in-jenkins-using-ffmpeg-in-windows-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255930%2funable-to-record-video-in-jenkins-using-ffmpeg-in-windows-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown