Giter VIP home page Giter VIP logo

Comments (5)

wildeyes avatar wildeyes commented on July 24, 2024

This one http://techslides.com/demos/sample-videos/small.mp4 gave out

2016-06-14 11:26:40.575 attachRecordedDir: dir=file app=file
2016-06-14 11:26:40.598 [rtmp] server started on port 8080
2016-06-14 11:26:40.601 [rtsp/http/rtmpt] server started on port 3000
2016-06-14 11:26:47.451 [rtsp/http/rtmpt:client=c1] connected
C:\Users\user\Documents\node-rtsp-rtmp-server\server.js:47
    throw err;
    ^

Error: read_byte error: no more data
    at Bits.read_byte (C:\Users\user\Documents\node-rtsp-rtmp-server\bits.js:255:17)
    at Bits.read_uint32 (C:\Users\user\Documents\node-rtsp-rtmp-server\bits.js:180:85)
    at MPEG4BitRateBox.read (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:2649:37)
    at MPEG4BitRateBox.Box (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:834:14)
    at new MPEG4BitRateBox (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:2641:52)
    at Function.Box.parse (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:1038:20)
    at AVCSampleEntry.read (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:2626:32)
    at AVCSampleEntry.Box (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:834:14)
    at AVCSampleEntry.VisualSampleEntry [as constructor] (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:1766:54)
    at new AVCSampleEntry (C:\Users\user\Documents\node-rtsp-rtmp-server\mp4.js:2616:51)

from node-rtsp-rtmp-server.

wildeyes avatar wildeyes commented on July 24, 2024

I am using this network stream in VLC: rtsp://localhost:3000/file/test.mp4 for all of the tests.
I got it to work with a video from http://www.sample-videos.com/, the number 10 one.

It doesn't work though with ffmpeg streaming to the server, but I'll post that in another issue.

from node-rtsp-rtmp-server.

agorskih avatar agorskih commented on July 24, 2024

@wildeyes since http://www.sample-videos.com/ is down for a while, may I kindly ask you to provide sample that worked?

from node-rtsp-rtmp-server.

wildeyes avatar wildeyes commented on July 24, 2024

Cant find a similar issue, I'm closing and if it happens again ill come back :)

from node-rtsp-rtmp-server.

jazzy348 avatar jazzy348 commented on July 24, 2024

I've found it! It seems to happen when the file is converted using FFMPEG to H264. You can download one at http://178.32.66.230/test.mp4

from node-rtsp-rtmp-server.

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.