Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.33k stars 576 forks source link

Desktop video recording: Convert .mcrec for a different file format #2573

Closed AntonAndreevichMoroz closed 14 hours ago

AntonAndreevichMoroz commented 3 years ago

I start recording while connected. After stopping, a file with the .mcrec extension is downloaded. In request #956 I found how to reproduce this file. Can you tell us whether the situation with the translation has changed since that time? Is it possible to get avi or mp4 from mcrec file now?

Mfinadmin commented 3 years ago

@AntonAndreevichMoroz

I think it's not implemented. May be it's related to the screen capture technology used by meshcentral and other parameters like file size and server performance etc.....

Ylianst commented 3 years ago

One possible idea could to play back the file and convert it into motion JPEG (.mjpeg). That could be made in JavaScript with JPEG capture as regular intervals. After that, you can convert the file into anything you like using VLC. I looked it up a bit and there does not seem to be a standard format for motion JPEG, but I could look at something VLC supports and implement that. This would be some work.

Jacky0400143 commented 3 years ago

@Ylianst

It will be nice if we could transfer convert it into motion JPEG or some of common format for playback. via VLC

Because I now think of a stupid way to use another Video Record software to record during the playback process.

Ylianst commented 3 years ago

FYI. In upcoming MeshCentral v0.8.74, you can convert the .mcrec to .webm format. That will play in VLC Player and other players. Once published, let me know if it works.

MC2-WebMRecordings

AntonAndreevichMoroz commented 3 years ago

Unfortunately, I don't have this button. Do I need to include or install something additionally? Server version 0.9.18 image

VINISHVV commented 3 years ago

Unfortunately, I don't have this button. Do I need to include or install something additionally? Server version 0.9.18 image

@AntonAndreevichMoroz - Can you switch the language to English and check it once. I think it's not handled in all languages.

AntonAndreevichMoroz commented 3 years ago

Oh yes, you are absolutely right. The button appeared in English localization.

fernandogobah commented 2 years ago

No show button in the version 0.9.77 with language English.

MarkStephan89 commented 8 months ago

No show button in the version 0.9.77 with language English.

same here in version 1.1.22

//edit in chrome it works in english language

trmdi commented 3 weeks ago

Excuse me, why doesn't my player have that button? MeshCentral version: 1.1.33, language: English.

si458 commented 3 weeks ago

@trmdi care to elaborate on that? What button?

Edit. Oh I see, you mean the convert to webm button! I've never seen that button or code before! I will have to look into it

trmdi commented 3 weeks ago

@trmdi care to elaborate on that? What button?

The Convert button in this screenshot: https://github.com/Ylianst/MeshCentral/issues/2573#issuecomment-873678625

si458 commented 3 weeks ago

@trmdi yeh i just re-read the post sorry having mad day! Yeh never seen that button before, let along code to do any converting? Maybe @Ylianst didn't add the code and forgot? Will look into it

trmdi commented 3 weeks ago

For some reason, it's only displayed in Chrome? https://github.com/Ylianst/MeshCentral/blob/7d59210d059d5667735771c3b1bb3b39559a97e0/views/player.handlebars#L451

si458 commented 3 weeks ago

Ahhh always chrome! Everyone says use chrome What about us poor firefox people like me haha Will have a look over weekend see if maybe firefox now supports converting etc :)

trmdi commented 3 weeks ago

I use Edge btw. Please don't forget it. 😂

si458 commented 3 weeks ago

Edge/chrome, same engine under the hood, just a different fancy front end, haha

alltechbob commented 2 weeks ago

Edge/chrome, same engine under the hood, just a different fancy front end, haha

Turns out even though edge is chromium, I still had to download and open it in chrome to get the button.

si458 commented 2 weeks ago

@alltechbob I quickly checked the code. It checks if the browser is CHROME and displays the browser, however if u remove the line and show the button 24/7 it actually works in firefox/edge but the is 1 bug i discovered, u can't run the convert twice! You must refresh the browser page in-between for some reason

si458 commented 14 hours ago

enabled option to show convert to webm for any browser https://github.com/Ylianst/MeshCentral/commit/d9262f7c9da03881fd25c363f717f452d06e117d plz be aware! from my testing you can only run the button ONCE! if you try running it a second time, it generates a javascript error and wont work. you MUST refresh the webpage after clicking the button once this seems to be a BUG but the convert code/framework is a third party and hasnt been updated in years! so this bug will need investigating!