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




  • /tmp/istreamdev-ffmpeg.log is empty


    i think:


    Zitat

    ./istream.sh - 350k 64k 408x272 /istreamdev/ 1260 /usr/local/bin/ffmpeg /usr/local/bin/segmenter session0 "/tmp/istreamdev-ffmpeg.log" "/video/Afterworld/Wahrheit_oder_Konsequenzen,
    _Teil_1/2010-03-31.05.39.14-0.rec/0* " >/dev/null &


    should be

    Zitat

    ./istream.sh - 350k 64k 408x272 /istreamdev/ 1260 /usr/local/bin/ffmpeg /usr/local/bin/segmenter session0 "/tmp/istreamdev-ffmpeg.log" "/video/Afterworld/Wahrheit_oder_Konsequenzen,
    _Teil_1/2010-03-31.05.39.14-0.rec"/0* >/dev/null &


    i try it in commandline, and /tmp/istreamdev-ffmpeg.log says:



    EDIT: At Live-TV the same error:




    But when i Call this command directly on Commandline, it seems to be working:

    Code
    ./istream.sh "http://127.0.0.1:3000/TS/4" 350k 64k     408x272 /istreamdev/ 2 /usr/local/bin/ffmpeg /usr/local/bin/segmenter session0 "/tmp/istreamdev-ffmpeg.log" ""


    Why don't call with ATd ?

    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 ()

  • Try to watch a Record:




    Try to watch Live-TV:


    PS: I think Quoting the full Path AND a Asterisk will always fail at the Recordings istream.sh-call.


    Zitat

    ... "/path/to/recording/*" ...


    Zitat

    ... "/path/to/recording"/* ...


    When not Calling with ATd, then try it with the screen command?


    Code
    /usr/bin/screen -S "stream0" -t "stream0" -d -m ./istream.sh parameters


    ^^ I'm not shure that screen Process forks better to background than "cmd &", but i think.


    try "screen -ls" while it should be running, than you must see a "stream 0" ... connect to it with "screen -x stream0" ...

    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 ()

  • Hum screen is a solution yes.


    About the wildcard, live and file streaming does not need it.
    Do they work for you ? If they do, then it is not a wildcard issue


    thx


    EDIT: another fix was just commited...


    EDIT2: forget it, still not OK,,,

  • Recording:


    live:


    PS:

    Code
    ./istream.sh - 350k    64k     408x272 /istreamdev/ 1260 /usr/local/bin/ffmpeg /usr/local/bin/segmenter session1 "/tmp/istreamdev-ffmpeg.log" "/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec/0*"  >/dev/null &


    ^^ won't work at present ( if apache try to start it ), on command-line it seems to work.


    ps ax ( start it on commandline :(

    Code
    31711 ?        S      0:00 /bin/bash ./istream.sh http://127.0.0.1:3000/TS/1 350k 64k 408x272 /istreamdev/ 2 /usr/local/bin/ffmpeg /usr/local/bin/segmenter session0 /tmp/istreamdev-ffmpeg.log
    31712 ?        S      0:00 /usr/local/bin/segmenter ./fifo 10 stream stream.m3u8 /istreamdev/ram/session0/ 2


    I think " & " is no way to fork a process for Apache.


    EDIT: Sry, my fail:

    Code
    ... 4-0.rec/0*" ...

    seems to work on command-line, too.

    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 ()


  • ps -fA f -> See attachment

    Dateien

    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


  • redirection 2 is syslog -> apachestd|error.log ? right?
    /var/log/apache/error.log:


    /var/log/apache/fhem-error.log



    ps -fA f >psout2.txt # see attachment



    Oops: after a "chmod 777 /tmp/istreamdev-ffmpeg.log" all seems fine


    Sry, absolutly my fault.


    live-tv:


    Recording:


    ps -fA f >psout3.txt # see attachment


    I'm so happy. Sorry for this Day. I'm so stupid ...

    Dateien

    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

    4 Mal editiert, zuletzt von DrBoon ()

  • Hallo. Hat schon jemand segmenter unter Debian Lenny kompiliert bekommen? Ich bekomme ein


    Code
    segmenter.c:21:34: error: libavformat/avformat.h: Datei oder Verzeichnis nicht gefunden


    libavformat-dev ist installiert. libavformatcvs-dev, libavformatcvs51-dev und libavformatcvs52-dev lassen sich wegen Abhängigkeitsproblemen nicht installieren.


    Gruß


    Obelix



  • Hi!


    I am trying to get iStreamdev running on my test setup. I have an Acer laptop running with yaVDR 0.1.1 and a USB DVB-T stick. Everythings working fine so far.


    Now I tried to install istreamdev from the git repo, Apache2 and php5 via apt-get from the original Ubuntu repos. I followed the install instructions carefully and my iphone is able to connect to the server and get the istreamdev start page. I can also switch to Recordings, Timer, etc. and I can see what's in there. Didn't try to stream a recording so far.


    BUT when I tap "Watch TV" and the page turns I get a blank page. No channel listing or so. The log file says "VDR: vdrgetcategories()" and nothing more.


    The same happens when I try to use the program guide. I tap on the button, set "AT Time" to some value and hit "Get Programs". Now I can see, that something more is happening in the log file (vdrgetchannum, vdrgetchancat, etc.), but the iphone says "Loading" and nothing more.


    What am I doing wrong here?


    Greetz, Holger

    Gruß
    Holger


    HTPC: yaVDR 0.5, M3N78-VM, Athlon II X2 240, 2GB, 2x TT S2-1600, Antec Fusion Remote, Harmony 650, LG 50PK550

  • Hi Pandel


    Do you have some categories in your channels.conf ?


    You need to organise your channels in Categories or I don't think it will works. ( Too mucch channels to show in one page, to much info in epg mode etc ).

  • Hi!


    I think from your answer I'm a real noob regarding VDR :whatever :), but ok, I'm really new to it. I have to admit that I don't know if my channels.conf has categories inside or how I could organise my channels into categories. My channels.conf was generated by a channel scan function inside VDR...


    I only have 26 channels defined, if that helps.


    Thanks, Holger


    EDIT: I FOUND IT!!!! Yipieee! Many thanks for the hint!

    Gruß
    Holger


    HTPC: yaVDR 0.5, M3N78-VM, Athlon II X2 240, 2GB, 2x TT S2-1600, Antec Fusion Remote, Harmony 650, LG 50PK550

    Einmal editiert, zuletzt von pandel ()

  • Sorry, but I have another question.


    Now that I can select a channel and start streaming, after a short time it says:


    "Error: streaming could not start correctly"


    With ps xa I can see that istream.sh starts ffmpeg and the segmenter but they disappear and the istreamdev-ffmpeg.log says:


    "[mpegts @ 0x8523ee0] sample rate not set
    Could not write header for output file #0 (incorrect codec parameters ?)"


    EDIT:
    Ok, I found the missing parameter in the istream.sh: the ffmpeg line needs "-ar 48000". Now encoding starts. BUT no stream.m3u8 file is generated and the apache2 error.log says "File does not exist: /var/www/istreamdev/undefined". I added the needed mime types to httpd.conf, so that shouldn't be the problem.



    I'll investigate...


    EDIT 2:
    What I also notice is when I stop all sessions from the home page, two processes won't get killed: istream.sh and cat ./fifo.


    EDIT 3:
    I compiled segmenter.c with the makefile. Is it possible that some -l parms for the linker are missing and so the stream.m3u8 won't get written? I found some different compile statements for segmenter.c on different web pages...


    EDIT 4:


    I recompiled ffmpeg and x264 from the repos. It is working now with the unmodified git version.


    Many thanks for this wonderful addition to the iphone and vdr!!!

    Gruß
    Holger


    HTPC: yaVDR 0.5, M3N78-VM, Athlon II X2 240, 2GB, 2x TT S2-1600, Antec Fusion Remote, Harmony 650, LG 50PK550

    6 Mal editiert, zuletzt von pandel ()

  • Hi!


    I have a strange problem with watching recordings:


    When I start watching a recording, no matter which quality I choose, it says


    "Error:streaming could not start correctly"
    * FFmpeg: running
    * Segmenter: stopped


    But that's not true! The processes are running, and if I return to the home page I can see and join the session for watching.


    Could this be some kind of timing problem between starting istream.sh and trying to get the session info?


    Greetz, Holger

    Gruß
    Holger


    HTPC: yaVDR 0.5, M3N78-VM, Athlon II X2 240, 2GB, 2x TT S2-1600, Antec Fusion Remote, Harmony 650, LG 50PK550

Jetzt mitmachen!

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