Daily diary

Today, I didn’t worked so much but I solved one problem related the Arch module present in the FreeCAD on the Experimental server. Actually, when I imported Arch module in command line FreeCAD freecadcmd it gave a error “Exception while processing file: drawing.FCMacro [‘module’ object has no attribute ‘updateLocale’]”. It was the bug presented in the FreeCAD command line 0.14 version because in 0.14 version Arch module depended on GUI and in command line FreeCAD, GUI is not present. Then, I upgraded the command line FreeCAD to 0.16 version and after this my problem was solved.

Convert any video into audio on Ubuntu

There are two methods by which you should convert any video in audio on Ubuntu 14.04.

  1. Through command line
  2. By using GUI

Through command line:

First you should install avconv. Just type two command in a terminal for installation.

$ sudo apt-get update
$ sudo apt-get install libav-tools

Writing the given below command for converting video into audio.

$ avconv -i amrit.mp4 -f mp3 amrit.mp3

Some points about the above command:

  • Don’t forget to replace the input file name with your video file name.
  • -i amrit.mp4 is the file that we want to convert (-i = -input).
  • -f mp3 is the format we want our output file to use it, you can switch to “wav” or “webm” if you want.
  • amrit.mp3 is the name of the output file.

By using GUI:

  1. First step you should install winff. For installing winff open a terminal and type the following commands:
    $ sudo apt-get install winff libavcodec-extra
  2. Second step is to open winff. Write a single command to open winff.
    $ winff

    By writing a above command Winff window is open like this

    open

  3. Then in Winff window, do these
    • Add file
    • Select what catagory to convert (select Audio)
    • Select Audio file format (mp3)
    • Type the output folder for converted file

    For example :

    selection

  4. Then click the Convert button.