FAQ  •  Register  •  Login

Livestream problem

<<

tange1

Serviio newbie

Posts: 5

Joined: Sat Jan 31, 2015 4:41 pm

Post Tue Feb 03, 2015 2:51 am

Livestream problem

Hello -

I am trying to use serviio to open a live stream and play it back on a sony BDP-s5100.

Here are the details:
Using serviio 1.5 on Windows server 2012
I defined a live stream to this URL:
http://ironpigslive.sectv.com//ironpigslive.m3u8
Using check URL, i get a green check mark.

My player is a BDP-s5100 and I have defined the BDP-Sx100 (2013) profile and stopped/started the server.

Transcoding is turned on.

When I try to play back the stream I get:
Unsupported or corrupt file type.

Seems the stream might not be supported by the player but its not transcoding it. Any tips?

Opening the m3u8 file found at http://ironpigslive.sectv.com//ironpigslive.m3u8, I dug up and opened the file and found this URL which is what i defined as the live stream:
'http://ironpigslive.sectv.com/ipad3500.m3u8'


FFMPEG -i output:
C:\Program Files\Serviio\lib>ffmpeg -i http://ironpigslive.sectv.com/ipad3500.m3
u8
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
[aac @ 01BBA120] skip_data_stream_element: Input buffer exhausted before END ele
ment found
[aac @ 01BE3000] skip_data_stream_element: Input buffer exhausted before END ele
ment found
Input #0, hls,applehttp, from 'http://ironpigslive.sectv.com/ipad3500.m3u8':
Duration: N/A, start: 40260.896800, bitrate: 91 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 91
kb/s
At least one output file must be specified
<<

DaFerociousBeast

Serviio lover

Posts: 80

Joined: Sat Jul 02, 2011 2:04 pm

Post Wed Feb 04, 2015 3:53 am

Re: Livestream problem

The real question is a live stream able to be transcoded, and is your computer powerful enough to do it.
I once tried a plugin that would give me the blue screen of death, and that was a live stream also.
It could just be if Serviio supports transcoding that type of stream?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Feb 04, 2015 5:31 pm

Re: Livestream problem

do you have detailed log of playing the stream?
<<

tange1

Serviio newbie

Posts: 5

Joined: Sat Jan 31, 2015 4:41 pm

Post Thu Feb 05, 2015 11:01 pm

Re: Livestream problem

See attached log file. I'm wondering if i'm using the wrong URL?

This is the main URL:
http://ironpigslive.sectv.com//irongppigslive.m3u8

Opening the m3u8 to look at the streams i have a large list. I've tried putting some of the various streams found in when i tested so you'll see me trying to open 2 streams.

thanks for the help in advance.
Attachments
logs trying to play live stream.log
(373.59 KiB) Downloaded 384 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 06, 2015 5:11 pm

Re: Livestream problem

This is what I get when running manually:
  Code:
MacBook-Pro-2:/Library/Application Support/Serviio/lib $ ./ffmpeg -analyzeduration 10000000 -fflags +genpts -threads auto -i http://ironpigslive.sectv.com/ipad3500.m3u8 -y -threads auto -c:v copy -c:a copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/out.mpg
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 20 2014 20:39:23 with gcc 4.0.1 (GCC) (Apple Inc. build 5493)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-librtmp --enable-libfreetype --enable-fontconfig --enable-libass --enable-pthreads --enable-libx264 --enable-libspeex --enable-gpl --disable-mmx --extra-ldflags=-L/Users/MacAdmin/Desktop/build/target/lib --extra-cflags=-I/Users/MacAdmin/Desktop/build/target/include --extra-libs='-lpolarssl -lfreetype -lexpat -liconv'
  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
[aac @ 0x3803c00] channel element 0.12 is not allocated
[aac @ 0x284cc00] Input buffer exhausted before END element found
Input #0, hls,applehttp, from 'http://ironpigslive.sectv.com/ipad3500.m3u8':
  Duration: N/A, start: 64712.215733, bitrate: 84 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 84 kb/s
Output #0, mpegts, to '/tmp/out.mpg':
  Metadata:
    encoder         : Lavf56.14.100
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 90k tbn, 59.94 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, 84 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x2050000] AAC bitstream not in ADTS format and extradata missing
av_interleaved_write_frame(): Invalid data found when processing input
frame=   93 fps=0.0 q=-1.0 Lsize=     766kB time=00:00:01.51 bitrate=4134.0kbits/s   
video:700kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.459861%
Conversion failed!
[code]


Looks like ffmpeg cannot decode the AAC audio stream.
<<

tange1

Serviio newbie

Posts: 5

Joined: Sat Jan 31, 2015 4:41 pm

Post Fri Feb 06, 2015 5:56 pm

Re: Livestream problem

zip wrote:This is what I get when running manually:
  Code:
MacBook-Pro-2:/Library/Application Support/Serviio/lib $ ./ffmpeg -analyzeduration 10000000 -fflags +genpts -threads auto -i http://ironpigslive.sectv.com/ipad3500.m3u8 -y -threads auto -c:v copy -c:a copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/out.mpg
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 20 2014 20:39:23 with gcc 4.0.1 (GCC) (Apple Inc. build 5493)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-librtmp --enable-libfreetype --enable-fontconfig --enable-libass --enable-pthreads --enable-libx264 --enable-libspeex --enable-gpl --disable-mmx --extra-ldflags=-L/Users/MacAdmin/Desktop/build/target/lib --extra-cflags=-I/Users/MacAdmin/Desktop/build/target/include --extra-libs='-lpolarssl -lfreetype -lexpat -liconv'
  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
[aac @ 0x3803c00] channel element 0.12 is not allocated
[aac @ 0x284cc00] Input buffer exhausted before END element found
Input #0, hls,applehttp, from 'http://ironpigslive.sectv.com/ipad3500.m3u8':
  Duration: N/A, start: 64712.215733, bitrate: 84 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 84 kb/s
Output #0, mpegts, to '/tmp/out.mpg':
  Metadata:
    encoder         : Lavf56.14.100
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 90k tbn, 59.94 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, 84 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x2050000] AAC bitstream not in ADTS format and extradata missing
av_interleaved_write_frame(): Invalid data found when processing input
frame=   93 fps=0.0 q=-1.0 Lsize=     766kB time=00:00:01.51 bitrate=4134.0kbits/s   
video:700kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.459861%
Conversion failed!
[code]


Looks like ffmpeg cannot decode the AAC audio stream.


My errors seem to agree - problem with the AAC audio. Any ideas on what we could do to resolve?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 08, 2015 11:41 pm

Re: Livestream problem

you could try the latest FFmpeg. But if the stream is bad, then you're out of luck.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 88 guests

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