Conversion between file formats.
1
vote
1answer
19 views
Imagemagick convert incorrectly sizes landscape pdfs
When I run
convert example.pdf example.png
I get a png image, but the image in the pdf is off-center and too small. How do I convert so that the png image is the right size and takes the whole ...
3
votes
1answer
61 views
convert bulk of text files to pdf with naming based upon header file
Knowing that "How to convert from text to .pdf" is already well answered here link and here link, I am looking for something more specific:
Using Claws-Mail [website] and a Plug-In [RSSyl] to read ...
1
vote
2answers
54 views
Fastest way to convert a large amount of FLACs to MP3s
I'm looking for something that can take advantage of my GPU or at the very least, multiple cores of my CPU to convert a few terabytes of FLAC to mp3 (VBR v0) very quickly while preserving all of the ...
3
votes
1answer
71 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:
...
1
vote
1answer
153 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
45 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 ...
0
votes
2answers
60 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
43 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
79 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
49 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 ...
3
votes
1answer
61 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
95 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 ...
2
votes
0answers
136 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, ...
3
votes
1answer
113 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
188 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
513 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
142 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
588 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
1k 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
367 views
How to convert a PowerPoint ppt file into HTML files?
I have to find a free, gratis and command line solution to convert primary Microsoft PowerPoint presentations into HTML files (1 html per foil) on linux (Debian, OpenSuse). It would be nice if the ...
11
votes
4answers
4k views
How can I convert a PNG to a PDF in high quality so it's not blurry or fuzzy?
There are a lot of questions out there about how to convert a PDF file to a PNG image, but I'm looking to take a nice sharp PNG file and just basically wrap it or embed it in a PDF file without having ...
0
votes
0answers
79 views
Tool to do computer math [closed]
For example, just now I compared file permissions in C.
Turns out, the permissions were 33216!
After some total confusion, with this
echo $(printf %o 33216) % 100000 | bc
I got it back to the ...
1
vote
1answer
2k 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.
4
votes
2answers
5k 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 ...
1
vote
1answer
1k 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?
2
votes
2answers
1k 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
541 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
785 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 ...
4
votes
1answer
4k 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
203 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
2k 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 ...
9
votes
2answers
989 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
340 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 ...
4
votes
1answer
855 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
676 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
494 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 ...
14
votes
9answers
12k 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
186 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
523 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
494 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
117 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 ...
2
votes
2answers
4k 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 ...
2
votes
1answer
3k 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 gives not good results or fail.
Command-line ...
8
votes
5answers
6k 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
2k 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 ?
10
votes
4answers
18k 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 ...
4
votes
3answers
11k 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
2k 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
480 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
119 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.