Skip to content

Commit

Permalink
modified outputOptions (#22)
Browse files Browse the repository at this point in the history
"-vcodec libx264" option added by @zarghamkhandev
  • Loading branch information
zarghamkhandev authored Nov 9, 2020
1 parent 0bb15e7 commit 4629a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/encoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const outputOptions = [
"-preset veryfast",
"-crf 24",
"-f mp4",
"-vcodec libx264",
"-movflags frag_keyframe+empty_moov",
"-pix_fmt yuv420p",
];
Expand Down

1 comment on commit 4629a2a

@usama-gh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work.

image

I'm working with these options. Now it allows you to upload on Twitter and Instagram, but there are still some issues like it wont work show preview when uploading but when its uploaded it will work. Similarly in WhatsApp stories it won't work. So we still have this issue. :(

Please sign in to comment.