Excuse me for the long time I spent to answer, I've never receive the
answer and I saw that you answer just today because I find this topic in
archives in Sourceforge. Thanks you for your answer !

Ogg.Stream.pagesout should be fine to use. I don't think that it is
> deprecated. It is packet manipulation that you should avoid because packets
> are small and can potentially waste a lot of CPU and memory. Pages are ogg
> stream units and are mighty fine to use.


I thought it was deprecated because in ogg.mli, I can see "Backward
compatibility" :
  (** Backward compatibility *)
  [...]
  val pagesout_eos : t -> string

So I'll try to use it, thank you for the answer !

Léo.




Hi Léo, Ogg.Stream.pagesout should be fine to use. I don't think that it is
> deprecated. It is packet manipulation that you should avoid because packets
> are small and can potentially waste a lot of CPU and memory. Pages are ogg
> stream units and are mighty fine to use. Hope this helps, Romain
>

2013/7/14 Léo Colisson <[email protected]>

> Hello,
>
> I use the ocaml-vorbis for a short time and I've a question about it :
> I made a stream and I'd like to write this stream into a file. I saw in
> the example
> https://github.com/savonet/ocaml-vorbis/blob/master/examples/wav2ogg.mlthat 
> we can use.
>
> Ogg.Stream.pagesout
>
> but it seems to be depricated.
>
> How could I do to save my stream in a file ?
>
> Thanks.
>
> Tobias Bora.
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to