Capturing remote VNC to x264 without storing first

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm looking for a way to capture a remote VNC display into a local h.264 recording without having to record first in another format and then convert it after the fact. I'd see that it's is possible to use ffmpeg with the x11grab device, but that doesn't seem to work for VNC desktops.



I also looked into using rfbproxy, but it doesn't provide a stream output. It requires you to record first, then stream to stdout in an export format from the recorded file. I attempted to use a named pipe to get around this, but it didn't work.



I want to be able to record 8 hours worth of screen content and then have it available in h.264 nearly immediately after the 8 hours have completed. Also, the machines that will be doing this do not have the storage space for intermediate, lossless formats.



Any ideas?







share|improve this question




















  • First thing that comes to mind: Run a VNC client for the remote display on a virtual X server (Xvfb), use x11grab on that server. A bit inefficient, but should work. Second thing that comes to mind: Copy enough code of vncclient into ffmpeg to give it some kind of vncgrab device, after looking at the code of x11grab. Most efficient way, but needs a bit of time, and programming knowledge.
    – dirkt
    Dec 8 '17 at 11:34














up vote
1
down vote

favorite












I'm looking for a way to capture a remote VNC display into a local h.264 recording without having to record first in another format and then convert it after the fact. I'd see that it's is possible to use ffmpeg with the x11grab device, but that doesn't seem to work for VNC desktops.



I also looked into using rfbproxy, but it doesn't provide a stream output. It requires you to record first, then stream to stdout in an export format from the recorded file. I attempted to use a named pipe to get around this, but it didn't work.



I want to be able to record 8 hours worth of screen content and then have it available in h.264 nearly immediately after the 8 hours have completed. Also, the machines that will be doing this do not have the storage space for intermediate, lossless formats.



Any ideas?







share|improve this question




















  • First thing that comes to mind: Run a VNC client for the remote display on a virtual X server (Xvfb), use x11grab on that server. A bit inefficient, but should work. Second thing that comes to mind: Copy enough code of vncclient into ffmpeg to give it some kind of vncgrab device, after looking at the code of x11grab. Most efficient way, but needs a bit of time, and programming knowledge.
    – dirkt
    Dec 8 '17 at 11:34












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm looking for a way to capture a remote VNC display into a local h.264 recording without having to record first in another format and then convert it after the fact. I'd see that it's is possible to use ffmpeg with the x11grab device, but that doesn't seem to work for VNC desktops.



I also looked into using rfbproxy, but it doesn't provide a stream output. It requires you to record first, then stream to stdout in an export format from the recorded file. I attempted to use a named pipe to get around this, but it didn't work.



I want to be able to record 8 hours worth of screen content and then have it available in h.264 nearly immediately after the 8 hours have completed. Also, the machines that will be doing this do not have the storage space for intermediate, lossless formats.



Any ideas?







share|improve this question












I'm looking for a way to capture a remote VNC display into a local h.264 recording without having to record first in another format and then convert it after the fact. I'd see that it's is possible to use ffmpeg with the x11grab device, but that doesn't seem to work for VNC desktops.



I also looked into using rfbproxy, but it doesn't provide a stream output. It requires you to record first, then stream to stdout in an export format from the recorded file. I attempted to use a named pipe to get around this, but it didn't work.



I want to be able to record 8 hours worth of screen content and then have it available in h.264 nearly immediately after the 8 hours have completed. Also, the machines that will be doing this do not have the storage space for intermediate, lossless formats.



Any ideas?









share|improve this question











share|improve this question




share|improve this question










asked Dec 7 '17 at 21:20









seanr8

62




62











  • First thing that comes to mind: Run a VNC client for the remote display on a virtual X server (Xvfb), use x11grab on that server. A bit inefficient, but should work. Second thing that comes to mind: Copy enough code of vncclient into ffmpeg to give it some kind of vncgrab device, after looking at the code of x11grab. Most efficient way, but needs a bit of time, and programming knowledge.
    – dirkt
    Dec 8 '17 at 11:34
















  • First thing that comes to mind: Run a VNC client for the remote display on a virtual X server (Xvfb), use x11grab on that server. A bit inefficient, but should work. Second thing that comes to mind: Copy enough code of vncclient into ffmpeg to give it some kind of vncgrab device, after looking at the code of x11grab. Most efficient way, but needs a bit of time, and programming knowledge.
    – dirkt
    Dec 8 '17 at 11:34















First thing that comes to mind: Run a VNC client for the remote display on a virtual X server (Xvfb), use x11grab on that server. A bit inefficient, but should work. Second thing that comes to mind: Copy enough code of vncclient into ffmpeg to give it some kind of vncgrab device, after looking at the code of x11grab. Most efficient way, but needs a bit of time, and programming knowledge.
– dirkt
Dec 8 '17 at 11:34




First thing that comes to mind: Run a VNC client for the remote display on a virtual X server (Xvfb), use x11grab on that server. A bit inefficient, but should work. Second thing that comes to mind: Copy enough code of vncclient into ffmpeg to give it some kind of vncgrab device, after looking at the code of x11grab. Most efficient way, but needs a bit of time, and programming knowledge.
– dirkt
Dec 8 '17 at 11:34















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f409581%2fcapturing-remote-vnc-to-x264-without-storing-first%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f409581%2fcapturing-remote-vnc-to-x264-without-storing-first%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)