FAQ  •  Register  •  Login

Xbox streaming tv broken

<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Tue Jul 31, 2012 3:30 am

Xbox streaming tv broken

Hello,

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
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Tue Jul 31, 2012 3:53 am

Re: Xbox streaming tv broken

This may be another issues, but I also notice that some of my streams appear in the list and then sometimes don't appear. I usually use the LiveStreams plugin, but I tested just now by adding the above stream manuallly into the Serviio console. Pressing the Check Stream URL failed. Another attempt afterwards, it worked.

There is sometimes a long pause between running the ffmpeg command and when it displays the file info (at least on my PC/connection). Could this be a factor? At the streaming checking/adding stage, does Serviio need to wait a little longer before giving up and moving on to the next item? Is there a way to increase the timeout length by in extra 5 seconds maybe please?
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 31, 2012 12:57 pm

Re: Xbox streaming tv broken

it could be a factor, posibly the XBox needs a reasonably fluid stream otherwise it cancels the playback
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Tue Jul 31, 2012 9:00 pm

Re: Xbox streaming tv broken

When streaming fails, here's what happens:
* I select the stream.
* The screen goes black for a few seconds (normal).
* After a bit the loading onscreen progress bar appears at the top of the screen.
* The progress bar disappears immediately, before it even starts to fill up. <- the interesting part I think
* Error message about lost connection is shown.

I wonder if it's somehow possible to feed it something (e.g. blackscreen (local) video, maybe the Serviio logo with loading animation, no audio) while it loads? It could be a nice feature anyways, briefly showing a Serviio logo (before cutting to the video/stream), while it tries to connect.

Anyways, is there a way to get more log info on that is going wrong here, or does the Xbox not give any reasons that can be logged by Serviio?

Thanks.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 31, 2012 9:26 pm

Re: Xbox streaming tv broken

grolschie wrote:Anyways, is there a way to get more log info on that is going wrong here, or does the Xbox not give any reasons that can be logged by Serviio?

No, it just closes the connection.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Tue Jul 31, 2012 9:33 pm

Re: Xbox streaming tv broken

Ok. Thanks. What about a wireshark capture. Any use?
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri Aug 03, 2012 11:21 pm

Re: Xbox streaming tv broken

Same problem with Ubuntu. I updated my Ubuntu install last night (same PC, dual boot) and got Serviio 1.0 installed, and the 3 libraries compiled and installed. Same problem with streaming video playback.

Is this the same problem as when I browse Artists under Music that it disconnects from the Xbox? But with Artists, I can ignore that error and play the Artist.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Aug 03, 2012 11:45 pm

Re: Xbox streaming tv broken

grolschie wrote:Is this the same problem as when I browse Artists under Music that it disconnects from the Xbox? But with Artists, I can ignore that error and play the Artist.

No, that is caused by the Artist category not implemented in Serviio the way XBox expects.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sat Aug 04, 2012 4:24 am

Re: Xbox streaming tv broken

Could the streaming video be possibly be being sent in a way that the Xbox doesn't expect also - under certain circumstances?

I also notice that sometimes playing an AAC (iTunes) file it won't play and I see a circle with line through it icon by the track. Maybe it's when I try to play the file again too soon and ffmpeg is still transcoding it? Not sure. But I hope to see if I can reproduce the error at some stage.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Mon Aug 13, 2012 7:55 am

Re: Xbox streaming tv broken

Still broken with 1.0.1.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Wed Sep 26, 2012 11:00 pm

Re: Xbox streaming tv broken

zip wrote:
grolschie wrote:Anyways, is there a way to get more log info on that is going wrong here, or does the Xbox not give any reasons that can be logged by Serviio?

No, it just closes the connection.


I'm still having this Xbox360 53-C00DF238 error. I am using the built-in WiFi on the Xbox - which is fine for gaming, etc. WiFi N router is in the same room.

Still getting disconnected from the Xbox when starting some streams. Some streams appear to work more consistently than others. On some, I see the loading progress bar, and some I don't.

Looks like these users (1, 2) are/were having the same problem. For some reason the Xbox thinks "the network connection was closed".

Is there any way Serviio could generate more debug info to solve this issue please? Thanks.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Sep 27, 2012 12:25 pm

Re: Xbox streaming tv broken

grolschie wrote:Is there any way Serviio could generate more debug info to solve this issue please? Thanks.

No, it eems it's down to either Java layer of IO or the network or XBox. It might be the XBox needs some ffmpeg tuning, e.g. passing key frames more other or something similar. You could try to create a ffmpeg wrapper (ask jbh50) and pass some additional parameters to it to ty to solve it.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Thu Sep 27, 2012 8:29 pm

Re: Xbox streaming tv broken

Hi zip.

Thanks heaps, and sorry to keep going on about this. I am pretty sure I can figure out how to make a wrapper. I am just unsure of what ffmpeg commands might help me. Any tips please? They would be greatly appecriated. Thanks.

I am using Java 6 update 33 on Windows XP Pro SP3. Slow single-core CPU and I need more RAM. :-) Thanks.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Sep 28, 2012 12:34 pm

Re: Xbox streaming tv broken

grolschie wrote: I am just unsure of what ffmpeg commands might help me. Any tips please? They would be greatly appecriated. Thanks.

No idea. There might be some specific to asf container or wmv encoder. Otherwise sone of the generic video params.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri Sep 28, 2012 9:57 pm

Re: Xbox streaming tv broken

Thanks zip. I tried "-g 1" which didn't seem to do anything possitive. And I see that Serviio is using -g 15 anyway.

If I were to say output to a file and then play via USB would that narrow it down any? I suspect it has something to do with the Xbox to Serviio communication. When I play streams on the BDP-S370, some take quite a few seconds (a long pause with black screen) before playback commences. But the Xbox screen goes blank and then the 53-C00DF238 status code message.

In my wrappper, if I put in some parameters that Serviio is already providing, do I need clever scripting to replace Serviio's parameters? O if mine are placed the the end, will the get used instead?

I am wondering if I changed the framerate and number of audio channels, if that might help. I see that Serviio is transcoding to mono.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri Sep 28, 2012 11:17 pm

Re: Xbox streaming tv broken

UPDATE: Wrapper sorted.

Tried a few different ffmpeg parameters. No good so far. I suspect it's failing at a network communication level, rather than ffmpeg maybe. The BDP-S370, it seems to play these nicely via 5Ghz WiFi N, although with a decent pause before playback starts. I'm not sure why the Xbox is having issues. Its on 2.4Ghz WiFi N in the same room as the router. Xbox doesn't seem to have any network related issues, besides Serviio internet video streaming.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Thu Oct 18, 2012 9:19 am

Re: Xbox streaming tv broken

I'm still getting errors with live streaming:
  Code:
2012-10-18 22:15:49,875 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://tmplive.ant1.gr:80/live playpath=ant1tvnilova swfUrl=http://static.ant1.gr/live.ashx pageUrl=http://webtv.antenna.gr/webtv/live conn=B:0 swfVfy=true live=true: WMVMED_FULL
2012-10-18 22:15:49,875 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-10-18 22:15:49,875 DEBUG [ResourceDeliveryProcessor] Sending file back
2012-10-18 22:15:49,875 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2012-10-18 22:15:49,875 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/x-ms-wmv,Date: Thu, 18 Oct 2012 09:15:49 GMT,Server: Windows XP, UPnP/1.0 DLNADOC/1.50, Serviio/1.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-10-18 22:15:49,937 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
2012-10-18 22:15:49,937 DEBUG [NonClosingPipedInputStream] Closing piped input stream and closing related feeder process


What does "[WebServer] I/O error: Software caused connection abort: socket write error" mean please?
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 18, 2012 3:51 pm

Re: Xbox streaming tv broken

it means the XBox encountered something it doesn't like and closed the connection
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Thu Oct 18, 2012 6:42 pm

Re: Xbox streaming tv broken

OK, thanks. I am all out of ideas.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

amagdic

Serviio newbie

Posts: 2

Joined: Wed Oct 24, 2012 11:03 pm

Post Wed Oct 24, 2012 11:26 pm

Re: Xbox streaming tv broken

I am getting the same error with my WD TV everything is networked with ethernet cables so it cant be the network. Any help would be much appreciated
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 48 guests

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