Comments (3)
This error should occur when the device you're streaming abruptly rejects the stream. Most likely the format that ffmpeg is sending is not what the TV is expecting, or is not supported by the TV. Perhaps web
is the wrong transcode target for your TV.
from dms.
That was my first hypothesis, but I finally got some time to look around:
- The error is output once per second many times over, seemingly indefinitely, while the TV displays a spinner.
- This behavior only happens with
webb
andchromecast
. Withvp8
, the TV immediately displays a "Unplayable file" message - I confirmed that I can stream files with dms (without
-forceTranscode
) that can also be streamed from other servers (minidlna/rygel) - I created a
foo.dms.json
containing{"Title":"Foo","Resources":[{"MimeType":"video/x-matroska","Command":"cat file-that-plays-without-transcoding.mkv"}]}
and confirmed that it doesn't play (I get the samefailed: signal: broken pipe
but no spinner from the TV, just an immediate exit from the playback menu. - Looking at
-logHeaders
, it seems there are two subsequent requests, the second containingRange: bytes=7075-
.
Could the range request pose a problem? [Edit:] Looking at the response, there's no Content-Range
, so I'll make that my prime suspect.
from dms.
Hm yes, I don't remember the specifics (I started this project nearly 12 years ago), but I doubt range requests are supported for on-the-fly transcodes if that is what it is doing. Range requests should work fine for static files.
from dms.
Related Issues (20)
- can not serv the flac and mp3 file HOT 1
- BubbleUPnP and DMS HOT 3
- HomeAssistant TorrServe error HOT 1
- dms binary can't be executed in NixOS. HOT 6
- binary: log level configuration HOT 1
- got an SSDP server running in LAN already, so how to disable SSDP listening in dms? HOT 7
- ssdp panic while caltulating delay time HOT 2
- Verbose/Debug output? HOT 3
- Does not work with Kodi HOT 7
- Can it run in the environment without go installed? HOT 4
- Can it cast to Chromecast audio directly? HOT 2
- Samsung TV: Video found but cannot be played (works on minidnla, trace attached) HOT 10
- Serving media from non-local/dummy filesystem HOT 6
- foobar2k iOS? HOT 1
- Not discovered by LG WebOS HOT 4
- Path must be absolute HOT 5
- docs HOT 1
- grep not works on usage message HOT 4
- how to use ffmpeg instead avconv? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dms.