xat / castnow

commandline chromecast player
MIT License
3.81k stars 243 forks source link

MP4 files never start playing #27

Open martin-langhoff opened 9 years ago

martin-langhoff commented 9 years ago

From Fedora 20, fully up to date, I can use castnow with a youtube url, but not with a local MP4 file.

Using --debug, the last status printed is "player status: ready". Not sure how to debug this further...

martin-langhoff commented 9 years ago

Some small MP4 videos I have do play. How can I diag the problem?

xat commented 9 years ago

Can you dump the whole DEBUG trace into here?

sticilface commented 9 years ago

This is essentially the same problem that I'm having!

debug trace just says

root@test:~ # castnow --address 192.168.1.102 ./small.mp4 castnow launching... +0ms castnow player status: loading plugins +3ms castnow player status: scanning +1ms castnow player status: connecting +1ms castnow player status: launching +136ms castnow player status: loading +2s castnow player error: [Error: Load failed] +2s Error: Load failed

xat commented 9 years ago

@sticilface I think your problem was not directly related to this issue here. Since in this issue some small mp4 files seem to work and in your case it didn't work at all.

Rowno commented 9 years ago

I've got the same problem:

  castnow launching... +0ms
  castnow player status: loading plugins +4ms
  castnow player status: scanning +0ms
  castnow player status: connecting +1ms
  castnow player status: launching +109ms
  castnow player status: loading +1s
  castnow player error: [Error: Load failed] +2m
Error: Load failed

The same file Casts fine from a Chrome tab using the official extension.

Here's the video's details:

Container: Quicktime Video codec: H.264 Video framerate: 24 frames per second Video bitrate: 909 kbps Audio codec: MPEG-4 AAC Audio channels: Stereo Audio sample rate: 48000 Hz Audio bitrate: 93 kbps