I want to play one media stream by MPMoviePlayer, it can play h264 video but there is no sound output. I want to know is there any framework can handle the mpga audio ?
I can play it by VLC and got the media information as follow:
Apple's documentation states that MPMoviePlayerController can play any audio file that iOS supports natively.
But unfortunately for you, "mpga" format is not one of the audio file formats supported natively in iOS.
You're going to have to find a way to convert the "mpga" track to something iOS can use.
MPGAs files are basically mp3 but AvPlayer can't play them due to its file extension .
you can change file extention to mp3 easily and then player will work and can play the file.
Related
I have a 86MB file that won't play but have other smaller mp4 that will. Is Videogular a streaming component or does it load the entire mp4 and then play it. I also do not get any errors, just the loading screen/circle goes forever.
thx
Ralph
There is no limit but your file should be correctly encoded to play your file on-demand.
If you have problems with your MP4 just try the file that we have at our website.
If you need help encoding your files you can use a transcoding software like eRightSoft SUPER or an online service like Zencoder or Encoding.
Can mediaelement.js playback .WAV sound files?
Also, even though these are not specified in mediaelement.js website, since Flash is able to playback these formats, can mediaelement.js possibly playback AAC, M4V, M4A, 3GP, MOV and 3GPP?
How about HTML5 playback of any of the formats mentioned above?
Thank you.
WAV is generally supported in my experience, but of course this is depending on the user's browser, as with all officially supported formats, too.
Have a look at my web app, with the WAV example here, which uses mediaelementjs as player engine.
I am currently trying to make a program that will take a stream coming in, like a webcam and a microphone, and I am trying to save both the video and audio into an AVI file and be able to save out the information out to images. I've tried to do this with DirectShow and OpenCV, but I've had some trouble since I have audio that I would like to include in the AVI file, but cannot see a way to use OpenCV to save Audio information.
I've also looked into FFMPEG, but I don't see much online about working with streams coming in from Windows.
Any information or documentation would be great.
I am trying to develop this on a Windows compatible machine.
Thanks
We have a cross platform vision system framework that may solve your needs:
http://www.simplecv.org
Here is how you do it in our code:
from SimpleCV import *
import time
cam = Camera()
visstream = VideoStream("foo.avi")
while(True):
image = cam.getImage()
image.save("c:/blah.png")
image.save(visstream)
time.sleep(0.05)
I am making a general question since I am a developer and I have no advance experience on video elaboration. I have to preparare a web application with the purpose to allow video files upload on our company server and then video elaboration by server, on user command. The purpose of the web application is to allow to the user to make some elaboration on video depending on user action launch from the web app:
(server has to ) convert video in different format(mp4, flv...)
extact keyframes from video and saves them in jpeg format
possibility to extract audio from video
automatic control of quality audio & video (black frames,silences detection)
change scene detection and keyframe extraction
.....
This what's my bosses wanted from the web based application (with the server support obviously), and I understand only the first 3 points of this list, the rest for me was arabic....
My question is: Which is the best and fastest server side application for this works, that can support multiple batch video conversions, from command line (comand line for php-soap-socket interaction or something else..)?
Is suitable Adobe Media Server for batch video conversion?
Which are adobe products that can be used for this purpose?
Note: I have experience with Indesign Server scripting programing (sending xml with php and soap call...), and I am looking to something similiar for video elaboration.
I will appreciate any answers.
THANKS ALL
I suggest you start with the open source project FFmpeg. You can call the program from the command line and via a series of arguments specify the desired output types, thumbnails, etc.
As an aside, when you start looking around at Video related projects (MediaShare for example) you will find they are all using FFmpeg for their video processing.
as Nathan suggested, FFMPEG is the first choice. Also you can check MEncoder
Just to elaborate:
1) (server has to ) convert video in different format(mp4, flv...)
both FFMPEG and mencoder do this well
2) extact keyframes from video and saves them in jpeg format
as I know it's impossible using command-line interface of FFMPEG, not sure about mencoder. However they can save all frames as separate images
3) possibility to extract audio from video
both FFMPEG and mencoder do this well
4) automatic control of quality audio & video (black frames,silences detection)
you need to code this, using FFMPEG libraries or mencoder
5) change scene detection and keyframe extraction
it's not clear what your boss imposes here
I tried lot of videos converting in server side using advance Xuggler API libraries.
Xuggler is a free open-source library for Java developers which can be used to uncompress,
manipulate, and compress recorded or live video in real time. Xuggler uses the very
powerful FFmpeg media handling libraries under the hood, essentially playing the role of a
java wrapper around them. It is the easy way to uncompress, modify, and re-compress any
media file (or stream) from Java.
WebLinks : 1) http://www.xuggle.com/ -official website
2) http://www.javacodegeeks.com/2011/02/introduction-xuggler-video-
manipulation.html - example
I am setting up my hi-fi to stream music from my PC. The hi-fi can see all of the files in my music folder, but I want to be able to stream across the audio I am currently playing. The hi-fi however does not have support for this.
So I've found a .dll that wraps directsound and offers it streaming as a continuous mp3 file on my PC from localhost:8124
I want to make a file in my music folder that will point to this (i.e. audio.mp3). So when my hi-fi streams audio.mp3 and plays it, it will actually receive the contents from localhost:8124.
I've tried using symbolic links, but they don't seem to allow me to do this.
Finally I am running Windows 7.
Can I do this? and if so how?
You can't do that. You can't create something that looks like a file, but actually streams the content from some other location.
If your hi-fi doesn't support streaming, there's no solution. If it does support streaming, you'll need to find a way to support the streaming protocol it does handle.