Giter Site home page Giter Site logo

Comments (4)

BranigansLaw avatar BranigansLaw commented on June 1, 2024

I know this is old, but I'm stuck at the same place with this.

@Gopichandar, did you even get your solution working?

from sharpavi.

BranigansLaw avatar BranigansLaw commented on June 1, 2024

Just to follow up on this, I believe the issue is using the JPEG Motion format which might not allow embedding of audio. I tried switching to DivX format but SharpAVI kept throwing an exception I didn't have that codec (even though DivX is installed on my system).

In the end, I decided to switch to recording the sections separately and then recombining with ffmpeg.

If anyone found a way around this, let me know! I'd much rather stream into on file then saving and using ffmpeg to recombine.

from sharpavi.

cytivrat avatar cytivrat commented on June 1, 2024

I doing the same thing and I get part of the sound, but it is in extremely bad quality, too many silent pieces: like I'm saying 1-2-3-4-5-6, 1 can go properly, then start of the 2, then silence or some noise and then I get the end of three and no 4-5-6 at all.

from sharpavi.

cytivrat avatar cytivrat commented on June 1, 2024

As I found out, in my case adding new frame took 0.2-0.3 seconds, when I set frame rate to 10. So I was getting a new frame data longer than I tried to write it. After I optimized my code that creates a new frame, I was able to get clear sound inside recorded avi file

from sharpavi.

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.