Code Monkey home page Code Monkey logo

Comments (5)

popcornmix avatar popcornmix commented on June 27, 2024

This branch contains every commit from huceke.

Does it only fail when using a fifo, or will the same file stop early when played as a normal file?

Are you sure your internet download speed is sufficient. If the fifo runs empty, it will probably look like an EOF, and the stream will quit.

from omxplayer.

basvdheijden avatar basvdheijden commented on June 27, 2024

I'm positive my download speed is sufficient. Problem is: I can't play the stream as a normal file. omxplayer only works when using the fifo trick.

Is there another method I could try?

from omxplayer.

popcornmix avatar popcornmix commented on June 27, 2024

Do you have a link to an online file that behaves like this?

from omxplayer.

blakee avatar blakee commented on June 27, 2024

Here's another test case for what I believe to be the same issue. I've compiled omxplayer myself from git master, and am using http://db.tt/hDoOG5KT to test playback. On the 2 systems I've tested (both Raspbian minimal installs) the song is played fine, but omxplayer doesn't terminate when the song finishes. In this case there is a discrepancy in the duration reported of the mp3: mediainfo shows it as 2m1s CBR, omxplayer --info shows 00:02:05.98.

Please let me know if you need debug logs.

from omxplayer.

basvdheijden avatar basvdheijden commented on June 27, 2024

@popcornmix: It's not too easy to give you a direct URL, as the stream URL's are session based and can only be requested once. I've tested it with a small bash script though instead of running the commands within Node.js and it seems to work now, although I have to test it a couple of times to be sure (run a video with a length exceeding 1 hr)

Then it's probably a node child_process related issue instead of omxplayer related. Thanks for the quick replies though.

from omxplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.