(help) video thumbnail with ffmpeg

Started on the old forum in April 2012 · view the original in the archive · old links redirect here

No replies · 463 views · started 14 years ago · 1 min read

phzone Junior · 18 posts #1

i have this code function make($video,$ige){ $ffmpeg = '/usr/local/bin/ffmpeg'; $image = "$ige"; $interval = 5; $size = "100x50";

$cmd = "$ffmpeg -i $video -deinterlace -an -ss $interval -f mjpeg -t 1 -r 1 -y -s $size $image 2>&1"; $return = $cmd; } its working but it only shows 1 image . I want 2 or more image to preview. .and how to detect its video length. .

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close