Giter Site home page Giter Site logo

ffmpeg exited with code 1: Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height about h265ize HOT 2 OPEN

Treverr avatar Treverr commented on August 23, 2024
ffmpeg exited with code 1: Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

from h265ize.

Comments (2)

optio50 avatar optio50 commented on August 23, 2024

Are you using the --he-audio option?
I also get this error with files that have AC-3 6 channel audio and trying to use opus HE audio.
The only workaround I found is to downmix the audio to Opus 2 channel or keep original audio.
--he-audio --downmix-he-audio

from h265ize.

optio50 avatar optio50 commented on August 23, 2024

You could also convert just the audio to Opus before you use H265ize to avoid the error.
You can use this command.
ffmpeg -i 'InPut.mkv' -c:v copy -c:a libopus -b:a 256k -af aformat=channel_layouts="7.1|5.1|stereo" 'OutPut.mkv'

This should be a very quick process as you are only touching the audio in the video.
Then there is no need to use the --he-audio option for H265ize

from h265ize.

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.