Chromecast stops casting ~5min before movie ends

Need help? Post your questions here.

Moderator: moderators

Chromecast stops casting ~5min before movie ends

Postby adra » Sun Jan 04, 2015 12:08 pm

Hello,

First of all I'd like to say that I'm using subsonic for years and it's clearly the best self hosted streaming server I've ever seen.

However I have a problem when casting video to the Chromecast. It works fine when playing audio files but every time I cast a video it stops ~5 minutes before the end of the video. If I press play again on subsonic it starts again but only for a few seconds and stops the casting again so there is no other solution than watching the five last minutes on the computer...

I use subsonic5.0 (build 4100) - jetty-6.1.x, java 1.6.0_32, Linux.

I tried with 3 different computers, on 2 differents network and 2 differents chromecasts, the result is still the same.

Does someone is experiencing the same problem ? Is there a way to solve this isssue ?

Thanks
adra
 
Posts: 2
Joined: Sun Jan 04, 2015 11:58 am

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Tue Feb 10, 2015 3:46 am

I've got the exact same problem! Every video that I chromecast quits about 95% of the way through (~1 min in a 22 min show, ~5 min for a movie). If I go to the browser, quit chromecasting and then chromecast again it'll get through a little more of the video but stop short again. I'd LOVE to figure out how to fix this... someone give me somewhere to start debugging?
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Tue Feb 10, 2015 7:12 am

Forgot to say I'm using latest version of Windows subsonic (issue has occurred since first chromecast support in 5.0). I'm using windows 8.1.
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Tue Feb 10, 2015 7:53 am

Pulled open subsonic.log. Noticed everytime the issue happens I get this:

Code: Select all
[2015-02-09 23:19:34,344] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-ss] [4] [-i] [B:\Eps\Brooklyn Nine Nine\Season 2\Brooklyn.Nine-Nine.S02E01.HDTV.x264-KILLERS.mp4] [-c:v] [libx264] [-preset] [superfast] [-b:v] [2000k] [-c:a] [libvorbis] [-f] [matroska] [-threads] [0] [-]
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) ffmpeg version N-61599-gce9d3da Copyright (c) 2000-2014 the FFmpeg developers
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   built on Mar 18 2014 22:01:44 with gcc 4.8.2 (GCC)
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavutil      52. 67.100 / 52. 67.100
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavcodec     55. 52.102 / 55. 52.102
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavformat    55. 34.101 / 55. 34.101
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavdevice    55. 11.100 / 55. 11.100
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libavfilter     4.  3.100 /  4.  3.100
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libswscale      2.  5.101 /  2.  5.101
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libswresample   0. 18.100 /  0. 18.100
[2015-02-09 23:19:34,376] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   libpostproc    52.  3.100 / 52.  3.100
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'B:\Eps\Brooklyn Nine Nine\Season 2\Brooklyn.Nine-Nine.S02E01.HDTV.x264-KILLERS.mp4':
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Metadata:
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     major_brand     : isom
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     minor_version   : 1
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     compatible_brands: isom
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     creation_time   : 2014-09-29 01:01:12
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Duration: 00:21:32.65, start: 0.000000, bitrate: 1210 kb/s
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 133 kb/s (default)
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Metadata:
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       creation_time   : 2014-09-29 01:01:12
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       handler_name    : GPAC ISO Audio Handler
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 720x404, 1072 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Metadata:
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       creation_time   : 2014-09-29 00:52:02
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       handler_name    : L-SMASH Video Media Handler
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) [libx264 @ 02a691e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) [libx264 @ 02a691e0] profile High, level 3.0
[2015-02-09 23:19:34,391] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) [libx264 @ 02a691e0] 264 - core 142 r2409 d6b4e63 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc=abr mbtree=0 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
[2015-02-09 23:19:34,407] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-r] [1] [-ss] [60] [-t] [1] [-i] [B:\Eps\Brooklyn Nine Nine\Season 2\Brooklyn.Nine-Nine.S02E01.HDTV.x264-KILLERS.mp4] [-s] [682x384] [-v] [0] [-f] [mjpeg] [-]
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Output #0, matroska, to 'pipe:':
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Metadata:
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     major_brand     : isom
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     minor_version   : 1
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     compatible_brands: isom
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     encoder         : Lavf55.34.101
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Stream #0:0(und): Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x404, q=-1--1, 2000 kb/s, 1k tbn, 23.98 tbc (default)
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Metadata:
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       creation_time   : 2014-09-29 00:52:02
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       handler_name    : L-SMASH Video Media Handler
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Stream #0:1(und): Audio: vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default)
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)     Metadata:
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       creation_time   : 2014-09-29 01:01:12
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)       handler_name    : GPAC ISO Audio Handler
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Stream mapping:
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Stream #0:1 -> #0:0 (h264 -> libx264)
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)   Stream #0:0 -> #0:1 (aac -> libvorbis)
[2015-02-09 23:19:34,422] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Press [q] to stop, [?] for help
[2015-02-09 23:19:34,924] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) frame=  136 fps=0.0 q=15.0 size=    1205kB time=00:00:06.09 bitrate=1619.4kbits/s   
etc...
[2015-02-09 23:39:41,618] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) frame=29628 fps= 25 q=15.0 size=  315398kB time=00:20:36.14 bitrate=2090.2kbits/s   
[2015-02-09 23:39:41,836] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) av_interleaved_write_frame(): Broken pipe


I tried the same command line writing to a file and everything worked fine:

Code: Select all
C:\>c:\subsonic\transcode\ffmpeg.exe -ss 4 -i "B:\Eps\Brooklyn Nine
Nine\Season 2\Brooklyn.Nine-Nine.S02E01.HDTV.x264-KILLERS.mp4" -c:v libx264 -pre
set superfast -b:v 2000k -c:a libvorbis -f matroska -threads test.avi
ffmpeg version N-61599-gce9d3da Copyright (c) 2000-2014 the FFmpeg developers
  built on Mar 18 2014 22:01:44 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
  libavutil      52. 67.100 / 52. 67.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.101 / 55. 34.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Trailing options were found on the commandline.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'B:\Eps\Brooklyn Nine Nine\Season 2\Broo
klyn.Nine-Nine.S02E01.HDTV.x264-KILLERS.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2014-09-29 01:01:12
  Duration: 00:21:32.65, start: 0.000000, bitrate: 1210 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 13
3 kb/s (default)
    Metadata:
      creation_time   : 2014-09-29 01:01:12
      handler_name    : GPAC ISO Audio Handler
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709)
, 720x404, 1072 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2014-09-29 00:52:02
      handler_name    : L-SMASH Video Media Handler
At least one output file must be specified

C:\Users\Andrew>c:\subsonic\transcode\ffmpeg.exe -ss 4 -i "B:\Eps\Brooklyn Nine
Nine\Season 2\Brooklyn.Nine-Nine.S02E01.HDTV.x264-KILLERS.mp4" -c:v libx264 -pre
set superfast -b:v 2000k -c:a libvorbis -f matroska -threads 0 test.avi
ffmpeg version N-61599-gce9d3da Copyright (c) 2000-2014 the FFmpeg developers
  built on Mar 18 2014 22:01:44 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
  libavutil      52. 67.100 / 52. 67.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.101 / 55. 34.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'B:\Eps\Brooklyn Nine Nine\Season 2\Broo
klyn.Nine-Nine.S02E01.HDTV.x264-KILLERS.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2014-09-29 01:01:12
  Duration: 00:21:32.65, start: 0.000000, bitrate: 1210 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 13
3 kb/s (default)
    Metadata:
      creation_time   : 2014-09-29 01:01:12
      handler_name    : GPAC ISO Audio Handler
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709)
, 720x404, 1072 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2014-09-29 00:52:02
      handler_name    : L-SMASH Video Media Handler
[libx264 @ 029b9440] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 029b9440] profile High, level 3.0
[libx264 @ 029b9440] 264 - core 142 r2409 d6b4e63 - H.264/MPEG-4 AVC codec - Cop
yleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deb
lock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_
range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma
_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 int
erlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_
bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=23 scenecut
=40 intra_refresh=0 rc=abr mbtree=0 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
Output #0, matroska, to 'test.avi':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    encoder         : Lavf55.34.101
    Stream #0:0(und): Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x40
4, q=-1--1, 2000 kb/s, 1k tbn, 23.98 tbc (default)
    Metadata:
      creation_time   : 2014-09-29 00:52:02
      handler_name    : L-SMASH Video Media Handler
    Stream #0:1(und): Audio: vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, s
tereo, fltp (default)
    Metadata:
      creation_time   : 2014-09-29 01:01:12
      handler_name    : GPAC ISO Audio Handler
Stream mapping:
  Stream #0:1 -> #0:0 (h264 -> libx264)
  Stream #0:0 -> #0:1 (aac -> libvorbis)
Press [q] to stop, [?] for help
frame=  159 fps=0.0 q=17.0 size=    1437kB time=00:00:07.32 bitrate=1608.5kbits/
etc...
frame=30896 fps=292 q=-1.0 Lsize=  329489kB time=00:21:28.64 bitrate=2094.6kbits
/s
video:314617kB audio:14090kB subtitle:0 data:0 global headers:4kB muxing overhea
d 0.236802%
[libx264 @ 029b9440] frame I:440   Avg QP:13.24  size: 43230
[libx264 @ 029b9440] frame P:9372  Avg QP:15.29  size: 18057
[libx264 @ 029b9440] frame B:21084 Avg QP:17.00  size:  6352
[libx264 @ 029b9440] consecutive B-frames:  5.4%  7.3% 10.3% 77.0%
[libx264 @ 029b9440] mb I  I16..4:  5.2% 19.3% 75.5%
[libx264 @ 029b9440] mb P  I16..4:  2.7%  4.5%  5.1%  P16..4: 84.5%  0.0%  0.0%
0.0%  0.0%    skip: 3.3%
[libx264 @ 029b9440] mb B  I16..4:  0.5%  0.6%  0.3%  B16..8: 46.3%  0.0%  0.0%
direct:28.6%  skip:23.7%  L0:32.5% L1:37.3% BI:30.2%
[libx264 @ 029b9440] final ratefactor: 16.61
[libx264 @ 029b9440] 8x8 transform intra:33.2% inter:46.6%
[libx264 @ 029b9440] coded y,uvDC,uvAC intra: 78.9% 89.9% 70.6% inter: 37.4% 36.
6% 4.1%
[libx264 @ 029b9440] i16 v,h,dc,p: 45% 19% 29%  7%
[libx264 @ 029b9440] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 16% 24%  5%  5%  6%  5%
6%  6%
[libx264 @ 029b9440] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 21% 10%  6%  6%  7%  6%
7%  7%
[libx264 @ 029b9440] i8c dc,h,v,p: 33% 24% 30% 13%
[libx264 @ 029b9440] Weighted P-Frames: Y:3.5% UV:1.6%
[libx264 @ 029b9440] kb/s:2000.07


It looks like whatever code is accepting the ffmpeg output and sending it to chromecast is closing the pipe before ffmpeg is done (it had no problem converting to file on disk). Any help on where to go from here?

Thanks.
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am

Re: Chromecast stops casting ~5min before movie ends

Postby dik23 » Tue Feb 17, 2015 12:02 am

Have you managed to fix this ?

I am very interested in streaming video with Chromecast
SS4.6 running on Lucid32
dik23
 
Posts: 27
Joined: Sun Feb 05, 2012 6:22 pm

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Wed Feb 18, 2015 5:04 am

I don't believe it affects everyone or else there would be more talk of it on the forums & the web. But no, I haven't been able to get any responses or find an answer yet. It's still worth getting a chromecast and streaming to it, no wires, super convenient. I just end up having to watch the last minute of a show on my computer :(
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am

Re: Chromecast stops casting ~5min before movie ends

Postby fenderson » Sun Feb 22, 2015 10:07 pm

I am having exactly the same problem here.

It stops five minutes before the end!!!

Running the latest beta on Mac
fenderson
 
Posts: 4
Joined: Sun Feb 22, 2015 10:06 pm

Re: Chromecast stops casting ~5min before movie ends

Postby fenderson » Tue Feb 24, 2015 7:15 pm

Tried to downgrade to latest stable... it didn't solve.
I enabled " Fast access mode" and the problem seems to be solved.

I didn't test it too much anyhow. Anybody confirms?
fenderson
 
Posts: 4
Joined: Sun Feb 22, 2015 10:06 pm

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Wed Feb 25, 2015 4:51 am

Nope, fast access mode didn't change anything
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am

Re: Chromecast stops casting ~5min before movie ends

Postby fenderson » Wed Mar 04, 2015 9:51 pm

I am afraid you are right...
It didn't work.

Any update on this?
fenderson
 
Posts: 4
Joined: Sun Feb 22, 2015 10:06 pm

Re: Chromecast stops casting ~5min before movie ends

Postby fenderson » Thu Mar 05, 2015 10:52 pm

Posted a bug on sourceforge....
fenderson
 
Posts: 4
Joined: Sun Feb 22, 2015 10:06 pm

Re: Chromecast stops casting ~5min before movie ends

Postby sindre_mehus » Fri Mar 06, 2015 6:44 pm

Thanks for reporting it, I will look into it.

To me it sounds like the Chromecast stops reading to early and closes the connection (hence the broken pipe). Maybe something is wrong with the metadata Subsonic sends (duration, content length, http range, ...)

Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Sun Mar 15, 2015 9:14 pm

Forgot to check back on this thread for a couple weeks.

If there's some way to turn on a debugging flag or something I'm happy to repro and send you data.
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Fri Apr 03, 2015 6:25 am

Thanks for posting a bug fenderson. I see it's in 5.2 milestone right now. When do you guys do releases? When the stuff in the milestone is fixed? Every few months?
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am

Re: Chromecast stops casting ~5min before movie ends

Postby aoeuhtns » Thu Apr 23, 2015 4:31 am

sindre_mehus wrote:Thanks for reporting it, I will look into it.

To me it sounds like the Chromecast stops reading to early and closes the connection (hence the broken pipe). Maybe something is wrong with the metadata Subsonic sends (duration, content length, http range, ...)

Sindre


Oh yeah, you're right. I realized the debug output above says:

Code: Select all
[2015-02-09 23:39:41,618] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) frame=29628 fps= 25 q=15.0 size=  315398kB time=00:20:36.14 bitrate=2090.2kbits/s


But the playtime on the file is actually 00:21:32 (and thus it cuts off before it's done)
aoeuhtns
 
Posts: 9
Joined: Tue Feb 10, 2015 3:42 am


Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests