Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Video/Audio codecs in ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Bobillot <damien.bobillot@m...>
Subject: Re: [Caml-list] Video/Audio codecs in ocaml

--Apple-Mail-4--706944812
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


Jonathan Roewen wrote :

>> Has anyone done anything with video and/or audio processing
>> using ocaml?
>
> Even better: would anyone like to help with an mpeg2 decoder written
> completely in ocaml?
>
> OCaml is supposed to be good at numerical processing right? So I hope
> performance for a 100% software based decoder will be okay...

With OCaml you can't use features like SIMD instructions of CPUs, and  
will do many bound checking, so it will be slower.
I'm a bit sceptical that ocaml may be as good as C for pure signal  
processing.

> My goal is to get something going within one week =P I have no idea if
> it can be done, so we'll see...

Writing a mpeg2 decoder won't take less than a week !!! (except  
perhaps if you've already spent time on a mpeg2 decoder)

If you have to write something, a ocaml wrapper for ffmpeg may be a  
good start.

-- 
Damien alias Schmurtz
aim:goim?screenname=schmuuurtz


--Apple-Mail-4--706944812
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGIjCCAtsw
ggJEoAMCAQICAw54xzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDUwNDEzMTc1MTAxWhcNMDYwNDEzMTc1MTAxWjBJMR8wHQYDVQQD
ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSYwJAYJ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