Code Monkey home page Code Monkey logo

Comments (6)

scriptorian avatar scriptorian commented on September 23, 2024

Do you think this could be caused by the missing bitstream filter as mentioned in #35?

from beamcoder.

ccantill avatar ccantill commented on September 23, 2024

I don't think so; according to the trace output from ffmpeg, bitstream filters are disabled anyway when using empty_moov:
[mp4 @ 0x56177b989200] Empty MOOV enabled; disabling automatic bitstream filtering

from beamcoder.

ccantill avatar ccantill commented on September 23, 2024

I'm not sure if this is relevant, but I did just notice that muxer.ctx_flags.UNSEEKABLE is false. I can't seem to set this from the javascript code though.

from beamcoder.

scriptorian avatar scriptorian commented on September 23, 2024

There is currently no 'setter' for muxer.ctx_flags. Reading the flag description it seems unlikely this is causing your trouble though?

from beamcoder.

Bahlinc-Dev avatar Bahlinc-Dev commented on September 23, 2024

Something is still not right, and i'm getting the same thing described above. Outputting from a plain muxer to file works, but from muxerstream to file produces a non-playable file. At least if you are muxing video into mp4. Anyone figure out what is going on here?

from beamcoder.

Bahlinc-Dev avatar Bahlinc-Dev commented on September 23, 2024

Ok, revisited this today. I managed to fix the muxerstream, but I'm not exactly sure of the root cause. I fixed by changing the buffer length in adapter.h. Looks like it is set to low. If i increase this to say, 4096, I get playable output and muxerstream seems to work correctly. There must be some kind of padding that gets added to the avio_context (in libav) when write() fills the buffer? I'm not sure, but with the default value of 1024 you WILL get garbled output. I would like to add some logging to announce when new data arrives from libav with no buffer space left to store it since that will break any streamed output as we have seen here.

from beamcoder.

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.