Page 1 of 1

Transcoding problem with Samsung TV

PostPosted: Fri Sep 11, 2015 9:37 pm
by tuareg64ve
Hi,

I am struggling with transcoding. I have not understood so much how it is working.
Anyway, I have the following resource:

http://la7-vh.akamaihd.net/i/content/en ... aster.m3u8

After 20 seconds of transcoding I get the following error:

  Code:
2015-09-11 23:26:38,902 DEBUG [SearchManager] Committing search index
2015-09-11 23:26:46,651 DEBUG [TimeoutStreamDelegator] Closing piped input stream and closing related feeder process
2015-09-11 23:26:46,651 DEBUG [PipedOutputStreamMultiplexer] Caught exception: Pipe closed
java.io.IOException: Pipe closed
   at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:260)
   at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:268)
   at java.io.PipedInputStream.receive(PipedInputStream.java:231)
   at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$3.call(PipedOutputStreamMultiplexer.java:87)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$MultiplexCaller.multiplex(PipedOutputStreamMultiplexer.java:119)
   at org.serviio.external.io.PipedOutputStreamMultiplexer.write(PipedOutputStreamMultiplexer.java:89)
   at org.serviio.external.io.PipedOutputBytesReader.processOutput(PipedOutputBytesReader.java:58)
   at org.serviio.external.io.OutputReader.run(OutputReader.java:47)
2015-09-11 23:26:46,651 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-247,5,main]
2015-09-11 23:26:46,651 DEBUG [PipedOutputStreamMultiplexer] Removing client from multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-11 23:26:46,651 DEBUG [ProcessUtils] Sending kill -9 to the Unix process: 10220
2015-09-11 23:26:46,651 DEBUG [ProcessExecutor] Starting kill -9 10220
2015-09-11 23:26:46,656 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2015-09-11 23:26:46,682 DEBUG [WebServer] I/O error: Pipe closed
2015-09-11 23:26:48,660 DEBUG [WebServer] I/O error: Pipe broken


And the clip stops in the TV.
The transcoding was initiated well:

  Code:
2015-09-11 23:27:02,032 DEBUG [VideoDeliveryEngine] Delivering item '1000004050001444' for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-11 23:27:02,032 DEBUG [VideoDeliveryEngine] Delivering file 'http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8' using transcoding
2015-09-11 23:27:02,032 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-11 23:27:02,032 DEBUG [StreamBasedTranscodingDeliveryStrategy] Adding client to stream multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-11 23:27:03,033 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_
PAL
2015-09-11 23:27:03,033 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_
NTSC
2015-09-11 23:27:03,033 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2015-09-11 23:27:03,033 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2015-09-11 23:27:03,033 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,Date: Fri, 11 Sep
2015 21:27:03 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2015-09-11 23:27:08,903 DEBUG [SearchManager] Committing search index
2015-09-11 23:27:18,210 DEBUG [FeedUpdaterWorker] Checking for new and expired online resources
2015-09-11 23:27:18,210 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2015-09-11 23:27:18,211 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 101)


the following is in the profile:

  Code:
        <Profile id="2" name="Samsung TV (B-series)" extendsProfileId="1">
        <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
        <Detection>
            <UPnPSearch>
                <FriendlyName>^TV$</FriendlyName>
                <ModelName>Samsung DTV DMR</ModelName>
                <ModelNumber>1\.0</ModelNumber>
            </UPnPSearch>   
        </Detection>
        <DeviceDescription>
                <ExtraElements>
                        &lt;sec:ProductCap&gt;smi,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
                                &lt;sec:X_ProductCap&gt;smi,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
                </ExtraElements>
        </DeviceDescription>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
        </MediaFormatProfiles>
        <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
        <Transcoding>
                <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
                        <Video targetContainer="m2ts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
                                <Matches container="*" vCodec="h264" profile="high_10" />
                                <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                                <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                        </Video>
            <!-- transcode MKV with DST/FLAC audio to AC3, remux into mpeg2ts -->
            <!-- transcode H264 MP4 files with LPCM audio -->
            <Video targetContainer="m2ts" targetACodec="ac3">
                <Matches container="matroska" vCodec="h264" aCodec="dca" />
                <Matches container="matroska" vCodec="h264" aCodec="dts-hd" />         
                <Matches container="mp4" vCodec="h264" aCodec="lpcm" />
                <Matches container="matroska" vCodec="h264" aCodec="flac" />
                <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
                <Matches container="matroska" vCodec="h264" aCodec="truehd" />
                <Matches container="mpegts" vCodec="h264" aCodec="truehd" />
                <Matches container="matroska" vCodec="vc1" />
                <Matches container="avi" vCodec="h264" />
                <Matches container="mpegts" aCodec="mp2" />
                <Matches container="flv" vCodec="h264" />
                <Matches container="ogg" vCodec="mpeg4" />
                <Matches container="3gp" aCodec="amrnb" />   
                <Matches container="wtv" vCodec="h264" />
            </Video>
            <!-- transcode unsupported codec/container combinations into mpeg2ts -->
        <Profile id="2" name="Samsung TV (B-series)" extendsProfileId="1">
        <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
        <Detection>
            <UPnPSearch>
                <FriendlyName>^TV$</FriendlyName>
                <ModelName>Samsung DTV DMR</ModelName>
                <ModelNumber>1\.0</ModelNumber>
            </UPnPSearch>   
        </Detection>
        <DeviceDescription>
                <ExtraElements>
                        &lt;sec:ProductCap&gt;smi,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
                                &lt;sec:X_ProductCap&gt;smi,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
                </ExtraElements>
        </DeviceDescription>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
        </MediaFormatProfiles>
        <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
        <Transcoding>
                <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
                        <Video targetContainer="m2ts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
                                <Matches container="*" vCodec="h264" profile="high_10" />
                                <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                                <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                        </Video>
            <!-- transcode MKV with DST/FLAC audio to AC3, remux into mpeg2ts -->
            <!-- transcode H264 MP4 files with LPCM audio -->
            <Video targetContainer="m2ts" targetACodec="ac3">
                <Matches container="matroska" vCodec="h264" aCodec="dca" />
                <Matches container="matroska" vCodec="h264" aCodec="dts-hd" />         
                <Matches container="mp4" vCodec="h264" aCodec="lpcm" />
                <Matches container="matroska" vCodec="h264" aCodec="flac" />
                <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
                <Matches container="matroska" vCodec="h264" aCodec="truehd" />
                <Matches container="mpegts" vCodec="h264" aCodec="truehd" />
                <Matches container="matroska" vCodec="vc1" />
                <Matches container="avi" vCodec="h264" />
                <Matches container="mpegts" aCodec="mp2" />
                <Matches container="flv" vCodec="h264" />
                <Matches container="ogg" vCodec="mpeg4" />
                <Matches container="3gp" aCodec="amrnb" />   
                <Matches container="wtv" vCodec="h264" />
            </Video>
            <!-- transcode unsupported codec/container combinations into mpeg2ts -->
            <!-- transcode unsupported codec/container combinations into mpeg2ts -->
            <Video targetContainer="m2ts" targetACodec="ac3" targetVCodec="mpeg2video">
                <Matches container="asf" vCodec="wmv2" />
                <Matches container="matroska" vCodec="mpeg2video" />
                <Matches container="matroska" vCodec="vp8" />
                <Matches container="*" vCodec="h265" />
                <Matches container="avi" vCodec="mjpeg" />
                <Matches container="avi" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="mjpeg" />
                <Matches container="flv" />
                <Matches container="ogg" />
                <Matches container="rm" />               
            </Video>
            <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
            <Video targetContainer="m2ts" targetACodec="ac3" forceVTranscoding="true">
                <Matches container="asf" vCodec="mpeg2video" />
                <Matches container="asf" vCodec="mpeg1video" />
            </Video>
            <Video targetContainer="m2ts">
                <Matches container="wtv" />
            </Video>
            <!-- transcode audio only for wmv with wmapro -->
            <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
                <Matches container="asf" aCodec="wmapro" />
            </Video>
            <Audio targetContainer="lpcm">
                <Matches container="asf" />
                <Matches container="mp4" />
                <Matches container="flac" />
                <Matches container="ogg" />
                <Matches container="adts" />
                <Matches container="mp2" />
                <Matches container="wavpack" />
                <Matches container="mpc" />
                        <Matches container="ape" />
            </Audio>
        </Transcoding>
            <!-- transcode unsupported codec/container combinations into mpeg2ts -->
            <Video targetContainer="m2ts" targetACodec="ac3" targetVCodec="mpeg2video">
                <Matches container="asf" vCodec="wmv2" />
                <Matches container="matroska" vCodec="mpeg2video" />
                <Matches container="matroska" vCodec="vp8" />
                <Matches container="*" vCodec="h265" />
                <Matches container="avi" vCodec="mjpeg" />
                <Matches container="avi" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="mjpeg" />
                <Matches container="flv" />
                <Matches container="ogg" />
                <Matches container="rm" />               
            </Video>
            <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
            <Video targetContainer="m2ts" targetACodec="ac3" forceVTranscoding="true">
                <Matches container="asf" vCodec="mpeg2video" />
                <Matches container="asf" vCodec="mpeg1video" />
            </Video>
            <Video targetContainer="m2ts">
                <Matches container="wtv" />
            </Video>
            <!-- transcode audio only for wmv with wmapro -->
            <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
                <Matches container="asf" aCodec="wmapro" />
            </Video>
            <Audio targetContainer="lpcm">
                <Matches container="asf" />
                <Matches container="mp4" />
                <Matches container="flac" />
                <Matches container="ogg" />
                <Matches container="adts" />
                <Matches container="mp2" />
                <Matches container="wavpack" />
                <Matches container="mpc" />
                        <Matches container="ape" />
            </Audio>
        </Transcoding>
        <OnlineTranscoding>
                <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="30000" targetACodec="ac3" aBitrate="384">
                        <Matches container="flv" vCodec="h264" />
                </Video>     
                <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
                        <Matches container="mp4"/>
                </Video>
                <!--Audio targetContainer="mp3" aBitrate="320" -->
                <Audio targetContainer="lpcm">
                        <Matches container="adts" />
                </Audio>
        </OnlineTranscoding>
        <AutomaticImageRotation>true</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
        <Subtitles>
                        <SoftSubs mime-type="smi/caption" />
                </Subtitles>
    </Profile>


what could be the problem and how to solve it?
Thanks

Re: Transcoding problem with Samsung TV

PostPosted: Sat Sep 12, 2015 12:24 am
by atc98092
What model Samsung, and could you provide the media info for one of your files?

Re: Transcoding problem with Samsung TV

PostPosted: Sat Sep 12, 2015 5:33 am
by tuareg64ve
Samsung model is: SAMSUNG UE28F4000AW
The following is a reference to supported format:

dwlive_scr1.jpg
samsung SAMSUNG UE28F4000AW formats
dwlive_scr1.jpg (52.38 KiB) Viewed 9833 times


From where Serviio runs, I can play the file with both ffplay and vlc without any problem.
media info for the file:

  Code:
$ ffmpeg -i http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
ffmpeg version N-74369-g55a07cf Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
  libavutil      54. 30.100 / 54. 30.100
  libavcodec     56. 57.100 / 56. 57.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 32.100 /  5. 32.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[http @ 0x35eef20] No trailing CRLF found in HTTP header.
Input #0, hls,applehttp, from 'http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8':
  Duration: 00:34:41.00, start: 0.100667, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 846000
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 846000
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 52 kb/s
    Metadata:
      variant_bitrate : 846000
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 846000


Please notice that this file would expire in 10-12 hours (I think).

Re: Transcoding problem with Samsung TV

PostPosted: Sat Sep 12, 2015 12:28 pm
by jhb50
1. Your posted profile is wrong. Sections repeated etc. - Post correct profile
2. Stream is applehttp so its probably using Profile 1 rule - post it too
3. Log does not show the ffmpeg command that was generated - include it
4. Log shows earlier failure and later transcode - post complete failure sequence.

This will allow us to see the rules and see what Serviio does with them and the resulting transcode command.

Re: Transcoding problem with Samsung TV

PostPosted: Sat Sep 12, 2015 4:04 pm
by tuareg64ve
jhb50 wrote:1. Your posted profile is wrong. Sections repeated etc. - Post correct profile
2. Stream is applehttp so its probably using Profile 1 rule - post it too
3. Log does not show the ffmpeg command that was generated - include it
4. Log shows earlier failure and later transcode - post complete failure sequence.

This will allow us to see the rules and see what Serviio does with them and the resulting transcode command.



You are right, I was not so much clear.
I hope to be more now.
I have realized ffmpeg did not have --enable -librtmp and reinstalled.
Now it looks like that:

  Code:
^Cinspiron-mint log # ffmpeg
ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6' --build-suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags= --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-opengl --enable-x11grab --enable-libxvid --enable-libx265 --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal --enable-libopencv
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...


Than I restated Serviio and unfortunately the problem still exists.
But before restarting I have cleaned up the logs.
So the following should be a comprehensive log of just starting Serviio and runing that strange stream:

serviio.zip
Serviio log
(190.76 KiB) Downloaded 464 times


So I guess the following is the more interesting part:

  Code:
2015-09-12 17:49:33,933 DEBUG [VideoDeliveryEngine] Delivering item '1000003040001459' for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:33,933 DEBUG [VideoDeliveryEngine] Delivering file 'http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8' using transcoding
2015-09-12 17:49:33,933 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:33,933 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:33,934 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -threads auto -i http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8 -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -r 25 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob pipe:
2015-09-12 17:49:34,434 DEBUG [StreamBasedTranscodingDeliveryStrategy] Adding client to stream multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:35,934 DEBUG [StreamBasedTranscodingDeliveryStrategy] Already multiplexing stream output to client: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:35,935 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:35,935 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:35,935 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2015-09-12 17:49:35,935 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2015-09-12 17:49:35,935 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,Date: Sat, 12 Sep 2015 15:49:35 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:36,021 DEBUG [TimeoutStreamDelegator] Scheduling stream stop to happen in 20 seconds if there is no traffic
2015-09-12 17:49:36,021 DEBUG [WebServer] I/O error: Connection reset
2015-09-12 17:49:36,028 DEBUG [ServiioHttpService] Incoming request from /192.168.0.16:4103: GET /resource/1000003040001459/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.12:8895,Accept: */*,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:36,030 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:36,030 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:36,031 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:36,031 DEBUG [ResourceDeliveryProcessor] Request for resource 1000003040001459 and type 'MEDIA_ITEM' received
2015-09-12 17:49:36,031 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000003040001459 (online)
2015-09-12 17:49:36,031 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 304)
2015-09-12 17:49:36,031 DEBUG [CompositeCache] get: key = http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8, localOnly = false
2015-09-12 17:49:36,031 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:36,031 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:36,031 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:36,031 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,031 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:36,031 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000003040001459, format MPEG_PS_NTSC and profile Samsung TV (B-series)
2015-09-12 17:49:36,031 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:36,032 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:36,032 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:36,032 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000003040001459 (online)
2015-09-12 17:49:36,032 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 304)
2015-09-12 17:49:36,032 DEBUG [CompositeCache] get: key = http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8, localOnly = false
2015-09-12 17:49:36,032 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:36,032 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:36,032 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:36,032 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:36,032 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:36,032 DEBUG [VideoDeliveryEngine] Delivering item '1000003040001459' for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:36,032 DEBUG [VideoDeliveryEngine] Delivering file 'http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8' using transcoding
2015-09-12 17:49:36,032 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:36,032 DEBUG [StreamBasedTranscodingDeliveryStrategy] Already multiplexing stream output to client: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:37,021 DEBUG [PipedOutputStreamMultiplexer] Caught exception: Read end dead
java.io.IOException: Read end dead
   at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:262)
   at java.io.PipedInputStream.receive(PipedInputStream.java:226)
   at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$3.call(PipedOutputStreamMultiplexer.java:87)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$MultiplexCaller.multiplex(PipedOutputStreamMultiplexer.java:119)
   at org.serviio.external.io.PipedOutputStreamMultiplexer.write(PipedOutputStreamMultiplexer.java:89)
   at org.serviio.external.io.PipedOutputBytesReader.processOutput(PipedOutputBytesReader.java:58)
   at org.serviio.external.io.OutputReader.run(OutputReader.java:47)
2015-09-12 17:49:37,022 DEBUG [PipedOutputStreamMultiplexer] Removing client from multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:37,033 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:37,033 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:37,033 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2015-09-12 17:49:37,033 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2015-09-12 17:49:37,033 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,Date: Sat, 12 Sep 2015 15:49:37 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:41,041 DEBUG [ServiioHttpService] Incoming request from /192.168.0.16:4104: GET /resource/1000003040001459/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.12:8895,Accept: */*,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:41,041 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:41,042 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:41,043 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:41,043 DEBUG [ResourceDeliveryProcessor] Request for resource 1000003040001459 and type 'MEDIA_ITEM' received
2015-09-12 17:49:41,043 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000003040001459 (online)
2015-09-12 17:49:41,043 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 304)
2015-09-12 17:49:41,045 DEBUG [CompositeCache] get: key = http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8, localOnly = false
2015-09-12 17:49:41,045 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:41,045 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:41,045 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:41,045 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,045 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:41,045 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000003040001459, format MPEG_PS_NTSC and profile Samsung TV (B-series)
2015-09-12 17:49:41,045 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:41,046 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:41,046 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:41,046 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000003040001459 (online)
2015-09-12 17:49:41,046 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 304)
2015-09-12 17:49:41,047 DEBUG [CompositeCache] get: key = http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8, localOnly = false
2015-09-12 17:49:41,047 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:41,047 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8
2015-09-12 17:49:41,047 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:41,047 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:41,047 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:41,047 DEBUG [VideoDeliveryEngine] Delivering item '1000003040001459' for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:41,048 DEBUG [VideoDeliveryEngine] Delivering file 'http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8' using transcoding
2015-09-12 17:49:41,048 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:41,048 DEBUG [StreamBasedTranscodingDeliveryStrategy] Adding client to stream multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:45,049 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:45,049 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7live-lh.akamaihd.net/i/test_1@143593/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:45,049 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2015-09-12 17:49:45,050 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2015-09-12 17:49:45,050 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,Date: Sat, 12 Sep 2015 15:49:45 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:46,041 DEBUG [TimeoutStreamDelegator] Scheduling stream stop to happen in 20 seconds if there is no traffic
2015-09-12 17:49:46,041 DEBUG [WebServer] I/O error: Connection reset
2015-09-12 17:49:46,058 DEBUG [PipedOutputStreamMultiplexer] Caught exception: Read end dead
java.io.IOException: Read end dead
   at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:262)
   at java.io.PipedInputStream.receive(PipedInputStream.java:226)
   at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$3.call(PipedOutputStreamMultiplexer.java:87)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$MultiplexCaller.multiplex(PipedOutputStreamMultiplexer.java:119)
   at org.serviio.external.io.PipedOutputStreamMultiplexer.write(PipedOutputStreamMultiplexer.java:89)
   at org.serviio.external.io.PipedOutputBytesReader.processOutput(PipedOutputBytesReader.java:58)
   at org.serviio.external.io.OutputReader.run(OutputReader.java:47)
2015-09-12 17:49:46,058 DEBUG [PipedOutputStreamMultiplexer] Removing client from multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:51,083 DEBUG [ServiioHttpService] Incoming request from /192.168.0.16:4105: HEAD /resource/1000004050001142/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.12:8895,Accept: */*,getContentFeatures.dlna.org: 1]]
2015-09-12 17:49:51,083 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:51,084 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:51,085 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:51,085 DEBUG [ResourceDeliveryProcessor] Request for resource 1000004050001142 and type 'MEDIA_ITEM' received
2015-09-12 17:49:51,085 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000004050001142 (online)
2015-09-12 17:49:51,085 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 405)
2015-09-12 17:49:51,086 DEBUG [CompositeCache] get: key = http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8, localOnly = false
2015-09-12 17:49:51,086 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,086 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,086 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:51,086 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:51,086 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,086 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:51,086 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,087 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:51,087 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000004050001142, format MPEG_PS_NTSC and profile Samsung TV (B-series)
2015-09-12 17:49:51,087 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,087 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:51,087 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:51,088 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,Date: Sat, 12 Sep 2015 15:49:51 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:51,102 DEBUG [ServiioHttpService] Incoming request from /192.168.0.16:4106: GET /resource/1000004050001142/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.12:8895,Accept: */*,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:51,102 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:51,103 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:51,104 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:51,104 DEBUG [ResourceDeliveryProcessor] Request for resource 1000004050001142 and type 'MEDIA_ITEM' received
2015-09-12 17:49:51,104 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000004050001142 (online)
2015-09-12 17:49:51,105 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 405)
2015-09-12 17:49:51,105 DEBUG [CompositeCache] get: key = http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8, localOnly = false
2015-09-12 17:49:51,105 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,105 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,105 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:51,105 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,105 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,106 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,106 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:51,106 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000004050001142, format MPEG_PS_NTSC and profile Samsung TV (B-series)
2015-09-12 17:49:51,106 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,106 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:51,106 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:51,106 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000004050001142 (online)
2015-09-12 17:49:51,106 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 405)
2015-09-12 17:49:51,107 DEBUG [CompositeCache] get: key = http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8, localOnly = false
2015-09-12 17:49:51,107 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,107 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,107 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:51,107 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,107 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,107 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,107 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,108 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,108 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:51,108 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:51,108 DEBUG [VideoDeliveryEngine] Delivering item '1000004050001142' for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:51,108 DEBUG [VideoDeliveryEngine] Delivering file 'http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8' using transcoding
2015-09-12 17:49:51,108 DEBUG [AbstractTranscodingDeliveryEngine] No other client uses transcoding job of file 'transcoding-temp-1000003040001459-2-ORIGINAL.stf', will stop the job
2015-09-12 17:49:51,108 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file 'transcoding-temp-1000003040001459-2-ORIGINAL.stf'
2015-09-12 17:49:51,108 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-107,5,main]
2015-09-12 17:49:51,108 DEBUG [ProcessUtils] Sending kill -9 to the Unix process: 7062
2015-09-12 17:49:51,109 DEBUG [ProcessExecutor] Starting kill -9 7062
2015-09-12 17:49:51,119 WARN  [ProcessExecutor] Process ffmpeg has a return code of 137! This is a possible error. Detailed output follows.
frame=  620 fps=180 q=1.0 size=    2448kB time=00:00:24.86 bitrate= 806.4kbits/s dup=21 drop=0
frame=  738 fps=187 q=1.0 size=    2922kB time=00:00:29.56 bitrate= 809.5kbits/s dup=21 drop=0
frame=  749 fps= 88 q=1.0 size=    2934kB time=00:00:29.98 bitrate= 801.5kbits/s dup=21 drop=0
frame=  783 fps= 84 q=1.0 size=    3106kB time=00:00:31.35 bitrate= 811.5kbits/s dup=21 drop=0
frame=  799 fps= 77 q=1.0 size=    3166kB time=00:00:32.01 bitrate= 810.1kbits/s dup=21 drop=0
2015-09-12 17:49:51,119 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2015-09-12 17:49:51,120 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2015-09-12 17:49:51,120 DEBUG [AbstractTranscodingDeliveryEngine] Removing transcoding job 'transcoding-temp-1000003040001459-2-ORIGINAL.stf' of client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:51,120 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:51,121 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:51,121 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -threads auto -i http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8 -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -r 25 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob pipe:
2015-09-12 17:49:51,622 DEBUG [StreamBasedTranscodingDeliveryStrategy] Adding client to stream multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:52,122 DEBUG [StreamBasedTranscodingDeliveryStrategy] Already multiplexing stream output to client: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:52,123 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:52,123 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:52,123 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2015-09-12 17:49:52,123 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2015-09-12 17:49:52,123 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,Date: Sat, 12 Sep 2015 15:49:52 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:52,178 DEBUG [TimeoutStreamDelegator] Scheduling stream stop to happen in 20 seconds if there is no traffic
2015-09-12 17:49:52,178 DEBUG [WebServer] I/O error: Connection reset
2015-09-12 17:49:52,192 DEBUG [ServiioHttpService] Incoming request from /192.168.0.16:4107: GET /resource/1000004050001142/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.0.12:8895,Accept: */*,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:52,193 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:52,194 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.16
2015-09-12 17:49:52,195 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:52,195 DEBUG [ResourceDeliveryProcessor] Request for resource 1000004050001142 and type 'MEDIA_ITEM' received
2015-09-12 17:49:52,195 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000004050001142 (online)
2015-09-12 17:49:52,195 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 405)
2015-09-12 17:49:52,195 DEBUG [CompositeCache] get: key = http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8, localOnly = false
2015-09-12 17:49:52,195 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:52,195 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:52,196 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:52,196 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,196 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:52,196 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000004050001142, format MPEG_PS_NTSC and profile Samsung TV (B-series)
2015-09-12 17:49:52,196 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:52,196 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:52,196 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:52,196 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000004050001142 (online)
2015-09-12 17:49:52,196 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 405)
2015-09-12 17:49:52,197 DEBUG [CompositeCache] get: key = http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8, localOnly = false
2015-09-12 17:49:52,197 DEBUG [LRUMemoryCache] getting item from cache online_feeds for key http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:52,197 DEBUG [LRUMemoryCache] online_feeds: LRUMemoryCache hit for http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8
2015-09-12 17:49:52,197 DEBUG [LRUMemoryCache] verifycache[online_feeds]: mapContains 8 elements, linked list contains 8 elements
2015-09-12 17:49:52,197 DEBUG [LRUMemoryCache] verifycache: checking linked list by key
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [LRUMemoryCache] verifycache: checking linked list by value
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [LRUMemoryCache] verifycache: checking via keysets!
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [DoubleLinkedList] returning first node
2015-09-12 17:49:52,197 DEBUG [CompositeCache] online_feeds - Memory cache hit
2015-09-12 17:49:52,197 DEBUG [VideoDeliveryEngine] Delivering item '1000004050001142' for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:52,197 DEBUG [VideoDeliveryEngine] Delivering file 'http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8' using transcoding
2015-09-12 17:49:52,197 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.0.16, Profile=Samsung TV (B-series)'
2015-09-12 17:49:52,197 DEBUG [StreamBasedTranscodingDeliveryStrategy] Already multiplexing stream output to client: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:53,178 DEBUG [PipedOutputStreamMultiplexer] Caught exception: Read end dead
java.io.IOException: Read end dead
   at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:262)
   at java.io.PipedInputStream.receive(PipedInputStream.java:226)
   at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$3.call(PipedOutputStreamMultiplexer.java:87)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$MultiplexCaller.multiplex(PipedOutputStreamMultiplexer.java:119)
   at org.serviio.external.io.PipedOutputStreamMultiplexer.write(PipedOutputStreamMultiplexer.java:89)
   at org.serviio.external.io.PipedOutputBytesReader.processOutput(PipedOutputBytesReader.java:58)
   at org.serviio.external.io.OutputReader.run(OutputReader.java:47)
2015-09-12 17:49:53,179 DEBUG [PipedOutputStreamMultiplexer] Removing client from multiplexer: Identifier=192.168.0.16, Profile=Samsung TV (B-series)
2015-09-12 17:49:53,197 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_PAL
2015-09-12 17:49:53,198 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "http://la7-vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8": MPEG_PS_NTSC
2015-09-12 17:49:53,198 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2015-09-12 17:49:53,198 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2015-09-12 17:49:53,198 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,Date: Sat, 12 Sep 2015 15:49:53 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2015-09-12 17:49:54,036 DEBUG [WebServer] I/O error: Pipe broken
2015-09-12 17:49:55,204 DEBUG [SearchManager] Committing search index
2015-09-12 17:49:55,866 WARN  [IndexedDiskCache] Region [online_technical_metadata] Disk cache not shutdown properly, shutting down now.
2015-09-12 17:49:55,867 WARN  [IndexedDiskCache] Region [thumbnails] Disk cache not shutdown properly, shutting down now.
2015-09-12 17:49:55,866 WARN  [IndexedDiskCache] Region [tokens] Disk cache not shutdown properly, shutting down now.
2015-09-12 17:49:55,869 DEBUG [IndexedDiskCache] Region [thumbnails] Saving keys to: thumbnails, key count: 1050
2015-09-12 17:49:55,869 DEBUG [IndexedDiskCache] Region [online_technical_metadata] Saving keys to: online_technical_metadata, key count: 1449
2015-09-12 17:49:55,869 DEBUG [IndexedDisk] Resetting Indexed File [/opt/serviio/library/cache/thumbnails.key]
2015-09-12 17:49:55,869 DEBUG [IndexedDisk] Resetting Indexed File [/opt/serviio/library/cache/online_technical_metadata.key]
2015-09-12 17:49:55,869 DEBUG [IndexedDiskCache] Region [tokens] Saving keys to: tokens, key count: 0
2015-09-12 17:49:55,869 DEBUG [IndexedDisk] Resetting Indexed File [/opt/serviio/library/cache/tokens.key]
2015-09-12 17:49:55,869 DEBUG [IndexedDiskCache] Region [tokens] Finished saving keys.
2015-09-12 17:49:55,869 DEBUG [IndexedDiskCache] Region [tokens] Closing files, base filename: tokens
2015-09-12 17:49:55,870 INFO  [IndexedDiskCache] Region [tokens] Shutdown complete.
2015-09-12 17:49:55,886 DEBUG [IndexedDiskCache] Region [thumbnails] Finished saving keys.
2015-09-12 17:49:55,886 DEBUG [IndexedDiskCache] Region [thumbnails] Closing files, base filename: thumbnails
2015-09-12 17:49:55,886 INFO  [IndexedDiskCache] Region [thumbnails] Shutdown complete.
2015-09-12 17:49:55,890 DEBUG [IndexedDiskCache] Region [online_technical_metadata] Finished saving keys.
2015-09-12 17:49:55,890 DEBUG [IndexedDiskCache] Region [online_technical_metadata] Closing files, base filename: online_technical_metadata
2015-09-12 17:49:55,890 INFO  [IndexedDiskCache] Region [online_technical_metadata] Shutdown complete.
2015-09-12 17:49:55,962 WARN  [ProcessExecutor] Process ffmpeg has a return code of 255! This is a possible error. Detailed output follows.
frame=  415 fps=110 q=1.0 size=    9612kB time=00:00:16.73 bitrate=4706.4kbits/s dup=2 drop=0
frame=  481 fps=113 q=1.0 size=   11592kB time=00:00:19.35 bitrate=4906.4kbits/s dup=2 drop=0
frame=  496 fps=110 q=1.0 Lsize=   12036kB time=00:00:19.99 bitrate=4931.3kbits/s dup=2 drop=0
video:10943kB audio:938kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.305145%
Received signal 2: terminating.
2015-09-12 17:49:55,962 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2015-09-12 17:49:55,967 DEBUG [PipeManager] Stopped PipeProcessingConsumer
2015-09-12 17:49:56,067 DEBUG [PipeManager] Stopped PipeProcessingConsumer
2015-09-12 17:49:56,067 INFO  [LibraryOneTimeScanner] Interrupting library scan
2015-09-12 17:49:56,067 DEBUG [LibraryOneTimeScanner] Library scan has been interrupted
2015-09-12 17:49:56,067 INFO  [LibraryDeltaScanner] Stopping the library delta scan
2015-09-12 17:49:56,067 DEBUG [FileDeltaPoller] Stopping FileDeltaPoller
2015-09-12 17:49:56,069 DEBUG [FileDeltaWatcher] Stopping FileDeltaWatcher
2015-09-12 17:49:56,070 INFO  [PlaylistMaintainerWorker] Finished looking for playlist changes
2015-09-12 17:49:56,171 INFO  [FeedUpdaterWorker] Finished looking for online resources information
2015-09-12 17:49:56,171 INFO  [RepositoriesStatusCoordinator$RepositoriesStatusThread] Finished checking repositories status
2015-09-12 17:49:56,271 INFO  [PluginCompilerThread] Finished looking for plugins
2015-09-12 17:49:56,373 INFO  [CompositeCache] In DISPOSE, [online_technical_metadata] fromRemote [false]
Region Name = online_technical_metadata
HitCountRam = 0
HitCountAux = 118
---------------------------LRU Memory Cache
List Size = 0
Map Size = 0
Put Count = 4
Hit Count = 0
Miss Count = 123
---------------------------Indexed Disk Cache
Is Alive = false
Key Map Size = 1449
Data File Length = -1
Hit Count = 118
Bytes Free = 0
Optimize Operation Count = 0
Times Optimized = 0
Recycle Count = 0
Recycle Bin Size = 0
Startup Size = 1445
Purgatory Hits = 0
Purgatory Size = 0
Working = true
Alive = false
Empty = true
Size = 0
2015-09-12 17:49:56,373 INFO  [CompositeCache] In DISPOSE, [online_technical_metadata] SKIPPING auxiliary [org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache@7be57049] fromRemote [false]
2015-09-12 17:49:56,373 INFO  [CompositeCache] In DISPOSE, [online_technical_metadata] disposing of memory cache.
2015-09-12 17:49:56,373 INFO  [AbstractMemoryCache] Memory Cache dispose called.  Shutting down shrinker thread if it is running.
2015-09-12 17:49:56,374 INFO  [CompositeCache] In DISPOSE, [thumbnails] fromRemote [false]
Region Name = thumbnails
HitCountRam = 0
HitCountAux = 630
---------------------------LRU Memory Cache
List Size = 0
Map Size = 0
Put Count = 4
Hit Count = 0
Miss Count = 634
---------------------------Indexed Disk Cache
Is Alive = false
Key Map Size = 1050
Data File Length = -1
Hit Count = 630
Bytes Free = 0
Optimize Operation Count = 0
Times Optimized = 0
Recycle Count = 0
Recycle Bin Size = 0
Startup Size = 1046
Purgatory Hits = 0
Purgatory Size = 0
Working = true
Alive = false
Empty = true
Size = 0
2015-09-12 17:49:56,374 INFO  [CompositeCache] In DISPOSE, [thumbnails] SKIPPING auxiliary [org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache@75229145] fromRemote [false]
2015-09-12 17:49:56,374 INFO  [CompositeCache] In DISPOSE, [thumbnails] disposing of memory cache.
2015-09-12 17:49:56,374 INFO  [AbstractMemoryCache] Memory Cache dispose called.  Shutting down shrinker thread if it is running.
2015-09-12 17:49:56,379 DEBUG [CompositeCacheManager] attr = [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1442072626031, LastAccessTime = 1442072626031, getTimeToLiveSeconds() = -371, createTime = 1442072626031 ]
2015-09-12 17:49:56,381 INFO  [CompositeCache] In DISPOSE, [tokens] fromRemote [false]
Region Name = tokens
HitCountRam = 0
HitCountAux = 0
---------------------------LRU Memory Cache
List Size = 0
Map Size = 0
Put Count = 0
Hit Count = 0
Miss Count = 0
---------------------------Indexed Disk Cache
Is Alive = false
Key Map Size = 0
Data File Length = -1
Hit Count = 0
Bytes Free = 0
Optimize Operation Count = 0
Times Optimized = 0
Recycle Count = 0
Recycle Bin Size = 0
Startup Size = 0
Purgatory Hits = 0
Purgatory Size = 0
Working = true
Alive = false
Empty = true
Size = 0
2015-09-12 17:49:56,381 INFO  [CompositeCache] In DISPOSE, [tokens] SKIPPING auxiliary [org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache@3283f3e8] fromRemote [false]
2015-09-12 17:49:56,381 INFO  [CompositeCache] In DISPOSE, [tokens] disposing of memory cache.
2015-09-12 17:49:56,381 INFO  [AbstractMemoryCache] Memory Cache dispose called.  Shutting down shrinker thread if it is running.
2015-09-12 17:49:56,382 INFO  [SearchIndexer] Closing search index writer
2015-09-12 17:49:56,385 INFO  [SearchIndexer] Closing search index writer
2015-09-12 17:49:56,503 DEBUG [DiscoveryManager] UPNP device 2c237e86-a07b-3d8d-b6d9-61a7e4fa993e (192.168.0.12) is unavailable
2015-09-12 17:49:56,503 DEBUG [WebServer] Socket closed
2015-09-12 17:49:56,503 INFO  [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2015-09-12 17:49:56,503 DEBUG [WebServer] Marking the web server for exit
2015-09-12 17:49:56,503 INFO  [WebServer] WebServer shutting down
2015-09-12 17:49:56,503 INFO  [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2015-09-12 17:49:56,503 INFO  [EventDispatcher] Leaving EventDispatcher
2015-09-12 17:49:56,503 DEBUG [DiscoverySSDPMessageListener] Socket closed: Socket closed
2015-09-12 17:49:56,503 INFO  [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2015-09-12 17:49:56,504 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP byebye using interface eth0 (eth0) and address 192.168.0.12, timeout = 0
2015-09-12 17:49:56,504 INFO  [DatabaseManager] Shutting down database
2015-09-12 17:49:56,505 DEBUG [DBConnectionPool] Closed connection for pool Serviio DB Pool
2015-09-12 17:49:56,505 DEBUG [DBConnectionPool] Closed connection for pool Serviio DB Pool
2015-09-12 17:49:56,824 DEBUG [DatabaseManager] DB shutdown returned: Derby system shutdown.
2015-09-12 17:49:56,824 INFO  [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data


For what concern the profile, I am attaching the complete file here:

profiles.xml
profile.xml
(142.39 KiB) Downloaded 723 times


and I have double checked the differences with the file in the Serviio package are the following:

  Code:
267a268,270
>                 <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="30000" targetACodec="ac3" aBitrate="384">
>                         <Matches container="flv" vCodec="h264" />
>                 </Video>     
270a274,277
>       <!--Audio targetContainer="mp3" aBitrate="320" -->
>       <Audio targetContainer="lpcm">
>          <Matches container="adts" />
>       </Audio>
444a452,454
>                         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="30000" targetACodec="ac3" aBitrate="384">
>                                <Matches container="flv" vCodec="h264" />
>                         </Video>     
476a487,491
>                 <OnlineTranscoding>
>                    <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="30000" targetACodec="ac3" aBitrate="384">
>                         <Matches container="flv" vCodec="h264" />
>                    </Video>     
>                 </OnlineTranscoding>


Where the following addition was suggested in another thread in this forum to correct another problem.
I was told to add to Samsung B profile.

  Code:
                 <OnlineTranscoding>
                    <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="30000" targetACodec="ac3" aBitrate="384">
                         <Matches container="flv" vCodec="h264" />
                    </Video>     
                 </OnlineTranscoding>



I hope it's more clear now and zou have more information.
But if you need something else just let me know.
Thanks.

Re: Transcoding problem with Samsung TV

PostPosted: Sun Sep 13, 2015 7:26 pm
by jhb50
You have reported 2 different streams:

First post you reported: http://la7-vh.akamaihd.net/i/content/en ... aster.m3u8

Second post you reported: http://la7live-lh.akamaihd.net/i/test_1 ... aster.m3u8

Both are container=applehttp with vCodec=264 but since Samsung B profile contains no applehttp rule, Serviio will use the forced inheritance generic profile 1 rule:
  Code:
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" forceInheritance="true">
            <Matches container="rtp"/>
            <Matches container="rtsp"/>
            <Matches container="applehttp"/>
            <Matches container="mjpeg"/>
         </Video>


That is why your ffmpeg commands for the 2 streams are:

2015-09-12 17:48:22,274 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -threads auto -i http://la7-
vh.akamaihd.net/i/content/entry/data/0/235/0_plrexfip_0_7hjom8xm_1.mp4/master.m3u8 -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -r 25
-g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob pipe:


2015-09-12 17:49:33,934 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -threads auto -i http://la7live-
lh.akamaihd.net/i/test_1@143593/master.m3u8 -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -r 25 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0
-map 0:1 -sn -f vob pipe:


If you modify these commands to create mpeg files:

you will see that the first stream is "clean"

ffmpeg -analyzeduration 10000000 -threads auto -i http://la7-vh.akamaihd.net/i/content/en ... aster.m3u8 -y -
threads auto -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -r 25 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob D:la7.mpg

  Code:
Output #0, vob, to 'D:la7.mpg':
  Metadata:
    encoder         : Lavf56.12.100
    Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-3
1, 200 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      variant_bitrate : 846000
      encoder         : Lavc56.10.101 mpeg2video
    Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
    Metadata:
      variant_bitrate : 846000
      encoder         : Lavc56.10.101 ac3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
frame=   85 fps=0.0 q=1.0 size=    2284kB time=00:00:03.70 bitrate=5047.8kbits/s
frame=  179 fps=179 q=1.0 size=    4440kB time=00:00:07.45 bitrate=4881.8kbits/s
frame=  243 fps=159 q=1.0 size=    5722kB time=00:00:09.97 bitrate=4697.5kbits/s
frame=  317 fps=156 q=1.0 size=    7326kB time=00:00:12.98 bitrate=4621.2kbits/s
frame=  379 fps=150 q=1.0 size=    8668kB time=00:00:15.41 bitrate=4605.3kbits/s
frame=  423 fps=140 q=1.0 size=    9916kB time=00:00:17.21 bitrate=4719.9kbits/s
frame=  493 fps=136 q=1.0 size=   11926kB time=00:00:19.99 bitrate=4886.2kbits/s
frame=  549 fps=133 q=1.0 size=   13504kB time=00:00:22.23 bitrate=4975.3kbits/s
frame=  625 fps=135 q=1.0 size=   15386kB time=00:00:25.27 bitrate=4986.9kbits/s
frame=  691 fps=134 q=1.0 size=   17250kB time=00:00:27.93 bitrate=5059.4kbits/s
frame=  749 fps=132 q=1.0 size=   18770kB time=00:00:30.23 bitrate=5085.7kbits/s
frame=  853 fps=138 q=1.0 size=   21270kB time=00:00:34.39 bitrate=5066.0kbits/s
frame=  955 fps=143 q=1.0 size=   23730kB time=00:00:38.45 bitrate=5054.7kbits/s
frame= 1047 fps=146 q=1.0 size=   25414kB time=00:00:42.17 bitrate=4936.9kbits/s
frame= 1125 fps=147 q=1.0 size=   26842kB time=00:00:45.30 bitrate=4853.4kbits/s
frame= 1231 fps=150 q=1.0 size=   28652kB time=00:00:49.53 bitrate=4738.8kbits/s
frame= 1257 fps=145 q=1.0 size=   29290kB time=00:00:50.58 bitrate=4743.2kbits/s
frame= 1321 fps=144 q=1.0 size=   31022kB time=00:00:53.11 bitrate=4784.6kbits/s
frame= 1375 fps=142 q=1.0 size=   32388kB time=00:00:55.29 bitrate=4798.7kbits/s
frame= 1427 fps=143 q=1.0 Lsize=   33482kB time=00:00:57.33 bitrate=4783.6kbits/
s dup=2 drop=0
video:30366kB audio:2688kB subtitle:0kB other streams:0kB global headers:0kB mux
ing overhead: 1.295695%


but the second stream has errors.

ffmpeg -analyzeduration 10000000 -threads auto -i http://la7live-lh.akamaihd.net/i/test_1 ... aster.m3u8 -y -threads auto -c:v mpeg2video -pix_fmt
yuv420p -qscale:v 1 -r 25 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob D:la7-live.mpg

Lots of:
[h264 @ 0457ba40] decode_slice_header error
[h264 @ 0457ba40] no frame!
[h264 @ 0457ba40] non-existing PPS 0 referenced
followed by:
  Code:
Output #0, vob, to 'D:la7-live.mpg':
  Metadata:
    encoder         : Lavf56.12.100
    Stream #0:0: Video: mpeg2video, yuv420p, 400x224 [SAR 1:1 DAR 25:14], q=2-31
, 200 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      variant_bitrate : 528000
      encoder         : Lavc56.10.101 mpeg2video
    Stream #0:1: Audio: ac3, 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      variant_bitrate : 528000
      encoder         : Lavc56.10.101 ac3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (mp3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[hls,applehttp @ 041800a0] No longer receiving playlist 1
[hls,applehttp @ 041800a0] No longer receiving playlist 2
frame=  288 fps=0.0 q=1.0 size=    1978kB time=00:00:11.72 bitrate=1381.5kbits/s
frame=  402 fps=402 q=1.0 size=    2814kB time=00:00:16.29 bitrate=1415.0kbits/s
[mp3 @ 05a95040] overread, skip -9 enddists: -4 -4
[mp3 @ 05a95040] overread, skip -7 enddists: -2 -2
frame=  494 fps=299 q=1.0 size=    3504kB time=00:00:20.01 bitrate=1433.9kbits/s
frame=  600 fps=279 q=1.0 size=    4240kB time=00:00:24.22 bitrate=1434.1kbits/s
frame=  700 fps=264 q=1.0 size=    4934kB time=00:00:28.26 bitrate=1430.2kbits/s
frame=  745 fps=178 q=1.0 size=    5266kB time=00:00:29.96 bitrate=1439.5kbits/s
[mp3 @ 05a95040] overread, skip -7 enddists: -4 -4
frame=  831 fps=177 q=1.0 size=    6154kB time=00:00:33.46 bitrate=1506.5kbits/s


Perhaps those errors are the problem, however when I play these on my Samsung C/D using those ffmpeg commands they play fine, but your log shows that they fail on your Samsung B.

I would suggest you check your ffmpeg by running the modified commands above to create a mpeg files and play them to ensure that it works.
If ffmpeg is ok, then add <Matches container="applehttp" vCodec="h264"/> to your samsung B profile so it looks like this:
  Code:
        <OnlineTranscoding>
               
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="30000" targetACodec="ac3" aBitrate="384">
                                 <Matches container="flv" vCodec="h264" />
               
         <Matches container="applehttp" vCodec="h264"/>
      </Video>   
This will cause these applehttp streams to transcode to mpeg-ts streams rather than the mpeg-ps streams which are failing and apply your bit rate limit.

Let me know how it goes.

Re: Transcoding problem with Samsung TV

PostPosted: Thu Sep 17, 2015 9:16 pm
by tuareg64ve
Thanks for your help.
Let's assume that that stream contains some errors.
I had another idea and with the following SHELL script I can get another stream for the same TV program.
Once I could solve the problems I would like to implement a plugin.

  Code:
BASE="http://www.la7.it"
URL=$(curl -i http://www.la7.it/otto-e-mezzo/rivedila7 | grep contenitoreUltimaReplicaLa7 | grep /otto-e-mezzo/rivedila7/)
URL2=$(echo $URL | perl -ne 'print "$1\n" if /<div class="contenitoreUltimaReplica contenitoreUltimaReplicaLa7 clearfix\"><a href=\"(.*)\" class.*/')
URL3=$(curl -i $BASE$URL2 | grep -i mp4 | perl -ne 'print "$1\n" if /src_mp4\s+:\s+\"(.*)\",/')
echo $URL3


one example is:

  Code:
http://vodpmd.la7.it.edgesuite.net/content/entry/data/0/236/0_z548br7v_0_khdymq25_1.mp4


I can play it with ffplay without problems.
If I test it with ffmpeg I get the following:

  Code:
# ffmpeg -i http://vodpmd.la7.it.edgesuite.net/content/entry/data/0/236/0_z548br7v_0_khdymq25_1.mp4
ffmpeg version N-74748-gbaeb8f5 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 59.100 / 56. 59.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.100 /  5. 40.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://vodpmd.la7.it.edgesuite.net/content/entry/data/0/236/0_z548br7v_0_khdymq25_1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.31.100
  Duration: 00:34:43.98, start: 0.000000, bitrate: 850 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 796 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 48 kb/s (default)
    Metadata:
      handler_name    : SoundHandler



Unfortunately with serviio I have the same issue.
I am attaching these complete files:

serviio.zip
Serviio log
(122.7 KiB) Downloaded 452 times


profiles.xml
Serviio Profile.xml
(142.46 KiB) Downloaded 705 times


What do youthink?

Re: Transcoding problem with Samsung TV

PostPosted: Sun Sep 20, 2015 1:59 pm
by jhb50
1. Yes you could write a plugin to present all the videos on the web page using the data in the manifest files as .mp4 streams .
2. The Samsung B profile 2 says to transcode these .mp4 streams to mpeg (mpeg-ps). Your zip file is corrupt so I cannot see the command it generated but if it failed try transcoding to mpegts (mpeg-ts)
3. What was the result of using my previous recommendations on the original stream? (Try transcoding them to mpegts as well.