FAQ  •  Register  •  Login

ServiiGo (Android 3G/4G/Wifi Playback App)

<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Jan 17, 2016 5:57 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Hi Will:
Thought I would pass this along.
I have found it necessary to add a line to your standard profile for online transcoding of AVC_TS_MP_SD_AAC_MULT5_ISO-0 streams.
These streams are produced by "Livestreamer", which I invoke with my ffmpeg wrapper when a url (From the console) is of the form lst://http://.... and pipe to ffmpeg.
Livestreamer supports the extraction of many web site streams such as Ustream, and this avoids the need to write Webresource plugins for them.
They play fine on the PC because with the flv_player profile these mpegts containers fall thru the online rules but are remixed to flv by the transcoding rules. With your standard profile they fall thru the online rules but there are no transcoding rules to remux them so they fail.

  Code:
      <OnlineTranscoding>
         <Video targetContainer="mpegts">
            <Matches container="flv" vCodec="h264" />
            <Matches container="mp4" />
            <Matches container="applehttp" vCodec="h264" />
            <Matches container="mpegts" vCodec="h264" /> <!-- jhb50 add  -->
         </Video>


Without this line playing "Original" AVC_TS_MP_SD_AAC_MULT5_ISO-0 streams gave me this error and an MX "could not play" message.
  Code:
2016-01-17 11:35:43,472 DEBUG [CDSRetrieveMediaServerResource] GET http://192.168.1.10:23424/cds/resource/1000005450001726/MEDIA_ITEM/AVC_TS_MP_SD_AAC_MULT5_ISO-0/ORIGINAL?profile=serviigo_standard&authToken=b9803b6063ae40d6a96790f659fbe1ae&clientId=5d11c00c6e324a4ca2aea3a216b978fc HTTP/1.1, headers = [user-agent: Mozilla/5.0 (Linux; Android 6.0.1; en-US; Nexus 7 Build/MMB29K) MXPlayer/1.8.3,host: 192.168.1.10:23424,connection: Keep-Alive,accept-encoding: gzip]
2016-01-17 11:35:43,472 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '5d11c00c6e324a4ca2aea3a216b978fc'
2016-01-17 11:35:43,475 WARN  [ServiioStatusService] HttpCodeException occured. Returning error code 404 to the REST layer. Message: null
2016-01-17 11:35:43,475 DEBUG [ServiioStatusService] Detailed exception:
org.serviio.restlet.HttpCodeException
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.CDSRetrieveMediaServerResource.deliver(CDSRetrieveMediaServerResource.java:103)
   at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:524)
   at org.restlet.resource.ServerResource.get(ServerResource.java:743)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:618)
   at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:679)
   at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:357)
   at org.serviio.restlet.AbstractServerResource.doConditionalHandle(AbstractServerResource.java:49)
   at org.serviio.restlet.AbstractProEditionServerResource.doConditionalHandle(AbstractProEditionServerResource.java:35)
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractCDSServerResource.doConditionalHandle(AbstractCDSServerResource.java:59)
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:59)
   at org.restlet.resource.ServerResource.handle(ServerResource.java:1014)
   at org.restlet.resource.Finder.handle(Finder.java:246)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Router.doHandle(Router.java:431)
   at org.restlet.routing.Router.handle(Router.java:648)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
   at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:84)
   at org.restlet.Application.handle(Application.java:384)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Router.doHandle(Router.java:431)
   at org.restlet.routing.Router.handle(Router.java:648)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Router.doHandle(Router.java:431)
   at org.restlet.routing.Router.handle(Router.java:648)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
   at org.restlet.Component.handle(Component.java:406)
   at org.restlet.Server.handle(Server.java:516)
   at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:72)
   at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:152)
   at org.restlet.ext.simple.internal.SimpleContainer.handle(SimpleContainer.java:80)
   at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:121)
   at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:103)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)

After adding this line the stream remixed and played correctly.
  Code:
2016-01-17 12:27:49,617 DEBUG [CDSRetrieveMediaServerResource] GET http://192.168.1.10:23424/cds/resource/1000005450001941/MEDIA_ITEM/AVC_TS_MP_SD_AAC_MULT5_ISO-0/ORIGINAL?profile=serviigo_standard&authToken=b9803b6063ae40d6a96790f659fbe1ae&clientId=5d11c00c6e324a4ca2aea3a216b978fc HTTP/1.1, headers = [user-agent: Mozilla/5.0 (Linux; Android 6.0.1; en-US; Nexus 7 Build/MMB29K) MXPlayer/1.8.3,accept: */*,range: bytes=0-,connection: close,host: 192.168.1.10:23424,icy-metadata: 1]
2016-01-17 12:27:49,617 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '5d11c00c6e324a4ca2aea3a216b978fc'
2016-01-17 12:27:49,620 DEBUG [AbstractAVTranscodingDeliveryEngine] Getting media info for transcoded version of file lst://http://www.ustream.tv/channel/live-iss-stream
2016-01-17 12:27:49,623 DEBUG [AbstractAVTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=5d11c00c6e324a4ca2aea3a216b978fc, Profile=ServiiGo (Standard)'
2016-01-17 12:27:49,623 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: lst://http://www.ustream.tv/channel/live-iss-stream
2016-01-17 12:27:49,624 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\lib\ffdump.bat -fflags +genpts -threads 3 -analyzeduration 10000000 -i lst://http://www.ustream.tv/channel/live-iss-stream -y -threads 3 -c:v copy -c:a copy -map 0:0 -map 0:1 -sn -f mpegts pipe:
<<

will

DLNA master

Posts: 2120

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Jan 19, 2016 7:06 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

jhb50 wrote:Hi Will:
Thought I would pass this along.
I have found it necessary to add a line to your standard profile for online transcoding of AVC_TS_MP_SD_AAC_MULT5_ISO-0 streams.



Thanks, is it needed for any other profiles e.g. the x264 (enhanced) profile?
Will
Beta Tester Group
ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: More info

Player: Sony BDP S370 | Server: Debian 6.0 x86
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jan 19, 2016 7:49 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

I don't see any enhanced profile and legacy inherits from standard.
<<

raine232

Serviio newbie

Posts: 3

Joined: Wed Feb 24, 2016 8:54 pm

Post Wed Feb 24, 2016 9:07 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

I have a quick question about this app before I go with Serviio Pro.

Can ServiiGo stream over a local network or does it have to stream over a remote network?

Locally
[Serviio Server] > [ServiiGo}

Remotely
[Serviio Server] > [Internet through DNS] > [ServiiGo]

Unfortunately I have a limited bandwidth where I live and only want to stream within my house.
<<

raine232

Serviio newbie

Posts: 3

Joined: Wed Feb 24, 2016 8:54 pm

Post Wed Feb 24, 2016 9:07 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

I have a quick question about this app before I go with Serviio Pro.

Can ServiiGo stream over a local network or does it have to stream over a remote network?

Locally
[Serviio Server] > [ServiiGo}

Remotely
[Serviio Server] > [Internet through DNS] > [ServiiGo]

Unfortunately I have a limited bandwidth where I live and only want to stream within my house.
<<

will

DLNA master

Posts: 2120

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Feb 24, 2016 9:17 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

raine232 wrote:I have a quick question about this app before I go with Serviio Pro.

Can ServiiGo stream over a local network or does it have to stream over a remote network?

Locally
[Serviio Server] > [ServiiGo}

Remotely
[Serviio Server] > [Internet through DNS] > [ServiiGo]

Unfortunately I have a limited bandwidth where I live and only want to stream within my house.



It works locally and remote. Serviio 1.6 has recently been released so I suggest you install that and then test ServiiGo out during the 14 day trial period of Serviio Pro.
Will
Beta Tester Group
ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: More info

Player: Sony BDP S370 | Server: Debian 6.0 x86
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play
<<

raine232

Serviio newbie

Posts: 3

Joined: Wed Feb 24, 2016 8:54 pm

Post Thu Feb 25, 2016 6:16 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Cool beans. Thank you :)
<<

bench

Serviio newbie

Posts: 2

Joined: Thu Nov 19, 2015 11:25 am

Post Wed Jun 08, 2016 7:05 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Hello,

is it possible to add a way to enter a user and a password, wenn auth is via Apache and basicauth? I'm trying out the pro-version of serviio right now and have external access to the mediabrowser through an apache2 server, that's doing SSL-Encoding, too, thanks to letsencrypt. I've started the serviio binary with the option
  Code:
"-Dserviio.cdsAnonymousAccess=true"


and a snippet from my apache config looks like this:

  Code:
        RewriteEngine on
        RewriteRule mediabrowser/(.*)$  http://dlna:23424/mediabrowser/$1 [P]
        RewriteRule cds/(.*)$           http://dlna:23424/cds/$1 [P]
        ProxyPass               /mediabrowser/  http://dlna:23424/mediabrowser/
        ProxyPassReverse        /mediabrowser/  http://dlna:23424/mediabrowser/
        ProxyPass               /cds/           http://dlna:23424/cds/
        ProxyPassReverse        /cds/           http://dlna:23424/cds/
        <Proxy "http://dlna:23424/mediabrowser/">
                AuthType        Basic
                AuthName        "WebDAV"
                AuthuserFile    /etc/apache2/h5ai/passwdusers
                AuthGroupFile   /etc/apache2/h5ai/passwdgroups
                <LimitExcept OPTIONS>
                        Require group trusted
                </LimitExcept>
        </Proxy>


Like I said: External Access works like a charm by any browser tested, as long as I provided a correct username, password, and the user inside the correct group. Your App works great (in my LAN with direct connection to my serviio-server) and I'd be happy to buy it, if it would work with my external setup!

(please forgive me if this has already been asked and in the best case answered, but I couldn't seem to find it...)
<<

will

DLNA master

Posts: 2120

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Fri Jun 10, 2016 7:06 am

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

bench wrote:is it possible to add a way to enter a user and a password, wenn auth is via Apache and basicauth?


Not specifically, but have you tried the inline syntax?

e.g.

username:password@dlna
Will
Beta Tester Group
ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: More info

Player: Sony BDP S370 | Server: Debian 6.0 x86
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play
<<

bench

Serviio newbie

Posts: 2

Joined: Thu Nov 19, 2015 11:25 am

Post Fri Jun 10, 2016 10:02 am

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Yes, I've tried that, but the app either complains about an unallowed character at position 0 (when I only enter user@dlna as server-address and the password in its own field) or accepts my edit, but when I look at the configuration again, user:password@dlna is changed back to dlna. Sorry, I forgot to mention this...
<<

will

DLNA master

Posts: 2120

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Jun 11, 2016 5:13 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

bench wrote:Yes, I've tried that, but the app either complains about an unallowed character at position 0 (when I only enter user@dlna as server-address and the password in its own field) or accepts my edit, but when I look at the configuration again, user:password@dlna is changed back to dlna. Sorry, I forgot to mention this...


Can you email me at the support address/pm me your email and I'll send you a test build.
Will
Beta Tester Group
ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: More info

Player: Sony BDP S370 | Server: Debian 6.0 x86
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play
<<

Sonntag

Serviio newbie

Posts: 8

Joined: Tue Jul 05, 2016 5:53 pm

Post Tue Jul 05, 2016 5:59 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Hello!

I am running Serviio 1.6.1 Pro on Debian server.

Every time I am trying to play something through ServiiGo with Enhanced mode it throws me this in log:

2016-07-05 16:26:56,488 WARN [ServiioStatusService] AuthenticationException occured. Returning error code 401 to the REST layer. Message: No authentication token has been provided for a restricted resource.

In this topic I've already found 1 user experienced the same problem because of the different ffmpeg. So I tried building ffmpeg from source according to this guide.

Tried both latest GIT version from videolan and version from serviio.org/download (it's not ffmpeg-N-54096-ge41bf19.tar.gz anymore though).

No luck.

Any advises where to dig?
<<

will

DLNA master

Posts: 2120

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Jul 06, 2016 5:50 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Sonntag wrote:Hello!

I am running Serviio 1.6.1 Pro on Debian server.

Every time I am trying to play something through ServiiGo with Enhanced mode it throws me this in log:

2016-07-05 16:26:56,488 WARN [ServiioStatusService] AuthenticationException occured. Returning error code 401 to the REST layer. Message: No authentication token has been provided for a restricted resource.

In this topic I've already found 1 user experienced the same problem because of the different ffmpeg. So I tried building ffmpeg from source according to this guide.

Tried both latest GIT version from videolan and version from serviio.org/download (it's not ffmpeg-N-54096-ge41bf19.tar.gz anymore though).

No luck.

Any advises where to dig?


Can you look in the transcoding temp folder for the manifest/HLS playlist and see what that contains?
Will
Beta Tester Group
ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: More info

Player: Sony BDP S370 | Server: Debian 6.0 x86
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play
<<

Sonntag

Serviio newbie

Posts: 8

Joined: Tue Jul 05, 2016 5:53 pm

Post Fri Jul 08, 2016 12:46 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

will wrote:
Sonntag wrote:Hello!
Can you look in the transcoding temp folder for the manifest/HLS playlist and see what that contains?


Here u go:

  Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:11
#EXTINF:10.139867,
segment00000.ts
#EXTINF:10.343667,
segment00001.ts
#EXTINF:9.718044,
segment00002.ts
#EXTINF:10.343678,
segment00003.ts
#EXTINF:9.801467,

...

segment00047.ts
#EXT-X-ENDLIST
<<

Sonntag

Serviio newbie

Posts: 8

Joined: Tue Jul 05, 2016 5:53 pm

Post Fri Jul 08, 2016 1:02 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Addition.

this was produced by ffmpeg from serviio.org/download:

  Code:
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul  8 2016 14:32:34 with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass
  libavutil      54. 14.100 / 54. 14.100
  libavcodec     56. 12.101 / 56. 12.101
  libavformat    56. 14.100 / 56. 14.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Hyper fast Audio and Video encoder
u
<<

Sonntag

Serviio newbie

Posts: 8

Joined: Tue Jul 05, 2016 5:53 pm

Post Thu Jul 14, 2016 12:28 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

While waiting for reply I've made a research myself, found what causes the problem and made a workaround fix already :D

Experimentally I've found, that starting from version 2.2.16 ffmpeg by default uses just a filename without absolute path for each segment in a playlist. This causes the problem. The last version of ffmpeg that was adding absolute path to the filename in segment entries was 2.1.8. And it works with current version of Serviio/Serviiogo at the time of this post without any modifications (can be downloaded here). Version 2.4 recommended for download at http://www.serviio.org/download does not work for enhanced mode of Serviigo with Serviio server running under Linux for above described reason.

Starting from 2.2.16 ffmpeg just lists the filename without absolute path, this behavior is described here:

  Code:
segment_list_entry_prefix prefix

Prepend prefix to each entry. Useful to generate absolute paths. By default no prefix is applied.

In order to get latest ffmpeg version (tested on 3.1.1) produce correct playlist files with absolute paths it is necessary to use the above mentioned option. It may be a good idea to pass this information to Serviio developer since there is no possibility to configure ffmpeg options for a user.

As a workaround I have wrote a simple wrapper for ffmpeg:

  Code:
#!/usr/bin/perl -w

use strict;
my $ffmpeg = '/home/serviio/ffmpeg-3.1.1';

my $arg = join(' ', @ARGV);
$arg =~ s/-segment_list ([^ ]+\/)([^ ]+?)/-segment_list_entry_prefix $1 -segment_list $1$2/;

exec("$ffmpeg $arg");

Just place original ffmpeg binary wherever you want, specify its path in $ffmpeg variable and put this code in a file instead of binary. This does the job for me and works.
<<

Sonntag

Serviio newbie

Posts: 8

Joined: Tue Jul 05, 2016 5:53 pm

Post Thu Jul 14, 2016 1:16 pm

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Uff.. Another problem is that -i (input file) parameter is not quoted :shock: which causes "No such file or directory" error if your video files contain spaces.

Modified wrapper that solves this problem too:

  Code:
#!/usr/bin/perl -w

use strict;
my $ffmpeg = 'ffmpeg';

my $arg = join(' ', @ARGV);
$arg =~ s/-segment_list ([^ ]+\/)([^ ]+?)/-segment_list_entry_prefix $1 -segment_list $1$2/;
$arg =~ s/-i (.+?) -y/-i "$1" -y/;

exec("$ffmpeg $arg");
<<

WebClaw

Serviio newbie

Posts: 12

Joined: Thu Feb 19, 2015 6:43 am

Post Fri Jul 15, 2016 1:32 am

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

Excellent post Sonntag; however your wrapper fails to pass through token values.
<<

mikeww1

Serviio newbie

Posts: 7

Joined: Thu Jul 16, 2015 5:43 am

Post Fri Jul 15, 2016 5:54 am

ServiiGo (Android 3G/4G/Wifi Playback App)

I have a question regarding fire tv.

I have my serviio server at home and my new fire tv 4k at my summer house. I have a permanent vpn tunnel between the two locations.
I am using mediabrowser on my ipad to stream videos to my tv via hdmi cable. Works perfect but I always have to walk to the tv to operate that installation.

Now I want to improve that installation an use the fire tv for that.
I installed serviiGo and mx player and vlc player on the box.
I could easily connect to my serviio but when I play videos I found out that no transcoding occurred and hd videos could therefore not be played without stutter.

Then I tried to use chrome on the Fire tv and mediabrowser and could show that it works like a charm with transcoding and the same hd videos but the handling is terrible as you can imagine.

Now my question is how can I force transcoding while using serviiGo ?
My Server is Win7 64 and the version is 5.x.
<<

Sonntag

Serviio newbie

Posts: 8

Joined: Tue Jul 05, 2016 5:53 pm

Post Fri Jul 15, 2016 7:40 am

Re: ServiiGo (Android 3G/4G/Wifi Playback App)

WebClaw wrote:Excellent post Sonntag; however your wrapper fails to pass through token values.


On my tests there are no token values being written to the playlist using current version of Serviio (Pro 1.6.1). The only difference between different ffmpeg versions is that it writes playlist with absolute path or without. And it doesn't work if the absolute path is not specified in the playlist. I haven't seen any token values generated at all by my setup and I can't see where they can come from since here is the original ffmpeg command being executed:

  Code:
ffmpeg -threads auto -i /home/serviio/Data/movie.mkv -y -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 3 -preset veryfast -b:v 500k -maxrate:v 500k -bufsize:v 500k -crf 10 -filter_complex [0:v]scale=542:240[v] -r 24000/1001 -g 15 -bsf:v h264_mp4toannexb -flags -global_header -c:a aac -strict experimental -b:a 128k -ar 22050 -ac 2 -map [v] -map 0:1 -sn -f segment -segment_time 10 -segment_format mpegts -segment_list_flags +cache -segment_list /tmp/Serviio/XX/playlist.m3u8 /tmp/Serviio/XX/segment%05d.ts


Regardless if you'll give me an example of an ffmpeg command that is being executed by your version of Serviio, than I can adjust the regexp in the wrapper.
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.