Announcement

#1 2016-12-19 11:07:58

HuangZhiRong
Guest

Error poster running ffmpeg

Hello/Hi/Greetings,
I'm using VideoJS and ffmpeg-3.2.2-win64-static.Already uploaded MP4 but did not see the thumbnail。Installation path:piwigo\ffmpeg
The error message is as follows:
Error poster running ffmpeg/avconv, try it manually, check your webserver error log:
ffmpeg -ss 4 -i "./upload/2016/12/19/*.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -y "./upload/2016/12/19/pwg_representative/*.jpg"
Can you tell me how to solve it?
Greetings from China

Piwigo version: 2.8.2
PHP version: 7.0.12
MySQL version:
Piwigo URL: http://

 

#2 2016-12-20 04:52:13

HuangZhiRong
Guest

Re: Error poster running ffmpeg

Hi, I'm HuangZhiRong,I have a question to add:

Manually add thumbnails is feasible.
when I go to the plugin page 'Administration' -> 'Plugins' -> 'VideoJS' -> 'Synchronization'->Run the Synchronization.Select the option as Only simulated operation(Will not change any content in the database) .No error occurred,and no thumbnail.I can see the PWG_representative folder built, there is no file inside.

 

#3 2016-12-20 05:04:40

Hzr079146
Member
2016-12-20
4

Re: Error poster running ffmpeg

This is the synchronization interface error message screenshot

Last edited by Hzr079146 (2016-12-20 05:09:14)

Offline

 

#4 2016-12-20 15:27:47

jnashpiwigo
Piwigo Team
2014-10-21
254

Re: Error poster running ffmpeg

The error message indicates what you need to do.

Code:

Error poster running ffmpeg/avconv, try it manually, check your webserver error log:
ffmpeg -ss 4 -i "./upload/2016/12/19/*.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -y "./upload/2016/12/19/pwg_representative/*.jpg"

1) Check your webserver error logs
2) Try it manually -> ffmpeg -ss 4 -i "./upload/2016/12/19/*.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -y "./upload/2016/12/19/pwg_representative/*.jpg"

The error indicates that ffmpeg is unable to execute.  By doing the two steps above, you should be able to determine why this is so.

Offline

 

#5 2016-12-21 11:00:03

Hzr079146
Member
2016-12-20
4

Re: Error poster running ffmpeg

My ffmpeg is not properly installed, now I add ffmpeg environment variables in windows, now run properly, thank you!

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact