Conversion between file formats.

learn more… | top users | synonyms (1)

1
vote
3answers
2k 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
2answers
2k 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 ...
2
votes
1answer
202 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 ...
1
vote
1answer
37 views

pdftoppm (v 3.0) very slow to convert thumbnail in newer version

On one of our local servers, I use pdftoppm (v 0.18.4) to capture the first page of a pdf file as a 1200px wide jpg. It's very quick, and works very well. I'm doing it like so: pdftoppm -f 1 -l 1 -...
1
vote
1answer
124 views

How do I convert image files to .edj format from the command-line?

I have recently installed the E17 fork, Moksha, on my Sabayon Linux machine the problem is that the graphical tools for changing the wallpaper to JPG or PNG files are causing me grief (and yes I have ...
1
vote
1answer
189 views

Avconv creates 0 byte outputfile after applying frame rate reduction

I installed avconv because I am too stupid to install ffmpeg, now I realized I am even more stupid. I tried to reduce the framrate from 30 fps to 24 fps following a very straigtforward tutorial: # ...
1
vote
1answer
307 views

textutil convert PDF to txt producing garbled output

I am trying to convert PDF files to text files using textutil. I don't if there are special types of PDFs that can and cannot be converted. The files I am trying to convert are in a searchable ...
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 ...
0
votes
1answer
24 views

Convert non-raid disk with data into RAID 1 disk (hardware controller)

I moved away from software RAID due to all the hassle it brings. After OS reinstall, I am left with only one drive. I ordered a hardware RAID controller today, and when the controller arrives, I'd ...
0
votes
1answer
366 views

Converting .NEF to .JPG

I am trying to convert .NEF files to .JPG and I am using the command: mogrify -format JPG *.NEF this produces mogrify: delegate failed `"ufraw-batch" --silent --create-id=also --out- type=png -...
2
votes
0answers
94 views

Converting a raw print data stream containing PCL commands to PDF

I have a program that sends raw print data through samba to typically PCL compatible printers. The program is written so basic PCL commands control how it prints. When sending it to the printer it ...
2
votes
0answers
1k 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 ...
2
votes
0answers
377 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 ...
2
votes
0answers
182 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.
1
vote
0answers
34 views

SFK to convert text to sound with minimodem?

I've installed minimodem on a server running Ubuntu. I've read through the documentation but still having trouble. I want to input a text file and use frequency shift keying to output an audio file.
1
vote
0answers
29 views

Is it possible to convert audio to midi with the shell?

Some might say this doesn't work, but it does, this website does what I want. Can you do this with any common tool like ffmpeg? Or maybe there is a python script somewhere? I couldn't find anything on ...
1
vote
0answers
147 views

How do I convert the complete AMD64 Gentoo Handbook into a PDF from the command-line?

I have been writing shell scripts for converting the AMD64 Handbook of Gentoo Linux to PDF and this is my current shell script: function ghand { # Input 1 is the architecture # Input 2 is the ...
1
vote
0answers
86 views

Convert video with broken codec information

I downloaded using youtube-dl from https://www.dr.dk/tv/live/dr2#!/ The saved file is .flv, but it does not play with vlc/mplayer. avconv cannot convert it: $ avconv -i hl.flv hl.mp4 avconv version 9....
1
vote
0answers
43 views

Print pdf like paps, but with actual fonts?

So I convert a piece of text to PDF like so: INPUT="this text goes to a pdf file" paps $INPUT 2>/dev/null | ps2pdf -sPAPERSIZE=a4 -dOptimize=true -dEmbedAllFonts=true - out.pdf Which works great,...
1
vote
0answers
97 views

Convert / import flat file with multiple records, one variable per line

I am searching for an efficient way using (UNIX) command line tools to read a flat file into a(ny) database, perhaps after first converting to an intermediate structured format, for example XML or csv....
1
vote
0answers
165 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 http://www.cim.mcgill....
1
vote
0answers
2k 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 ...
1
vote
0answers
376 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 [...
0
votes
0answers
42 views

How to split a A4 Letter page pdf into 2 4x6 pdfs

I get pdfs in A4 Letter size in portrait orientation, they have 2 sections top and bottom each 4x6. Right side of pdf is blank. I need to spit them into 2 pdfs 4x6 or 2 pages of the same pdf.. Ive ...
0
votes
0answers
60 views

arecord raw data to flac

I'm trying to record some raw samples with arecord and once finished convert them to flac format, but I'm only getting garbage. I need it to be first raw as I'm parsing the data to detect when there ...
0
votes
0answers
15 views

Converting .shn via shorten or shntool

I have to batch convert a bunch of shn file to wav. I was wondering if this was possible using the shorten utility or did this need to be done using shntool todo so.
0
votes
0answers
20 views

How do I convert PKGBUILDS to ebuilds for the Deepin Desktop Environment?

I have a mammoth task in front of me, converting the Arch PKGBUILDS for the Deepin Desktop Environment to Gentoo ebuilds and I was wondering if there are any tools (like command-line programs) that ...
0
votes
0answers
54 views

error in script that calls convert command

I am pretty new to linux and have encountered an issue I feel confused about. I need to combine a list of images, located in different folder, into one single jpg. #!/bin/sh # parameter $1 is the ...
0
votes
0answers
115 views

Convert VMWare virtual machine to .ISO

I have a virtual machine with the extension .vmwarevm. The OS is Ubuntu 15.04 Mini 64-bit. I have no GUI, just command line interface. I looked up a couple of tools like remastersys but had no luck. ...
0
votes
0answers
902 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 ...