Ok, some progress here.
It turns-out cam manuf passed me a newer pre-release version of the firmware which happened to fix the malformed metadata issues.
Now ffmpeg command gives:
- Code:
./ffmpeg -rtsp_transport +tcp+udp -analyzeduration 100000000 -i rtsp://user:pass@192.168.3.210:81
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 29 2013 00:10:12 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 --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 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
[rtsp @ 0x11e9400] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://user:pass@192.168.3.210:81':
Metadata:
title : h264 stream by H.264/MJPEG RTSP stream(ipcamera)
Duration: N/A, start: 0.000000, bitrate: 64 kb/s
Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 640x480, 90k tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
At least one output file must be specified
However, I'm not completely finished with the issue.
I can receive properly the stream on my Sony bdp-s470 or XMBC when I run Serviio out of my Mac (great!!).
But I have an issue when I run Serviio on my ARM NAS: probably a transcoding issue too demanding for my NAS...
I can understand there might be an issue for Sony bdp-s470 (though I thought h264 would not need transcoding, maybe it's the pcm_mulaw?). However there are also issues with XMBC client which should swallow all formats with no transcoding.
Any recommendation on profiles to make this work?
Log for Sony bdp-s470 transcoding:
- Code:
2013-03-17 22:00:08,380 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:11,653 DEBUG [WebServer] Incoming connection from /192.168.3.101:63225
2013-03-17 22:00:11,751 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:11,753 DEBUG [ResourceTransportRequestHandler] HEAD /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:00:11,753 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:11,754 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:11,755 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:00:11,755 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:11,755 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:11,757 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:00:11,757 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:00:11,758 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:11,758 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:11,758 DEBUG [ResourceDeliveryProcessor] Sending HEAD response back
2013-03-17 22:00:11,759 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:00:11 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:00:11,763 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:11,765 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:00:11,765 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:11,767 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:11,767 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:00:11,768 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:11,768 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:11,769 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:00:11,769 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:00:11,770 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:11,770 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:11,770 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:11,770 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:11,772 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:11,772 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:00:11,773 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:11,773 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtsp://user:pass@192.168.3.210:81
2013-03-17 22:00:11,774 DEBUG [ProcessExecutor] Starting /root/.serviio/opt/bin/ffmpeg -rtsp_transport +tcp+udp -analyzeduration 10000000 -threads 1 -i rtsp://user:pass@192.168.3.210:81 -y -copyts -c:v mpeg2video -qscale:v 3 -r 24000/1001 -g 15 -c:a ac3_fixed -b:a 384k -ar 48000 -ac 1 -map 0:0 -map 0:1 -sn -f vob pipe:
2013-03-17 22:00:13,330 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:13,808 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:13,808 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:13,808 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:00:13,809 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:00:13,809 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:00:13,809 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:00:13 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:00:13,825 DEBUG [WebServer] Incoming connection from /192.168.3.101:63226
2013-03-17 22:00:13,921 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:13,923 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:00:13,923 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:13,924 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:13,925 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:00:13,925 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:13,925 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:13,927 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:00:13,927 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:00:13,938 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:13,938 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:13,938 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:13,938 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:13,940 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:13,940 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:00:13,941 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:13,941 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:13,941 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:13,941 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:00:13,942 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:00:13,942 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:00:13,942 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:00:13 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:00:14,158 DEBUG [WebServer] Incoming connection from /192.168.3.101:63227
2013-03-17 22:00:14,252 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:14,254 DEBUG [ResourceTransportRequestHandler] HEAD /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:00:14,254 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:14,256 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:14,257 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:00:14,257 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:14,257 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:14,279 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:00:14,279 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:00:14,279 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:14,280 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:14,280 DEBUG [ResourceDeliveryProcessor] Sending HEAD response back
2013-03-17 22:00:14,280 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:00:14 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:00:14,287 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:14,318 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:00:14,319 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:14,320 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:14,321 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:00:14,321 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:14,321 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:14,323 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:00:14,323 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:00:14,323 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:14,324 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:14,324 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:14,324 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:14,325 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:14,326 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:00:14,326 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:14,954 DEBUG [WebServer] I/O error: Broken pipe
2013-03-17 22:00:14,955 DEBUG [NonClosingPipedInputStream] Scheduling stream stop to happen in 20 seconds if there is no traffic
2013-03-17 22:00:15,328 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:15,328 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:15,328 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:00:15,329 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:00:15,329 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:00:15,329 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:00:15 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:00:15,348 DEBUG [WebServer] Incoming connection from /192.168.3.101:63228
2013-03-17 22:00:15,442 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:15,443 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:00:15,443 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:15,445 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:15,445 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:00:15,446 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:15,446 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:15,468 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:00:15,468 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:00:15,468 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:15,468 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:15,469 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:00:15,469 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:15,470 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:15,471 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:00:15,471 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:00:16,477 DEBUG [StreamBasedTranscodingDeliveryStrategy] Transcoded stream is empty, connection may have been lost
2013-03-17 22:00:16,478 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:00:16,478 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:00:16,478 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:00:16,479 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:00:16,479 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:00:16,479 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:00:16 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:00:17,907 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-03-17 22:00:17,907 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2013-03-17 22:00:17,912 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:00:18,390 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:23,340 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:28,290 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:32,128 DEBUG [DiscoveryAdvertisementNotifier] Found 1 network interfaces to advertise on
2013-03-17 22:00:32,129 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.3.200, timeout = 0
2013-03-17 22:00:32,131 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 6489fbb2-c75d-3879-9842-9162558132c2
2013-03-17 22:00:32,798 DEBUG [WebServer] Incoming connection from /192.168.3.101:63229
2013-03-17 22:00:32,892 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:32,894 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 6489fbb2-c75d-3879-9842-9162558132c2 from 192.168.3.101 (headers = [Host: 192.168.3.200:8895,Date: Sun, 17 Mar 2013 21:00:31 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0";])
2013-03-17 22:00:32,894 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:32,895 DEBUG [RendererManager] Looking for a renderer profile for Http headers: [Host: 192.168.3.200:8895,Date: Sun, 17 Mar 2013 21:00:31 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0";]
2013-03-17 22:00:32,896 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:32,923 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Sony BD Player / SMP'
2013-03-17 22:00:33,000 DEBUG [WebServer] Incoming connection from /192.168.3.101:63230
2013-03-17 22:00:33,028 DEBUG [WebServer] Incoming connection from /192.168.3.200:41104
2013-03-17 22:00:33,028 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.200
2013-03-17 22:00:33,030 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 6489fbb2-c75d-3879-9842-9162558132c2 from 192.168.3.200 (headers = [Connection: close,Cache-Control: no-cache,Accept: */*,Accept-Encoding: deflate, gzip,Accept-Language: en,Host: 192.168.3.200:8895,User-Agent: iTunes/4.7.1 (Linux; N; Linux; armv5tel-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.7.0/33614,Icy-Metadata: 1])
2013-03-17 22:00:33,030 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.200
2013-03-17 22:00:33,032 DEBUG [RendererManager] Looking for a renderer profile for Http headers: [Connection: close,Cache-Control: no-cache,Accept: */*,Accept-Encoding: deflate, gzip,Accept-Language: en,Host: 192.168.3.200:8895,User-Agent: iTunes/4.7.1 (Linux; N; Linux; armv5tel-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.7.0/33614,Icy-Metadata: 1]
2013-03-17 22:00:33,032 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.200
2013-03-17 22:00:33,036 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Generic DLNA profile'
2013-03-17 22:00:33,096 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:33,108 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ConnectionManager
2013-03-17 22:00:33,187 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2013-03-17 22:00:33,324 DEBUG [WebServer] Incoming connection from /192.168.3.101:63231
2013-03-17 22:00:33,350 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:33,421 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:33,422 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ContentDirectory
2013-03-17 22:00:33,639 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2013-03-17 22:00:33,867 DEBUG [WebServer] Incoming connection from /192.168.3.101:63232
2013-03-17 22:00:33,946 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:33,968 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"' from 192.168.3.101:
2013-03-17 22:00:33,968 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:34,031 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-17 22:00:34,042 DEBUG [WebServer] Incoming connection from /192.168.3.101:63233
2013-03-17 22:00:34,107 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:03:14 (advertisement duration is 1800 sec.)
2013-03-17 22:00:34,136 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:34,148 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"' from 192.168.3.101:
2013-03-17 22:00:34,148 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:34,191 DEBUG [ConnectionManager] Sending protocol info using profile 'Sony BD Player / SMP'
2013-03-17 22:00:34,357 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-17 22:00:35,058 DEBUG [WebServer] Incoming connection from /192.168.3.101:63234
2013-03-17 22:00:35,152 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:35,153 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 6489fbb2-c75d-3879-9842-9162558132c2 from 192.168.3.101 (headers = [Host: 192.168.3.200:8895,Date: Sun, 17 Mar 2013 21:00:33 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0";])
2013-03-17 22:00:35,154 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:35,155 DEBUG [RendererManager] Looking for a renderer profile for Http headers: [Host: 192.168.3.200:8895,Date: Sun, 17 Mar 2013 21:00:33 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0";]
2013-03-17 22:00:35,155 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:35,180 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Sony BD Player / SMP'
2013-03-17 22:00:35,288 DEBUG [WebServer] Incoming connection from /192.168.3.101:63235
2013-03-17 22:00:35,340 DEBUG [WebServer] Incoming connection from /127.0.0.1:35192
2013-03-17 22:00:35,341 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 127.0.0.1
2013-03-17 22:00:35,342 DEBUG [ServiceEventSubscriptionRequestHandler] ServiceEvent renewal request received for service ContentDirectory and subscription uuid:732c2590-43c2-4365-baec-774fc3f770e7
2013-03-17 22:00:35,342 DEBUG [ServiceEventSubscriptionRequestHandler] Event subscription renewed for service urn:upnp-org:serviceId:ContentDirectory and subscription 732c2590-43c2-4365-baec-774fc3f770e7
2013-03-17 22:00:35,356 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:35,378 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ConnectionManager
2013-03-17 22:00:35,379 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2013-03-17 22:00:35,498 DEBUG [WebServer] Incoming connection from /192.168.3.101:63236
2013-03-17 22:00:35,592 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:35,593 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ContentDirectory
2013-03-17 22:00:35,594 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2013-03-17 22:00:35,808 DEBUG [WebServer] Incoming connection from /192.168.3.101:63237
2013-03-17 22:00:35,896 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:35,918 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"' from 192.168.3.101:
2013-03-17 22:00:35,918 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:35,989 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-17 22:00:36,018 DEBUG [WebServer] Incoming connection from /192.168.3.101:63238
2013-03-17 22:00:36,096 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:36,119 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"' from 192.168.3.101:
2013-03-17 22:00:36,119 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:00:36,151 DEBUG [ConnectionManager] Sending protocol info using profile 'Sony BD Player / SMP'
2013-03-17 22:00:36,348 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-17 22:00:38,300 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:43,360 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:48,310 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:53,370 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:00:58,320 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:03,380 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:08,330 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:13,390 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:16,488 DEBUG [NonClosingPipedInputStream] Closing piped input stream and closing related feeder process
2013-03-17 22:01:16,488 DEBUG [NonClosingPipedInputStream] Scheduling stream stop to happen in 20 seconds if there is no traffic
2013-03-17 22:01:16,488 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-1202,5,main]
2013-03-17 22:01:16,489 DEBUG [ProcessUtils] Sending kill -9 to the Unix process: 15865
2013-03-17 22:01:16,489 DEBUG [ProcessExecutor] Starting kill -9 15865
2013-03-17 22:01:16,557 WARN [ProcessExecutor] Process /root/.serviio/opt/bin/ffmpeg has a return code of 137! This is a possible error.
2013-03-17 22:01:16,557 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2013-03-17 22:01:16,560 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2013-03-17 22:01:16,561 DEBUG [WebServer] I/O error: Pipe broken
2013-03-17 22:01:16,562 DEBUG [WebServer] I/O error: Pipe broken
2013-03-17 22:01:16,568 DEBUG [WebServer] Incoming connection from /192.168.3.101:63244
2013-03-17 22:01:16,569 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:16,571 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:01:16,571 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:16,572 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:16,573 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:01:16,573 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:16,573 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:16,575 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:01:16,575 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:01:16,575 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:16,576 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:16,576 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:16,576 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:16,578 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:16,578 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:01:16,579 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:16,579 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtsp://user:pass@192.168.3.210:81
2013-03-17 22:01:16,580 DEBUG [ProcessExecutor] Starting /root/.serviio/opt/bin/ffmpeg -rtsp_transport +tcp+udp -analyzeduration 10000000 -threads 1 -i rtsp://user:pass@192.168.3.210:81 -y -copyts -c:v mpeg2video -qscale:v 3 -r 24000/1001 -g 15 -c:a ac3_fixed -b:a 384k -ar 48000 -ac 1 -map 0:0 -map 0:1 -sn -f vob pipe:
2013-03-17 22:01:17,568 DEBUG [WebServer] I/O error: Pipe broken
2013-03-17 22:01:17,917 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-03-17 22:01:17,917 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2013-03-17 22:01:17,922 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:18,340 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:18,618 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:18,618 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:18,618 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:01:18,619 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:01:18,619 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:01:18,619 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:01:18 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:01:18,868 DEBUG [WebServer] Incoming connection from /192.168.3.101:63245
2013-03-17 22:01:18,914 DEBUG [WebServer] I/O error: Broken pipe
2013-03-17 22:01:18,914 DEBUG [NonClosingPipedInputStream] Scheduling stream stop to happen in 20 seconds if there is no traffic
2013-03-17 22:01:18,957 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:18,969 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*]]
2013-03-17 22:01:18,969 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:18,971 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:18,972 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:01:18,972 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:18,972 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:18,973 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:01:18,974 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:01:18,974 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:18,974 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:18,974 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:18,974 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:18,976 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:18,976 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:01:18,977 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:19,978 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:19,978 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:19,978 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:01:19,979 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:01:19,979 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:01:19,979 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:01:19 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:01:20,188 DEBUG [WebServer] Incoming connection from /192.168.3.101:63246
2013-03-17 22:01:20,283 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:20,284 DEBUG [ResourceTransportRequestHandler] HEAD /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:01:20,284 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:20,286 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:20,287 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:01:20,287 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:20,287 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:20,299 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:01:20,299 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:01:20,299 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:20,299 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:20,300 DEBUG [ResourceDeliveryProcessor] Sending HEAD response back
2013-03-17 22:01:20,300 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:01:20 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:01:20,305 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:20,307 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:01:20,307 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:20,319 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:20,320 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:01:20,320 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:20,320 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:20,322 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:01:20,322 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:01:20,322 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:20,322 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:20,323 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:20,323 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:20,324 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:20,325 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:01:20,325 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:20,325 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:20,326 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:20,326 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:01:20,326 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:01:20,327 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:01:20,327 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:01:20 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:01:20,398 DEBUG [WebServer] Incoming connection from /192.168.3.101:63247
2013-03-17 22:01:20,493 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:20,494 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:01:20,495 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:01:20,496 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:20,497 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:01:20,497 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:20,497 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:20,509 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:01:20,509 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:01:20,510 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:20,510 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:20,510 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:01:20,510 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:01:20,512 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:20,512 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:01:20,512 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:01:21,517 DEBUG [StreamBasedTranscodingDeliveryStrategy] Transcoded stream is empty, connection may have been lost
2013-03-17 22:01:21,518 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:01:21,518 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:01:21,519 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:01:21,519 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:01:21,519 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:01:21,519 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:01:21 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:01:23,290 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:28,350 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:33,048 DEBUG [WebServer] Incoming connection from /192.168.3.200:41139
2013-03-17 22:01:33,049 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.200
2013-03-17 22:01:33,050 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 6489fbb2-c75d-3879-9842-9162558132c2 from 192.168.3.200 (headers = [Connection: close,Cache-Control: no-cache,Accept: */*,Accept-Encoding: deflate, gzip,Accept-Language: en,Host: 192.168.3.200:8895,User-Agent: iTunes/4.7.1 (Linux; N; Linux; armv5tel-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.7.0/33614,Icy-Metadata: 1])
2013-03-17 22:01:33,050 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.200
2013-03-17 22:01:33,052 DEBUG [RendererManager] Looking for a renderer profile for Http headers: [Connection: close,Cache-Control: no-cache,Accept: */*,Accept-Encoding: deflate, gzip,Accept-Language: en,Host: 192.168.3.200:8895,User-Agent: iTunes/4.7.1 (Linux; N; Linux; armv5tel-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.7.0/33614,Icy-Metadata: 1]
2013-03-17 22:01:33,053 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.200
2013-03-17 22:01:33,080 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Generic DLNA profile'
2013-03-17 22:01:33,410 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:38,360 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:43,310 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:48,370 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:53,320 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:01:58,380 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:02:03,330 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:02:08,391 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:02:13,340 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:02:17,927 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-03-17 22:02:17,928 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2013-03-17 22:02:17,932 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:02:18,290 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:02:21,528 DEBUG [NonClosingPipedInputStream] Closing piped input stream and closing related feeder process
2013-03-17 22:02:21,528 DEBUG [NonClosingPipedInputStream] Scheduling stream stop to happen in 20 seconds if there is no traffic
2013-03-17 22:02:21,528 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-1224,5,main]
2013-03-17 22:02:21,528 DEBUG [ProcessUtils] Sending kill -9 to the Unix process: 15915
2013-03-17 22:02:21,528 DEBUG [ProcessExecutor] Starting kill -9 15915
2013-03-17 22:02:21,542 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2013-03-17 22:02:21,557 DEBUG [WebServer] I/O error: Pipe broken
2013-03-17 22:02:21,558 DEBUG [WebServer] I/O error: Pipe broken
2013-03-17 22:02:22,557 DEBUG [WebServer] I/O error: Pipe broken
2013-03-17 22:02:22,564 DEBUG [WebServer] Incoming connection from /192.168.3.101:63263
2013-03-17 22:02:22,565 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:02:22,566 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000210001993/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.3.200:8895,Accept: */*,getcontentFeatures.dlna.org: 1,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2013-03-17 22:02:22,567 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.3.101
2013-03-17 22:02:22,568 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:02:22,569 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000210001993 and type 'MEDIA_ITEM' received
2013-03-17 22:02:22,569 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:02:22,569 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:02:22,571 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000210001993, format MPEG_PS_NTSC and profile Sony BD Player / SMP
2013-03-17 22:02:22,571 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtsp://user:pass@192.168.3.210:81
2013-03-17 22:02:22,571 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:02:22,571 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:02:22,572 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000210001993 (online)
2013-03-17 22:02:22,572 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 21)
2013-03-17 22:02:22,573 DEBUG [VideoDeliveryEngine] Delivering item '1000000210001993' for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:02:22,574 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://user:pass@192.168.3.210:81' using transcoding
2013-03-17 22:02:22,574 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.3.101, Profile=Sony BD Player / SMP'
2013-03-17 22:02:22,575 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtsp://user:pass@192.168.3.210:81
2013-03-17 22:02:22,575 DEBUG [ProcessExecutor] Starting /root/.serviio/opt/bin/ffmpeg -rtsp_transport +tcp+udp -analyzeduration 10000000 -threads 1 -i rtsp://user:pass@192.168.3.210:81 -y -copyts -c:v mpeg2video -qscale:v 3 -r 24000/1001 -g 15 -c:a ac3_fixed -b:a 384k -ar 48000 -ac 1 -map 0:0 -map 0:1 -sn -f vob pipe:
2013-03-17 22:02:23,350 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-03-17 22:02:25,118 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_PAL
2013-03-17 22:02:25,118 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtsp://user:pass@192.168.3.210:81: MPEG_PS_NTSC
2013-03-17 22:02:25,118 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-03-17 22:02:25,119 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-03-17 22:02:25,119 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-17 22:02:25,119 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 17 Mar 2013 21:02:25 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-17 22:02:28,410 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
Thanks!
Back to ONVIF: actually ONVIF is just XML web services to setup/control IP Cams: actual rendering is supposed to work with ffmpeg.
Opensource ONVIF Device Manager (
http://sourceforge.net/projects/onvifdm/?source=navbar) provides a good exemple of a ref implementation, and actually uses ffmpeg for rendering.
I imagine getting a ONVIF groovy would probably be nice to handle many IP Cams.
Best,