fuel9 / DisplayMonkey

Display Monkey digital signage solution
Other
126 stars 50 forks source link

Video playback #125

Open jrtaylor-3 opened 5 years ago

jrtaylor-3 commented 5 years ago

I have not been able to local video file playback to work. Every format I try returns "alternate video". I can play my video from my browsers (both chrome and edge). I have converted the container to AVI and codec to MPEG-4 still no good. How do I debug this problem? The file size is pretty big, 120M ish Could that be it?

helex1 commented 5 years ago

Having the same problem. Simple MP4-files,just 20mB,not playing, just seeing countdown 4,3,2,1 continuously.

michaelmalmgren commented 5 years ago

Can you get these videos to play in the browser without using Display Monkey?

helex1 commented 5 years ago

No problem in Chrome. See attached image. Image 1

Image 2

jrtaylor-3 commented 5 years ago

Is there a log file generated or some other debugging clues that might help? I really need to get this working soon.

michaelmalmgren commented 5 years ago

Taylor, try to set the "error popup duration" setting to something other than zero. You can read more about the setting here: http://www.displaymonkey.org/dm/documentation/display/

jrtaylor-3 commented 5 years ago

There were no errors displayed; just the 3-2-1 video. What is the criteria used to determine the video cannot be used?

jrtaylor-3 commented 5 years ago

Michael, can you send me a video that is known to work? Maybe that will help to isolate my problem.

michaelmalmgren commented 5 years ago

Taylor,

I did a bit of testing and I got this video (mp4) to work: http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5

A different mp4 video (http://www.html5videoplayer.net/html5video/mp4-h-264-video-test/) would not load.

Not sure how to figure out the differences between these two.

jrtaylor-3 commented 5 years ago

I have been trying a few things and I think I may have an idea what is going on. First of all it seems that my Samsung Smart TVs like WebM format. It also seems like the "countdown" thing is related to frame ready preparation. The max timer for frame ready does not seem to apply to this. This also seems to be true in the management interface; if I just wait the video eventually plays. I think that is also a factor in being able to delete the videos. So now my question is how to I make this delay go away? Is it cached?

jrtaylor-3 commented 5 years ago

I have made some progress. First I converted all my videos to WebM format so that they will run in the Samsung SmartTV browser. The displays are now connected by a hardwired network and I have set the cache on the videos to 12 hours. Now the first time I run a video I get 3-2-1 while the cache is being loaded and clean execution after that. This is acceptable for my application (yea!) The problem with deleting unwanted video assets is the 3-2-1 thing. If I let it run all night then EVENTUALLY the video gets around to playing and can be deleted. I highly recommend to the developers that the automatic playing of videos be disabled.