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.
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.