caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] MPEG-Lib for OCaml?
@ 2003-03-18  9:26 Oliver Bandel
  2003-03-18 20:25 ` Chris Hecker
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Bandel @ 2003-03-18  9:26 UTC (permalink / raw)
  To: caml-list

Hello,

I only have found very general papers on mpeg-video
processing, but no file-format-specification.

a) Are there any libs for OCaml, reading in video-data?

b) ( The off-topic-part of this mail ;-) )
   Are there any papers with a detailed description
   of the file format?

TIA,
   Oliver

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] MPEG-Lib for OCaml?
  2003-03-18  9:26 [Caml-list] MPEG-Lib for OCaml? Oliver Bandel
@ 2003-03-18 20:25 ` Chris Hecker
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Hecker @ 2003-03-18 20:25 UTC (permalink / raw)
  To: Oliver Bandel, caml-list


>I only have found very general papers on mpeg-video
>processing, but no file-format-specification.
>a) Are there any libs for OCaml, reading in video-data?
>b) ( The off-topic-part of this mail ;-) )
>    Are there any papers with a detailed description
>    of the file format?

I have a really crappy hookup to the Berkeley MPEG library that you're 
welcome to use.  It doesn't support sound, or fast-forward, or 
anything.  But, it'll give you a bitmap of every frame, so if you just need 
that then it works okay.  The, uh, "interface" is below (Image.t is just a 
bigarray wrapper you're welcome to have as well).

Chris

(*
  * mpeg.ml - a really cheesy interface to the really crappy berkeley mpeg 
library
  * 2003/2/10 checker
  * @todo this code is not shippable, the mpeg library is totally flakey 
and unstable
  *
  *)


type t

external create : string -> t = "mpeg_create"
external get_size : t -> int * int = "mpeg_get_size"
external get_next_frame : t -> Image.t -> bool = "mpeg_get_next_frame"
external is_destroyed : t -> bool = "mpeg_is_destroyed"
external destroy : t -> unit = "mpeg_destroy"



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-18 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18  9:26 [Caml-list] MPEG-Lib for OCaml? Oliver Bandel
2003-03-18 20:25 ` Chris Hecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).