Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: VDR Portal. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

DrBoon

Fortgeschrittener

Beiträge: 409

Wohnort: de/bayern/hof

Beruf: Systemintegrator

  • Nachricht senden

221

Dienstag, 30. März 2010, 14:31

PS:

where you get the Status?

Zitat

"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

222

Dienstag, 30. März 2010, 19:19

Zitat

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


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

223

Dienstag, 30. März 2010, 20:02

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.

DrBoon

Fortgeschrittener

Beiträge: 409

Wohnort: de/bayern/hof

Beruf: Systemintegrator

  • Nachricht senden

224

Dienstag, 30. März 2010, 20:11

@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

225

Donnerstag, 1. April 2010, 10:32

Hey,
is it possible to use antoher touchscreen handy like iphone?
Possible to use a notebook as client?

Gruß
Parti

NemoN

Profi

Beiträge: 665

Wohnort: Hamburg (Neu Wulmstorf)

Beruf: QA Engineer

  • Nachricht senden

226

Donnerstag, 1. April 2010, 10:44

Zitat

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.

DrBoon

Fortgeschrittener

Beiträge: 409

Wohnort: de/bayern/hof

Beruf: Systemintegrator

  • Nachricht senden

227

Donnerstag, 1. April 2010, 10:58

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

Something like that:

Quellcode

1
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

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »DrBoon« (1. April 2010, 10:59)


228

Donnerstag, 1. April 2010, 11:27

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.

DrBoon

Fortgeschrittener

Beiträge: 409

Wohnort: de/bayern/hof

Beruf: Systemintegrator

  • Nachricht senden

229

Donnerstag, 1. April 2010, 12:11

^^ 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

230

Donnerstag, 1. April 2010, 12:30

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.

231

Donnerstag, 1. April 2010, 12:43

thanks

NemoN

Profi

Beiträge: 665

Wohnort: Hamburg (Neu Wulmstorf)

Beruf: QA Engineer

  • Nachricht senden

232

Donnerstag, 1. April 2010, 13:02

Here is a Quick-and-dirty patch to enable streaming with desktop safari (with small video centering fix).
For me (Safari 4.0.4) all streaming features are working (Live Video, Recordings(!) and even Video streaming)
»NemoN« hat folgendes Bild angehängt:
  • desktop-streaming.jpg
»NemoN« hat folgende Datei angehängt:

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »NemoN« (1. April 2010, 13:08)


Habib

Profi

Beiträge: 732

Wohnort: Bremer Raum

Beruf: Student

  • Nachricht senden

233

Donnerstag, 1. April 2010, 14:47

Hi,

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

Quellcode

1
2
3
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
»Habib« hat folgende Datei angehängt:
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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Habib« (1. April 2010, 15:01)


NemoN

Profi

Beiträge: 665

Wohnort: Hamburg (Neu Wulmstorf)

Beruf: QA Engineer

  • Nachricht senden

234

Donnerstag, 1. April 2010, 14:56

i replaced in js/istreamdev.js:

Quellcode

1
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:

Quellcode

1
2
streaming.find('#player').removeAttr("style");
streaming.find('#player').html('<video id="videofeed" src="' + url + '" controls autoplay ></video><span rel="ready"></span>');

235

Donnerstag, 1. April 2010, 15:08

Hi guys,

a new way to handle the segmenter/ffmpeg PIDs has been adde on GIT.
It would be greatly appreciated if some of you could test it :)

Thanks!

DrBoon

Fortgeschrittener

Beiträge: 409

Wohnort: de/bayern/hof

Beruf: Systemintegrator

  • Nachricht senden

236

Donnerstag, 1. April 2010, 15:17

Zitat


[Thu Apr 01 15:19:50 2010] [error] [client 88.79.85.86] PHP Notice: Undefined offset: 0 in /srv/www/vhosts/fhem/www/istreamdev/bin/session.php on line 37, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 15:19:50 2010] [error] [client 88.79.85.86] PHP Notice: Undefined index: video in /srv/www/vhosts/fhem/www/istreamdev/bin/session.php on line 160, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 15:19:50 2010] [error] [client 88.79.85.86] PHP Notice: Undefined index: video in /srv/www/vhosts/fhem/www/istreamdev/bin/session.php on line 161, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 15:19:50 2010] [error] [client 88.79.85.86] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/ram/session0/thumb.png, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 15:19:53 2010] [error] [client 88.79.85.86] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/ram/session0/thumb.png
[Thu Apr 01 15:19:54 2010] [error] [client 88.79.85.86] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/undefined

Zitat

[2010/04/01 15:25:59] Executing action [startBroadcast]
[2010/04/01 15:25:59] Creating a new session for "/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec" (rec, 3g)
[2010/04/01 15:25:59] Creating new session dir ram/session0
[2010/04/01 15:25:59] VDR: vdrgetrecinfo(rec=/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec)
[2010/04/01 15:25:59] Generating stream logo for file SciFi of type rec
[2010/04/01 15:25:59] Executing generation cmd: cp "../logos/nologoREC.png" ../ram/session0/thumb.png
[2010/04/01 15:25:59] Sending encoding command: cat "/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec"/0* | ./istream.sh - 350k 64k 408x272 /istreamdev/ 1260 /usr/local/bin/ffmpeg /usr/local/bin/segmen
ter session0 "" >/dev/null &
[2010/04/01 15:25:59] Writting stream info from session session0 (type=rec, mode=3g, url=/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec, channame=SciFi)
[2010/04/01 15:25:59] Executing action [getStreamInfo]
[2010/04/01 15:25:59] Getting info for session session0
[2010/04/01 15:25:59] VDR: vdrgetrecinfo(rec=/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec)
[2010/04/01 15:26:00] Executing action [getStreamStatus]
[2010/04/01 15:26:00] Returning status: <b>Error: segmenter did not start correclty</b>
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

Dieser Beitrag wurde bereits 6 mal editiert, zuletzt von »DrBoon« (1. April 2010, 15:28)


237

Donnerstag, 1. April 2010, 15:41

Thanks :)

very nice indeed...

Edit:

[Thu Apr 01 15:19:50 2010] [error] [client 88.79.85.86] PHP Notice: Undefined offset: 0 in /srv/www/vhosts/fhem/www/istreamdev/bin/session.php on line 37, referer: http://192.168.178.27/istreamdev/index.php

this is very strange ?
Can you double check your config.php file ? specially the quality part ?

thanks

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »TheTroll« (1. April 2010, 15:48)


DrBoon

Fortgeschrittener

Beiträge: 409

Wohnort: de/bayern/hof

Beruf: Systemintegrator

  • Nachricht senden

238

Donnerstag, 1. April 2010, 16:11

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
vdr:/srv/www/vhosts/fhem/www # rm istreamdev -R
vdr:/srv/www/vhosts/fhem/www # git clone git://projects.vdr-developer.org/istreamdev.git
Initialized empty Git repository in /srv/www/vhosts/fhem/www/istreamdev/.git/
remote: Counting objects: 2741, done.
remote: Compressing objects: 100% (2698/2698), done.
remote: Total 2741 (delta 1634), reused 342 (delta 24)
Receiving objects: 100% (2741/2741), 1.57 MiB | 1705 KiB/s, done.
Resolving deltas: 100% (1634/1634), done.
vdr:/srv/www/vhosts/fhem/www # cd istreamdev
vdr:/srv/www/vhosts/fhem/www/istreamdev # cp ../istreamdev.git.20100330/logos/ logos/ -R
vdr:/srv/www/vhosts/fhem/www/istreamdev # vi config_default.php
vdr:/srv/www/vhosts/fhem/www/istreamdev # mkdir ram
vdr:/srv/www/vhosts/fhem/www/istreamdev # chown wwwrun:www * -R
vdr:/srv/www/vhosts/fhem/www/istreamdev # >/tmp/istreamdev.log
vdr:/srv/www/vhosts/fhem/www/istreamdev # >/tmp/istreamdev-ffmpeg.log
vdr:/srv/www/vhosts/fhem/www/istreamdev # chmod 755 bin/istream.sh


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
        // Enable/disable features
        $enablevdr=1;                   // VDR features
        $enablemediavideo=1;            // Video files streaming
        $enablemediaaudio=1;            // Audio files streaming

        // Debug mode
        $debug=1;                       // Debug all action
        $debugfile="/tmp/istreamdev.log"; // Debug file
        $ffmpegdebug=1;                 // Debug ffmpeg
        $ffmpegdebugfile="/tmp/istreamdev-ffmpeg.log"; // FFmpeg debug file

        // Http configuration
        $user='user';            // Login
        $pass='pass';                        // Password
        $httppath='/istreamdev/';       // Absolute path to the index.php file. Don't put http://yourdomain !!

        // VDR configuration
        $vdrchannels='/etc/vdr/channels.conf';                  // VDR channel list
        $svdrpport=2001;                                        // SVDRP port
        $svdrpip='127.0.0.1';                                   // SVDRP ip
        $vdrstreamdev='http://127.0.0.1:3000/TS/';              // VDR streamdev URL
        $vdrrecpath='/video/';                                  // VDR recording directory
        $vdrepgmaxdays=1;                                       // Number of days to get from EPG

        // Media configuration
        $videotypes='avi mkv ts mov mp4 wmv flv mpg mpeg mpeg2 mpv ';   // Supported video extensions (must finish with a space)
        $audiotypes='mp3 aac wav ';                                     // Supported audio extensions
        $videosource='/srv/';                           // Video files directory
        $audiosource='/srv/';                           // Audio files directory

        // Encoding (The name cannot be changed)
        //                      Name            Video   Audio   Resolution
        $quality=array  (       'edge'  =>      '128k   64k     240x160',
                                '3g'    =>      '350k   64k     408x272',
                                'wifi'  =>      '512k   128k    480x320');
        $maxencodingprocesses=3;                // Max simultaneous encoding processes

        // Misc
        $ffmpegpath='/usr/local/bin/ffmpeg';            //path to ffmpeg binary
        $segmenterpath='/usr/local/bin/segmenter';      //path to segmenter binary

        // Version
        $isdversion = "1.0";
?>


---

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 36, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:35 2010] [error] [client 88.79.85.86] PHP Notice:  Use of undefined constant fp - assumed 'fp' in /srv/www/vhosts/fhem/www/istreamdev/bin/vdr.php on line 107, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:47 2010] [error] [client 88.79.85.86] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/logos/SciFi.png, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:50 2010] [error] [client 88.79.85.86] PHP Notice:  Undefined offset:  0 in /srv/www/vhosts/fhem/www/istreamdev/bin/session.php on line 37, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:50 2010] [error] [client 88.79.85.86] PHP Notice:  Undefined index:  video in /srv/www/vhosts/fhem/www/istreamdev/bin/session.php on line 160, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:50 2010] [error] [client 88.79.85.86] PHP Notice:  Undefined index:  video in /srv/www/vhosts/fhem/www/istreamdev/bin/session.php on line 161, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:50 2010] [error] [client 88.79.85.86] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/ram/session0/thumb.png, referer: http://192.168.178.27/istreamdev/index.php
[Thu Apr 01 16:08:51 2010] [error] [client 88.79.85.86] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/ram/session0/thumb.png
[Thu Apr 01 16:08:51 2010] [error] [client 88.79.85.86] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/undefined


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[2010/04/01 16:08:34]  Executing action [getGlobals]
[2010/04/01 16:08:35]  Executing action [getFullChanList]
[2010/04/01 16:08:35]  VDR: vdrgetcategories()
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=Haupt, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=PREMIERE, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=HD, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=Musik, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=Radio, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=CAM, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=Sonstige, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=DokuInfo, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=NEWS, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=ATV+ORF, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=PREMIERE FEEDS, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=XXX, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=ARD, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=ZDFvision, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=Astra, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=Deutsche Telekom, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=EUROSPORT, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=ARD, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=PREMIERE, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=ZDFvision, now=0)
[2010/04/01 16:08:35]  VDR: vdrgetchannels(category=neu, now=0)
[2010/04/01 16:08:35]  Executing action [getRunningSessions]
[2010/04/01 16:08:35]  Listing sessions
[2010/04/01 16:08:41]  Executing action [browseFolder]
[2010/04/01 16:08:41]  Listing dir: /video/
[2010/04/01 16:08:43]  Executing action [browseFolder]
[2010/04/01 16:08:43]  Listing dir: /video/Afterworld/
[2010/04/01 16:08:45]  Executing action [browseFolder]
[2010/04/01 16:08:45]  Listing dir: /video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/
[2010/04/01 16:08:47]  Executing action [getRecInfo]
[2010/04/01 16:08:47]  VDR: vdrgetrecinfo(rec=/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec)
[2010/04/01 16:08:50]  Executing action [startBroadcast]
[2010/04/01 16:08:50]  Creating a new session for "/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec" (rec, 3g)
[2010/04/01 16:08:50]  Creating new session dir ram/session0
[2010/04/01 16:08:50]  VDR: vdrgetrecinfo(rec=/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec)
[2010/04/01 16:08:50]  Generating stream logo for file SciFi of type rec
[2010/04/01 16:08:50]  Executing generation cmd: cp "../logos/nologoREC.png" ../ram/session0/thumb.png
[2010/04/01 16:08:50]  Sending encoding command: cat "/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec"/0* | ./istream.sh - 350k  64k     408x272 /istreamdev/ 1260 /usr/local/bin/ffmpeg /usr/local/bin/segmen
ter session0 "/tmp/istreamdev-ffmpeg.log" >/dev/null &
[2010/04/01 16:08:50]  Writting stream info from session session0 (type=rec, mode=3g, url=/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec, channame=SciFi)
[2010/04/01 16:08:50]  Executing action [getStreamInfo]
[2010/04/01 16:08:50]  Getting info for session session0
[2010/04/01 16:08:50]  VDR: vdrgetrecinfo(rec=/video/Afterworld/Wahrheit_oder_Konsequenzen,_Teil_1/2010-03-31.05.39.14-0.rec)
[2010/04/01 16:08:51]  Executing action [getStreamStatus]
[2010/04/01 16:08:51]  Returning status: <b>Error: segmenter did not start correclty</b>


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

Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von »DrBoon« (1. April 2010, 17:00)


DrBoon

Fortgeschrittener

Beiträge: 409

Wohnort: de/bayern/hof

Beruf: Systemintegrator

  • Nachricht senden

239

Donnerstag, 1. April 2010, 17:06

if this help:

i add to istream.sh the folowing line:

Quellcode

1
2
3
4
5
6
7
8
9
# Start ffmpeg
(trap "rm -f ...

echo "trap "rm -f ./ffmpeg.pid; rm -f ./fifo" EXIT HUP INT TERM ABRT; $FFPATH -i "$STREAM" -deinterlace -f mpegts -acodec libmp3lame -ab $ARATE -ac 2 -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 - 2>$FFMPEGLOG > ./fifo" >>/tmp/istreamdev.log

... # Store ffmpeg pid 



and i get in /tmp/istreamdev.log

Quellcode

1
2
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:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
FFmpeg version git-463c62d, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Feb 22 2010 11:58:52 with gcc 4.3.2 [gcc-4_3-branch revision 141291]
  configuration: --prefix=/usr --enable-gpl --enable-libxvid --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --enable-libx264 --enable-nonfree --enable-libmp3lame --enable-libfaac
  libavutil     50. 9. 0 / 50. 9. 0
  libavcodec    52.54. 0 / 52.54. 0
  libavformat   52.52. 0 / 52.52. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.17. 0 /  1.17. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
pipe:: Error while opening file
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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »DrBoon« (1. April 2010, 17:08)


240

Donnerstag, 1. April 2010, 17:38

Interesting, but with this patch , you break the thumbnail of video on iphone part.

Immortal Romance Spielautomat