yes the bitrate values need to be put in kbs as you can see in the original config.php
I've edited the readme file for the istream.sh test command.
New version is now online with ajax based server callback for stream availibility.
yes the bitrate values need to be put in kbs as you can see in the original config.php
I've edited the readme file for the istream.sh test command.
New version is now online with ajax based server callback for stream availibility.
@Konni_
I can't do so much. The problem come from svdrp.
If you call :
./svdrpsend.pl lstc "RTL Television,RTL"
it won't give you anything.
If somebody debugsvdrp in vdr it would work directly.
But for now you should rename your channel.
New version 0.3 is out.
Hi.
Next version have configured bitrate and resolution for edge, 3g and wifi. This should do the trick.
kuminamoya yes your PC is too slow to encode h264 in realtime. Try to lower output resolution, but i doubt it will be sufficient.
neumann2k , I don't think it's a problm with your iphone. But you can try to reboot it, as after many test, it seems the quicktime player come sometimes instable.
By the way, try to reach the .ts file from your PC browser to check if all the files are reachable by your webserver.
Can you show me an axemple of the generated m3u8 ?
For those who have problem with old streamdev rev, we've redone the parsing channel script with channels.conf and no streamdevchannels.html url for next version, as i was needding category too.
Build is on it's way for this weekend i think. You will love it.
mentox , try to add -ac 1 ( or 2 ) after -ab 64k to ffmpeg command line in istream.sh
thanks hendrikw1.
I've corrected it and reuploaded the archive.
I've updated the download file. There was a typo for Very high.
Or just edit in index.php "Very High" by "Very high"
The stop button has been removed. Now Home button ( at the top left ) kill ffmpeg server directly.
For Next release I plan to navigate by Category, with Itunes list ( Logo + Channel ID + Program Title )
The html templates are ready, need to redo the php.
You can preview it on your iphone here:
02/04/2010 - 1.0.1
VDR & media streaming to your iPhone
download: http://projects.vdr-developer.…cts/list_files/istreamdev
http://projects.vdr-developer.org/projects/show/istreamdev
README: http://projects.vdr-developer.org/wiki/istreamdev/README
INSTALL: http://projects.vdr-developer.org/wiki/istreamdev/INSTALL
Screenshots: http://projects.vdr-developer.…ki/istreamdev/SCREENSHOTS
History:
02.04.2010 - 1.0.1
- Added fix for PHP version < 5.2.0
- added php module check and dynamic loading if possible.
- some client speedups and optimisations
- removed custom segmenter code, no need for a modifief version anymore
- now stores segmenter and ffmeg pids to kill them
- removed AT dependency
03.29.2010 - 1.0.0
- Massive rework from scratch
- Now based on JQuery/JQTouch
- Fully Ajax/Json based. Server only send Json data to client.
- Client fully webapp compatible. All the client is loaded in the same html page.
- New skin with animated transitions. Hardware accelerated animations.
- Added recording from Channel info.
- Encoding status message is now updated live.
- Added new status "Encoding finished" for recording and videos files. It appears without "*" character before the name in Home sessions menu too.
- Added Electronic Program Guide with add timer feature.
- Dynamic minimise and compression of the css & js files. Now cached.
- gzip compression of all json data
Git repository for development version:
[Blockierte Grafik: http://xmltv.free.fr/istreamdev/screens/thumbs/home3.png]
[Blockierte Grafik: http://xmltv.free.fr/istreamdev/screens/thumbs/tv2.png]
[Blockierte Grafik: http://xmltv.free.fr/istreamdev/screens/thumbs/3dtransition.png]
[Blockierte Grafik: http://xmltv.free.fr/istreamdev/screens/thumbs/timers1.png]
[Blockierte Grafik: http://xmltv.free.fr/istreamdev/screens/thumbs/epg3.png]
[Blockierte Grafik: http://xmltv.free.fr/istreamdev/screens/thumbs/vid4.png]
[Blockierte Grafik: http://xmltv.free.fr/istreamdev/screens/thumbs/audio2.png]
Zitatas istream seems to get a separate addon and this is a thread concerning iVDR - don't you want to open a separate thread for your great addon?
Yep I will for next release, but what I was expecting was more integreting Live HTTP Streaming in iVDR directly as it already have all the needed features. Why reinvent the wheel?
I've sent samples script to the iVDR author to guide him on the right direction. Let's hope he will take the time to make us a new version.
the channels.html link should not have Extern paramters in the url, as it's for using externremux.sh, and we don't here.
HEre is what new streamdev outputs here:
<li value="1"><a href="C-64810-550-7501.ts" vod tvid="1">TF1</a> <a href="C-64810-550-7501+1.ts" class="apid" vod>fra</a> <a href="C-64810-550-7501+2.ts" class="apid" vod>eng</a></li>
<li value="2"><a href="C-64810-550-7502.ts" vod tvid="2">FRANCE 2</a> <a href="C-64810-550-7502+1.ts" class="apid" vod>fra</a> <a href="C-64810-550-7502+2.ts" class="apid" vod>deu</a></li>
<li value="3"><a href="C-64810-550-7503.ts" vod tvid="3">FRANCE 3</a></li>
<li value="4"><a href="C-64810-600-7611.ts" vod tvid="4">FRANCE 4</a></li>
<li value="5"><a href="C-64810-550-7505.ts" vod tvid="5">FRANCE 5</a></li>
The script looks for "tvid=" parameter ( giving channel number ) , and it seems your streamdev don't populate it on it's html.
I've opened a new thread for the new version :
try to launch the sh commands by hand and see what's wrong with your setup.
It seems your webserver user need a password for sudo. Add www-data as sudoers without password.
Hi again
Here is a tweaked version we've made with a friend, if you wanna play with it too.
Added features:
- Channel name, epg title, epg desc, streamtype and Logo picturre on streaming page
- better handling of Quicktime play button if ffmpeg is not started. Now, il you click too early on the Quicktime icon, it loads a loading video (loading.ts ) and then jump automatically on stream-1.ts at the end.
- Detection of server status and showing Channel selection or streaming page depending of server status.
- handling of aspect/ratio
update: http://xmltv.free.fr/istream_0.1c.tar.gz
I've tested the live_segmenter version too but not really interested about multirate streaming, it takes too much cpu. I prefer to stick with segmenter. It cleans automatically outdated file wthout needing cron job.
[Blockierte Grafik: http://xmltv.free.fr/iphonstream/1.PNG]
[Blockierte Grafik: http://xmltv.free.fr/iphonstream/2.PNG]
[Blockierte Grafik: http://xmltv.free.fr/iphonstream/3.PNG]
[Blockierte Grafik: http://xmltv.free.fr/iphonstream/4.PNG]
Damn, it would saved me some time if I'had founded this sooner.
I wasn't aware we had to segment videos for live streaming too. It explains the cutoff i had.
I've tested the script provided in the mentionned thread that use segmenter. That was exactly what i was looking for.
Thanks for the tip.
Hi there
I've made some research to succeed streaming live video on iphone without jailbrake.
Since Iphone Os now have the HTTP live streaming feature, it was the good time to investigate on this.
After many unsuccessful test, I've succeed to stream live video into the Iphone Quicktime player.
What I've done here:
First create an html file ( here streamtest.html ) on your webserver with this:
<html>
<head>
<title>Video Test</title>
<meta name="viewport" content="width=480; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
</head>
<body style="background-color:#FFFFFF; ">
<center>
<video width='150' height='150' src="teststream.m3u8" />
</center>
</body>
</html>
Alles anzeigen
Then create the playlist file teststream.m3u8:
Then launch an ffmpeg encode:
ffmpeg -i http://localhost:3000/1 -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -s 480x320 -vcodec libx264 -b 300k -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 300k -maxrate 300k -bufsize 300k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 480:320 -g 30 -async 2 /var/www/teststream.ts
Then if you access from your Iphone http://youwebserver/streamtest.html you will see a quicktime icon. Click on it. Quicktime player now opens with your live video stream, without any jailbrake.
Now, i think we're not far away to a nice solution without any jailbrake for iVDR. I need to test replacing all the imoblie cinema stuff by the <video> html5 tag , and changing ffmpeg encoding parameters by those ones.
@HTC-Shrauber
Yep, that's why I've made this separated patch.
I think I'll have to redo it after ttxtsubs integration in Ext patch. Didn't notice ttxtsubs was removed too.