FAQ  •  Register  •  Login

Online Streams Not working

<<

zdabbas

Serviio newbie

Posts: 12

Joined: Sat Mar 23, 2013 11:15 pm

Post Sun Jan 18, 2015 5:50 pm

Online Streams Not working

I have purchased a pro license. So far it’s working great, except for one thing that is making my life difficult. The environment is as follows:-

- I have some 2M Satellite Head ends each with about 5 channels
- I’m broadcasting on an IP network using UDP from the Head Ends
- The stream is MPEG2-TS

The problem:-

- I enter the Stream IP in serviio and check the stream all is good I get a green check on it.
- When I try to view on any Smart TV I get file not supported
- I check the stream on the Serviios MediaBrowser and it runs fine.

Can you tell what is going wrong?

PS:- All the VOD media works fine.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 19, 2015 9:45 am

Re: Online Streams Not working

maybe the transcoding is not setup right. You will need to give us:

ffmpeg -i "stream url"

detailed log playing the stream

you device and profile you're using
<<

zdabbas

Serviio newbie

Posts: 12

Joined: Sat Mar 23, 2013 11:15 pm

Post Mon Jan 19, 2015 11:04 am

Re: Online Streams Not working

Thank you for the reply, but I'm using Windows version.

But I did find this error in the Serviio Log

2015-01-19 14:06:54,220 INFO [RendererManager] Stored a new renderer: uuid='2fac1234-31f8-11b4-a222-18182184c002', name = 'LG TV', ipAddress='192.168.20.6', profile = '1'
2015-01-19 14:07:13,589 WARN [ResourceDeliveryProcessor] Error while processing resource, sending back 404 error. Message: Cannot retrieve online media item URL: unknown protocol: udp
Last edited by zdabbas on Mon Jan 19, 2015 12:09 pm, edited 1 time in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 19, 2015 2:19 pm

Re: Online Streams Not working

not sure how the fact that you're using Windows is related?

you still need to provide the 3 items I asked for in order to help you
<<

zdabbas

Serviio newbie

Posts: 12

Joined: Sat Mar 23, 2013 11:15 pm

Post Mon Jan 19, 2015 2:33 pm

Re: Online Streams Not working

That's what I'm trying to tell you. when I type ffmpeg -i udp://@225.1.1.13:11111

I get

'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 19, 2015 4:29 pm

Re: Online Streams Not working

oh, sorry - http://wiki.serviio.org/doku.php?id=howto_win_ffmpeg

also, wrap the URL in quotes, like ffmpeg -i "udp://......"
<<

zdabbas

Serviio newbie

Posts: 12

Joined: Sat Mar 23, 2013 11:15 pm

Post Mon Jan 19, 2015 6:01 pm

Re: Online Streams Not working

Ok Got it.

with regards to the log. is it the serviio log you need after running th ffmpeg command? or is there another log you want?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 19, 2015 8:50 pm

Re: Online Streams Not working

run ffmpeg manually first to see the stream details.

then turn on the detailed log, restart the service / PC and try to play the stream via Serviio.
<<

zdabbas

Serviio newbie

Posts: 12

Joined: Sat Mar 23, 2013 11:15 pm

Post Wed Jan 21, 2015 5:50 pm

Re: Online Streams Not working

This is the Output I get from running the command

  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "udp://@225.1.151.1:11111" >log.log
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 19 2014 22:12:09 with gcc 4.7.2 (GCC)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --enab
le-libspeex --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype
-lfribidi -lz' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-
os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config

  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
[mpeg2video @ 03553860] Invalid frame dimensions 0x0.
    Last message repeated 19 times
Input #0, mpegts, from 'udp://@225.1.151.1:11111':
  Duration: N/A, start: 92654.194611, bitrate: 160 kb/s
  Program 706
    Stream #0:0[0xfa]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50
 tbc
    Stream #0:1[0xfb]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16
p, 160 kb/s
At least one output file must be specified


and this is the error in Serviio log:

  Code:
2015-01-21 19:55:59,375 DEBUG [VideoDeliveryEngine] Delivering file 'udp://@225.1.151.1:11111' in native format
2015-01-21 19:55:59,376 WARN  [ResourceDeliveryProcessor] Error while processing resource, sending back 404 error. Message: Cannot retrieve online media item URL: unknown protocol: udp
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 22, 2015 10:06 am

Re: Online Streams Not working

Ok.

Try to add this as the first block inside the Generic profile's Online Transcoding block:


  Code:
<Video targetContainer="mpegts">
  <Matches container="mpegts" vCodec="mpeg2video" aCodec="mp2" />
</Video>
<<

zdabbas

Serviio newbie

Posts: 12

Joined: Sat Mar 23, 2013 11:15 pm

Post Thu Jan 22, 2015 1:29 pm

Re: Online Streams Not working

Worked Great thanks.

Return to General discussion

Who is online

Users browsing this forum: No registered users and 11 guests

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