[ANNOUNCE] iStreamdev-1.0.1 - stream vdr & media files to your Iphone

  • PS:

    where you get the Status?

    Quote

    "img_off": "img/off.gif",
    "status": "on";
    },
    {
    "name": "Shutdown VDR",

    VDR1.7.12 + ExtPatch on openSuSE 11.1 2.6.27.45-0.1-default (x86_64) gcc 4.3.2 r141291
    1xNexus (fw:f12623) ** 3xTeVii S650 ** Alphacrypt/SKY ** DVB-Treiber 7.6.09cvs ** 7" GraphTFT ** VOMP on MediaMVP ** zendeb 0.4.0.b1 on S100 ** 4ch Atmolight
    Xine-lib-1.2 20100412(vdpau) +DFextPatch ** XINE-UI ** Nvidia GT240 (260.19.36) ** Samsung LE46C650 ** istreamdev-git_20110216 to IPhone

  • Quote

    Original von DrBoon
    mentox: Can you validate this?

    under gentoo i have to re merge php with useflag zlib and json .. now it works

    thanks ...

    VDR Hardware

    [size=8]
    VDR Server: 1,8 core2 Duo, CineStar (4x), Gentoo, VDR 2.2
    VDR Client 1: Zotac ION (D2550ITXS-B-BE, Intel Atom D2550), MLD 4
    VDR Client 2: Zotac ION (IONITX-A-E, Intel Atom N330), MLD 4
    VDR Client 3: Raspberry Pi 2, MLD 5

  • That's what php answers to js client. So at this moment, php checked if the status file is present, and answer yes if it is.

    Then the client knows which image to show.

  • alib: sounds great ... :)

    mentox: thanks.

    VDR1.7.12 + ExtPatch on openSuSE 11.1 2.6.27.45-0.1-default (x86_64) gcc 4.3.2 r141291
    1xNexus (fw:f12623) ** 3xTeVii S650 ** Alphacrypt/SKY ** DVB-Treiber 7.6.09cvs ** 7" GraphTFT ** VOMP on MediaMVP ** zendeb 0.4.0.b1 on S100 ** 4ch Atmolight
    Xine-lib-1.2 20100412(vdpau) +DFextPatch ** XINE-UI ** Nvidia GT240 (260.19.36) ** Samsung LE46C650 ** istreamdev-git_20110216 to IPhone

  • Quote

    Possible to use a notebook as client?

    Webgui works flawless with Safari under MacOS, but no stream is shown (seqmenter is up and encoding). i think the code to embed a stream into Safari is different from Mobile Safari.

  • hmm, is it possible to use the ENV['USERAGENT'] Variable, to differentiate the Browsers ?

    Something like that:

    Code
    if (navigator.appCodeName == "Apple iPhone OS *")

    Setting the Content type for Mediaplayers should be easy.

    Just my two Cent *g*

    VDR1.7.12 + ExtPatch on openSuSE 11.1 2.6.27.45-0.1-default (x86_64) gcc 4.3.2 r141291
    1xNexus (fw:f12623) ** 3xTeVii S650 ** Alphacrypt/SKY ** DVB-Treiber 7.6.09cvs ** 7" GraphTFT ** VOMP on MediaMVP ** zendeb 0.4.0.b1 on S100 ** 4ch Atmolight
    Xine-lib-1.2 20100412(vdpau) +DFextPatch ** XINE-UI ** Nvidia GT240 (260.19.36) ** Samsung LE46C650 ** istreamdev-git_20110216 to IPhone

    Edited 2 times, last by DrBoon (April 1, 2010 at 10:59 AM).

  • The Live HTTP Stream Protocol is only supported by Iphone for the moment.

    The video in the page is embedded with the HTML5 <video> tag.

    If any other webkit based browser don't show the video, it's just because it's not supported by the plateform so.


    There's no goal for this apps to run on other device as Iphone for the moment.

    As everything is optimised for Webkit browser, i think the nav works ok on Androids phone, but for the moment Android don't handle Live HTTP Stream protocol yet.

  • ^^ That is, what the "Live-Plugin" includes ( advisable )

    ( DE: Im Live-Plugin ist das Streamen für Standard-Browser enthalten ( Empfehlenswert ) ).

    VDR1.7.12 + ExtPatch on openSuSE 11.1 2.6.27.45-0.1-default (x86_64) gcc 4.3.2 r141291
    1xNexus (fw:f12623) ** 3xTeVii S650 ** Alphacrypt/SKY ** DVB-Treiber 7.6.09cvs ** 7" GraphTFT ** VOMP on MediaMVP ** zendeb 0.4.0.b1 on S100 ** 4ch Atmolight
    Xine-lib-1.2 20100412(vdpau) +DFextPatch ** XINE-UI ** Nvidia GT240 (260.19.36) ** Samsung LE46C650 ** istreamdev-git_20110216 to IPhone

  • to achieve this, a whole new client needs to be done, as many features won't work on other browsers :

    - i have a bunch of triggers on animation start and end ( not supported by IE, Firefox, Opera, etc ).
    - All iphone looking drop down menu with multi selection works only on Iphone with touch events.
    - Many jqTouch specific events are used.

    The good thing are:

    - php server don't write any html code, but send only json data.
    - so we only have to build a new .html client for other browsers and detects wich one is best suited according to client browser.

    What needs to be done on server side:
    - New json functions & parameters to call streaming process according to client type.


    There's a lot of works, I only concentrate on Iphone features for now.
    Perhaps later.

  • Hi,

    could you explain me how to use the patch?
    I tried it after extracting with these command:

    Code
    root@Multimedia-HD:/var/www/istreamdev/js# patch -p0 < desktop-safari-streaming.patch
    
    
    patch: **** malformed patch at line 9: thumb.png?' + time + '" src="' + url + '" ></video><span rel="ready"></span>');

    I think, there is something wrong with the patchfile, or?

    I use the git Version of istreamdev 1.0 and Safarri 4.0.5 (OSX)

    I tried to put in the patch manualy, but the result is the same as without... I can't get the playbutton for streaming...

    UPDATE: it's works now, after I tried it manually again. I`ve made now a new versions

    Files

    Gruß
    Habib

    --------------------------------
    Aufnahme-Server:
    Silverstone Lascala SST-LC10M
    Reel Stable 11.12.2, HDe, 1x 2TB HDD als Aufnahme Server, iVDR 0.3.2 (manuelle Fixe f. Aufnahmeverz.)
    Netceiver mit 3x DUAL DVB-S2
    Clients:
    3x REEL NetClients
    Reel Stable 11.12.2

    Edited once, last by Habib (April 1, 2010 at 3:01 PM).

  • i replaced in js/istreamdev.js:

    Code
    streaming.find('#player').html('<video id="videofeed" width="' + thumbwidth + '" height="' + thumbheight + '" poster="ram/session' + session + '/ thumb.png?' + time + '" src="' + url + '" ></video><span rel="ready"></span>');

    with:

    Code
    streaming.find('#player').removeAttr("style");
    streaming.find('#player').html('<video id="videofeed" src="' + url + '" controls autoplay ></video><span rel="ready"></span>');
  • VDR1.7.12 + ExtPatch on openSuSE 11.1 2.6.27.45-0.1-default (x86_64) gcc 4.3.2 r141291
    1xNexus (fw:f12623) ** 3xTeVii S650 ** Alphacrypt/SKY ** DVB-Treiber 7.6.09cvs ** 7" GraphTFT ** VOMP on MediaMVP ** zendeb 0.4.0.b1 on S100 ** 4ch Atmolight
    Xine-lib-1.2 20100412(vdpau) +DFextPatch ** XINE-UI ** Nvidia GT240 (260.19.36) ** Samsung LE46C650 ** istreamdev-git_20110216 to IPhone

    Edited 6 times, last by DrBoon (April 1, 2010 at 3:28 PM).

  • ---

    the Output from cat "/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_12010-03-31.05.39.14-0.rec"/0* | ./istream.sh - 350k 64k 408x272 /istreamdev/ 1260 /usr/local/bin/ffmpeg /usr/local/bin/segmenter session0 "/tmp/istreamdev-ffmpeg.log" is nothing ... no new processes spawning.

    VDR1.7.12 + ExtPatch on openSuSE 11.1 2.6.27.45-0.1-default (x86_64) gcc 4.3.2 r141291
    1xNexus (fw:f12623) ** 3xTeVii S650 ** Alphacrypt/SKY ** DVB-Treiber 7.6.09cvs ** 7" GraphTFT ** VOMP on MediaMVP ** zendeb 0.4.0.b1 on S100 ** 4ch Atmolight
    Xine-lib-1.2 20100412(vdpau) +DFextPatch ** XINE-UI ** Nvidia GT240 (260.19.36) ** Samsung LE46C650 ** istreamdev-git_20110216 to IPhone

    Edited 5 times, last by DrBoon (April 1, 2010 at 5:00 PM).

  • if this help:

    i add to istream.sh the folowing line:


    and i get in /tmp/istreamdev.log

    Code
    trap "rm -f ./ffmpeg.pid; rm -f ./fifo" EXIT HUP INT TERM ABRT; /usr/local/bin/ffmpeg -i - -deinterlace -f mpegts -acodec libmp3lame -ab 64k -ac 2 -s 408x272 -vcodec libx264 -b 350k -flags +loop  -cmp \+chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16  -keyint_min 25  -sc_threshold 40 -i_qfactor 0.71 -bt 350k -maxrate 350k -bufsize 350k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6  -qmin 10 -qmax 51 -qdiff 4 -level 30  -g 30 -asy
    nc 2 -threads 4 - 2>/tmp/istreamdev-ffmpeg.log > ./fifo


    and when i reopen /tmp/istreamdev-ffmpeg.log:

    VDR1.7.12 + ExtPatch on openSuSE 11.1 2.6.27.45-0.1-default (x86_64) gcc 4.3.2 r141291
    1xNexus (fw:f12623) ** 3xTeVii S650 ** Alphacrypt/SKY ** DVB-Treiber 7.6.09cvs ** 7" GraphTFT ** VOMP on MediaMVP ** zendeb 0.4.0.b1 on S100 ** 4ch Atmolight
    Xine-lib-1.2 20100412(vdpau) +DFextPatch ** XINE-UI ** Nvidia GT240 (260.19.36) ** Samsung LE46C650 ** istreamdev-git_20110216 to IPhone

    Edited once, last by DrBoon (April 1, 2010 at 5:08 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!