Re: interrupted screen recording raw file?

2022-02-11 Thread Tushar Sheth
Helpful- thank you!

On Fri, Feb 11, 2022 at 3:48 PM Mike Jumper  wrote:

> You can avoid this going forward by first checking whether the recording
> file is locked. Guacamole acquires an advisory lock on recordings while
> they are in progress, and releases the lock when they're complete. This is
> how the "guacenc" tool is able to detect in-progress recordings.
>
> - Mike
>
>
> On Fri, Feb 11, 2022, 10:22 Tushar Sheth  wrote:
>
>> That's what I figured- thanks!
>>
>> Tushar
>>
>> On Fri, Feb 11, 2022 at 12:43 PM Nick Couchman  wrote:
>>
>>> On Fri, Feb 11, 2022 at 12:10 PM Tushar Sheth 
>>> wrote:
>>>
 We made a script to automate processing of screen recording raw files
 to mp4.

 The script starts by pushing raw files from our guacamole server to
 google cloud storage and then to a second server where the processing
 happens.

 Of course, we didn't test this enough (argh!!) and our script pushed a
 raw file out of the guac server during an active session that we were
 recording- in other words, the raw file was still getting added to.

 As a result of this, we only have in the raw file what happened before
 the file was pushed. After that, it seems that no further data collection
 for the screen recording occured (no new continuing raw file was created
 for the remainder of the active session).

 I know it's a long shot, but any ideas on whether guacamole may have
 continued building a raw file or collecting that data somewhere?


>>> guacd writes the recording files wherever you've told it to in the
>>> connection parameter, and nowhere else, so if it isn't in that location I
>>> think you're out of luck.
>>>
>>> -NIck
>>>



Re: interrupted screen recording raw file?

2022-02-11 Thread Mike Jumper
You can avoid this going forward by first checking whether the recording
file is locked. Guacamole acquires an advisory lock on recordings while
they are in progress, and releases the lock when they're complete. This is
how the "guacenc" tool is able to detect in-progress recordings.

- Mike


On Fri, Feb 11, 2022, 10:22 Tushar Sheth  wrote:

> That's what I figured- thanks!
>
> Tushar
>
> On Fri, Feb 11, 2022 at 12:43 PM Nick Couchman  wrote:
>
>> On Fri, Feb 11, 2022 at 12:10 PM Tushar Sheth 
>> wrote:
>>
>>> We made a script to automate processing of screen recording raw files to
>>> mp4.
>>>
>>> The script starts by pushing raw files from our guacamole server to
>>> google cloud storage and then to a second server where the processing
>>> happens.
>>>
>>> Of course, we didn't test this enough (argh!!) and our script pushed a
>>> raw file out of the guac server during an active session that we were
>>> recording- in other words, the raw file was still getting added to.
>>>
>>> As a result of this, we only have in the raw file what happened before
>>> the file was pushed. After that, it seems that no further data collection
>>> for the screen recording occured (no new continuing raw file was created
>>> for the remainder of the active session).
>>>
>>> I know it's a long shot, but any ideas on whether guacamole may have
>>> continued building a raw file or collecting that data somewhere?
>>>
>>>
>> guacd writes the recording files wherever you've told it to in the
>> connection parameter, and nowhere else, so if it isn't in that location I
>> think you're out of luck.
>>
>> -NIck
>>
>>>


Re: interrupted screen recording raw file?

2022-02-11 Thread Tushar Sheth
That's what I figured- thanks!

Tushar

On Fri, Feb 11, 2022 at 12:43 PM Nick Couchman  wrote:

> On Fri, Feb 11, 2022 at 12:10 PM Tushar Sheth 
> wrote:
>
>> We made a script to automate processing of screen recording raw files to
>> mp4.
>>
>> The script starts by pushing raw files from our guacamole server to
>> google cloud storage and then to a second server where the processing
>> happens.
>>
>> Of course, we didn't test this enough (argh!!) and our script pushed a
>> raw file out of the guac server during an active session that we were
>> recording- in other words, the raw file was still getting added to.
>>
>> As a result of this, we only have in the raw file what happened before
>> the file was pushed. After that, it seems that no further data collection
>> for the screen recording occured (no new continuing raw file was created
>> for the remainder of the active session).
>>
>> I know it's a long shot, but any ideas on whether guacamole may have
>> continued building a raw file or collecting that data somewhere?
>>
>>
> guacd writes the recording files wherever you've told it to in the
> connection parameter, and nowhere else, so if it isn't in that location I
> think you're out of luck.
>
> -NIck
>
>>


Re: interrupted screen recording raw file?

2022-02-11 Thread Nick Couchman
On Fri, Feb 11, 2022 at 12:10 PM Tushar Sheth 
wrote:

> We made a script to automate processing of screen recording raw files to
> mp4.
>
> The script starts by pushing raw files from our guacamole server to google
> cloud storage and then to a second server where the processing happens.
>
> Of course, we didn't test this enough (argh!!) and our script pushed a raw
> file out of the guac server during an active session that we were
> recording- in other words, the raw file was still getting added to.
>
> As a result of this, we only have in the raw file what happened before the
> file was pushed. After that, it seems that no further data collection for
> the screen recording occured (no new continuing raw file was created for
> the remainder of the active session).
>
> I know it's a long shot, but any ideas on whether guacamole may have
> continued building a raw file or collecting that data somewhere?
>
>
guacd writes the recording files wherever you've told it to in the
connection parameter, and nowhere else, so if it isn't in that location I
think you're out of luck.

-NIck

>


interrupted screen recording raw file?

2022-02-11 Thread Tushar Sheth
We made a script to automate processing of screen recording raw files to
mp4.

The script starts by pushing raw files from our guacamole server to google
cloud storage and then to a second server where the processing happens.

Of course, we didn't test this enough (argh!!) and our script pushed a raw
file out of the guac server during an active session that we were
recording- in other words, the raw file was still getting added to.

As a result of this, we only have in the raw file what happened before the
file was pushed. After that, it seems that no further data collection for
the screen recording occured (no new continuing raw file was created for
the remainder of the active session).

I know it's a long shot, but any ideas on whether guacamole may have
continued building a raw file or collecting that data somewhere?

Tushar