Re: [Lazarus] Play video files in a row without delay

2015-02-22 Thread aradeonas
No I cant because I don't have second or third file when playing first.They are downloading/ There is must a better way. Regards, Ara On Sat, Feb 21, 2015, at 10:16 PM, John Briggs wrote: > On Fri, Feb 20, 2015 at 12:04:06AM -0800, aradeonas wrote: > > Thank you Mike and John. > > > > But I test

Re: [Lazarus] Play video files in a row without delay

2015-02-21 Thread John Briggs
On Fri, Feb 20, 2015 at 12:04:06AM -0800, aradeonas wrote: > Thank you Mike and John. > > But I test playlists with VLC,mplayer and ffplay and problem is after > first file finish thery is a 0.5 second delay for opening second file > and its not good for project because files are tiny videos(less

Re: [Lazarus] Play video files in a row without delay

2015-02-21 Thread aradeonas
Graeme, I check SDL and read many game demo but I cant find out how to play a simple video file. You know? Regards, Ara On Sat, Feb 21, 2015, at 03:24 AM, aradeonas wrote: > Thank you again, > > Sure,I am going to check it. > > regards, > Ara > > On Sat, Feb 21, 2015, at 03:20 AM, Graeme Geld

Re: [Lazarus] Play video files in a row without delay

2015-02-21 Thread aradeonas
Thank you again, Sure,I am going to check it. regards, Ara On Sat, Feb 21, 2015, at 03:20 AM, Graeme Geldenhuys wrote: > On 2015-02-20 12:01, aradeonas wrote: > > I will this example too and if you have idea about that problem please > > let me know. > > I'll search through my code and see if I

Re: [Lazarus] Play video files in a row without delay

2015-02-21 Thread Graeme Geldenhuys
On 2015-02-20 12:01, aradeonas wrote: > I will this example too and if you have idea about that problem please > let me know. I'll search through my code and see if I have something for you. I also suggest you take a look at SDL - many high end cross-platform games (like created by Loki) uses SDL

Re: [Lazarus] Play video files in a row without delay

2015-02-20 Thread aradeonas
Thank you Graeme, I tested PasLibVLC but opening second file after first file play finished is cause of delay and I need a way to read file before first file finished and I done that with VLC with creating 2 player)but problem is I could not to play both player in one handle. I will this example t

Re: [Lazarus] Play video files in a row without delay

2015-02-20 Thread Graeme Geldenhuys
On 2015-02-19 09:33, aradeonas wrote: > Graeme can you give me an example?In any wrapper or way. I believe /packages/libvlc/example/testvlc.pp should give you what you want. I've also got a GUI VLC video player included with fpGUI in /examples/gui/video_vlc/ which uses the same libvlc code, but

Re: [Lazarus] Play video files in a row without delay

2015-02-20 Thread aradeonas
Thank you Mike and John. But I test playlists with VLC,mplayer and ffplay and problem is after first file finish thery is a 0.5 second delay for opening second file and its not good for project because files are tiny videos(less than 5mb and 4 seconds) and this delay is not good at all.I need to r

Re: [Lazarus] Play video files in a row without delay

2015-02-19 Thread John Briggs
As mentioned by Mike earlier generate a plaaylist of the videos you want to watch and vlc/mplayer will play them for you with little or no delay between videos. John -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

Re: [Lazarus] Play video files in a row without delay

2015-02-19 Thread aradeonas
I Used PasLibVLC[1] but even with mini video files(less than 5mb like a audio file but there is delay)its good to know that I hear it possible.I think you used default FPC VLC wrapper but I think there is not a big difference. Graeme can you give me an example?In any wrapper or way. Regards, Ara

Re: [Lazarus] Play video files in a row without delay

2015-02-19 Thread Graeme Geldenhuys
On 2015-02-18 21:42, aradeonas wrote: > I tested LibVLC and read Play a Video from MemoryStream, Using FFMpeg > but still no luck. Not sure about videos, but we have played multiple mp3 files in succession with the vlc wrapper component from FPC (not sure if that is the same as LibVLC you speak of

Re: [Lazarus] Play video files in a row without delay

2015-02-19 Thread aradeonas
Hi, Great.Its kind of you. About VLC/Mplayer the problem is when a file finished there is delay to read second file and then play.I tried passing from memory but for both of them it seems there is no way.Also I tried to making to player and and open first and second file together and pause second

Re: [Lazarus] Play video files in a row without delay

2015-02-18 Thread Michael Thompson
G'day, Hmmm, this was fairly well documented in the Microsoft documentation for DirectShow. If you're on Windoze and don't mind DirectShow, I can dig that out for you. As for VLC/Mplayer, I have no direct experience. I can only suggest you try playlists, seems to me they may help... Mike On

[Lazarus] Play video files in a row without delay

2015-02-18 Thread aradeonas
Hi, I am looking for a way to play 2 video in a row without any delay (or very tiny delay) when changing files. I had 1 mp4 file and with ffmpeg I split it into 2 file and now I want to add them in playlist and play them but I don't want user feel changing video but when I test it because of loadin