View Single Post
Old 05-19-2013, 03:42 PM  
arena18
Confirmed User
 
arena18's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 246
ffmpeg problem with creating thumbnail

I have a tube site and im using this function to generate thumbs from video file


Code:
ffmpeg -ss 255 -i test.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 240x180 test.jpg

Here is thumbs result, this image is just what i need, no border and etc..

i.imgur.com/ePpVA8E.png

but sometimes depending on video size i have thumbs like this

i.imgur.com/VTTESDf.png

Whats the best way to remove this black space from thumbs, but need to keep thumb size 240x180

Last edited by arena18; 05-19-2013 at 03:43 PM..
arena18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook