All cases

Compress a video to send by email

The agent compressed a phone video from 163 to 16 MB so it fits in an email, then cut out the parts that were not needed.

The agent worked
7 min
It cost
$0.03
Steps
12
Files
2
Compress a video to send by email

Done! I compressed the video from 163 to 16 MB and kept the sound. It should now be easier to send by email.

Nov 24, 19:07

can you keep only the part where he sings? no need for the street

Nov 24, 19:08

Done! I removed the part where the camera films the street without the musician, and the extra frames at the end. The video is now about 15 MB.

Nov 24, 19:10

Problembot

6:33 $0.03

The task

A video shot on a phone on a trip to Ljubljana: an evening street and a street musician singing with a guitar. Almost two minutes, Full HD, 163 MB. It is meant for a friend, but the email service says the file is too large.

What the agent was told

The video and "the video won't fit in an email, make it smaller". Then: "can you keep only the part where he sings? no need for the street".

How the agent solved it

The agent asked nothing. It checked the clip's length and resolution and re-encoded it with ffmpeg on its computer: down to 720p, with a bitrate chosen so the file comes out at about 16 MB, sound included. Email attachments are usually limited to 25 MB, so there was room to spare.

For the second request the agent laid the video out frame by frame, one per second, found where the camera turns to the street and the shop windows, and cut those parts out. The song and the musician stayed, and the clip ends with the musician waving at the camera.

The result

The first video: the whole recording, 720p, 16 MB instead of 163. The picture is a little softer than the original, but on a phone the difference is hard to see. The second: a minute and a half of just the musician, 14 MB. Each request took the agent about three minutes, and the whole dialog cost $0.03.

What did not work

  • The agent made the short version from the already compressed copy rather than the original, so quality was lost twice. The difference is small to the eye, but the original would have given a cleaner result.
  • The sound was compressed harder than it had to be: everything above 10 kHz is cut, the song sounds duller and the bright notes gurgle. With the room left under 25 MB the sound could have stayed almost intact.
  • At the cut at 0:24 the song breaks off mid-word and resumes on another line.
  • The agent did not say what size fits in an email or how much room was left, only "it should now be easier to send".

What it used

Video, audio and image processing
Trim, join, convert, compress, pull out the audio. The agent does it with ffmpeg and ImageMagick on its own computer.
Files in, files out
Send the agent documents, spreadsheets, photos and videos. It hands finished files back right in the chat.