[fpc-pascal] Pipe vs Memory buffer.

fredvs fiens at hotmail.com
Fri Jan 27 03:52:36 CET 2017

Hello Silvio:

Yes, we are on the good way.
Following your advice, here from https-url-opus the result of :

  BufferURL: tbytes;

  setlength(BufferURL, PipeBufferSize);
  CreatePipeHandles(InHandle, OutHandle, PipeBufferSize);
  InPipe := TInputPipeStream.Create(InHandle);
  OutPipe := TOutputPipeStream.Create(OutHandle);
  httpget := TThreadHttpGetter.Create(url, OutPipe);


Lavf57.57.100encoder=Lavc57.65.100 libopustitle=Be Thankful%artist=For
What You GotWilliam De Vau$album=Blaxploitation Vol.3 The Payba
�z2��PY�*��]luN��H�t�A5QR�s:3�0���:�^����͋�¢f��8�$5{w>f at r)YZ���K>�𠑡T�`�+������z�g
"F^�������a     h��«�o?"t�C�d]J=��kdw�Z3|�L��B���a���r�b�Ĉ}��u�
L@�����W9��V�W �+r���{<�`�_��O&�t�	G�g�܄~��oᐄQ|�~7�E��~!��<�$3�

You may note that some opus infos are there and seems to be the header.
Sadly, op_test_memory(BufferURL,PipeBufferSize, Err) gives this error:

error -132: A purported Ogg Opus stream did not begin with an Ogg page, a
purported header packet did not start with one of the required strings,
"OpusHead" or "OpusTags", or a link in a chained file was encountered that
did not contain any logical Opus streams.

But there is some light, we will win.


Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Pipe-vs-Memory-buffer-tp5727435p5727458.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list