Coder Social home page Coder Social logo

Comments (6)

mdhiggins avatar mdhiggins commented on May 18, 2024

Any idea if this can be set in FFMPEG? I explored this option early in development but was unable to find if these settings can be specified in FFMPEG. If you look at the code there are actually options in place to check for a properly set default and forced values for the tracks but FFMPEG doesn't do anything with them.

from sickbeard_mp4_automator.

jrderuiter avatar jrderuiter commented on May 18, 2024

No idea, haven't been able to find it yet. Note that files produced on a Mac with ffmpeg 1.2.4 seem to have the correct behavior as the resulting files do have the second track disabled. This is supported by the following ffmpeg tickect: https://trac.ffmpeg.org/ticket/2626. Note that no manual option is mentioned here as far as I can see.

On a PC using ffmpeg binaries built on Nov 10 2013 (from http://ffmpeg.zeranoe.com/builds/) does however not disable the audio correctly and therefore does run into this issue. Strange.

from sickbeard_mp4_automator.

jrderuiter avatar jrderuiter commented on May 18, 2024

Confirmed on an identical file that the mac ffmpeg (installed through homebrew) does the right thing by default, however the windows build I am using does not.

Muxing using mp4box would allow you to set a audio track as disabled, as this is a sample flag when passing in the audio stream. I do not know how to specify this in ffmpeg though.

Update: Seems that a compiled version of ffmpeg 1.2.4 does perform correctly, in contrast to the current version of the zeranoe builds. A version of ffmpeg 1.2 is available at: http://ffmpeg.zeranoe.com/builds/win32/static/

from sickbeard_mp4_automator.

mdhiggins avatar mdhiggins commented on May 18, 2024

So updating to the latest 1.2.4 version of ffmpeg resolves the issue? It would be nice to find a way to set the forced flag for things like subtitles but that's a different issue.

from sickbeard_mp4_automator.

jrderuiter avatar jrderuiter commented on May 18, 2024

For me it was downgrading, as the current version (post 2.1, built on 12-Nov-2013) exhibits the wrong behavior. See the list of available ffmpeg windows builds at: http://ffmpeg.zeranoe.com/builds/win32/static/. I currently tried the 1.2 build, which seems to perform fine. I couldn't find a 1.2.4 build I trusted and was unable to build it myself unfortunately :(

from sickbeard_mp4_automator.

mdhiggins avatar mdhiggins commented on May 18, 2024

Thanks for clarifying. Since this is more of an ffmpeg issue than with my script I'll close this for now.

from sickbeard_mp4_automator.

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.