Finally I got it working, with some unwanted features.
First - Your proposal. The IP address or name is not important in my installation because I have DNS server in my home network, dedicated for local network nodes.
So You have the result of using ffplay (ffplay is taken from repo of my Linux distro):
- Code:
[maciek@piotr ~]$ ffplay "http://root:lans3@pvr/web/stream.m3u?ref=1:0:1:10E2:3E8:13E:820000:0:0:0"
ffplay version 2.0.3 Copyright (c) 2003-2013 the FFmpeg developers
built on Feb 9 2014 23:12:38 with gcc 4.8.2 (GCC)
configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopus --disable-libopencv --enable-libopenjpeg --enable-libtwolame --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
http://root:lans3@pvr/web/stream.m3u?ref=1:0:1:10E2:3E8:13E:820000:0:0:0: Operation not permitted
I defined "Live stream" as
http://pvr:8001/1:0:1:10E2:3E8:13E:820000:0:0:0. Now it is listed in "Online" section of Serviio WEB console in is playable on my tablet in local network using DLNA Android client.
But it takes a lot of time between defining new "Live stream" and it presence in "online" section of Serviio WEB console. I want to use Serviio only for streaming TV content from satbox via internet to my tablet. For local network I use Twonky Media for streaming disk stored files.
So transcoding and authorisation is major problem for me at this time. If it will be possible, I will buy several activations for my customers.
As it is noticeable, Serviio streams over port 8895:
- Code:
[maciek@piotr bin]$ netstat -at|grep tablet
tcp 0 0 piotr:8895 tablet:34614 ESTABLISHED
tcp 0 42264 piotr:8895 tablet:54492 ESTABLISHED
tcp 0 0 piotr:8895 tablet:39361 ESTABLISHED
Lets start with transcoding. The stream I present in this post is SD, 576i mpg2 type. But different channel uses different resolution and encoding. So I have:
- SD, 576, mpeg2
- SD, 576, X.264
- HD 1080, X264
I want to define profile to transcode all above streams to SD, 576, mpg2 as first option or lower necessary bandwidth to aprox 0,7 Mbps, by lowering resolution and/or quality.
Next problem is authorisation of access from Internet to avoid unwanted usage. Keep in mind that it is practically impossible to use (for my customers) mechanisms like OpenVPN or SSH because of necessity of rooting Android devices. I use rooted devices but warranty is lost.
How can I reach my goal?