Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Intranet Apache server, and multimedia

  1. #11
    Join Date
    Oct 2009
    Location
    Sweden
    Posts
    1,015

    Default Re: Intranet Apache server, and multimedia

    Let see if I have understand you right and if I can give some input. Otherwise forget about this post .

    I have 3 Dreambox recivers (can receive cable, terrestrial or satelite signals depending on hw-config). They are running Linux yes.

    When I have the webinterface up (in Firefox)of the Dreambox and want to stream the channel I simply click on the small TV (green circle). Not configured openSUSE ask whitch application I want to open "stream.m3u" file in. I choose ->always use VLC.




    Stream.m3u look like this:
    Code:
    #EXTM3U 
    #EXTVLCOPT--http-reconnect=true 
    http://192.168.0.6:8001/1:0:1:1B68:42:46:E070000:0:0:0:
    The next time openSUSE dont ask but just open up vlc with the stream, notice the content in the top bar of vlc



    I dont have the details how its working but its more a "proof of concept" on your post I think.

    regards
    Last edited by jonte1; 27-Sep-2014 at 00:31. Reason: add info
    I'm shameless like others in the forum -was I to any help or made sense? If yes: click the on the star below to the left. Written whit a ;-) in my eye.

  2. #12

    Default Re: Intranet Apache server, and multimedia

    A plugin written in php maybe, or any other language that can do the same . .
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  3. #13
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Intranet Apache server, and multimedia

    On 2014-09-27 09:26, jonte1 wrote:
    >
    > Let see if I have understand you right and if I can give some input.
    > Otherwise forget about this post .
    >
    > I have 3 Dreambox recivers (can receive cable, terrestrial or satelite
    > signals depending on hw-config). They are running Linux yes.
    >
    > When I have the webinterface up (in Firefox)of the Dreambox and want to
    > stream the channel I simply click on the small TV (green circle). Not
    > configured openSUSE ask whitch application I want to open "stream.m3u"
    > file in. I choose ->always use VLC.


    I see.

    Yes, this is a nice, alternate, way. It needs doing something on the
    server, ie, generating those Stream.m3u files on the fly - something I
    don't know how to do.

    As it is, I just use an Apache feature (mod_autoindex.c, I think) to
    display plain directories full of files:

    <Directory /data/store/>

    Options FollowSymLinks Indexes Includes
    AllowOverride All

    IndexOptions FancyIndexing \
    ScanHTMLTitles \
    NameWidth=*

    order deny,allow
    deny from all
    allow from localhost .valinor 192.168.1.51 192.168.1.52

    </Directory>


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  4. #14
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Intranet Apache server, and multimedia

    On 2014-09-27 15:06, jetchisel wrote:
    >
    > A plugin written in php maybe, or any other language that can do the
    > same . .


    Writing a plugin for firefox is out of my league...

    I just hopped that someone knows of an existing one for firefox that
    does it. :-}

    ("it" is launching an arbitrary or specified program, and giving it the
    URL as parameter).

    Hum... just found one:

    https://addons.mozilla.org/en-US/fir...ay/?src=search

    +++······························
    URL Relay is a Firefox addon for associating certain URLs with external
    applications. If you click on a URL that matches a user defined pattern
    the addon starts the associated external application and supplies the
    URL as first argument.This is different from the builtin Firefox feature
    under Edit/Preferences/Applications. With that you can only instruct
    Firefox to download a file of a certain mime-time completely to a
    temporary local location which is then supplied to an external
    application.Possible use cases for URL relay are for example URLs of
    audio/video streams, playlists or bittorent URLs. All cases where you
    really want to directly open that URL with an external application
    (think: media player like VLC, download manager, scripts or a bittorent
    remote control app).The addon works fine. The configuration of patterns
    for matching URLs is quite flexible.Currently, afaik, there is no other
    addon that provides similar features. But there are several
    feature-request bug reports on Firefox for such a functionality which
    are open for up to a decade.Some currently missing bonus features that
    would make this addon even more awesome: Give some (visual) feedback
    when a URL is clicked and URL Relay executes an external app. Also an
    indication of the exit status of the external app would be great.
    ······························++-

    It is just it!

    Now I have to locate more, and see which one is reputable.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  5. #15
    Join Date
    Oct 2009
    Location
    Sweden
    Posts
    1,015

    Default Re: Intranet Apache server, and multimedia

    Quote Originally Posted by jetchisel View Post
    A plugin written in php maybe, or any other language that can do the same . .

    On the server side you mean . I t has been workin trough different versions of Firefox and opensuse. The web-server in Dreambox has deliver the same thing for many years. Actually sins 2004 what I can remember.

    regards
    I'm shameless like others in the forum -was I to any help or made sense? If yes: click the on the star below to the left. Written whit a ;-) in my eye.

  6. #16
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,716
    Blog Entries
    2

    Default Re: Intranet Apache server, and multimedia

    1. I assume a VLC plugin for FF should already exist that specifically launches the standalone VLC player and not the embedded VLC player (embedded in the webpage).

    2. Although I don't have what you want setup, I find it hard to believe that FF tries so hard to launch an embedded player. But in any case, I'm sure the following should do what you want...

    Open Firefox
    > Preferences
    > Applications tab
    > Look for or search for the specific file type... then to the right you should see a default setting and a dropdown arrow, click on the dropdown arrow
    > Instead of the likely plugin selection, select "Other" and browse to your VLC binary.

    There you go...

    TSU

  7. #17
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Intranet Apache server, and multimedia

    On 2014-09-28 00:26, tsu2 wrote:
    >
    > 1. I assume a VLC plugin for FF should already exist that specifically
    > launches the standalone VLC player and not the embedded VLC player
    > (embedded in the webpage).


    The only one I have seen is that "URL Relay" I mentioned before, which
    I'm still considering. I have been busy otherwise...

    [...]

    Ugh. The scarce instructions are in Japanese.
    The setup is complex, you need to enter filters in something that looks
    like regex.

    The reviews are in English, and what they describe the plugin does is
    what I want. That's the information I based on..

    I'll have to remove the plugin, I have no idea how to set it up :-/

    [...]

    Google found me the instructions and translated them:

    > http://translate.google.com/translat...26channel%3Dsb


    [...]

    (thinking)

    [...]

    I still don't understand a word of it :-(


    > 2. Although I don't have what you want setup, I find it hard to believe
    > that FF tries so hard to launch an embedded player. But in any case,


    It does...

    > I'm sure the following should do what you want...
    >
    > Open Firefox
    >> Preferences
    >> Applications tab
    >> Look for or search for the specific file type... then to the right you

    > should see a default setting and a dropdown arrow, click on the dropdown
    > arrow
    >> Instead of the likely plugin selection, select "Other" and browse to

    > your VLC binary.


    Does not work. Well, it does, but not the way I want: it first downloads
    the entire file, then calls vlc to open it.

    It does not directly call vlc with the URL as parameter. The difference
    in resources is huge.



    There are only two ways to do it in Firefox in Linux, besides that
    plugin that I don't know how to use:

    Right click on the link.
    Select "copy link location".
    1) open vlc or xine or smplayer, and paste the URL onto it.
    or
    2) do the same on the command line

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •