FAQ Database Discussion Community


ffmpeg: wmv files generated on Mac can't be played in Windows

windows,osx,ffmpeg,file-conversion,wmv
On Mac OS X 10.6.8, I converted a animated gif to a video file in wmv (a requested file format) by using ffmpeg -i File.gif -s 400x400 NewFile.wmv The video file played fine using VLC on Mac. The file can't be played on a Windows 7 machine using the Windows...

Regex and python: substituting $$ with \[ and \] in a TeX document

python,regex,replace,tex,file-conversion
EDIT: regex with testing, examples and solution here: https://www.regex101.com/r/rY7uI4/2 I am trying to convert a TeX content (which we will assume to be contained in the variable foo) so that the delimiters $$ will be converted to the standard TeX \[ and \]. I have been playing around with regex101...

FFmpeg - Requested output format 'mpeg' is not a suitable output format

video,ffmpeg,codec,file-conversion,mpeg
I am trying to use FFmpeg to convert a video from mp4 format to an mpeg, so that I can merge multiple videos. I have a custom build of FFmpeg where I control the configuration options: ffmpeg -y -i VID_20150514_171122_12085.mp4 -an -f mpeg VID_20150514_184208.mp4.0.mpg ffmpeg version git-2015-02-25-b0d3322 Copyright (c) 2000-2015...

Do you remove the data:image/jpeg;base64, before decoding Base64 string using C#?

c#,asp.net,image,base64,file-conversion
I'm trying to convert a Base64 encoded string that was generated from a re-sized image from the canvas element and I'm getting the following error when converting using the Convert.FromBase64() The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters,...

ARFF file extension to csv binary executable

bash,csv,weka,file-conversion,arff
Thanks in advance for the help. I'm looking for a binary executable to convert an .arff into a .csv in a bash script. Ideally something that I could run along the lines of #! /bin/sh ... some stuff.... converstionFunc input.arff output.csv ... some more stuff ... Looking into writing this...

Powerpoint to Text C# - Microsoft.Interop

c#,text,powerpoint,office-interop,file-conversion
I have been trying to read .ppt files from last 3 days. I searched a lot on internet and I came up with different source code snippets but nothing was perfect. And now i tried this code, and it is not printing "Check4" because of some unidentified problem in "Foreach"...

Converting non-standard file to .csv in R

r,file,csv,rstudio,file-conversion
Some of the output files I use are non-standard, space delimited formats with non-standard extensions (.out) that only have meaning to a particular program I use. For example, I might get an output file for water budgets that looks like: waterbalance.out I can open these files in Excel by opening...

Start and Stop OpenOffice Service using java code?

java,openoffice.org,libreoffice,openoffice-calc,file-conversion
I have OpenOffice installed on both windows and linux machine. I want to write a simple java application which will connect to OpenOffice remotely and do some file conversion. I want to run OpenOffice as a service on both windows or linux on some random port. After the file...

How to turn an s3 object string into something useful when using laravel 5.1 filesystem

php,amazon-s3,laravel-5,file-conversion,flysystem
I'm at a loss. I'm trying to display an object (image.jpg) I successfully have uploaded to my s3 bucket. I have made sure the file is set to public. I use the Storage::get(); method which the doc says "returns a string of the object". See here: The get method may...