LINE Video Compressor
Make a video smaller before sending it on LINE by compressing it to an H.264 / AAC MP4. Everything runs in your browser.
Equivalent FFmpeg command
CLI command for your current settings. Updates live as you change controls.
ffmpeg -i input.mp4 -map "0:v:0?" -map "0:a:0?" -vf "scale='if(gte(iw,ih),-2,trunc(min(min(iw,ih),720)/2)*2)':'if(gte(iw,ih),trunc(min(min(iw,ih),720)/2)*2,-2)'" -c:v libx264 -preset veryfast -pix_fmt yuv420p -crf 26 -c:a aac -b:a 128k -movflags +faststart output.mp4 How to use
- Drop a videoChoose an MP4, MOV, WebM or similar video. Both the video and the audio are re-encoded.
- Pick a presetSmall for the lightest file, Balanced for everyday sharing, High for 1080p quality.
- Compress and downloadPress Compress for LINE, play the result, then download the MP4.
When it goes wrong
The file is still bigger than I hoped
Cause: For long videos the video bitrate stops at its 300 kbps minimum, so the output can exceed the target. If the length cannot be read, the tool ignores the target and compresses by quality (CRF 26).
Fix: Use a smaller preset, or trim the video first.
Quality dropped a lot
Cause: A small target on a long video forces a low bitrate.
Fix: Pick a higher preset, or shorten the video so each second gets more bitrate.
Questions
What size limit does LINE have?
LINE's official help does not state a size or length limit for videos sent in chats (checked 2026-09-25). The preset targets (about 25, 50 and 100 MB) are this tool's own estimates.
Will LINE compress my video again?
LINE's official help does not say whether sent videos are compressed again. Before sending, play the video this tool made and check its quality.
Which preset should I use?
If unsure, use the default, Balanced (720p). Use Small to keep the file as light as possible, or High (1080p) when quality matters more than size.
Is my video uploaded?
No. Compression runs in your browser with ffmpeg.wasm, and nothing is sent to a server.
More detail (settings, limits, FFmpeg commands)
What each setting means
Browsers and limits
- The target size is an estimate worked out from the video length. Long videos can exceed it.
- If the video length cannot be read, the tool ignores the target and compresses by quality (CRF 26).
The same job with the FFmpeg command line
ffmpeg -i in.mp4 -map 0:v:0? -map 0:a:0? -vf "scale='if(gte(iw,ih),-2,trunc(min(min(iw,ih),720)/2)*2)':'if(gte(iw,ih),trunc(min(min(iw,ih),720)/2)*2,-2)'" -c:v libx264 -preset veryfast -pix_fmt yuv420p -b:v 6153k -maxrate 6153k -bufsize 12306k -c:a aac -b:a 128k -movflags +faststart out.mp4