VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Hi. I have MP4 file (1.3 GB) that I want to compress, if I could, to 600-700 MB.

    Could I use FFmpeg for that? What is the command line?

    Thank you.
    Image Attached Thumbnails Click image for larger version

Name:	MediaInfo.png
Views:	37
Size:	34.7 KB
ID:	84732  

    Quote Quote  
  2. try:
    Best Video Converter
    it is a bit outdated but it uses FFmpeg, and allows for batch conversion too.
    Last edited by videoAI; 4th Feb 2025 at 21:07.
    Quote Quote  
  3. @Jezzz: Your current video bitrate is 1750kb/s only. Compressing the filesize to to 600MB will leave you with something around 800 kb/s which is probably too low for acceptable AVC quality.
    Anyway, here a 2-pass ffmpeg AVC (x264) proposal which you can try and see what you get:
    Code:
    ffmpeg -i "your source" -c:v libx264 -b:v 800k -pass 1 -an -f null NUL ^ 
    ffmpeg -i "your source" -c:v libx264 -b:v 800k -pass 2 -c:a copy output.mp4
    Alternatively, you may try how it looks when reencoded to HEVC (x265), and possibly reduce the frame size as well to get an acceptabe quality.
    Depends on your source as well (motion, details ....)
    Last edited by Sharc; 11th Jan 2025 at 04:10.
    Quote Quote  
  4. Originally Posted by Sharc View Post
    @Jezzz: Your current video bitrate is 1750kb/s only. Compressing the filesize to to 600MB will leave you with something around 800 kb/s which is probably too low for acceptable AVC quality.
    Anyway, here a 2-pass ffmpeg AVC (x264) proposal which you can try and see what you get:
    Code:
    ffmpeg -i "your source" -c:v libx264 -b:v 800k -pass 1 -an -f null NUL ^ 
    ffmpeg -i "your source" -c:v libx264 -b:v 800k -pass 2 -c:a copy output.mp4
    Alternatively, you may try how it looks when reencoded to HEVC (x265), and possibly reduce the frame size as well to get an acceptabe quality.
    Depends on your source as well (motion, details ....)
    What is the command line to reencoded to HEVC (x265) and reduce the frame size?

    Thank you.
    Quote Quote  
  5. Originally Posted by Jezzz View Post
    Originally Posted by Sharc View Post
    @Jezzz: Your current video bitrate is 1750kb/s only. Compressing the filesize to to 600MB will leave you with something around 800 kb/s which is probably too low for acceptable AVC quality.
    Anyway, here a 2-pass ffmpeg AVC (x264) proposal which you can try and see what you get:
    Code:
    ffmpeg -i "your source" -c:v libx264 -b:v 800k -pass 1 -an -f null NUL ^ 
    ffmpeg -i "your source" -c:v libx264 -b:v 800k -pass 2 -c:a copy output.mp4
    Alternatively, you may try how it looks when reencoded to HEVC (x265), and possibly reduce the frame size as well to get an acceptabe quality.
    Depends on your source as well (motion, details ....)
    What is the command line to reencoded to HEVC (x265) and reduce the frame size?

    Thank you.
    for x265 try
    Code:
    ffmpeg -i "your source" -c:v libx265 -b:v 800k -x265-params pass=1 -an -f null NUL && ^ 
    ffmpeg -i "your source" -c:v libx265 -b:v 800k -x265-params pass=2 -c:a copy output.mp4
    or - if necessary - with downscaling to height 480 for example:
    Code:
    ffmpeg -i "your source" -c:v libx265 -b:v 800k -x265-params pass=1 -an -vf scale=-2:480 -f null NUL && ^ 
    ffmpeg -i "your source" -c:v libx265 -b:v 800k -x265-params pass=2 -c:a copy -vf scale=-2:480 output.mp4
    Last edited by Sharc; 12th Jan 2025 at 04:50.
    Quote Quote  
  6. Member
    Join Date
    Oct 2007
    Location
    United States
    Search Comp PM
    Shutter Encoder and HandBrake are free.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!