codec

convert video formats

Because the xbox 360 only supports specific video/audio codecs, I'd like to write a utility that would look in a directory and convert files to specific formats as they are dropped in the directory. In some cases, it would only need to convert the container format (ie, mkv to wmv or avi) and in some cases it might need to convert the a...

Adding new CODEC to ffmpeg

Hello All, Is it possible to add new codec's to ffmepg? i searched a bit and was not able to find any concrete answer about this. If possible, Can i know the steps? ...

How do you ask gstreamer if a file can be played?

I'm trying to write a simple command line audio player using the Python Gstreamer bindings. Is there a function in the gstreamer API that determines in advance whether or not a particular file (URI) can be decoded and played by the currently installed set of codecs? ...

Surefire way of determining the codec of a media file

I'm looking for a surefire way of determining the codec used in an audio or video file. The two things I am currently using are the file extension (obvious), and the mime type as determined by running `file -ib' on the file. This doesn't seem to get me all the way there: loads of formats are `wrapper' formats that hide the exact codec ...

Is There a Windows Video Codec Common Dialog?

Hi, Does Windows have a common dialog to select video codecs? If there is one, how can I create one in c#? I'm asking because I'm currently developing with a plugin that seems to have included extremely dated codecs, and am not sure if the plugin is simply retrieving a list of codecs from the system. I don't have the source of the plugi...

ZyXEL ADPCM codec

I have a ZyXEL USB Omni56K Duo modem and want to send and receive voice streams on it, but to reach adequate quality I probably need to implement some "ZyXEL ADPCM" encoding because plain PCM provides too small sampling rate to transmit even medium quality voice, and it doesn't work through USB either (probably because even this bitrate ...

What to do with the incompatibilities in HTML 5 audio across browsers?

Hi, I need to use HTML 5 audio to play sounds. However, the codec support is very irritating: Firefox: Ogg, Wav Safari: Mp3, Wav Chrome: Ogg, Mp3 Opera: Wav I basically need to encode in Wav and Ogg/Mp3. However, Wav's are terrible in size and that is very crucial point for me. So, I guess I should go for Mp3 + Ogg leaving Opera and...

Android - How to add my own Audio codec to AudioRecord?

I currently have a Loop back program for testing Audio on Android devices. It uses AudioRecord and AudioTrack to record PCM audio from the Mic and play PCM audio out the earpiece. Here is the code: public class Record extends Thread { static final int bufferSize = 200000; final short[] buffer = new short[bufferS...

Where to start learning about audio or video codecs ?

Hi, I am very much confused to know what happens inside the codecs. I want to learn about the elements inside audio encoders and decoders. Would be very happy if you can provide me some links where i can find some good study material. Thanks precisely i would like to know how the codec parses the a media file. ...

ffdshow codec can not work with media play 12 in windows 7 ?

The reason of this issue is caused by media player 12 (in windows 7 professional) using mircsoft default codec which don't support mp4 decode. The ffdshow codec can not replace microsoft default codec in windows 7 (windows7 does not allow that in default). I find some third party tools can switch media player default codec to ffdshow b...

Is there any Container for playing MJPEG and MP3 as video?

So I have MP3 track and MJPEG Is there any container for combining those 2 and playing them as one video track in one container? ...

Python line file iteration and strange characters

I have a huge gzipped text file which I need to read, line by line. I go with the following: for i, line in enumerate(codecs.getreader('utf-8')(gzip.open('file.gz'))): print i, line At some point late in the file, the python output diverges from the file. This is because lines are getting broken due to weird special characters tha...

Modifying the Codec List Object in an ASF file

Is it possible to modify the Codec List Object in an ASF file? In particular, I would like to edit the codec name and description. I realize that this won't actually change the content of the video, but it's necessary for the video to be verified by an external tool. Does anyone know of a tool that will allow me to do this? If not, does...

How to develop a video player that receives video stream on wi-fi broadcasting/multicasting?

general video players connect the media server through unicast but I need a player to receive media stream using multicast/broadcast. scenario: Media Server ---> AP --(multicast/broadcast video stream)--> player(android phone) is there any Android SDK to support this function? or is there any solution without developing software ...

Retrieving EXIF info and video informations from pictures/movies

Hello, is there a Java framework that will do the dirty work explained in title for me? Mainly I just need to retrieve images properties stored inside JPEGs: size EXIF geolocations shot properties and to retrieve movie files informations like: codec name duration resolution and so on I don't need to be able to show the picture o...

html5media & flowplayer wmode issues...

I'm working on our new homepage and need to implement a solution that will run a video across iphone/ipad and the standard web browsers. I found a pretty decent solution with html5media - http://code.google.com/p/html5media/ but ran across an issue with a jquery dropdown falling behind the the swf object (this only happens on FF & IE - w...

Why does IGraphBuilder::RenderFile not find ffdshow Video Decoder?

When I install K-Lite Codec Pack (5.90 Basic) as an administrator then run an application that calls IGraphBuilder::RenderFile as a standard user, the resulting graph doesn't have the ffdshow video decoder filter. However, when I run the application as the (original installing) admin the ffdshow video decoder is in the graph. Is there s...

VB.NET - Can Directx retrieve codec IDs?

Hi StackOverflow, continuing my video converter here and I thought I should have codec information available to the users. I have Directx fully imported into my project and am getting video size, length, FPS, everything, but can I also get the video and audio stream properties? Like average bit-rate, codec name (fourcc - xvid, divx, x264...

Best video codec to encode analog graph information / AVI

I have an application that captures analog measurements several times a second - to give you an idea how it looks like - here is a sample frame (obviously the curve changes as the measurements chage): I need this application to record these frames into an AVI or any other video file that would be playable on windows without a custom c...

real time video streaming fast encoding

Hey, We're building an app which requires really fast video streaming. We've never done nothing like it so during the research we thought to ask the pros :P Which codecs support fast encoding/decoding for real time video streaming (<150ms) with around 30fps and low bandwidth? Edit: If you can list some apis for either java,c# or c++ ...