To retrieve the first frame from a video by using ImageMagick through html code.
Posted: 2018-02-19T19:29:43-07:00
Hi,
Would it be possible to retrieve the first frame from a video file that is stored in a database by using imagemagick
through html code instead of using command line?
I have uploaded a video file such as mp4 to the database, however at website such as front page or list page, nothing will be shown since the video file is not image file (unless I run the actual video file at the detail page).
Can I do something with this by using ImageMagick through html code, not through command line? The below is the example of html code for video to run at the dtail page for html code, and is there any way to retrieve the first frame from a video file by using ImageMagick so that at the front page or the list page the image of the video file will be shown?
<video width="500" height="250" id="player" poster="xxxxx.jpg" controls="controls" preload="auto" >
<source src="xxxxxxxxxxxxxxxxxx" />
</video>
Would it be possible to retrieve the first frame from a video file that is stored in a database by using imagemagick
through html code instead of using command line?
I have uploaded a video file such as mp4 to the database, however at website such as front page or list page, nothing will be shown since the video file is not image file (unless I run the actual video file at the detail page).
Can I do something with this by using ImageMagick through html code, not through command line? The below is the example of html code for video to run at the dtail page for html code, and is there any way to retrieve the first frame from a video file by using ImageMagick so that at the front page or the list page the image of the video file will be shown?
<video width="500" height="250" id="player" poster="xxxxx.jpg" controls="controls" preload="auto" >
<source src="xxxxxxxxxxxxxxxxxx" />
</video>