Sitelet https://github.com/jcodec/jcodec/issues/516
Skip to content

Video compression or how to reduce the size of output mp4? #516

Description

@volion80

I use the code from SequenceMuxer.java to implement encoding jpg frames on Android represented here:
https://github.com/jcodec/jcodec/blob/master/android/src/main/org/jcodec/api/android/SequenceMuxer.java

The only difference I encode JPG not PNG frames. The amount of frames is 1440, the resolution is 1280x720 and I'm getting MP4 of 58 sec length and the size 181Mb.
To compare, the output video encoded with ffmpeg on Windows using exactly the same frames has 33Mb size.

Is there a way to somehow affect the video size using JCodec?
Please help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions