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.
Helping you always. Don't forget to click "Mark as Answer" on the post that helped you.
♠ ASP.NET Core Tutorials → Start from the Beginning and become an Expert in 30 days time ♠
Member
39 Points
199 Posts
Get Preview Before Upload Video
Sep 19, 2019 10:06 AM|elahi1mahdi|LINK
Hi,
how to get preview from video file (input file html) with ffmpeg before upload it?
All-Star
53131 Points
23682 Posts
Re: Get Preview Before Upload Video
Sep 19, 2019 10:16 AM|mgebhard|LINK
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.
Participant
1253 Points
936 Posts
Re: Get Preview Before Upload Video
Sep 19, 2019 11:01 AM|yogyogi|LINK
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.
♠ ASP.NET Core Tutorials → Start from the Beginning and become an Expert in 30 days time ♠