I'm trying my first CodeIgniter E-learning project that a teacher can upload their video file, and show it on lesson page.
The problem I was thinking about is if our customer has AVI video files and wants to upload them and show them on webpage, but most browsers do not support an AVI file fromat.
So how can I solve this problem?
I tried videojs but it doesn't work, Is there any suggestion?
I'm thinking about 2 options
Is there any plugin/software that can display AVI video and embed it on webpage?
Create convert process to convert AVI to MP4 => I think it will more complicated.
I found another option to do that: Use Google Drive API to upload and generate preview link to show. It worked!! If you guys have another effective way please let me know!
I think for embedding avi video. That is previously answered in how to embed an .AVI in html?
As for converting video. I think you can use something like ffmpeg or avconv for converting video in the backend to convert it first and then embed it or do it in Flash or in html video tag
Related
So I want to download a .mp3 file from a Youtube video. But YT only provides a .mp4 file (afaik).
So I have to convert the Video to a .mp3 File. But I don't want to download the video and convert it on device, since it takes too much data..
HERE was already mentioned that there is an API for it.. sadly it doesn't work anymore...
What I now found is this: https://youtube7.download/mini.php?id=HY_OIwideLg
But they load the .mp3 link (that I need) asynchronously. So I can't simply do URLSession.shared.dataTask(with:) because I will get the 'loading'-page only, with no link...
So the question is: How can I get the final loaded html site that returns from this php script?
I have been working on php for a while and i stuck at the point where i need to create thumbnail for video file using ffmpeg.
I looked up for same, but did not get any solution yet.
I found so many solutions to create a thumbnail from video file, but i want to create a thumbnail for video file.
EX. i will upload video file and image file and then this image file will be set as a thumbnail for a video.
Any solution .... if possible using ffmpeg then it would be great
Thanks in advance :)
Usually I have a video file field where I upload the video and configure display to be open with JWPlayer. It then opens as JWPlayer when I output it in the template (node.tpl.php)
But now the problem is that in some cases, I'll get a link like
http://www.mytest.com/videos/myvideo.mp4
which I want to play in JWPlayer too. Is it possible that I can play a video link directly in JWPlayer?
Thanks.
I have googled for image format that supports audio also. I came to know that gif won't support audio.We need to do it in flash. Is there any image format which holds audio also?
We can show image with audio in web page with little work around using audio and image tag in html5.
But we need to implement this in PHP(Forget about language now) to combine audio with Image and share to facebook ? Is this possible?
Upload to e.g soundcloud with image, that will give desired result, but its an audio file with image not vice versa, which is not possible.
how can i upload and convert the video to mp4 behind the scene so that if user uploads a video than the user could work/visit on rest of site and once the video is converted it displays in the users control panel....!!
i want to do this without ffmpeg........
if there is no way out than i will want to use ffmpeg.....!!
See this SO question, or this one