I m working on recording audio from web cam.
So far i have successfully written the code for recording and saving audio to silverlights cache. My problem is i am not getting any way to convert that recorded audio files which are of unknown format into some know like wma.
Any direction to do this would be a great help for me.
Related
i am trying to implementing agora video to my project already tried build it on WebGL and VR and it's work great, but for some reason cant change the audio volume on Quest device, even thought my quest volume is set to 0 but still hear it for some reason
Thanks in advance!
I'm trying to build a video using a command line wizard I've written. To do this, I am constructing an AVISynth file (in this case, a huge 1,820-line, 94Kb file) and use avs2avi to render it.
It works great, but for some reason it doesn't save the audio.
Here's the general layout of my AVS:
# lots of code to generate the video here
vid = titles+main+ending
aud = WAVSource("render.wav")
AudioDub(vid,aud)
It plays fine in Media Player, audio and all. But with this command line:
avs2avi render.avs render.avi -c XVID
It renders the video without any sound. Similarly, if I drop the -c XVID parameter, I get the dialog asking me for a compression format and I still get no sound.
What gives, and how can I fix this? The only alternative I'm seeing is using something like VirtualDub to put the audio track back in, but it seems like a hassle.
Edit: It doesn't work with simple scripts either.
BlankClip(length=100,width=256,height=256,fps=25).AudioDub(WAVSource("beep.wav"))
Produces sound in Media Player, and a silent video through avs2avi.
I am creating an iPhone application, which can play many media formats. I am not able to play AVI file format, where as I am able to play other formats (for e.g. MP3, MP4, MOV etc). When I try to play AVI, it shows black screen and display is hidden. Any suggestions on what I can do to fix this issue?
Take a look at this tutorial on playing video with ffmpeg and SDL, both available for the iPhone.
An ffmpeg and SDL Tutorial or How to Write a Video Player in Less Than 1000 Lines
It's written in C, but consider it pseudocode, and adapt it in Objective C accordingly.
.avi is a container format, not a specific audio/video codec. Depending on the contents of the .avi container, it may or may not be possible to decode the video on an iOS device (due to hardware limitations). If it is possible to decode the video in real time, you may have some luck using the libav (aka ffmpeg) library to decode it.
I want to make simple project which play flash video file from online.
I've searched some articles and read carefully.
But I can't understand, how to play flash video files on iPad by Code.
So I need help from you.
Please.
Simply put, without being jailbroken, No you cannot.
The closest thing to being able to view flash in iOS is Frash, and I am not even sure if it is actively being developed or supported any more.
You can always check out the open source project for Frash. by Comex.
All IOS devices don´t support Flash player, but is be possible to use a Javascript or HTML5 player for video.
No, iWhatever's currently do not and to the best of my surfing knowledge, have no intention of supporting flash format due to some argument between apple and adobe.
At the end of the day, the Flash video format is a container for a movie that’s been compressed by some codec. If you can get to the source file, you know the format of the container, you know the codec that was used to encode the video, and you know how to write code to convert that into audio streams and video frames, then yes, you can play Flash videos on the iPad.
So, to recap:
Get the Flash video file.
Get to the encoded video data in the Flash file.
Decode the video and convert it, either into raw audio and video or to another format that the iPad can play.
Play the result of #3.
Needless to say, this is quite the endeavor. It’s better to download the movies to your desktop and convert them there before loading them into your application.
Yes you can! The question is whether or not you can play the video itself not whether or not ipads support flash player.
the answer is this.. new versions of "flash video" have a f4v file extension. These videos are basically a h.264 mp4 files. You "may" be able to play it in an ipad simply by renaming it to .mp4
If that doesn't work then use a utility like Miro to convert your "flash video" to a format that your ipad will accept. http://www.mirovideoconverter.com/
How to play a video file in vb.net ?
I need the video to automatically start playing on form load.
Using google will show many results. Here is one that seemed pretty easy to follow:
http://www.mitov.com/html/simple_video_player_in__net.html