Conversion between file formats.

learn more… | top users | synonyms (1)

2
votes
1answer
161 views

convert WAV music library to FLAC on command line and achieve best quality

I would like to produce (nearly) perfect FLAC files by verifying/checking all conversion steps. I'm hoping to do this in a single command, although a short bash script would be acceptable as a second ...
1
vote
1answer
28 views

Convert Multiple Videos to Multiple GIFs

What command will convert multiple video files to multiple GIFs? I use the following command to convert 1 video to GIF: ffmpeg -i input.flv -vf scale=320:-1 output.gif I assume I'll need a bash ...
0
votes
1answer
30 views

Why can I not split a .wv file?

I'm a Fedora 20 user and am trying to split a .wv file into separate .flac files. I used this command: cuebreakpoints file.cue | shnsplit -o flac file.wv but get the following output: 56: syntax ...
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 ...
1
vote
1answer
1k views

Splitting WavPack files when the .cue file and .wv file have different names?

If a directory contains an album encoded as one large .wv file and a .cue file, splitting the entire album into individual .flac tracks is a simple task: $ cuebreakpoints foo.cue | shnsplit -o flac ...
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 ...
3
votes
0answers
351 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, ...
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?
1
vote
0answers
33 views

Converting data from unknown file types in a legacy Unix application [closed]

I’m attempting to extract and convert data from an old legacy finance/accounting application to a usable format (ideally Excel spreadsheets or other usable text files that can eventually be migrated ...
2
votes
1answer
60 views

Convert all non-JPG images to JPGs

What command can I use to convert all images in a folder which are not JPGs (PNG and BMP primarily) to JPG? I'd also like the conversion quality to be 100%. And I'd like the converted images to ...
4
votes
1answer
82 views

Why can I not split a .ape file?

I would like to split a .ape album into individual tracks in .flac format using a .cue sheet. For this I followed a tutorial I found. In short I pass this command to the terminal: cuebreakpoints ...
0
votes
2answers
181 views

Split XML file into multiple files

I have an xml file that have different nodes, I want to split files like this: <unix> <mm> </unix> <osx> <nn> </osx> When I run the script I want it to make ...
1
vote
1answer
124 views

Convert XML to SQL INSERT statements using the command line

Is there a way to convert XML to SQL INSERT using the command line, here is examples: <something> <somthingelse>lol</somethingelse> </something> would be INSERT INTO ...
0
votes
1answer
33 views

How do I extract information with what I have right now?

I have a bunch of swfs, these swfs include links to other swfs inside them. I use this to convert them to xml: swf2xml Disc1.swf Disc1.swf.xml. Then I use this to remove every single line that does ...
0
votes
2answers
102 views

Conversion of plaint-text files from ASCII to Unicode without any command

Why are ASCII-encoded files extended to UTF-8 or in reverse reduced to ASCII? user:~$ echo 'A B C | } ~' > ./file user:~$ user:~$ file --brief --mime ./file text/plain; charset=us-ascii ...
1
vote
1answer
31 views

Command line tool for making icon files?

Is there any command line tool for making icns files to use for OS X apps? I am aware of icontool but it doesn't do what i want. It converts iconset files into and icns file. What i want it to do is: ...
3
votes
2answers
3k views

How to convert a .txt subtitle file to .srt format?

I have a subtitle file, it looks like this: 00:00:44:" Myślę, więc jestem".|Kartezjusz, 1596-1650 00:01:01:Trzynaste Pietro 00:01:06:Podobno niewiedza uszczęśliwia. 00:01:10:Po raz pierwszy w ...
1
vote
1answer
54 views

Converting a file from ASCII to Binary

I have a series of files that are either delimited and fixed width, containing many rows of both character and numeric values like so (delimited example): Smith,Audrey,Ford,2000,21300.99 ...
0
votes
0answers
40 views

SGE to PBS/Torque qsub conversion

Hi I am setting up a software pipeline (an extensive bioinformatic annotation tool) that was originally written to submit SGE jobs but I am on a PBS/Torque cluster. Any ideas about a way to convert ...
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.
0
votes
1answer
45 views

Conversion of the bsonfile with two different outputs

I want convert some bson file to some json file. I do it by the using of bsondump function. bsondump exemple.bson > example.json By the old version 2.4.9 of the bsondump (depended on the version ...
4
votes
1answer
298 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 ...
1
vote
0answers
73 views

Can htmldoc create multi-level pdf bookmarks?

I downloaded an online html book (http://www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/lecture-notes.html), by the following command wget -r -np -nH --cut-dirs=3 -p -k ...
0
votes
1answer
55 views

Changing file name from dbf to ods problem?

I was trying to change the file name from gdf to csv in the folder using $for i in *.dbf; do mv $i ${i%.dbf}.ods; done script. The code changed all the gdf to csv, but the content of the new ...
5
votes
1answer
367 views

Converting .docx files to plain text and preserving line breaks to maintain line number references to source document: howto & implications?

I'm exporting MS Word content to plain text for use with text&file utilities. I have a constraint where the line numbering feature has been enabled in the MS software, and any reference to line ...
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 ...
1
vote
1answer
421 views

Converting documents to text with UTF-8 encoding

unoconv uses LibreOffice to convert any file that LibreOffice can convert. Now I need export to text with the UTF-8 character encoding. I use the following command: unoconv -f txt -e ...
2
votes
1answer
111 views

Image size with gscan2pdf and ImageMagick `convert` bloat

I scan all my important incoming physical-mail to PDF. I am trying to move this activity to Linux as part of the process of eliminating my dependence on Windows - where I used to use the excellent but ...
5
votes
2answers
97 views

Get “Text Content” of Files

I was wondering if there is a tool to scrape text content of a file. Basically I would like to put in a pdf, word document, compressed file or anything else and get the text it contains out. There ...
1
vote
1answer
79 views

Convert linked html files into a pdf file?

I would like to convert an online book (linked html files) into a pdf file. I tried the two-step way in http://kmkeen.com/mirror/2009-02-05-14-00-00.html First, download the html files by wget -nd ...
2
votes
1answer
74 views

How to convert .doc to ODF with a command line?

I'd like to convert many Microsoft Word documents to ODF (the OO.org formata with a command line (because there are many of them). (I need them for reading afterwards on a device where reading OO.org ...
4
votes
2answers
411 views

Convert file with integers written in ascii to binary file of integers

I have a file that contains a long list of integers written in ascii separated with newlines, like such: -175 2 -19345 345592 -45 2355 etc... I want to convert this file into a "binary" file ...
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 ...
1
vote
0answers
55 views

How do I convert a TTA file and its CUE sheet into several FLAC files?

I have a sound file encoded in TTA format and a CUE sheet with its metadata. Which tools and commands do I need to convert it and split it into several FLAC files? I tried using ffmpeg to convert the ...
3
votes
1answer
160 views

Converting and rescaling a lot of png images to jpeg

I have a lot of .png images in a folder. Is there a command (or software) that can convert all them to .jpg and (simultaneously) rescale the created .jpg files to 25% of their original size?
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 ...
1
vote
0answers
79 views

Conversion of disk image from Encase (E01) to Raw format [closed]

I am trying to convert from EnCase to Raw format using instructions given on this page. The following takes place: manu@ubuntu:~/Downloads$ ewfexport nps-2010-emails.E01 The program 'ewfexport' is ...
2
votes
2answers
1k views

Bitmap Font data as array in C

I need to convert some X11 bitmap fonts to an array in C for a 128x64 OLED Display. I saw some fonts like /usr/share/fonts/X11/misc/9x15-ISO8859-1.pcf.gz The result should look like /* Standard ...
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 ...
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 ...
1
vote
1answer
240 views

Convert FLAC files to OGG

Are there any linux tools for transcoding and syncing music directories? I encode my music to flac, which I keep on an external hard drive. Some time ago I transcoded this collection to ogg, in a ...
1
vote
2answers
234 views

Get scan codes in octal format

Using showkey -s I can get the scancode of a key as a hex-number. How can I get it directly as an octal number?
0
votes
0answers
254 views

How to convert a video file from mp4 to mp2

I have been searching a lot and I can't find a solution. How do you convert a video from MPEG-4 to MPEG-2? That shouldn't be too hard. But the avconv man pages don't give enough info to do this ...
1
vote
1answer
331 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 ...
0
votes
1answer
117 views

Combining two bash scripts by adding flags

I have two scripts which transform the code from software v.1 to software v.2 and viceversa. These are essentially a lot of sed substitutions. In the way I wrote them they accept two arguments: ...
1
vote
1answer
111 views

multiple conversion bam to bed using bedtools

I have ten .bam files (bioinformatic format) and I would like to convert it to 10 .bed files, but for this conversion I need to use special command bedtools bamTobed -i (input file) > output ...
1
vote
2answers
3k views

Can xxd be used to output the binary representation of hex number , not a string?

I would like to generate a raw binary packet from hex in the command line for the purpose of testing a protocol. I'm hoping its simpler to do it this way than writing an aplication. Here is what ...
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 ...
2
votes
3answers
699 views

avconv creates creates files whose duration is incorrect

I am attempting to create a variable rate mp3 from a flac using the following command: avconv -i t.flac -id3v2_version 3 -vn -acodec libmp3lame -aq 0 t.mp3 avconv and mediainfo both list the ...
3
votes
3answers
1k views

How to batch convert bitmaps to SVGs?

I have many gray scale bitmaps that I need to convert to a vector format, such as SVG. I have been using Inkscape, which gives nice results, but this takes about 10-15 minutes to open, convert, and ...