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

  • Hi alib,


    is it possible, that you integrate a powerbutton in 0.3.7? It would be usefull to turn off the VDR from everywhere.


    ...

    Hardware: AMD Sempron 140 2,7 GHz, Asus M3N78-VM, 4GB DDR2, ADATA S596 32 GB SSD, WD3200LPVT 320GB, Mystique Sattix-S2, TT S2-1600, Atric-IR Einschalter Rev. 4, Multimedia Gehäuse 1HE, Logitech Harmony 525
    Software: yaVDR 0.5 (softhddevice, S5, Plugins: sleeptimer, live, **)

  • Zitat

    Original von alib
    DrBoon, fixed in git, can you test ?


    nice, now the Category-load seems to be ok. ( First tests )


    BUT: When I try to start a livetv-stream or a Recording ( push the "3g/edge/wifi" button ), it shows me the "Now Streaming", but I cant push the Play button. The ffmpeg-process is there, and it shows me the Session. ( Sessions are nice, big thanks ).



    PS: by default the "ram"-directory is missing in current git.

    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

  • Have you changed something tonight?


    after a new git fetch all seems fine. Thank you



    EDIT:
    Can you add:
    * "Kill all Sessions" to the Home-screen, if there any active sessions ?


    And when I start a Screen, then reopen istreamdev and change to session0, and push "Stop Stream", then I come to a Empty screen - In this case it should jump to the Home-Screen automaticly ... I think.

    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

    2 Mal editiert, zuletzt von DrBoon ()


  • Hi,


    I cannot reproduce your bug.
    When i enter in a new session and quit, it goes back to the screen where you choose the quality.
    Then you can go back to home with the right button


    Isnt it ?

  • Ups.


    It works! I have tested the whole time from my ubuntu machine. Now I have started it from the iPhone and it works:-)


    Sorry again for to be so impatient:-))


    regards
    Griso



    Sorry, I have some trouble installing istreamdev.


    I have installed the package in /var/www/istreamdev and set the permissions for www-data with the command chown -R www-data:www-data /var/www/istreamdev


    For checking php5, I have placed a phpinfo.php script in /var/www/istreamdev. If I open http://myip/istreamdev/phpinfo.php I can see the output of phpinfo.php


    If I open http://myip/istreamdev I get a download dialog box in my browser and I don't know why!?
    In config.php I have to set user and password. Which user is required here?


    Perhaps someone can help...


    regards
    Griso

    Server: yavdr-ansible (Ubuntu 18.04) Silverstone LC11, AT3IONT-I, 2GB DDR2, TT S2-6400, Riser RC11, SSD ADATA 120GB, Samsung 1TB
    Client: MLD5.4 Shuttle XS35GTV2, SSD OCZ 60GB, FB Medion X10

    Einmal editiert, zuletzt von Griso ()

  • EDIT: streaming is broken after changing .. i look for an solution EDIT


    hi


    i sad it already but ..


    it is much better to cut before a comma in channel name ... like all others tools do ..


    in inc_vdr.php


    look for


    Code
    $channels = explode(":", $line);
    			$channels = explode(";", $channels[0]);
    			$chan = $channels[0];


    and change it to ..


    Code
    $channels = explode(":", $line);
    			$channels = explode(";", $channels[0]);
    			$channels = explode(",", $channels[0]);
    			$chan = $channels[0];


    looks very nice and the epg works !!!


    mentox

    2 Mal editiert, zuletzt von mentox ()

  • Zitat

    Original von TheTroll
    We have chans here with a , like "I,Tele" ... it would mess up the result.


    ok .. and how looks this channel in vdradmin or other tool? (iVDR work also correct without comma)


    in all tools i know the channel is only "RTL Television" ..


    mentox

    Einmal editiert, zuletzt von mentox ()

  • and here some officiell text


    Code
    man 5 vdr



    VDR-WIKI

    Einmal editiert, zuletzt von mentox ()

  • but this is the correct way today ..


    perhaps we should ask kls about this problem .. perhaps we have to quote a comma ...

  • Funny Thing: Appending Plugins to istreamdev *gg*


    ( Only a little test, but it works ... yes, code is Ugly )


    This is my House-Automation Controll ( FHEM = FHZ1000 from Conrad Electronic ).


    Putting "include('includes/inc_fhem.php')" to inc_home ( over or under the block "if ($vdrenabled)" )


    ./include/inc_fhem.php :


    If a Device is Toggled by fhem, it creates or removes "fhem_vdr.onoff, fhem_garage.onoff, fhem_lamp.onoff" ...


    Todo:
    * Config File for the Devices and their Toggle-Commands
    * Logo's ( Garage open/close, TV on/off, Lamps on/off, Windows open/close, ... )
    * Temperatur Monitor line



    istreamdev is so nice, big Thanks.



    EDIT:


    Watching what's on ( through my Webcam :(


    Putting "include('includes/inc_cam.php')" to inc_home ( in the block "if ($vdrenabled)" )


    includes/inc_cam.php:

    PHP
    <?php
    
    
    print "    <li class=\"menu\"><a href=\"javascript:sendForm('stream_cam')\"><img src=\"images/pictos/tv.png\" /><span class=\"name\">Cam</span><span class=\"arrow\"></span></a></li>\r\n";
    print "    <form name=\"stream_cam\" id=\"stream_cam\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"stream_cam\" value=\"startstream\" /><input name=\"type\" type=\"hidden\" id=\"stream_cam\" value=\"1\" /><input name=\"name\" type=\"hidden\" id=\"stream_cam\" value=\"Cam\" /><input name=\"title\" type=\"hidden\" id=\"stream_cam\" value=\"Cam\" /><input name=\"qname\" type=\"hidden\" id=\"stream_cam\" value=\"3g\" /><input name=\"qparams\" type=\"hidden\" id=\"stream_cam\" value=\"350k 64k 1 408x272\" /><input name=\"url\" type=\"hidden\" id=\"stream_cam\" value=\"http://192.168.178.30/img/video.asf\" /></form>\r\n";
    
    
    ?>

    Bilder

    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

    3 Mal editiert, zuletzt von DrBoon ()

  • Zitat

    Original von DrBoon
    Funny Thing: Appending Plugins to istreamdev *gg*


    very cool .. i dont have the system from conrad .. i made my own stuff ;) .. but i have written an on web app for this .. because you can do much more than vdr stuff ..


    but looks cool .. perhaps i add a button for my system to istreamdev too,


    thanks for the idea ;)

  • :modon
    done
    mav_
    :modoff


    Hi all,
    wow, great. I have been hoping for an iPhone Stream app ever since I got my first iPhone. Thanks a lot.
    I spent the night installing and compiling and configuring the components; a little bitt tricky for me as a Linux amateur, but it seems that it works thanks to the hints of this thread.
    However, I can't create the TS files, an I'm not sure wether it is a path problem.
    I have installed ffmpeg binaries in /var/www/istreamdev/segmenter/ffmpeg
    (don't ask why, thinks that happen a 4 o clock in the morning ;)


    When I call the test via
    ./istream.sh http://localhost:3000/TS/1 512k 64k 1 480x320 ./ 3 /var/www/istreamdev/segmenter/ffmpeg /usr/bin/segmenter
    I get
    Could not open input file, make sure it is an mpegts file: -1
    When I call the test, as suggested in this thread, as
    ./istream.sh http://localhost:3000/TS/1 512k 64k -ac 1 480x320 ./ 3 /var/www/istreamdev/segmenter/ffmpeg /usr/bin/segmenter
    I get


    ./istream.sh: line 28: cd: ram//usr/bin/segmenter: Datei oder Verzeichnis nicht gefunden
    ./istream.sh: line 36: /var/www/istreamdev/segmenter/ffmpeg: is a directory


    My config.php is:


    My istream.sh is


    Segmenter seems to work, I call the tests as user www-data, I took him out of at-deny, but I simply can't find the error. I would be very greatful for a little help to get thinks started.
    Regards
    Martin

  • Hi,


    you could for instance try to replace


    > /dev/null $FFPATH -i "$STREAM" -deinterlace -f mpegts -acodec libmp3lame -ab $ARATE -ac $ACHANNELS -s $XY -vcodec libx264 -b $VRATE -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 $VRATE -maxrate $VRATE -bufsize $VRATE -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 \
    -qmin 10 -qmax 51 -qdiff 4 -level 30 -g 30 -async 2 -threads 4 - | \
    $SEGMENTERPATH - $SEGDUR stream stream.m3u8 $HTTP_PATH$SESSION/ $SEGWIN &


    by


    > /dev/null $FFPATH -i "$STREAM" -deinterlace -f mpegts -acodec libmp3lame -ab $ARATE -ac $ACHANNELS -s $XY -vcodec libx264 -b $VRATE -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 $VRATE -maxrate $VRATE -bufsize $VRATE -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 \
    -qmin 10 -qmax 51 -qdiff 4 -level 30 -g 30 -async 2 -threads 4 ./test.ts


    and see if ts is actually a transport file ?

  • Hi,
    thanks. I just tried this. The good news is that there are no error messages any more. The bad news: it seems that nothing else has happened. I imagine that tests.ts should have been generated in /ram?
    Martin

  • not sure whether I got you right. I've put echo into istream.sh (echo 2> /dev/null $FFPATH -i "$STREAM" etc. etc.)
    then called ./istream.sh http://localhost:3000/TS/1 512k 64k 1 480x320 ./ 3 /var/www/istreamdev/segmenter/ffmpeg /usr/bin/segmenter
    from the command line, and what i get is
    /var/www/istreamdev/segmenter/ffmpeg -i http://localhost:3000/TS/1 -deinterlace -f mpegts -acodec libmp3lame -ab 64k -ac 1 -s 480x320 -vcodec libx264 -b 512k -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 512k -maxrate 512k -bufsize 512k -rc_eq blurCplx^(1-qComp) -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -g 30 -async 2 -threads 4 ./test.ts


    Martin

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!