[General] Galary2 and streaming video.
Sabah AL-Sabah
sabah at techsys.net
Thu Feb 14 13:26:17 +03 2008
So it seems there are three type of video viewing:
1. Download and then Play.
2. Buffer and Play
3. Play realtime (RTSP)
When dealing with large video file and a relatively slow internet link, then ideally type 3 (RTSP) is required, but that need a client server cooperation , ie. The server have a streaming service and the UA is capable to decode and play on the fly.
The second option is type 2 (Buffer and Play) which does not require a server part, it looks that some UAs can download part of the file (buffer) and play the video as soon as the buffer is full. This is what is happening with flashvideo.
But could not confirm it with the MOV file type (Neither with Quicktime nor with VLC players)
Correct me if I am worng.
Best Regards,
============================
Eng. Sabah Al-Sabah
General Manager
Technical Systems Est.
sabah at techsys.net
www.techsys.net
============================
-----Original Message-----
From: general-bounces at oskw.org [mailto:general-bounces at oskw.org] On Behalf Of Burhan Khalid
Sent: Thursday, February 14, 2008 12:38 PM
To: General OpenSource Discussion
Subject: Re: [General] Galary2 and streaming video.
When you are talking about 'streaming', it means that a portion of the file is cached at the user agent, the rest is accessed on the fly as the file is being played.
To have the file simply play in the user agent, this is not streaming.
This is embedding a player in the UA so that the UA does not get a 'save as' dialog box. The way to prevent this box is to register a handler in the UA for the mime-type. When you install quicktime, media player or VLC on your PC, it associates a control and registers itself as a handler for the mime type in the browser. In this situation, in order for the file to be played, all of it must be stored in the UA cache.
Just to clear things up :)
Majed B. wrote:
> I think there's a small confusion in terminologies.
>
> "Streaming" in the sense that Eng. Sabah wants, is to allow users to
> use an embedded player within the browser and have the player simply
> buffer and play.
>
> You don't need a real streaming service (RTSP) like Real.com.
>
> On 2/14/08, Burhan Khalid <burhan at kuwaitnet.net> wrote:
>> FFMPEG is not a streaming solution; its a library for video conversion.
>> There is a project called ffserver which is for streaming, but I am
>> sure this is not how gallery is using ffmpeg.
>>
>> The cheapest way is to convert to FLV and use that with a flash video
>> player (there are tons of free ones).
>>
>> Regards,
>> Burhan
>>
>> Sabah AL-Sabah wrote:
>>> I thought that FFMPEG module in Gallery will provide streaming
>>> server
>> function! I may have been mislead!
>>> As I said before, it seems that the work around is to convert the
>>> video
>> file to FLV format and the flashvideo module in Gallery2 will take
>> care of streaming.
>>> Please prove me wrong!
>>>
>>>
>>>
>>> Best Regards,
>>> ============================
>>> Eng. Sabah Al-Sabah
>>> General Manager
>>> Technical Systems Est.
>>> sabah at techsys.net
>>> www.techsys.net
>>> ============================
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: general-bounces at oskw.org [mailto:general-bounces at oskw.org] On
>>> Behalf
>> Of Burhan Khalid
>>> Sent: Thursday, February 14, 2008 10:39 AM
>>> To: General OpenSource Discussion
>>> Subject: Re: [General] Galary2 and streaming video.
>>>
>>> In order to stream it, you need a streaming server; otherwise what
>>> will
>> happen is that the browser will download the file in its cache, then
>> launch it inside the browser using the plugin for the mime type (this
>> is what is currently happening with your site).
>>> On my machine, it takes a long time -- but eventually it plays in
>>> the
>> browser and does not ask for the file to be downloaded; however it is
>> by no means streaming. It is caching the entire file locally and then playing it.
>>> If on your machine it is asking to download the file, you don't have
>>> the
>> quicktime plugin installed -- or if you choose to use VLC, you don't
>> have the mozilla vlc plugin installed.
>>> Regards,
>>> Burhan
>>>
>>> Sabah AL-Sabah wrote:
>>>> Dear Majed,
>>>>
>>>> Thanks for your reply,
>>>> I did what you suggested, and installed VLC and had it as the
>>>> default player for MOV file in both Windows and firefox browser,
>>>> but it still launches QuickTime and does not stream!!
>>>> Please try it from your side, the first two movies are MOV type
>>>> (NON
>>>> Streamable) , please confirm weather you get then as a stream or as
>>>> a download.
>>>>
>>>> Thanks
>>>>
>>>> Best Regards,
>>>> ============================
>>>> Eng. Sabah Al-Sabah
>>>> General Manager
>>>> Technical Systems Est.
>>>> sabah at techsys.net
>>>> www.techsys.net
>>>> ============================
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: general-bounces at oskw.org [mailto:general-bounces at oskw.org] On
>>>> Behalf Of Majed B.
>>>> Sent: Wednesday, February 13, 2008 9:38 PM
>>>> To: General OpenSource Discussion
>>>> Subject: Re: [General] Galary2 and streaming video.
>>>>
>>>> Usually, the format isn't the problem, but a palyer issue. Try
>>>> downloading VLC and make it as your default player (or have the MOV
>>>> extension assigned to it).
>>>>
>>>> On Feb 13, 2008 9:34 PM, Sabah AL-Sabah <sabah at techsys.net> wrote:
>>>>>
>>>>> Ok, I found a solution!
>>>>>
>>>>>
>>>>>
>>>>> Convert MOV file to FLV using Free Riva FLV Encoder 2.0
>>>> http://www.rivavx.de/index.php?downloads0&L=3
>>>>> And upload the FLV files to Galary2.
>>>>>
>>>>>
>>>>>
>>>>> For some reason this works! But the thumbnail still broken!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> ============================
>>>>>
>>>>> Eng. Sabah Al-Sabah
>>>>>
>>>>> General Manager
>>>>>
>>>>> Technical Systems Est.
>>>>>
>>>>> sabah at techsys.net
>>>>>
>>>>> www.techsys.net
>>>>>
>>>>> ============================
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> From: general-bounces at oskw.org [mailto:general-bounces at oskw.org]
>>>>> On Behalf
>>>> Of Sabah AL-Sabah
>>>>> Sent: Wednesday, February 13, 2008 9:02 PM
>>>>> To: 'General OpenSource Discussion'
>>>>> Subject: [General] Galary2 and streaming video.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hello Guys,
>>>>>
>>>>>
>>>>>
>>>>> I have been trying to make Galary2 stream video, but for some
>>>>> reason when
>>>> I click on the video link it download the whole video and then
>>>> start the Quicktime player.
>>>>> Even though I had FFMPEG installed and configured!!
>>>>>
>>>>> Does anyone know why it is not streaming?
>>>>>
>>>>>
>>>>>
>>>>> You can try it http://www.techsys.net/gallery2
>>>>>
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> ============================
>>>>>
>>>>> Eng. Sabah Al-Sabah
>>>>>
>>>>> General Manager
>>>>>
>>>>> Technical Systems Est.
>>>>>
>>>>> sabah at techsys.net
>>>>>
>>>>> www.techsys.net
>>>>>
>>>>> ============================
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> General mailing list
>>>>> General at oskw.org
>>>>> http://mail.oskw.org/mailman/listinfo/general_oskw.org
>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> General mailing list
>>> General at oskw.org
>>> http://mail.oskw.org/mailman/listinfo/general_oskw.org
>
>
More information about the General
mailing list