Error Unable To Extract Video Thumbnail
Sign in Pricing Blog Support Search GitHub This repository Watch 925 Star 20,822 Fork 3,988 rg3/youtube-dl Code Issues 1,299 Pull requests 157 Projects 0 Pulse Graphs Fixed gvsearch and ytsearch; switched Vimeo to scraping #301 Closed FiloSottile wants to merge 4 commits into rg3:master base: master from FiloSottile:master Conversation 2 Commits 4 Files changed 1 Changes from all commits Commits Show all changes 4 commits Select commit Hold shift + click to select a range 0f6e296 Fixed gvsearch FiloSottile Mar 1, 2012 2934c2c Switch Vimeo to scraping: fixes #285 FiloSottile Mar 5, 2012 597e7b1 Vimeo: Added support for flv only videos FiloSottile Mar 7, 2012 afbaa80 switched ytsearch to more robust Youtube Data API (fixes #307) FiloSottile Mar 14, 2012 1 file Jump to file +74 −86 youtube-dl youtube-dl +74 −86 Unified Split Show comments View 160 youtube-dl @@ -2058,7 +2058,7 @@ class VimeoIE(InfoExtractor): video_id = mobj.group(1) # Retrieve video webpage to extract further information - request = urllib2.Request("http://vimeo.com/moogaloop/load/clip:%s" % video_id, None, std_headers) + request = urllib2.Request(url, None, std_headers) try: self.report_download_webpage(video_id) webpage = urllib2.urlopen(request).read() @@ -2071,77 +2071,75 @@ class VimeoIE(InfoExtractor): # and latter we extract those that are Vimeo specific. self.report_extraction(video_id) - # Extract title - mobj = re.search(r'
English » 2. Using Liferay » General Recent Posts Statistics RSS (Opens New Window) Answer (Unmark) Mark as an Answer Threads [ Previous | Next ] Video upload issues Biniword Aweke Konjit April 8, 2015 6:36 AM RE: Video upload issues Biniword Aweke Konjit April 8, 2015 6:50 AM RE: Video upload issues James Falkner April 8, 2015 7:00 AM RE: Video upload issues Biniword Aweke Konjit April 14, 2015 12:30 AM RE: Video upload issues Juan Gonzalez April 14, 2015 1:26 AM RE: https://github.com/rg3/youtube-dl/pull/301/files Video upload issues Biniword Aweke Konjit April 14, 2015 1:48 AM RE: Video upload issues Biniword Aweke Konjit April 17, 2015 12:04 AM Video upload issues April 8, 2015 6:36 AM Answer Biniword Aweke Konjit Rank: Junior Member Posts: 58 Join Date: November 14, 2012 Recent Posts once again another question,I'm using liferay 6.2 document and https://web.liferay.com/community/forums/-/message_boards/message/52316316 media portlet to upload a video.But some videos didn't generate a preview of video thumbnail. and even some other takes long time.1. I got an error "Unable to open coder", how can I fix this error.2. How can I increase the performance of preview generationplease help in this question Sign in to vote. Flag Please sign in to flag this as inappropriate. RE: Video upload issues April 8, 2015 6:50 AM Answer Biniword Aweke Konjit Rank: Junior Member Posts: 58 Join Date: November 14, 2012 Recent Posts excuse me James, So can You help me in this question..... Sign in to vote. Flag Please sign in to flag this as inappropriate. Mark as an Answer RE: Video upload issues April 8, 2015 7:00 AM Answer James Falkner Community Moderator Rank: Liferay Legend Posts: 1406 Join Date: September 17, 2010 Recent Posts selam Aweke selam:once again another question,I'm using liferay 6.2 document and media portlet to upload a video.But some videos didn't generate a preview of video t
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn http://superuser.com/questions/538112/meaningful-thumbnails-for-a-video-using-ffmpeg more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and error unable rise to the top Meaningful thumbnails for a Video using FFmpeg up vote 46 down vote favorite 31 FFmpeg can capture images from videos that can be used as thumbnails to represent the video. Most common ways of doing that are captured in the FFmpeg Wiki. But, I don't want to pick random frames at some intervals. I found some options using filters on FFmpeg to capture scene changes: The error unable to filter thumbnail tries to find the most representative frames in the video: ffmpeg -i input.mp4 -vf "thumbnail,scale=640:360" -frames:v 1 thumb.png and the following command selects only frames that have more than 40% of changes compared to previous (and so probably are scene changes) and generates a sequence of 5 PNGs. ffmpeg -i input.mp4 -vf "select=gt(scene\,0.4),scale=640:360" -frames:v 5 thumb%03d.png Info credit for the above commands to Fabio Sonnati. The second one seemed better as I could get n images and pick the best. I tried it and it generated the same image 5 times. Some more investigation led me to: ffmpeg -i input.mp4 -vf "select=gt(scene\,0.5)" -frames:v 5 -vsync vfr out%02d.png -vsync vfr ensures that you get different images. This still always picks the first frame of the video, in most cases the first frame is credits/logo and not meaningful, so I added a -ss 3 to discard first 3 seconds of the video. My final command looks like this: ffmpeg -ss 3 -i input.mp4 -vf "select=gt(scene\,0.5)" -frames:v 5 -vsync vfr out%02d.jpg This was the best I could do. I have noticed that since I pick only 5 videos , all of them are mostly from beginning of the video and may miss out on important scenes t