Hi,

I've set this as a critical only because I have this causing issues on a live site at the minute and cannot seem to resolve.

Every time .avi files are uploaded and cron runs I get the following type of error;

Conversion failed.
Command: ffmpeg -y -i "/var/www/vhosts/sitename.com/httpdocs/sites/default/files/Day14_0.avi" -vframes 1 -ss "00:00:02" -an -vcodec mjpeg -f rawvideo -s ""160x120"" "/var/www/vhosts/sitename.com/httpdocs/sites/default/files//Day14_0_1308.jpg"

Although it says the conversion has failed the video is in fact encoded and moved across to the our S3 server. The thumbnail is obviously causing problems.

I've noticed 2 things;

1) the thumbnail dimensions are being generated with a double set of quotes...""160x120"" - HOWEVER, removing this from the command in settings does not resolve the failure.

2) the other thing I notice is that the path is wrong i.e ..../sites/default/files//Day14_0_1308.jpg NOTE the double //

Any help would be greatly appreciated. Thanks :)

Comments

axel pressbutton’s picture

Forgot to clarify the ".avi file only" part - Uploading .mov .wmv and .mp4 do not display this error and thumbnails are generated as normal.

I'm also not seeing the 'Thumbnail not available' image either.

(out of interest...when did mp4's start getting bypassed, didn't they used to get converted?)

Thanks again :)

f.onica’s picture

I have the same issue described here.
NO thumbnails for .avi files.

@Axel
.mp4 files are not converted anymore because they can be played natively in flash.

axel pressbutton’s picture

Cool, thanks for the info floryn_onik