Looking for a tool to install on a webserver that can handle image/video conversion to flv. I am using php so the tools should have API's to allow scripting. I know of ffmpeg but is there any others or is this my only alternative.
FFMPEG is really your only viable option. It supports the most formats, and works efficiently.
Related
I need to merge/mix multiple audio file into one single audio file using ffmpeg api, I googled a lot but didn't find any useful code samples, could anyone help to provide some guide on how to do this with ffmpeg apis?
You can use SOX for this task. Check documentation http://sox.sourceforge.net/sox.html. FFMPEG is widely used for audio conversions from one format to another. SOX is the best library which is widely used for mixing or concatenating audios.
We have integrated Chromium Embedded Framework into our Windows game to allow us to render web pages from within our application, and everything works fine, except MP4 videos.
I understand Chromium does not include this codec due to licensing issues, but can anyone provide details on how we can add support, even if we have to license a codec for it.
All the information we can find seems to be old, and the functions referred to appear to be deprecated... so we are at a bit of a loss.
All the video serving networks we have spoken to appear to serve MP4s.. so changing encoding does not seem to be an option.
Any advice would be greatly appreciated.
Thanks
Check this url
Go to menu option Features --> Html5 Audio/Video section. It mentions that Nik's build (66.0.3359.181) has supported Mp4 (and other codecs).
If there is any licensing issues with using H.264/MP4, I am not aware about it, so please check for it before using.
Keep in mind that MP4 is not a codec it's a container format. You need to support all codecs that might be contained in a MP4 file.
In a recent post on a CEF forum someone managed to do it by setting the environmental variable:
GYP_DEFINES="proprietary_codecs=1 ffmpeg_branding=Chrome"
before running the automate-git.py script.
Source: Build CEF with proprietary codecs support
I wanted to know if there is a way to convert regular mp4 to a fragmented mp4 via javascript. (like mp4box does) Is it efficient enough (not suppose to be a complicated task)? did anyone write something like this?
to make it harder, can it be on the fly? meaning I will not download the whole mp4 from the server but download in parts and convert it into fragments compatible with fragmented mp4 and mpeg-dash - I'm trying to overcome to problem to not have to use 2 different file types to play a video or do mp4box on all my library in advance.
Regardless, is it possible to convert from h.264 compatible files with different containers (mov, flv etc.) to fragmented without a server? meaning do it in the browser with javascript somehow?
appreciate the help,
Yug
I am working on something similar (which lead me to here) but no clue so far. However, below is my finding:
Broadway:
https://github.com/mbebenita/Broadway
The idea is you may write a C/C++ using FFMPEG source library, then use Emscripten to compile your C/C++ coding into Javascript. I yet start working with this method, not sure this will work or not. If you did do let me know.
I found a tutorial for configuring server here http://www.organicdesign.co.nz/Simple_video_streaming_with_ffserver
but it is for linux... how to do such thing on windows? (with a real web cam)
Dont think ffserver exists on windows, my suggestion is to set up a linux box(ubuntu?) and play with ffserver there :)
Although, I too have read, in older posts, that builds for Windows are non-existing, this morning I found (not me, but google) this blog: https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/
Comes with a small guide also!
But as an alternative to ffserver, I would recommend rtmplite (you need python, but is extremely easy to use - at least in dev), or if you have java experience and alot of patience and time, red5!
download and install ICECAST server. It works for windows and ffmpeg and lets you live stream a video in mp4 and webm which you can publish and showcase online with html and php. Its the easiest way. I wish someone had told me this but I had to figure this out, thru trial and error. If this doesn't work for you type live stream server software on google search engine. http://icecast.org/ code that should configure it with ffmpeg https://www.ffmpeg.org/doxygen/2.4/icecast_8c_source.html. ffserver does no work for windows and its a huge waste of time.
I need help converting WAV files to MP3 format in VB6. I did already find source code in C#, but I can't use that
Here is a code example from the greatest programmer on Earth (Google):
VB6 Lame MP3 Encoder
Don't let the word "lame" fool you - it stands for "LAme Mp3 Encoder", I think.
AFAIK, MP3 compression is under a patent, you can do that legally only by buying a license.
Or, like many other softwares, use the Lame DLL without distributing it but asking to download it in a site not under the same laws...
Somehow, that's how Opera does with GPL software: they don't provide spelling correction out of the box but they instruct to download and install aspell...
Note you can use free alternatives, like Ogg Vobis, it depends on your purpose.