Sunday, December 2, 2007

Use ffmpeg to extract first image out of FLV

I found at least one other person trying to find a way to extract a JPG snapshot out of a flash video using ffmpeg.

The above article suggests using ffmpeg to extract a PNG, and then convert that to a JPG (since the JPG will be much smaller). Instead, just use the correct arguments to ffmpeg:


ffmpeg -i movie.flv-vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 movie.jpg


With -vcodec mjpeg the important argument.

2 comments:

  1. An quick 소울카지노 bonus are bonus funds may be} awarded in a restricted state and additionally be} wagered with immediately upon grant. In common, making a “pass line” wager on whether or not the shooter will win provides you 50/50 odds. Blackjack is mostly about luck, and generally, the house edge , is simply about 2%. Fully adaptable assembly spaces, unparalleled entertainment and exciting amenities.

    ReplyDelete
  2. A hand is valued by the rightmost digit of the sum of the cards; every round has precisely three differing outcomes. The participant gets the upper rating, or the banker gets the upper rating or a tie. A shiny and thrilling sport by which Gonzo the adventurer travels by way of the 토토사이트 South American jungles seeking Eldorado, the misplaced city of gold.

    ReplyDelete