Saturday, 24 June 2017

Converting various old post

Converting various old post


To convert images to pdf or to other formats
in terminal:

      convert *.jpg my_new.pdf
or
   convert *.png my_newpng.pdf 

More here

LibreOffice (OpenOffice) Writer is a great tool for converting images to pdf, as explained here.

convert *.pdf *.jpg




To convert media files, see this. Also, Format Factory works fine in Wine.

To add convert commands to Thunars custom actions or similar (or just run them in terminal in the proper folder):


sudo apt-get install ffmpeg libavcodec-unstripped-52
 
(Multiverse repository has to be enabled.)

Or, in Synaptic, install libavcodec-extra-53.

Then, use such commands to add to Thunar custom actions:

ffmpeg -i %f %f.mp3

or

avconv -i %f %f.mp3 

To see it in a Terminal it should look like:
gnome-terminal --window-with-profile=new1 -e "avconv -i %f %f.mp3" 

(In Gnome Terminal, create a new profile called "new1" and edit it (Edit/Profiles/Title and Command) to When command exits: Hold the Terminal open.)

See this post on how to extract audio from video file without change
download
alternative link download

Like the Post? Do share with your Friends.