locked
Get Preview Before Upload Video RRS feed

  • Question

  • User338455301 posted

    Hi, 

    how to get preview  from video file (input file html) with ffmpeg before upload it?

    Thursday, September 19, 2019 10:06 AM

Answers

  • User-2054057000 posted

    Hi, 

    how to get preview  from video file (input file html) with ffmpeg before upload it?

    If you open the video URL in the browser then the browser will start playing it. It is as simple as that. 

    For example: keep a video file called somevideo.mp4 in your desktop and open this url (file:///C:/Users/Yogesh/Desktop/somevideo.mp4) in your browser. You will see the video will start playing.

    You can implement this concept. Like - in your web page you provide an iframe and then set the video url to the iframe when you upload a video. In this way the video will play in iframe and you get the previewing.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 19, 2019 11:01 AM

All replies

  • User475983607 posted

    elahi1mahdi

    how to get preview  from video file (input file html) with ffmpeg before upload it?

    According to Google FFMPEG is a program/library.   The browser cannot execute a program on the user's machine.  Are you using a JavaScript library?

    Your best support option is asking the FFMPEG community.

    Thursday, September 19, 2019 10:16 AM
  • User-2054057000 posted

    Hi, 

    how to get preview  from video file (input file html) with ffmpeg before upload it?

    If you open the video URL in the browser then the browser will start playing it. It is as simple as that. 

    For example: keep a video file called somevideo.mp4 in your desktop and open this url (file:///C:/Users/Yogesh/Desktop/somevideo.mp4) in your browser. You will see the video will start playing.

    You can implement this concept. Like - in your web page you provide an iframe and then set the video url to the iframe when you upload a video. In this way the video will play in iframe and you get the previewing.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 19, 2019 11:01 AM