Conversion between file formats.

learn more… | top users | synonyms (1)

5
votes
1answer
478 views

Save HTML from clipboard as markdown text

I want to be able to highlight a section of a web page and copy it to the clipboard then save it to my local disk as markdown. I need an efficient way to do that. My current cumbersome method is: ...
5
votes
4answers
7k views

How do I convert FLAC files to AAC (preferrably VBR 320k+)?

I back my CDs up to FLAC and then transcode to AAC (.m4a) files for portability on my android phone and the wife's iPhone. I had been using XLD on Mac and it does a great job but I'd rather not steal ...
0
votes
1answer
222 views

Converting *.ram to *.avi

I just came across an old file witn a ram extension. I've tried viewing it ( just to see what it is ) and am having extreme difficulties. I've tried looking for spftware online and alll I find are ...
2
votes
3answers
2k views

shell command to get pixel size of an image

Is there a shell command that returns the pixel size of an image? I'm trying to produce an animated gif starting from different gifs with different sizes using convert (e.g. convert -delay 50 1.gif ...
1
vote
1answer
341 views

how to pdfjoin landscape and portrait oriented JPEG images to one PDF file?

I have some JPEG files. Most of them are landscape oriented, but some are portrait oriented. I want to combine them into one big PDF file. I tried pdfjoin but this results in all images beeing ...
3
votes
3answers
345 views

Convert old /home from ext3 to ext4

I have an old /home partition, that dates back to former linux systems, and it is still in ext3 format. Whereas the rest of my system, / and some other mounted point are devices formated in ext4. I ...
1
vote
0answers
52 views

Tool to convert between human-readable byte sizes and bare byte counts [duplicate]

Can you recommend a Unix-style tool that converts between human-readable bytesizes (e.g., 10KiB->10240, 10240->10KiB)? By Unix-style I mean that it should do just this (i.e., be just a simple filter ...
4
votes
1answer
369 views

convert man output to ebook format

I can convert man output to PDF. First, man -t grep >grep.ps (grep is just an example; I am not looking for mobile version of grep man page). Then Adobe Distiller converts PostScript to PDF. ...
1
vote
1answer
251 views

Convert ps to pdf by ps2pdf, but the pdf file is not well-behaved

I have a ps file,and converted it to a pdf file using ps2pdf. ps2pdf elden.ps elden.pdf When I open the pdf file in evince, and try to select some text in it using my mouse, the selected content ...
3
votes
0answers
350 views

Catdoc xls2csv converting only one sheet

I have Catdoc's xls2csv installed on Debian/Squeeze. It used to work beautifully when I copied files to a folder like /var/www/xyz, converting all sheets into .csv format, separated by ^L. But now, ...
4
votes
1answer
296 views

Batch conversion of Module files with XMP

I have the following script to convert a big bunch of .MOD and .XM files into Wave format: #!/bin/bash for f in ./XM.* ./MOD.* do xmp $f -d wav -o - | ffmpeg -i - -acodec libmp3lame -ab 320k ...
6
votes
3answers
556 views

How to convert tar file from gnu format to pax format

On the one hand I have a lot of tar files created with gnu format, and on the other hand I have a tool that only supports pax (aka posix) format. I am looking for an easy way to convert the existing ...
6
votes
1answer
789 views

Is it possible the get the original (best) audio quality when using avconv?

In Feb 2011 I had a similar question: ffmpeg and libmp3lame produces bad audio quality? Now I'd like to know if it is possible to the get the original audio quality from a (flash) video? Every time I ...
0
votes
1answer
249 views

what is the best way to convert CRLF to LF and the viceversa for C++ files in my project [duplicate]

Possible Duplicate: How to bulk convert all the file in a file system branch between Unix and Windows line break format? which is the best tool to convert the CRLF to LF for my project in ...
1
vote
0answers
1k views

Migrate from thunderbird to sylpheed while preserving folder structure

Is there an automatic way migrate a thunderbird mailbox to sylpheed while preserving the folder structure. I tried the importexport extension for thunderbird and got a directory with multiple mbox ...
3
votes
4answers
3k views

convert single-page landscape pdf into rescaled double-page portrait pdf

I'm having trouble using convert to do the following: I have a bunch of single-page pdf files whose geometry corresponds to a landscape A4 sheet. The actual content is visually split in 2 pages. ...
3
votes
1answer
811 views

How to convert a PowerPoint ppt file into HTML files?

I have to find a free, gratis command line solution to convert primary Microsoft PowerPoint presentations into HTML files (1 HTML file per foil) on Linux (Debian, OpenSuse). It would be nice if the ...
2
votes
3answers
7k views

How to do I convert an animated gif to an mp4 or mv4 on the command line?

What command would I use to convert an mp4 or mv4 video file to an animated gif, and vice versa. That is, convert a animated gif to a mp4 or mv4.
7
votes
2answers
13k views

How get the best quality when converting from mp4 to avi with ffmpeg?

When I use this, the quality doesn't look bad. ffmpeg -same_quant -i video.mp4 video.avi In the ffmpeg documentation is written: "Note that this is NOT SAME QUALITY. Do not use this option unless ...
2
votes
1answer
2k views

Converting a bootable USB into an ISO image

I know how to make a bootable USB, but how does one make an ISO image out of a bootable USB?
3
votes
2answers
2k views

How to create a single page PDF file out of multiple EPS files with GhostScript

I'm trying to merge eps files into a pdf file using GS, however, I cannot get it to put multiple eps files without page breaks in between even if original files are small. The command I'm using is: ...
2
votes
1answer
1k views

file, awk and iconv to automatically adapt tex-file encoding

I have a set of tex-files with mixed encodings, e.g. (subset of output of file -i *.tex) f1.tex: text/plain; charset=utf-8 f2.tex: text/plain; charset=utf-8 f3.tex: text/x-tex; charset=us-ascii ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
5
votes
1answer
7k views

Encode with ffmpeg using avi to mp4

What command lines to use to convert from avi to mp4, but without destroying the framesize and making the file small as the original size or a little bit bigger, and same thing with mp4 to avi? ...
1
vote
0answers
304 views

ffmpeg: error while running with libx264

Main code: ffmpeg -i 2269801.avi -threads 0 -vcodec libx264 -b 900k -acodec libfaac -ar 44100 -ab 96k -ac 2 earthgirlsareeasy1.mp4 [libx264 @ 0x16cdde10]broken ffmpeg default settings detected ...
3
votes
2answers
3k views

How do I convert a MKV file to H.264/AVC with a resolution of 640x360 using FFMPEG?

I have a MKV video which I want to put in my mobile (a Nokia XM 5800) and based on this I can play H.264/AVC format videos on it. Based on what I have read, the container should be MP4 and I can ...
12
votes
3answers
3k views

Convert Ogv -video to Gif -animation?

I created Ogv -videos with gtk-recordMyDesktop -screecasting program, trying to tackle this problem here with bruteforce over X. You can view the videos with VLC. Now the puzzle is to find some ways ...
3
votes
2answers
502 views

jpg to pdf without data loss

Trying to make such things: 1st step: convert img.jpg img.pdf 2nd step: pdfimages -j img.pdf img1 Comparing source and extracted images in HEX shows difference. How to make such conversion ...
6
votes
1answer
2k views

Invert colors in whole PDF (convertion)

How to create pdf with inverted colours of original one? (Just like inverting whole screen with xcalib -i -a) Preferably : not loosing hyperlinks. But it's not requirement. It would be nice if ...
2
votes
2answers
1k views

Are there command line tool(s) to convert video to WebM format in Debian Squeeze?

I would like to convert some videos to WebM format using Debian Squeeze. I prefer command line tool(s) although gui applications are also welcome. Video formats to convert from would most probably be ...
2
votes
0answers
836 views

Using Image Magick Convert to Change Channel Depth?

I want to change an image depth of bitmap for testing purposes. Right now I am trying to get a 2 bit palette image, and a 4444 Hicolor image. I have a true color bitmap. I used the below command ...
21
votes
9answers
33k views

Converting multiple image files from JPEG to PDF format

I want to convert some files from jpeg to pdf. I am using following command. $ convert image1.jpg image1.pdf But I have 100 images. How should I convert all of them to corresponding pdfs? I ...
2
votes
0answers
282 views

'convert' taking a long time to create a PNG thumbnail

I made a png from a pdf using ghostscript. It was converted very fast (not more than 1 sec), and has good quality. $ identify 1.png 1.png PNG 3508x2480 3508x2480+0+0 8-bit PseudoClass 2c 51KB 0.000u ...
4
votes
1answer
1k views

convert pdf to image [jpeg|png]

I need to convert pdf files into image files (like: png (prefer), jpeg). I used convert (from the ImageMagick package) but it takes more than 4 seconds for a 2 page pdf file with only tables ...
2
votes
1answer
705 views

Possible to convert a linux installation to .VDI or ISO format?

I have an Oracle Peoplesoft installation set up on some virtual machines (they were in OVM format). I'd like to copy them over so they work in VirtualBox… would it be possible to convert them ...
4
votes
1answer
141 views

Why isn't there a djvu2text?

This has been bothering me for a while. .djvu files are often searchable, in my experience. So somewhere in there, all the text is just one big string, right? But there's no djvu2text program. And ...
3
votes
2answers
7k views

Mencoder with same quality output

I like mencoder for converting video files because it shows me how much time is remaining to the end of the conversion (in opposite to ffmpeg). mencoder file.wmv -ofps 23.976 -ovc lavc -oac copy -o ...
3
votes
1answer
5k views

Convert pdf file to epub

Is to possible to convert pdf file to epub format without errors? Is there some application in Linux that can do it? I found only Ecub and Calibre which give bad results or fail. A command-line ...
16
votes
5answers
19k views

Creating a GIF animation from PNG files

Is there a tool to create a gif animation from a set of png files? I tried the convert command from the ImageMagick suite, but this doesn't always succeed. Also, I have several issues with this: I ...
3
votes
1answer
3k views

convert djvu to pdf

How to convert djvu2pdf ? My current approach is : djvups x.djvu > x.ps ps2pdf x.ps Is there more efficient and better (in terms of output quality, data/metadata loss) way to handle that ?
17
votes
4answers
38k views

Convert a .xlsx (MS Excel) file to .csv on command line with semicolon separated fields

I realize that this is not an entirely unix/linux related question. But since this is something I'll do on linux, I hope someone has an answer. I have an online excel file (.xlsx) which gets updated ...
6
votes
4answers
19k views

How can I embed subtitles into videos with ffmpeg?

I'm told it's possible to embed subtitles (.srt) into video files (.avi) using ffmpeg, but I can't find any mention of it in the man page. Is this possible? What command do I use?
3
votes
4answers
4k views

How do I re-encode a mixed encoded text file

I've got a log file that is ASCII, except for a few UTF-8 characters (which I can fix for a future version). For the moment, I need to figure out how to get this file to a ...
2
votes
1answer
694 views

convert - unrecoverable error when pdf to jpg

When I'm converting pdf to jpg with the following command $ convert -density 300 file.pdf file.jpg I'm getting this error. Last OS error: 2 GPL Ghostscript 8.71: Unrecoverable error, exit code ...
2
votes
0answers
168 views

How do I install dvd-slideshow on Centos 5?

How do I install dvd-slideshow on Centos 5? http://dvd-slideshow.sourceforge.net/wiki/Main_Page I tried but only found a gui to install on Ubuntu. I'm using Centos 5, command line.
2
votes
1answer
216 views

XML text file with `^@` characters in it?

I have an XML file that I need to parse. When I open it in nano, nano give me the message (converted from Mac format). However between each character, there is a ^@ sequence, like so: ^@t^@h^@e^@ ...
4
votes
1answer
2k views

Convert .bdf/.pcf font to .psf(u) for using as consolefont?

I am using Arch Linux. Is it possible to convert a BDF or PCF font to a PSF font for use in console/CONSOLEFONT in rc.conf? I haven't found anything that can do it,except bdf2psf which I got the ...
9
votes
2answers
2k views

Is there a linux equivalent of the Mac OS X command “textutil”?

On Mac OS X there's a very handy command called textutil, that can be invoked from the terminal and allows to convert a document from a format to another; Sometimes I use it to convert a RTF file into ...
16
votes
5answers
15k views

convert images to pdf: How to make PDF Pages same size

I did something like convert -page A4 -compress A4 *.png CH00.pdf But the 1st page is much larger than the subsequent pages. This happens even though the image dimensions are similar. These images ...
0
votes
1answer
1k views

Convert text to image in centos from bash

I want to create an image [jpg, png, doesn't matter] from shell but I don't have convert command. The image is very simple - white background with a medium-size black text in the middle. Is it ...