← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1462578] [NEW] http streaming is very slow to start up

 

Public bug reported:

I use livestreamer and mpv to watch streaming content on Twitch. The
stream is very slow to start and takes at least thirty seconds until the
video plays.

I have included the terminal output from livestreamer, but the problem
also happens when when opening a http stream with mpv by itself.

$ livestreamer -vp "mpv --cache=1024" twitch.tv/scglive low
[cli][info] Found matching plugin twitch for URL twitch.tv/scglive
[cli][info] Available streams: audio, high, low, medium, mobile (worst), source (best)
[cli][info] Opening stream: low (hls)
[cli][info] Starting player: mpv --cache=1024
Playing: -
[file] Reading from stdin...
[cache] Cache size set to 1024 KiB
Cache fill: 42.97% (450560 bytes)   
[cache] Cache is not responding - slow/stuck network connection?
[cache] Cache keeps not responding.
[cache] Cache keeps not responding.
[cache] Cache keeps not responding.
[cache] Cache keeps not responding.
[cache] Cache keeps not responding.
[libav/demuxer] mpegts: max_analyze_duration reached
[libav/demuxer] mpegts: Estimating duration from bitrate, this may be inaccurate
[lavf] LAVF: Program 1 
Detected file format: MPEG-TS (MPEG-2 Transport Stream) (libavformat)
File is not seekable, but there's a cache: enabling seeking.
[cache] Cache keeps not responding.
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 (aac)
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]
AO: [pulse] 44100Hz stereo 2ch float
VO: [vdpau] 640x360 => 640x360 420p
[vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
AV: 13:42:01 / 00:00:00 (0%) A-V: -0.000 Cache: 50%


Exiting... (Quit)
[cli][info] Player closed
[cli][info] Stream ended

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libavformat54 6:9.18-0ubuntu0.14.04.1
ProcVersionSignature: Ubuntu 3.13.0-54.91-generic 3.13.11-ckt20
Uname: Linux 3.13.0-54-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Jun  6 00:56:17 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-11-01 (947 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: libav
UpgradeStatus: Upgraded to trusty on 2014-09-04 (274 days ago)

** Affects: libav (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libav (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug trusty

** Bug watch added: Debian Bug tracker #740421
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740421

** Also affects: libav (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740421
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to libav in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1462578

Title:
  http streaming is very slow to start up

Status in libav package in Ubuntu:
  New
Status in libav package in Debian:
  Unknown

Bug description:
  I use livestreamer and mpv to watch streaming content on Twitch. The
  stream is very slow to start and takes at least thirty seconds until
  the video plays.

  I have included the terminal output from livestreamer, but the problem
  also happens when when opening a http stream with mpv by itself.

  $ livestreamer -vp "mpv --cache=1024" twitch.tv/scglive low
  [cli][info] Found matching plugin twitch for URL twitch.tv/scglive
  [cli][info] Available streams: audio, high, low, medium, mobile (worst), source (best)
  [cli][info] Opening stream: low (hls)
  [cli][info] Starting player: mpv --cache=1024
  Playing: -
  [file] Reading from stdin...
  [cache] Cache size set to 1024 KiB
  Cache fill: 42.97% (450560 bytes)   
  [cache] Cache is not responding - slow/stuck network connection?
  [cache] Cache keeps not responding.
  [cache] Cache keeps not responding.
  [cache] Cache keeps not responding.
  [cache] Cache keeps not responding.
  [cache] Cache keeps not responding.
  [libav/demuxer] mpegts: max_analyze_duration reached
  [libav/demuxer] mpegts: Estimating duration from bitrate, this may be inaccurate
  [lavf] LAVF: Program 1 
  Detected file format: MPEG-TS (MPEG-2 Transport Stream) (libavformat)
  File is not seekable, but there's a cache: enabling seeking.
  [cache] Cache keeps not responding.
  [stream] Video (+) --vid=1 (h264)
  [stream] Audio (+) --aid=1 (aac)
  Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
  Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]
  AO: [pulse] 44100Hz stereo 2ch float
  VO: [vdpau] 640x360 => 640x360 420p
  [vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
  AV: 13:42:01 / 00:00:00 (0%) A-V: -0.000 Cache: 50%

  
  Exiting... (Quit)
  [cli][info] Player closed
  [cli][info] Stream ended

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libavformat54 6:9.18-0ubuntu0.14.04.1
  ProcVersionSignature: Ubuntu 3.13.0-54.91-generic 3.13.11-ckt20
  Uname: Linux 3.13.0-54-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Jun  6 00:56:17 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2012-11-01 (947 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  SourcePackage: libav
  UpgradeStatus: Upgraded to trusty on 2014-09-04 (274 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libav/+bug/1462578/+subscriptions


Follow ups

References