• Basic Facebook Guide
" How to Install Facebook Farmville Games , Geting Facebook Marketplace App, How to Make Facebook Fan Page, Deleting All Facebook Searches History on FB , How to Login Instagram with Your Facebook , Facebook Marketplace Buy and Sell within Local Community Near Me , How to Deactivate FB Account Temporarily on Facebook, How to View Blocked Facebook List to Unblock blocked Friends , How to Use the “Nearby Me Friends” FB Feature on Facebook , Facebook Customer Care Center & Email Help Supports Contact Addresses "

How to make vote in Facebook

 Auto Add Friend Requests Facebook, How to make vote in Facebook     No comments   

                                                   How to make vote in Facebook
                                                                           
How to make vote in Facebook
Once ffmpeg is installed, pick a GIF, and you'll be ready to roll. For the purposes of this guide, I picked this GIF, which is just shy of 14 MB. To start off, let's try our hand at converting a GIF to MPEG-4!
Converting GIF to MPEG-4

Whenever you embed videos on a page, you'll always want to have an MPEG-4 version as MPEG-4 enjoys the broadest support of all video formats across browsers. To get started, open a terminal window, go to the directory containing your test GIF, and try this command:
ffmpeg -i input.gif output.mp4

This is the most straightforward syntax for converting a GIF to MPEG-4. The -i flag specifies the input, and we specify an output file thereafter. This command takes our test GIF of 14,024 KB and reduces it to a reasonably high quality MPEG-4 video weighing in 867 KB. That's a reduction of 93.8%. Not bad, but maybe you're curious to see if we can go a little further. If so, keep reading!

It turns out ffmpeg is super configurable, and we can use this to our advantage to fine-tune the video output further by employing an encoding mode called Constant Rate Factor (or CRF). CRF is great when video quality is a high priority.
ffmpeg -i input.gif -b:v 0 -crf 25 output.mp4
This command is largely similar to the one before it, but with two key differences: The -b:v flag normally would limit the output bitrate, but when we want to use CRF mode, it must be set to 0. The -crf flag accepts a value between 0 and 51. Lower values yield higher quality (but larger) videos, whereas higher values do the opposite.

Using our test GIF, this command outputs an MPEG-4 video 687 KB in size. That's an improvement of roughly 20%! If you want even smaller file sizes, you could specify a higher CRF value. Just be aware that higher values will yield lower quality videos, so always check the encoder's output to ensure you're cool with the results!

In any event, both these commands yield a massive reduction in file size over GIF, which in turn will substantially improve initial page load time and reduce data usage. While the visual quality of the video issomewhat lower than source GIF, the reduction in file size is a reasonable trade-off to make:Figure 2. Visual comparison of an animated GIF frame against an MPEG-4 frame from a video encoded with a CRF of 25.

While the figure above is no substitute for a comprehensive visual comparison, the MPEG-4 is certainly sufficient as an animated GIF replacement. It also pays to remember that your users likely won't have a reference to the GIF source like you will. Always adhere to your project's standards for media quality, but be willing to make trade-offs for performance where appropriate.

Related Posts:
  • Facebook app for iphone 3
  • How to count down Days
  • Logs
  • Lpg in Fb
  • Instagram limits 2016
  • Get Facebook Messenger
  • How to download fb videos in android Iphone
  • How to sign out from Facebook messenger on Iphone
While MPEG-4 is broadly compatible and certainly suitable as an animated GIF replacement, we can go just a bit further by generating an additional WebM source. Read on to learn more!
Converting GIF to WebM

While MPEG-4 has been in around in some form since at least 1999 and continues to see development, WebM is a relative newcomer having been initially released in 2010. While browser support for WebM isn't as wide as MPEG-4, it's still very good. Because the <video> elementallows you to specify multiple <source> elements, you can state a preference for a WebM source that many browsers can use while falling back to an MPEG-4 source that all other browsers can understand.
Try converting your test GIF to WebM with ffmpeg with this command:
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Facebook has greatly reduced the distribution of our stories in our readers' newsfeeds and is instead promoting mainstream media sources. When you share to your friends, however, you greatly help distribute our content. Please take a moment and consider sharing this article with your friends and family. Thank you.

How to Install Facebook Marketplace Near Me App

How to Create a Facebook Business Page

How to Completely Delete Facebook Search History

How to Sign in or Login Instagram with Your Facebook

Marketplace Facebook Buy and Sell within Local Community – Marketplace Facebook Buy Sell App

How to Deactivate FB Account Temporarily on Facebook

How to Find Blocked Facebook List to Unblock blocked Friends

How to Use the “Near Me Friends” Facebook Feature

FB Customer Care Center & Email Help Supports Contact Addresses

How to Install & Play the Facebook Farmville Games
How to Install Facebook Marketplace Near Me App

How to Create a Facebook Business Page

How to Completely Delete Facebook Search History

How to Sign in or Login Instagram with Your Facebook

Marketplace Facebook Buy and Sell within Local Community – Marketplace Facebook Buy Sell App

How to Deactivate FB Account Temporarily on Facebook

How to Find Blocked Facebook List to Unblock blocked Friends

How to Use the “Near Me Friends” Facebook Feature

FB Customer Care Center & Email Help Supports Contact Addresses

How to Install & Play the Facebook Farmville Games

Blog Archive

  • ►  2019 (5)
    • ►  July (5)
  • ▼  2018 (2310)
    • ►  December (2)
    • ►  November (181)
    • ►  October (197)
    • ▼  September (1165)
      • Yahoo mail account sign up
      • Instagram video Icon
      • Add facebook widget to website
      • How to download facebook App
      • Terminate Facebook
      • Restart Facebook
      • How to search for Someone
      • Mobile number Lookup
      • Can you sign up for instagram online
      • Myphone Fb
      • Instagram login sign In
      • My facebook is blocked how do i unblock it
      • How to get more followers on instagram Instantly
      • Page Followers
      • Cannot get Facebook
      • Candy crush saga Android
      • How do i share from facebook to Instagram
      • How to change facebook username Again
      • Whatsapp turn off Facebook
      • Cannot get Facebook
      • Candy crush saga Android
      • How do i share from Facebook
      • how to change facebook username again
      • Whatsapp turn off Facebook
      • Can you hide friends from other friends on Facebook
      • Get off Facebook
      • Gearbox Facebook
      • How to download in facebook Videos
      • Find deleted facebook posts
      • Make your own poll free
      • How to delete list in Facebook
      • Meaning of poke in hindi on Facebook
      • Free online video downloader from any Site
      • Facebook update Verion Download
      • Who viewed my Facebook
      • Facebook logout link Mobile
      • How to delete your old instagram account without P...
      • Our facebook Page
      • Pages for You
      • Facebook new id open Now
      • Can you make a poll on Facebook Page
      • Pet friendly Hotels
      • Goggles
      • Where do you find archived messages on Facebook
      • Facebook blank Page
      • How i change my name in Facebook
      • Unblockedgamescorner
      • How do i delete a group i created on Facebook
      • Forgot Instagram password and Dont have Facebook
      • British army Facebook
      • How to change page url in Facebook
      • Vacation countdown Widget
      • my facebook is blocked how do i unblock it ...
      • Email id login
      • Sign in facebook sign in
      • Mobile facebook Messenger
      • Suspend facebook Page
      • Facebook at work sign up
      • can plus
      • face messenger app
      • How to read archived Facebook Messages
      • www f facebook com login
      • Memories of Facebook
      • Erase Facebook account Forever
      • Download a Messenger App
      • Retrieve lost facebook Password
      • Facebook login friends Search
      • quiz de facebook
      • Poke Poke
      • Fb logout Button
      • How to change name on Facebook before 60 Days
      • How to permanently delete Facebook messages from f...
      • can Instagram
      • How we delete Facebook Account
      • What is followers in Facebook
      • How to convert facebook video to Mp3
      • How to get ur Instagram Password
      • Download Instagram for Tablet
      • How do i know if someone has Facebook Messenger
      • Where can i find location services on Iphone
      • No name Facebook
      • How to unblock ads on Facebook
      • Download foto instagram online
      • How to find a Facebook Stalker
      • Aquarius horoscope Today
      • Facebook login through mobile Number
      • Instagram deleted my Likes
      • Fb sign in and log In Password
      • Delete location on Facebook
      • Log in Facebook Facebook
      • How to unblock ppl on Fb
      • Facebook messenger recovery Tool
      • Facebook operator Number
      • How to know block Facebook
      • Facebook operator Number
      • How to know block Facebook
      • Fejsbuk Log in
      • How to hide Facebook friends list on Mobile
      • How to logout of Instagram on Laptop
      • Can i see who views my Instagram Pictures
    • ►  August (665)
    • ►  July (100)

Copyright © Basic Facebook Guide