Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques ffmpeg command creates a file too big

  • ffmpeg command creates a file too big

    Posted by Yuval Yellin on August 8, 2010 at 2:55 pm

    I run this command:
    /usr/bin/ffmpeg -i “inputfile.avi” -sameq -ss 0:0:0 -t 60 “outputfile.avi”
    And I get the correct 60 seconds video, however the file size is 300MB, while the original 20 minute long file is 170MB….
    what is wrong? how can I fix this filesize problem?

    Michael Rampe replied 15 years, 12 months ago 2 Members · 1 Reply
  • 1 Reply
  • Michael Rampe

    August 9, 2010 at 7:16 am

    I would like to see the full terminal output to correctly diagnose but:

    I am guessing that it is a combination of using the -sameq flag and not specifying a video codec. The full command line output will verify that.

    Instead of using “-sameq”, try using “-vcodec copy” which will not recompress the frames and should result in a more realistic file size.

    Michael

    “half-way to world domination A.K.A. the belligerent blue bike shed”

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy