bhuvnesh123 / FFmpeg-Video-Editor-Android

Sample android project using ffmpeg for cutting and compressing video,reversing video,extracting image frames from video,extracting audio from video,add fade in fade out effect,create fast and slow motion video
540 stars 165 forks source link

Images from video are of low quality #13

Closed mittalharsh54 closed 6 years ago

mittalharsh54 commented 6 years ago

How can we get directly bitmap instead of saving them?

bhuvnesh123 commented 6 years ago

Add -q:v 1 to command to improve quality of images from video.You can select a video quality level with -q:v n,where n is a number from 1-31, with 1 being highest quality/largest filesize and 31 being the lowest quality/smallest filesize.

mittalharsh54 commented 6 years ago

I want to generate the gif image from video of 3 secs, so it is possible with this?

bhuvnesh123 commented 6 years ago

You can generate gif from video.For that go through ffmpeg docs.As generate gif is not part of my sample project discussing here in issues doesn't make sense.