Personal tools
You are here: Home Forum Install & build Salome 5.1.3 screen recording problem

Salome 5.1.3 screen recording problem

Up to Install & build

Salome 5.1.3 screen recording problem

Posted by JMB at February 01. 2010

Hello,

 

In the post processing module of Salome 5.1.3 installed as binaries, when I click on the "Record" button I get an error message: "Tool jpeg2yuv, necessary for AVI recording, is not available."  I do have mpegtools installed on the Ubuntu 9.04 Jaunty 64bit PC and:

 

[code]

locate jpeg2yug

which jpeg2yug

[/code]

 

both show "/usr/bin/ jpeg2yug".  Any ideas on what could be wrong or needs to be configured?

 

Regards,

JMB

Re: Salome 5.1.3 screen recording problem

Posted by JMB at February 01. 2010

Correction: In my previous post all references to " jpeg2yug" should be "jpeg2yuv".  Sorry for the typographical error.

Re: Salome 5.1.3 screen recording problem

Posted by DAVID Gilles at February 02. 2010

Hello JMB,

In a new shell, please proceed the following commands:

$ source [SALOME_DIR]/SALOME5/V5_1_3/prerequis-V5_1_3.sh

$ locate jpeg2yug

$ which jpeg2yug

Are the results the same as above ?

 

Regards,

Gilles

Re: Salome 5.1.3 screen recording problem

Posted by JMB at February 02. 2010

Previously DAVID Gilles wrote:

Hello JMB,

In a new shell, please proceed the following commands:

$ source [SALOME_DIR]/SALOME5/V5_1_3/prerequis-V5_1_3.sh

$ locate jpeg2yug

$ which jpeg2yug

Are the results the same as above ?

Regards,

Gilles

locate jpeg2yuv
/usr/bin/jpeg2yuv

which jpeg2yuv
/usr/bin/jpeg2yuv

source /opt/salome_5.1.3/KERNEL_SRC_5.1.3/doc/configuration_examples/example_prerequis.sh

(this is the only thing close to any "prerequis.sh" that is on my PC).  There is no [SALOME_DIR]/SALOME5/V5_1_3/prerequis-V5_1_3.sh.  I tried a "locate prerequis-V5_1_3.sh" which finds nothing even after doing a "sudo updatedb".

Thanks for your reply.

Regards,

JMB

Note: I installed Salome using "InstallWizard_5.1.3_Debian_4.0_64bit" on Ubuntu 9.04 64bit.

 

Re: Salome 5.1.3 screen recording problem

Posted by DAVID Gilles at February 02. 2010

Ok sorry I thought you were using the "universal package" binaries.

Thus I'm afraid I can't help because here we don't have the mpegtools :/

Re: Salome 5.1.3 screen recording problem

Posted by JMB at February 03. 2010

Hello,

In addition to the message: "Tool jpeg2yuv, necessary for AVI recording, is not available." I get "sh: Syntax error: Bad fd number" in the terminal window when I click on the "Record" button.  Does this give anybody any additional clues?

Thanks

JMB

Re: Salome 5.1.3 screen recording problem

Posted by JMB at February 03. 2010

Previously JMB wrote:

Hello,

In addition to the message: "Tool jpeg2yuv, necessary for AVI recording, is not available." I get "sh: Syntax error: Bad fd number" in the terminal window when I click on the "Record" button.  Does this give anybody any additional clues?

Thanks

JMB

I found the fix to my problem!  Because Ubuntu uses /bin/dash unlike other distros which use /bin/bash it causes the "Bad fd number" error.  Once I ran the commands shown below, I am able to record *.avi animations.  However, I do not yet know the full implications of replacing Ubuntu's /bin/dash and would recommend reversing the changes after you are done with Salome's aimation!

# Fix:
sudo mv /bin/sh /bin/sh.orig
sudo ln -s /bin/bash /bin/sh

But Salome's animation is painfully slow even on a relatively new graphics card (nVidia Radeon GeForce8800GTS) which gives a"glxgears" performance of 10,000FPS.  Any way to improve this serious limitation of Salome?  It seriously hampers visualization of modal animations!

Thanks

JMB

Re: Salome 5.1.3 screen recording problem

Posted by JMB at February 04. 2010

Previously JMB wrote:

But Salome's animation is painfully slow even on a relatively new graphics card (nVidia Radeon GeForce8800GTS) which gives a"glxgears" performance of 15,000+ FPS.  Any way to improve this serious limitation of Salome?  It seriously hampers visualization of modal animations!

Thanks

JMB

Hello,

Does anybody have a clue why modal animation "Sweep" is so slow in Salome 5.1.3 (or older versions as well)?

Thanks

JMB

Re: Salome 5.1.3 screen recording problem

Posted by Christophe Bourcier at February 04. 2010

Hi,

have you changed the value of the "Step Delay" to 0, in the tab "Properties", in the dialog box at the bottom right of the window?

Christophe

Re: Salome 5.1.3 screen recording problem

Posted by Eitan at February 04. 2010

Hi JMB

A better solution for the dash - bash in Ubuntu:

sudo dpkg-reconfigure dash

 

and answer the single question "No". Viola, you're back to bash

as /bin/sh, and don't have to "self maintain a hack" .

 

Eitan

Re: Salome 5.1.3 screen recording problem

Posted by JMB at February 04. 2010

Previously Christophe Bourcier wrote:

Hi,

have you changed the value of the "Step Delay" to 0, in the tab "Properties", in the dialog box at the bottom right of the window?

Christophe

Thank you for your reply.  Yes I have tried setting Step Delay to 0.

Also I have tried the "Recording" feature trying both the options (Recording all displayed frames & Recording at a given FPS) with corresponding values set to 1 FPS.  The solution seems to evade me!

Regards,

JMB

Re: Salome 5.1.3 screen recording problem

Posted by JMB at February 04. 2010

Previously Eitan wrote:

Hi JMB

A better solution for the dash - bash in Ubuntu:

sudo dpkg-reconfigure dash

 and answer the single question "No". Viola, you're back to bash

as /bin/sh, and don't have to "self maintain a hack" .

Eitan

Thanks for that tip!

JMB

Re: Salome 5.1.3 screen recording problem

Posted by Johnny at April 08. 2010

Previously JMB wrote:

Previously JMB wrote:

Hello,

In addition to the message: "Tool jpeg2yuv, necessary for AVI recording, is not available." I get "sh: Syntax error: Bad fd number" in the terminal window when I click on the "Record" button.  Does this give anybody any additional clues?

Thanks

JMB

I found the fix to my problem!  Because Ubuntu uses /bin/dash unlike other distros which use /bin/bash it causes the "Bad fd number" error.  Once I ran the commands shown below, I am able to record *.avi animations.  However, I do not yet know the full implications of replacing Ubuntu's /bin/dash and would recommend reversing the changes after you are done with Salome's aimation!

# Fix:
sudo mv /bin/sh /bin/sh.orig
sudo ln -s /bin/bash /bin/sh

But Salome's animation is painfully slow even on a relatively new graphics card (nVidia Radeon GeForce8800GTS) which gives a"glxgears" performance of 10,000FPS.  Any way to improve this serious limitation of Salome?  It seriously hampers visualization of modal animations!

Thanks

JMB

Even with the correct bash shel and the jpeg2yuv installed (ubuntu) I'm not able to save a screen recording. Where should I look?

Johnny

Re: Salome 5.1.3 screen recording problem

Posted by kevin bonnay at April 26. 2010

Hello,

 

I have the same probleme, but the recommanded solution doesn't work for me ?

 

How can I solve this problem ?

Thanks

KB

Re: Salome 5.1.3 screen recording problem

Posted by kevin bonnay at April 26. 2010

Sorry, I forgot some details...

I work with Salome 5.1.2  on Ubuntu 9.04.

Mjpegtools is already installed (via Synaptic) and i found the localisation of jpeg2yuv...

I tried the 2 solution propose but nothing change....

 

Maybe I maked an error at the exportation step : ("export PATH=${INSTALL_ROOT}/mjpegtools-1.8.0/bin:${PATH}")
I wrote it brutally in a terminal...is that good ?

 

Re: Salome 5.1.3 screen recording problem

Posted by Luigi at October 02. 2010

When I run:

sudo dpkg-reconfigure dash

 

I get:

File "<stdin>", line 1
    sudo dpkg-reconfigure dash
            ^
SyntaxError: invalid syntax

This video recording is being very painful ;-(

 

ps I am new to this forum and I found no subscribe threads!

 

 

 

Re: Salome 5.1.3 screen recording problem

Posted by Luigi at October 02. 2010

Previously Luigi wrote:

When I run:

sudo dpkg-reconfigure dash

 

I get:

File "<stdin>", line 1
    sudo dpkg-reconfigure dash
            ^
SyntaxError: invalid syntax

This video recording is being very painful ;-(

 

ps I am new to this forum and I found no subscribe threads!

 

 

 

I probably made a mistake it works Now!

 

Thanks

Re: Salome 5.1.3 screen recording problem

Posted by Charles Petry at November 05. 2010

Previously DAVID Gilles wrote:

Hello JMB,

In a new shell, please proceed the following commands:

$ source [SALOME_DIR]/SALOME5/V5_1_3/prerequis-V5_1_3.sh

$ locate jpeg2yug

$ which jpeg2yug

Are the results the same as above ?

 

Regards,

Gilles

Hello Gilles

After reading diferent posts on Salome forum, I think you might be able to solve my problem, that is apparently quite reccurent : while trying to save an animation as an .avi file, I get the message that jpeg2yuv is missing on my computer. Of course jpeg2yuv is not missing, I checked "which jpeg2yuv" that indicates "/bin/usr/jpeg2yuv" even after sourcing the file "prerequis-V5_1_4.sh"

Have you got a solution to this particular problem ?

Many thanks in advance

Charles

Re: Salome 5.1.3 screen recording problem

Posted by Christophe Bourcier at November 11. 2010

For those who have problems with jpeg2yuv and the "dpkg-reconfigure dash" method didn't work, you can try the following steps, if you have installed the universal binaries 64 bits:

1. download mjpegtools 64 bits debian etch binaries from here: http://dl.free.fr/hqGGXDCvW

2. extract the tarball to the salome prerequisite directory, for instance: /opt/salome/Salome_5.1.4/SALOME5/Prerequis

3. add the path to mjpegtools into the prerequisite environment file: edit prerequis-V5_1_4.sh, at the end of the file, add the lines:

# --------- mjpegtools -------------------
mjpegtools_dir=${INSTALLROOT}/mjpegtools-1.8.0
export PATH=${mjpegtools_dir}/bin:$PATH
export LD_LIBRARY_PATH=${mjpegtools_dir}/lib:${LD_LIBRARY_PATH}

4. Launch Salome and try recording an animation.

Tested on Fedora.

Christophe

Re: Salome 5.1.3 screen recording problem

Posted by Charles Petry at November 18. 2010

Hello Christophe

Thank you for your answer. Unfortunately your solution did not work for me (universal Salome5.1.4 64bit version installed on a Mandriva Cooker).

I give up...

Charles

Re: Salome 5.1.3 screen recording problem

Posted by Yiliaaaa at July 04. 2018

Why not try another comprehensive and powerful Windows screen recording tool? It seems this one you mentioned has limited features and cannot work well. The one I am using now can support a wide range of formats and record any activities on screen in high quality.

Powered by Ploneboard
Document Actions