DesktopVideoRecorder is not working

Hello Guys,

I am using dekstopvideorecorder package to record the workflow in my process.
Problem - I am using the version 2.0.2, in which the recorded file gets saved with the valid file size but then the recording is getting corrupted.
Previously I had used the version 1.0.0 and the recording was working and also I was able to play the recording.
Now I am unable to get the older version when I try to install the package.

Please help us with the issue or suggest some alternative.

@testing_da

If you go to versions on marketplace you should be able to see the versions

Cheers

Yeah that’s right but when I install the package I get to see only 2.0.2 version not the older version

@testing_da

after downloading…did you add the package folder in the manage packages?

cheers

HI,

To isolate cause, can you check the following step?

  1. Can you check if you can play 2 mp4 files included in the following sample?
    Theses are recorded by DesktopVideoRecorder in my environment.
    If you cannot play it normaly, it may be codec / decoder matter in your environment.

  2. Next can you run either of the sample xaml file in Studio then check if you can play it?

Sample
Sample20240430-1.zip (264.5 KB)

Regards,

We have tried recording using “RecordDesktopVideoScope” but I am still facing the same issue.
Also not able play 2 mp4 files included in the sample.
I am able to play Few of the recording which was done using version 1.0.0
Getting the below issue in my remote desktop.

I am getting the below screen when i added the packages under manage package

Hi,

It seems strange because I didn’t change default video codec b/w 1.0 and 2.0.

As workaround, you can set specific video codec such as wmv , as the following.

Or it might be good to re-install WindowsMediaPlayer or use any other video player application which supports H.264.

Regards,

@testing_da

you are trying a windows legacy package in windows project i guess

cheers

This solution works
Recording is getting saved but unable to play the recording as it says the file is corrupted.
Same file can be played outside the remote desktop

I have created windows project and using the desktopvideorecorder package

It seems there may be something wrong with your media player in remote desktop environment.

Can any other movie file (mp4 etc.) be played normally in the environment?

Regards,

Yes, as u said it is the issue with the codec.
But I am again making use of Start and stop recording activity in that recording is not getting initiated and file saved will be 1kb
If I make use of RecordDesktopVideoScope process gets recorded and file will be saved with correct file size.

The above sample also includes Sequence.xaml which has Start/StopRecording activity. Does this matter occur in this sample, too? (Please modify FFmepgFilepath property in advance)

Regards,

The code present in the sample provided works fine

Hi,

If you have a trouble, can you set True at Debug property in StartRecording, then check log file?

Or it might be too short to record.

Regards,