Page 1 of 1

Serviio on Linux, PS3 and live stream

PostPosted: Tue Jul 15, 2014 8:13 pm
by navyhod
Hello everybody !!!

I need some help with transcode settings, at list I think that the problem in transcodding. I have ace stream( torrent stream ) installed and running on win7, it duplicate stream to my local network. Then my home ubuntu server, with installed serviio, get this tream by settings in Online Sources and transcode it for PS. Video is great on PS, but not audio. Actually there is no sound at all. According to stream info on PS sound is not includded in stream. I tried few combinations of output stream from ace stream player on win7, but no luck.

Earlier I used sopcast for football stream and everything works fine, but now sopcast don't work and I switched to ace stream. I'll try to create a plugin for ace stream, so step with win7 could be skipped ( I hope ), but problem still can exists.

Also I have serviio installed on win7, but stream from this PC generates huge bitrate for video ( over 100 Mbps ).

Does any body has same or similar issues ?

Thanks !

P.S.: sorry for bad english :)

Re: Serviio on Linux, PS3 and live stream

PostPosted: Wed Jul 16, 2014 12:11 pm
by DenyAll
I'm guessing that Serviio is transcoding the source stream - if you could find some details of what format the stream is, that would help - but you could try changing the profile. Find the line:

  Code:
<Profile id="4" name="Playstation 3" extendsProfileId="1">
   :
   <OnlineTranscoding>
      :
      <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3">
and change it to:
    <Video targetContainer="mpeg" targetVCodec="mpeg2video" maxVBitrate="8192" targetACodec="ac3"
If that works try setting the rate higher - eg. try 17000 and see if that also works. Remember that after editing profiles.xml you must restart your PC (or the Serviio service if you know how) for the changes to take effect. If it doesn't work then provide some more details on the format of the stream.

If I understand it you get audio from the Windows 7, but not from Ubuntu, versions of Serviio. This would point to a problem with your ffmpeg version in Ubuntu - search the wiki for instructions on compiling an up-to-date linux version of ffmpeg.

Re: Serviio on Linux, PS3 and live stream

PostPosted: Wed Jul 16, 2014 5:31 pm
by navyhod
Hi DenyAll and thanks for reply !

I tried to change this setting and restart serviio service, but no luck :( stream's bitrate now is about 10-20 Mbps, but still with lags. And transcoded video quality became a bit worse. Video stream now generates by VLC player by string "#duplicate{dst="http{mux=ts,dst=:8902/tv.asf}",dst=display}". Last part ( dst= ) can be skipped it's just for testing.

I got information about video stream on my linux machine, please see attachment. ffmpeg was compiled according to wiki. I'll check and may be update ffmpeg on linux, but not shure that this can help.


Thank you for helping !

Re: Serviio on Linux, PS3 and live stream

PostPosted: Wed Jul 16, 2014 8:17 pm
by navyhod
I installed latest version of ffmpeg on linux and there is no sound for live streams :(

Re: Serviio on Linux, PS3 and live stream

PostPosted: Thu Jul 17, 2014 3:21 pm
by DenyAll
Sorry navyhod - me bad, I didn't realise you were using VLC to generate a duplicate stream.

My limted experience with this is described here: viewtopic.php?f=5&t=5620&start=40#p91725. I also found that for some reason audio wouldn't stream on the PS3 for me either - I got it to work by having VLC transcode the audio before streaming it (see step 1 in the PDF document). Try changing your string to something like:

    "#duplicate{dst="transcode{acodec=mpga,ab=128}:http{mux=ts,dst=:8902/tv.asf}",dst=display}"
This will tell VLC to transcode the audio which worked for me - give it a try. ps. I'm not in a position to test this so I may have this command slight wrong - you may need to play with it a bit.