Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
"img_off": "img/off.gif",
"status": "on";
},
{
"name": "Shutdown VDR",
Quoted
Original von DrBoon
@mentox: Can you validate this?
Quoted
Possible to use a notebook as client?
|
|
Source code |
1 |
if (navigator.appCodeName == "Apple iPhone OS *") |
This post has been edited 2 times, last edit by "DrBoon" (Apr 1st 2010, 10:59am)
That is, what the "Live-Plugin" includes ( advisable )This post has been edited 2 times, last edit by "NemoN" (Apr 1st 2010, 1:08pm)
|
|
Source code |
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>'); |
This post has been edited 1 times, last edit by "Habib" (Apr 1st 2010, 3:01pm)
|
|
Source code |
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>');
|
|
|
Source code |
1 2 |
streaming.find('#player').removeAttr("style");
streaming.find('#player').html('<video id="videofeed" src="' + url + '" controls autoplay ></video><span rel="ready"></span>');
|
Quoted
[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
Quoted
[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>
This post has been edited 6 times, last edit by "DrBoon" (Apr 1st 2010, 3:28pm)

This post has been edited 1 times, last edit by "TheTroll" (Apr 1st 2010, 3:48pm)
|
|
Source code |
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 |
|
|
Source code |
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";
?>
|
|
|
Source code |
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 |
|
|
Source code |
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> |
This post has been edited 5 times, last edit by "DrBoon" (Apr 1st 2010, 5:00pm)
|
|
Source code |
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 |
|
|
Source code |
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 |
|
|
Source code |
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 |
This post has been edited 1 times, last edit by "DrBoon" (Apr 1st 2010, 5:08pm)