1

I have some badly made WMV-files on my server that are huge (some GB) with just some picture slide-shows in it.

Is it possible to compress them on the console there on the debian server so I can download them easily after?

4

This depends on what you mean by compress. You can compress any file with plain, built in compression tools. For example, with bzip2

bzip2 input.wmv

This will replace the video with a compressed version in the file input.wmv.bz2. You will then need to uncompress the file after you transfer it.

If you want to put the video into some sort of compressed video format, you can use a tool like ffmpeg. Thorough documentation is available at http://ffmpeg.org/ffmpeg.html and you may be limited in the formats that you can use out of the box, since Debian is rather strict in regards to its open source nature.

A simple example of converting a video with ffmpeg would be this:

ffmpeg -i input.wmv output.mp4

This will convert your WMV file to an MP4 file. You can give it more options to tune the output if you need to further size down the video, although you are at risk of degrading the quality.

  • I compressed it with the option -b 1000000: ffmpeg -i video_original.wmv -b 1000000 video_thumb.wmv and got down from 1,4GB to 85MB with really low quality (but enough) / found here: superuser.com/questions/4244/… – rubo77 Sep 23 '13 at 21:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.