New answers tagged

0

The answer by @pts doesn't work with recent versions of Inkscape ( 1.0 or newer). To convert an SVG file to PDF: inkscape --export-type="pdf" my_file.svg


0

Pandoc is great if content is in Markdown (.md) There is a handy open source PPTX to Markdown converter It's not bad, and includes the images. Although there may always be some final editing to do in the target output format. You could then convert from Markdown to Word using Pandoc ... Here is article on converting from Markdown to Word (docx)


0

Short Answer ffmpeg -i input_file.wav -b 128k -minrate 64k -maxrate 192k output_file.mp3 A little longer one: Looks like you're thinking of variable bit rate (VBR) in which bitrate changes according to need for maintaining constant quality or an average bitrate. For that, use -q switch ffmpeg -i input_file.wav -q 4 output_file.mp3


0

I guess you would have to use 2 programas like imagemagick + ffmpeg First you extract the frames using imagemagick: magick input.webp frames.png Then you use ffmpeg to build an mp4 video from the extracted frames: ffmpeg -r 25 -i frames-%0d.png -c:v libx264 -pix_fmt yuv420p "out.mp4" For -r ## you specify the desired framerate...animated webp ...


0

Not supported by FFmpeg yet: #4907: Support decoding animated WebP images


0

Python's UTF-8 decoder can pass-through non-UTF-8 characters as special codepoints U+DC00 – U+DCFF (which are normally illegal in UTF-8). Afterwards they can be found and re-decoded as something else: #!/usr/bin/env python3 import argparse import re import sys parser = argparse.ArgumentParser() parser.add_argument("input") args = parser.parse_args(...


0

For converting the whole directory and also changing the extension of every file. You can use find command and combined it with ${%.*} to remove the .srt and use the new extension .vtt with this one-line command. find . -name "*.srt" -exec bash -c 'ffmpeg -i {} "${0%.*}$1" ' {} ".vtt" \; The reason to call bash is to use the ${...


0

Use: ffmpeg input.flac -sample_fmt s16p -ar 48000 -c:a alac output.m4a ALAC requires a planar sample format (s16p) in which each channel data is in its own plane, instead of the regular, packed s16 format. When you run the two commands separately, ffmpeg will helpfully convert s16 to s16p for you.


0

In Photoshop, right click on the custom shape and choose Export as > SVG. Or, if you have a CSH file, you can use this online tool to convert CSH to SVG automatically.


Top 50 recent answers are included