[Lazarus] [Pol] Stream video and save in client

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sat Feb 21 13:37:34 CET 2015


On 2015-02-21 11:23, aradeonas wrote:
> Do you know about converting resource of them?

I always use ffmpeg to do any encoding or conversions. It is a command
line app with a huge selection of configuration, but you can stick to
more simple command line parameters which gives fairly good results. I
believe I have seen GUI front-ends for ffmpeg too - one I think is even
implemented with Lazarus. A quick Google search...

  https://code.google.com/p/winff/


> Also I want to use this videos with a client app not a web browser and
> cache played video

I didn't know how to code/develop something like that. I do know VLC
supports that out of the box. You can play videos from a remote URL
(Media -> Open Network Stream) and tell it to save or re-encode it to a
local file at the same time.

For example, in VLC: Media -> Open Network Stream, then enter a URL like
https://www.youtube.com/watch?v=u4G-8RIvR3Q

More details on opening a stream and saving it to file using VLC:

https://wiki.videolan.org/Documentation:Streaming_HowTo/Receive_and_Save_a_Stream/



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/




More information about the Lazarus mailing list