Questions tagged [conversion]

Conversion between file formats.

Filter by
Sorted by
Tagged with
2
votes
1answer
19 views

Is there a way to convert flac files to ape?

I need to convert flac files to ape. Googled for that topic, but seems like ape file is outdated, so no solution was found. Any tools, ideas to resolve the problem?
1
vote
2answers
21 views

Convert Excel file to PDF using Perl CGI

I'm trying to convert an xlsx file to pdf using Perl CGI (Mason). Since I did not find a way to convert a file using pure perl, I'm using soffice to perform the job. This works fine until I do it ...
3
votes
4answers
1k views

Loop MP4 From Converted Animated Gif

How do I convert animated gifs to mp4s that loop? This command successfully converts the gifs to mp4s, but the loop doesn't appear to work: for i in *.gif; do ffmpeg -f gif -i "$i" -loop 0 "0output$...
12
votes
1answer
17k 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 ...
73
votes
5answers
76k 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.
2
votes
1answer
51 views

How to turn lots of images into 1 pdf without running out of resources

I'm trying to convert thousands of jpg images into 1 big PDF. Each image is a page from a book. I tried using the following command: convert * out.pdf But I'd get this error after maybe 150 images: ...
1
vote
0answers
45 views

Using iconv to convert utf-8 characters to the closest ASCII character

I can use the iconv command to "translit" a utf-8 string to an ASCII-only string with characters being replaced with their closest ASCII character. However, my problem is that I need the resulting ...
1
vote
1answer
25 views

Convert image into 8-Bit color space?

Is there a way to use convert to transform an image into an 8-bit bitmap?
2
votes
1answer
61 views

Error using ps2pdf

I used to work on linux in a virtual Box and now I'm using a computer with Ubuntu 16.04. I have some ps files I need to convert to pdf and I used to run the command ps2pdf file.ps file.pdf in my ...
2
votes
1answer
3k 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 ...
-2
votes
1answer
40 views

How to convert a certificate in .pfx format to .jks in HP-UX server

I have a task to convert a .pfx SSL certificate to .jks format in a HP-UX B.11.31 server to be configured in our application's server.xml file, (keystoreFile=) for our 8090 connector port.
1
vote
1answer
16 views

How do I convert an OGG OPUS file to an Apple Core Audio container?

I've got some OPUS files I've created with FFMPEG on Linux (from MP3 originals I've deleted to save storage space). I'd like to make them playable on a Mac and, if possible, on an iPhone via iTunes. ...
1
vote
2answers
49 views

How to convert a space-separated file into an Excel file in Linux?

I have a file which looks like this: ID avedebv debv2019 ebv2018 gebv2018 number avecvlean 7063993 1.06109 0.5325 0.7420 1.5084 206 66.5962 7076247 1.67947 2.1066 2.8630 3.0629 460 67.6856 7076881 -0....
2
votes
1answer
2k 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
33 views

Convert / and /boot from ext3 to btrfs

Is it possible to convert / and /boot file system from ext3 to btrfs? I have not experienced converting previously but I seen that filesystem from ext3 needs to be unmounted. Filesystem ...
1
vote
0answers
36 views

Include index info in pdf man pages

I know that I can get to output manual page content with man -Tpdf. Many pdf readers can display and jump to specific points or sections in the document (i.e. by hitting tab from inside zathura). I ...
1
vote
1answer
56 views

`Convert` and standard output

I am learning how to use terminal and as an exercise tried to convert a bunch of .png images to ASCII-art using convert and jp2a with this command: convert test.png -format jpg - | jp2a - This ...
2
votes
2answers
3k 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 ...
36
votes
8answers
39k 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....
0
votes
0answers
35 views

How can I convert all bin-cue files to iso in a folder with bchunk respecting its filenames? (PSX mode)

I know that the command is bchunk -p foo.bin foo.cue foo, but how I could conver all bin/cue files in a folder to iso at once? Thank you.
0
votes
0answers
27 views

How do I convert .JB2E files to a more common format?

I'm trying to convert some .jb2e images, which I extracted from a PDF, into a proper, common image file format like PNG or JPG. I tried using jbig2dec, but that told me jbig2dec FATAL ERROR Not a ...
0
votes
3answers
577 views

How to encode/decode JPG file to int sequence?

I want to convert my JPG files to int sequences and then reconvert to get the images again. My script.sh is like this: FILE=$(cat $2) TOTAL=$(echo ${#FILE} - 1 | bc); for j in $(seq 0 $TOTAL) do ...
0
votes
0answers
119 views

Why Can't BPG images be converted to BPG animation?

I can convert JPG and PNG images to BPG (Better Portable Graphics) animation, using the following command: bpgenc -a input_%03d.jpg -o out.bpg According to the BPG documentation it is not possible ...
1
vote
1answer
1k 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 ...
-1
votes
1answer
60 views

Archived rootfs: convert tar to cpio for initramfs

I have a Debian rootfs as a tar file. I would like to specify it as the initramfs source in Kconfig (using PetaLinux), but the source must be a cpio archive. How can I convert the .tar to .cpio, ...
1
vote
1answer
65 views

ebook-convert for all .epub files in the folder

This code converts epub file to txt file: ebook-convert "book.epub" "book.txt" How can I use it to convert all .epub files in the directory? I am using Ubuntu. Code from os import listdir, rename ...
0
votes
1answer
1k 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 ...
0
votes
1answer
97 views

img2pdf batch script

I currently have over 10K folders. Each folder has .png and .jpg images that need to be turned into .pdf files. Files are numerically in order already. I am looking for speed. I can currently cd into ...
1
vote
1answer
268 views

How to convert an audio file from one format to another?

I have an audio file named with such properties: BreakingNews.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz I wanted to convert it to this format: BreakingNews.wav:...
21
votes
3answers
51k 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? ...
44
votes
8answers
61k 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 ...
4
votes
2answers
2k 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 ...
5
votes
4answers
69 views

Replicate directory structure applying a command to each file instead of simply copying it?

Over time, I've encountered the same pattern again and again: I have some kind of directory structure: example/ ├── a │   └── c │   ├── d.txt (120k) │   └── e.txt (60k) └── b └── f.txt (...
50
votes
12answers
107k 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 tried ...
0
votes
1answer
1k views

FFMPEG Conversion Fails

Bad file? I'm using FFMPEG so how can I better debug and trace these issues? ffmpeg -i /home/videospace/public_html/labo/lion.3gp new_video.flv ffmpeg version N-57647-g1880294 Copyright (c) 2000-...
5
votes
3answers
3k 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 ...
2
votes
1answer
66 views

Convert scanned image to PDF with fixed DPI

Imagine I have a bunch of JPEG files that I have scanned using a known resolution (300 dpi in this case). However the JPEG file has some additional margin at the border because the scanner's area is ...
-6
votes
1answer
96 views

binary file decrypt [closed]

I want to see the message inside this binary file: ]�$�r�ux����f��aY64QH���K�z{������y�ߗ��y�m����Ǖ�} ��cy@^��+|�%E(H��*�I�P�����7��8�=$�.�`ïc� ...
4
votes
5answers
3k views

How to convert bash shell script to Markdown?

Imagine one has been working on a bunch of deploy scripts. These shells scripts are heavily documented with comments and links and are meant to be read by humans. Wouldn't it be handy to convert ...
0
votes
1answer
349 views

alien conversion from deb to rpm on fedora 27

I find myself unable to convert a .deb package to .rpm to install it on fedora. I am not able to download the equivalent rpm file, so conversion is my only way out. I get this error after using the ...
81
votes
7answers
118k 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 ...
8
votes
3answers
4k views

Markdown to PDF conversion in Pandoc: making pages landscape?

I am converting a document from Pandoc markdown to .pdf. I run the conversion like this, and everything works fine: pandoc test.MD -f markdown -o test.pdf However, I would like pandoc to output my ...
9
votes
3answers
9k views

Convert FLAC files to OGG Vorbis

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 Vorbis, ...
0
votes
1answer
133 views

Convert an A4R (A4 lanscape) scanned jpeg, to A4R (A4 lanscape) pdf

I have have scanned an A4R paper sheet to a 2048x1443 jpg file. EDIT1 : It's already rotated to landscape (2048x1443). END OF EDIT1 Now if I try convert it with this command : $ convert -page A4R ...
5
votes
2answers
7k views

How to convert WavPack to FLAC?

I need to convert a bunch of .wv files to .flac but I can't seem to find a program to do it. Does anybody know how I can do this? P.S.: I was wondering why Audacity does not support the importing .wv ...
1
vote
1answer
365 views

How to Convert Vector number 5-digit number into date format

I am trying to convert the date format something like 10/03/2018 to 43376 in shell scripting, this can be done by using format cell option as the number in excel. How can do it in shell scripting?
2
votes
3answers
228 views

What are my choices when I want to convert DVD format to AVI under Linux?

What software is out there there to convert to AVI from DVD?
40
votes
4answers
14k views

Convert OGV video to GIF animation?

I created OGV videos with the gtk-recordmydesktop screencasting program, trying to tackle this problem here with bruteforce over X. I can view the videos with VLC. Now, the task is to find some ways ...
1
vote
0answers
4k views

Lightweight PDF to mobi and epub converter for Ubuntu

By lightweight I mean NOT Calibre. Please. I do not need a cataloging/library management software- which would not only consume unnecessary disk space but also ignore my current cataloging which I ...
0
votes
1answer
103 views

how convert an ics file (exported from google calendar) as textual diary

I'd like export (possibly automatically) from google calendar an .ics file and convert it to a text diary (maybe .md, or .html). A way there is, with the IFTTT scripts, but is too commercial, I am ...