Xbox streaming tv broken

Hello,
As discussed in other threads, Xbox stream of live tv is broken (on my setup). For example:
Here is the output of ffmpeg -i:
Please note, that the error message I receive on the Xbox is that the connection is lost to the computer. This is a different message than when I modify the profile to a codec that is not supported by the Xbox. It appears to me that someone weird is going on with the sending and receiving the streams on the Xbox.
Some streams do work, sometimes after a few goes. Does the Xbox use alternating ports for sending/receiving?
I know people have tested some of these, and they worked. Maybe it's my operating system (Windows XP SP3), CPU (AMD XP2800+ no SSE support), Java version (v6 update 33), or Xbox type (Slim 250GB with latest (not beta) system update?
I am using Serviio 1.0. These streams play fine on the MediaBrowser. For example:
As discussed in other threads, Xbox stream of live tv is broken (on my setup). For example:
- Code:
2012-07-31 15:12:42,312 DEBUG [WebServer] Incoming connection from /192.168.100.10:43904
2012-07-31 15:12:42,312 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.100.10
2012-07-31 15:12:42,312 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000010001/MEDIA_ITEM/WMVMED_FULL-0/ORIGINAL HTTP/1.1, headers = [User-Agent: Xenon,Connection: Keep-alive,Host: 192.168.100.1:8895]]
2012-07-31 15:12:42,312 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.100.10
2012-07-31 15:12:42,312 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.100.10, Profile=Xbox 360'
2012-07-31 15:12:42,312 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000000010001 and type 'MEDIA_ITEM' received
2012-07-31 15:12:42,312 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000010001 (online)
2012-07-31 15:12:42,312 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:12:42,312 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:12:42,312 DEBUG [VideoDeliveryEngine] Delivering item '1000000000010001' for client 'IPAddress=/192.168.100.10, Profile=Xbox 360'
2012-07-31 15:12:42,312 DEBUG [VideoDeliveryEngine] Delivering file 'rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true' using transcoding
2012-07-31 15:12:42,312 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.100.10, Profile=Xbox 360'
2012-07-31 15:12:42,312 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true
2012-07-31 15:12:42,312 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\lib\ffmpeg.exe -i rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true -y -copyts -c:v wmv2 -b:v 15360k -vf scale=432:324,setsar=1 -r 25 -g 15 -c:a wmav2 -b:a 192k -ac 1 -map 0:0 -map 0:1 -sn -f asf pipe:
2012-07-31 15:12:46,171 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2012-07-31 15:12:46,171 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2012-07-31 15:12:46,171 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:12:46,171 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 2)
2012-07-31 15:12:46,187 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 3)
2012-07-31 15:12:46,187 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
2012-07-31 15:12:46,187 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 5)
2012-07-31 15:12:46,187 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 6)
2012-07-31 15:12:46,187 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 8)
2012-07-31 15:12:46,203 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (Realtek RTL8139/810x Family Fast Ethernet NIC) and address 192.168.100.1, timeout = 0
2012-07-31 15:12:46,203 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device f4f1ff23-a781-34a5-8123-b670571bd9d1
2012-07-31 15:12:48,171 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:47
2012-07-31 15:12:55,140 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true: WMVMED_FULL
2012-07-31 15:12:55,140 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-07-31 15:12:55,140 DEBUG [ResourceDeliveryProcessor] Sending file back
2012-07-31 15:12:55,140 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2012-07-31 15:12:55,140 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/x-ms-wmv,Date: Tue, 31 Jul 2012 03:12:55 GMT,Server: Windows XP, UPnP/1.0 DLNADOC/1.50, Serviio/1.0,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-07-31 15:12:55,140 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
2012-07-31 15:12:55,140 DEBUG [NonClosingPipedInputStream] Closing piped input stream and closing related feeder process
2012-07-31 15:12:55,140 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-52,5,main]
2012-07-31 15:12:55,140 DEBUG [ProcessUtils] Killing the Windows process: 1104
2012-07-31 15:12:55,140 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2012-07-31 15:12:56,140 WARN [PipedOutputBytesReader] Error reading bytes stream from external process: Stream closed
2012-07-31 15:13:05,562 DEBUG [WebServer] Incoming connection from /192.168.100.10:64817
2012-07-31 15:13:05,562 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.100.10
2012-07-31 15:13:05,562 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000010001/MEDIA_ITEM/WMVMED_FULL-0/ORIGINAL HTTP/1.1, headers = [User-Agent: Xenon,Connection: Keep-alive,Host: 192.168.100.1:8895]]
2012-07-31 15:13:05,562 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.100.10
2012-07-31 15:13:05,562 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.100.10, Profile=Xbox 360'
2012-07-31 15:13:05,562 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000000010001 and type 'MEDIA_ITEM' received
2012-07-31 15:13:05,562 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000010001 (online)
2012-07-31 15:13:05,562 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:13:05,562 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:13:05,562 DEBUG [VideoDeliveryEngine] Delivering item '1000000000010001' for client 'IPAddress=/192.168.100.10, Profile=Xbox 360'
2012-07-31 15:13:05,562 DEBUG [VideoDeliveryEngine] Delivering file 'rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true' using transcoding
2012-07-31 15:13:05,562 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.100.10, Profile=Xbox 360'
2012-07-31 15:13:05,562 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true
2012-07-31 15:13:05,562 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\lib\ffmpeg.exe -i rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true -y -copyts -c:v wmv2 -b:v 15360k -vf scale=432:324,setsar=1 -r 25 -g 15 -c:a wmav2 -b:a 192k -ac 1 -map 0:0 -map 0:1 -sn -f asf pipe:
2012-07-31 15:13:16,218 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true: WMVMED_FULL
2012-07-31 15:13:16,218 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-07-31 15:13:16,218 DEBUG [ResourceDeliveryProcessor] Sending file back
2012-07-31 15:13:16,218 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2012-07-31 15:13:16,218 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/x-ms-wmv,Date: Tue, 31 Jul 2012 03:13:16 GMT,Server: Windows XP, UPnP/1.0 DLNADOC/1.50, Serviio/1.0,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-07-31 15:13:16,218 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
2012-07-31 15:13:16,218 DEBUG [NonClosingPipedInputStream] Closing piped input stream and closing related feeder process
2012-07-31 15:13:16,218 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-56,5,main]
2012-07-31 15:13:16,218 DEBUG [ProcessUtils] Killing the Windows process: 2712
2012-07-31 15:13:16,218 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2012-07-31 15:13:17,218 WARN [PipedOutputBytesReader] Error reading bytes stream from external process: Stream closed
Here is the output of ffmpeg -i:
- Code:
C:\Program Files\Serviio\lib>ffmpeg.exe -i "rtmp://freeview.fms.visionip.tv/live
/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true"
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Metadata:
audiochannels 1.00
audiosamplerate 48000.00
audiocodecid mp4a
videocodecid avc1
width 426.00
height 320.00
frameWidth 432.00
frameHeight 320.00
displayWidth 426.00
displayHeight 320.00
framerate 25.00
trackinfo:
timescale 0.00
language eng
sampledescription:
sampletype
type audio
config 1188
description {AACFrame: codec:AAC, channels:1, frequency:48000, sampl
esPerFrame:1024, objectType:LC}
timescale 0.00
language eng
sampledescription:
sampletype
type video
profile-level-id 42801f
sprop-parameter-sets Z0KAH5ZTg2FN/4AoACi1BQUFQAAAAwBAAAAMuAgAJJ8AAST5mc8DtCxc
8A==,aMmMNSA=
description {H264CodecConfigInfo: codec:H264, profile:Baseline, leve
l:3.1, frameSize:432x320, displaySize:426x320, frameRate:25.0, PAR:80:81}
rtpsessioninfo:
connectiondata IN IP4 226.45.20.7
name WowzaMediaServer
origin - 1037097602 1037097602 IN IP4 127.0.0.1
timing 0 0
protocolversion 0
attributes:
range npt=now-
[flv @ 0189D200] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-9
02-hsslive-25f-4x3-SDh live=true':
Metadata:
audiochannels : 1
frameWidth : 432
frameHeight : 320
displayWidth : 426
displayHeight : 320
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p, 432x320 [SAR 80:81 DAR 4:3], 2
5 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 48000 Hz, mono, s16
At least one output file must be specified
Please note, that the error message I receive on the Xbox is that the connection is lost to the computer. This is a different message than when I modify the profile to a codec that is not supported by the Xbox. It appears to me that someone weird is going on with the sending and receiving the streams on the Xbox.
Some streams do work, sometimes after a few goes. Does the Xbox use alternating ports for sending/receiving?
I know people have tested some of these, and they worked. Maybe it's my operating system (Windows XP SP3), CPU (AMD XP2800+ no SSE support), Java version (v6 update 33), or Xbox type (Slim 250GB with latest (not beta) system update?
I am using Serviio 1.0. These streams play fine on the MediaBrowser. For example:
- Code:
2012-07-31 15:28:46,718 DEBUG [CDSRetrieveMediaServerResource] Request for content delivery accepted
2012-07-31 15:28:46,718 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/127.0.0.1, Profile=Flash player'
2012-07-31 15:28:46,718 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000000010001 and type 'MEDIA_ITEM' received
2012-07-31 15:28:46,718 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000010001 (online)
2012-07-31 15:28:46,718 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:28:46,718 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:28:46,718 DEBUG [VideoDeliveryEngine] Delivering item '1000000000010001' for client 'IPAddress=/127.0.0.1, Profile=Flash player'
2012-07-31 15:28:46,718 DEBUG [VideoDeliveryEngine] Delivering file 'rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true' using transcoding
2012-07-31 15:28:46,718 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/127.0.0.1, Profile=Flash player'
2012-07-31 15:28:46,718 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true
2012-07-31 15:28:46,718 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\lib\ffmpeg.exe -i rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true -y -copyts -c:v flv -b:v 1000k -vf scale=432:324,setsar=1 -r 25 -g 15 -c:a libmp3lame -b:a 192k -ar 44100 -ac 1 -map 0:0 -map 0:1 -sn -f flv pipe:
2012-07-31 15:28:46,953 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2012-07-31 15:28:46,953 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2012-07-31 15:28:46,953 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-07-31 15:28:46,968 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 2)
2012-07-31 15:28:46,968 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 3)
2012-07-31 15:28:46,968 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
2012-07-31 15:28:46,968 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 5)
2012-07-31 15:28:46,984 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 6)
2012-07-31 15:28:46,984 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 8)
2012-07-31 15:29:00,421 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true: FLV
2012-07-31 15:29:00,421 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true: FLV
2012-07-31 15:29:00,421 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-902-hsslive-25f-4x3-SDh live=true: FLV
2012-07-31 15:29:00,421 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-07-31 15:29:00,421 DEBUG [ResourceDeliveryProcessor] Sending file back