Create an animated gif from a Youtube video

url=http://www.youtube.com/watch?v=V5bYDhZBFLA; youtube-dl -b $url; mplayer $(ls ${url##*=}*| tail -n1) -ss 00:57 -endpos 10 -vo gif89a:fps=5:output=output.gif -vf scale=400:300 -nosound
requires "youtube-dl" -- sure you can do this with wget and some more obscurity but why waste your time when this great tool is available? the guts consist of mplayer converting a video to a gif -- study this command and read the man page for more information mplayer video.flv -ss 00:23 -endpos 6 -vo gif89a:fps=5:output=output.gif -vf scale=400:300 -nosound generates a 6 second gif starting at 23 seconds of play time at 5 fps and a scale of 400x300 start time (-ss)/end time (-endpos) formats: 00:00:00.000 end time should be relative to start time, not absolute. i.e. -endpos 5 == seconds after 0:42 = 0:47 end point play with fps and scale for lower gif sizes the subshell is a solution for the -b flag on youtube-dl which downloads the best quality video, sometimes, which can be various video formats $(ls ${url##*=}*| tail -n1)
Sample Output
http://imgur.com/Pnfcu.gif

12
By: zed
2010-07-18 02:11:39

1 Alternatives + Submit Alt

  • Creates a better looking gif than the original post via imagemagick processing high quality jpgs, rather than converting directly to gif from the video itself.


    0
    youtube-dl -o bun.flv http://www.youtube.com/watch?v=SfPLcQhXpCc; mplayer bun.flv -ss 03:16 -endpos 5 -vo jpeg:outdir=bun:quality=100:smooth=30:progressive -vf scale=320:240 -nosound; convert -delay 4 -loop 0 bun/*.jpg bun.gif
    joeyliechty · 2012-01-05 17:53:22 4

What Others Think

The -b option of youtube-dl is not supported, at least for version 2015.03.28
Buzzcp · 380 weeks and 6 days ago
Youtube is the best source for learning if you want to learn anything from youtube then you have to learn easily and free. Even get your free case study writers about the many skills that will help you to choose the field which will make you successful.
dywizic · 140 weeks and 1 day ago
http://onlineeducationconsultancy.com/cheapest-fastest-way-to-get-a-bachelors-degree/">Online bachelors-degree Online bachelors-degree is one of its kind's non-profit education consultant firm. We are devoted to exterminating all hindrances http://onlineeducationconsultancy.com/cheapest-fastest-way-to-get-a-bachelors-degree/
oliviaryaaan · 119 weeks and 1 day ago
best dissertation writing services the best online dissertation writing agency in UK. We have a team of PhD certified writers that belongs to vast successful experience https://www.prodissertationwriting.co.uk/buy-dissertaion-paper-writing.php
oliviaryaaan · 119 weeks and 1 day ago
cheap dissertation writing services We believe that conducting a dissertation or thesis is both a terrific challenge and an excellent chance. Your dissertation or thesis journey can be a time in your life when you find out to love and appreciate obstacles for the development in capability they cultivate, the life experiences https://dissertationlords.co.uk
oliviaryaaan · 119 weeks and 1 day ago
buy dissertaion paper writing best dissertation writing services the best online dissertation writing agency in UK. We have a team of PhD certified writers that belongs to vast successful experience https://www.prodissertationwriting.co.uk/buy-dissertaion-paper-writing.php
oliviaryaaan · 119 weeks and 1 day ago
cheap dissertation writing services cheap dissertation writing services We believe that conducting a dissertation or thesis is both a terrific challenge and an excellent chance. Your dissertation or thesis journey can be a time in your life when you find out to love and appreciate obstacles for the development in capability they cultivate, the life experiences
oliviaryaaan · 119 weeks and 1 day ago
Data analytics service Data analytics service Maveric Analytics Hub is a globally acclaimed, statistical analysis platform providing competent, professional and renowned services to academia and corporations
oliviaryaaan · 119 weeks and 1 day ago
British Dissertation Consultants British Dissertation Consultants ensures that your work is screened before submission under the strictest quality control measures. We assure that your dissertations
oliviaryaaan · 119 weeks and 1 day ago
papers planet papers planet If you are a student and running late on the deadline to submit the assignment or need any assistance with your academic piece of writing but don’t have much time left for the submission then Papers Planet is there for your help
oliviaryaaan · 119 weeks and 1 day ago
Paper Lords Paper Lords has always offered productive results to their customers, and they haven't failed to deliver their projects on-time. Our team always prioritizes the customers' requirements
oliviaryaaan · 119 weeks and 1 day ago
Online Class Hub Online Class Hub is an association of professionals dedicated to serving students save capital and simplify their careers. Need more time to get everything done
oliviaryaaan · 119 weeks and 1 day ago
Research Publishers Research Publishers is a globally acclaimed Research Publishers consultancy providing quality, expedition, and renowned expertise in the publishing of academic and corporate research
oliviaryaaan · 119 weeks and 1 day ago
"???????????????????speech??????????????????????????????????????????????????????????????????????????????????:??????????????????????????????????????????????????????????????????????????????2?????????????????????: -????????? -???????????(?????) -??????????????????????????????"
illianna · 86 weeks ago
The calculation method is the engine that drives the machine learning. Generally, there are two algorithms in the process of writing machine learning https://www.academicsaviour.com/machine-learning-dai-xie: supervised learning and unsupervised learning. The difference between the two is how to learn data to make predictions. The most frequently used method is to supervise machine learning calculations. Under this model, the data scientist will act as a guide to tell the algorithm what conclusions should be drawn. Just like a child learns to recognize fruits by memorizing them in a picture book, in supervised learning algorithms, the algorithm is trained on a data set that has been labeled and has a predefined output. Examples of such machine learning include computational methods, such as linear and logistic regression, multi-class classification, and support vector machine.
illianna · 86 weeks ago
????Appendix. 100%????. -EssayMin ??????????????, ????, ???????, ?????, ????????. ????????????????! ??????????????Appendix????, EssayMin??????Appendix???????. EssayMin?????????,????????????, ????????????????. ??Essay?????, ??????????????????. EssayMin?????Appendix?????100%???, ?????! https://essaymin.com/cn/%e6%af%95%e4%b8%9a%e8%ae%ba%e6%96%87appendix%e9%99%84%e5%bd%95/
danielkoike · 54 weeks and 6 days ago
??????????, 100%????. -EssayMin ?????????????? ???EssayMin????????? EssayMin?????????????????????, ?????????????????. ??????????????, ???????, ????????????????Proposal???, ?????, ???????, ????????????, ???????????. EssayMin?24????????????, ?????????. ?????????????????????, ????, ?????! ???????????????EssayMin. https://essaymin.com/cn/thesis-dissertation/
danielkoike · 54 weeks and 6 days ago
Graduation thesis Introduction, all-day hou online service So many graduation thesis Introduction writing institutions, why choose EssayMin? EssayMin has enough confidence in Dissertation writing! We are qualitatively different from other ghostwriting agencies on the market. EssayMin, an established institution in the UK, is equipped with an independent graduation thesis tutor team, all of which are composed of teachers with rich experience in writing graduation thesis Introduction. EssayMin has 15 years of experience in the ghostwriting industry. As early as 2006, I realized the difficulty and professionalism of my graduation thesis. So an elite team of writing tutors was created. ref=nofollowhttps://essaymin.com/cn/%e6%af%95%e4%b8%9a%e8%ae%ba%e6%96%87introduction%e4%bb%a3%e5%86%99/ They all come to the fore after layers of selection and assessment, and other graduation thesis Introduction writers have a qualitative difference!
danielkoike · 54 weeks and 6 days ago
Graduation thesis Introduction, all-day hou online service So many graduation thesis Introduction writing institutions, why choose EssayMin? EssayMin has enough confidence in Dissertation writing! We are qualitatively different from other ghostwriting agencies on the market. EssayMin, an established institution in the UK, is equipped with an independent graduation thesis tutor team, all of which are composed of teachers with rich experience in writing graduation thesis Introduction. EssayMin has 15 years of experience in the ghostwriting industry. As early as 2006, I realized the difficulty and professionalism of my graduation thesis. So an elite team of writing tutors was created. ref=nofollowhttps://essaymin.com/cn/%e6%af%95%e4%b8%9a%e8%ae%ba%e6%96%87introduction%e4%bb%a3%e5%86%99/ref=nofollowThey all come to the fore after layers of selection and assessment, and other graduation thesis Introduction writers have a qualitative difference!
danielkoike · 54 weeks and 6 days ago
Graduation thesis Introduction, all-day hou online service So many graduation thesis Introduction writing institutions, why choose EssayMin? EssayMin has enough confidence in Dissertation writing! We are qualitatively different from other ghostwriting agencies on the market. EssayMin, an established institution in the UK, is equipped with an independent graduation thesis tutor team, all of which are composed of teachers with rich experience in writing graduation thesis Introduction. EssayMin has 15 years of experience in the ghostwriting industry. As early as 2006, I realized the difficulty and professionalism of my graduation thesis. So an elite team of writing tutors was created. ref=https://essaymin.com/cn/%e6%af%95%e4%b8%9a%e8%ae%ba%e6%96%87introduction%e4%bb%a3%e5%86%99/They all come to the fore after layers of selection and assessment, and other graduation thesis Introduction writers have a qualitative difference!
danielkoike · 54 weeks and 6 days ago
So many graduation thesis Introduction writing institutions, why choose EssayMin? EssayMin has enough confidence in Dissertation writing! We are qualitatively different from other ghostwriting agencies on the market. EssayMin, an established institution in the UK, is equipped with an independent graduation thesis tutor team, all of which are composed of teachers with rich experience in writing graduation thesis Introduction. EssayMin has 15 years of experience in the ghostwriting industry. As early as 2006, I realized the difficulty and professionalism of my graduation thesis. So an elite team of writing tutors was created. https://essaymin.com/cn/
danielkoike · 54 weeks and 6 days ago
??Scholarship Essay??? EssayMin????????????, ?????EssayMin?????, ???????????????????????, ????????, ?????????????????, ????????????. EssayMin??????????????????, ???????Scholarship Essay????, EssayMin???TurnitinUK????, ????????, ?????????????. Scholarship Essay????EssayMin! https://essaymin.com/cn/scholarship-essay/
danielkoike · 54 weeks and 3 days ago
??Scholarship Essay??? EssayMin????????????, ?????EssayMin?????, ???????????????????????, ????????, ?????????????????, ????????????. EssayMin??????????????????, ???????Scholarship Essay????, EssayMin???TurnitinUK????, ????????, ?????????????. Scholarship Essay????EssayMin! https://essaymin.com/
danielkoike · 54 weeks and 3 days ago
??Scholarship Essay??? EssayMin????????????, ?????EssayMin?????, ???????????????????????, ????????, ?????????????????, ????????????. EssayMin??????????????????, ???????Scholarship Essay????, EssayMin???TurnitinUK????, ????????, ?????????????. Scholarship Essay????EssayMin! discount drugs
danielkoike · 54 weeks and 3 days ago
Such technical and interesting regarding watching movies through regex and such info was mentioned here as I had interest of knowing it. I am glad that I found a website called the gogo anime who gives more details about it. Now I can write about it and also give my analysis
KayGasaway · 53 weeks and 2 days ago
The common grades of essays nowadays are high school essays, undergraduate essays, graduate essays, and doctoral essays. The price of different academic papers requires a wide range of fluctuations. Graduate and doctoral dissertations, in particular, require a lot of time to gather materials, read literature, and have unique insights to analyze. The cost will naturally be much higher for this type of requirement.
EssayOne · 36 weeks and 6 days ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale pug puppies indiana Amazing! This blog looks just like my old one! It's on a completely different subject but it has pretty much the same layout and design. Wonderful choice of colors!
rahimhh21 · 13 weeks and 6 days ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me USA USA USA USA USA USA Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies baby pug puppies for sale pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
Perfecthomepugs · 5 weeks ago
Manchester City will host Brentford at the Etihad Stadium in Week 16 of the 2022/2023 Premier League. This Premier League match ended bitterly for City. They lost to the guest with a score of 1-2. Ivan Toney put Brentford ahead in the 16th minute, then Phil Foden equalized for City in the 45+5 minutes. City were forced to bite their fingers after Ivan Toney scored the second goal for Brentford in this match in the 90+8 minute. City still has 32 points in second place. If standings leader Arsenal (34 points) later wins over host Wolverhampton, then the point difference between them will be five. This is the last Premier League match before the 2022 World Cup break. Clubs will compete again starting in December 2022. Manchester City Falls at Home Brentford surprisingly took the initiative to attack. After several times pounding City's back line in the early minutes, Brentford was even able to steal the first goal. Ivan Toney, who was recently left out of England's squad for the 2022 World Cup, fired Brentford ahead at the reigning champions with a header. City, of course, did not remain silent. However, City could only equalize at the end of the first half. Starting from Kevin De Bruyne's corner, which first hit Manuel Akanji's head, Foden equalized the score with his left foot. black panther wakanda forever streaming vf one piece red pelicula completa ".' Premier League Premier League After a draw in the first half, the match went tough in the second half. Citu dominated and created more chances, but their finishing was not optimal. Erling Haaland performed well below his best standards. Throughout the match, the Premier League's temporary top scorer was recorded as only releasing one shot, and that too was off target. City actually get disastrous in injury time. From Josh Dasilva's assist, Brentford scored the second goal as well as the decisive goal. That goal was scored by the same player who scored the opener, Ivan Toney. Ivan Toney's brace also made The Citizens fall at the Etihad Stadium. Starting XI and Match Statistics Manchester City (4-3-3): Ederson; John Stones, Manuel Akanji, Aymeric Laporte, Joao Cancelo; Kevin De Bruyne, Rodri, Ilkay Gundogan; Phil Foden, Erling Haaland, Bernardo Silva. Coach: Josep Guardiola. Brentford (3-5-2): David Raya; Zanka, Ben Mee, Ethan Pinnock; Mads Roerslev, Frank Onyeka, Vitaly Janelt, Mathias Jensen, Rico Henry; Bryan Mbeumo, Ivan Toney.
masdani233 · 3 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: