Git Product home page Git Product logo

Comments (4)

feross avatar feross commented on May 30, 2024 1

Glad you got it figured out! What a command! ffmpeg is true dark magic.

from mediasource.

feross avatar feross commented on May 30, 2024

Mediasource is very picky about the files that it accepts. There's probably some issue with the file you're providing that makes Chrome not happy with. I suggest taking a really close look at all the mp4 details using a tool like mp4box or even mp4-parser.

from mediasource.

supernoveau avatar supernoveau commented on May 30, 2024

Thanks @feross !

from mediasource.

supernoveau avatar supernoveau commented on May 30, 2024

FYI the problem was that the fragmentation wasn't applied to the keyframes under -movflags default_base_moof+frag_keyframe.

Full encode command to have this accepted by Chrome (using baseline and level 3):

ffmpeg -i ~/path/to/original.MOV -c:v libx264 -profile:v baseline -level 3.0 -c:a libfdk_aac -b:a 128k -f mp4 -reset_timestamps 1 -movflags empty_moov+default_base_moof+frag_keyframe+faststart ~/path/to/output.mp4

from mediasource.

Related Issues (8)

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.