Skip to content

WriteGear FAQs

What is WriteGear API and what does it do?

Answer: WriteGear handles various powerful Writer Tools that provide us the freedom to do almost anything imagine with multimedia files. For more info. see WriteGear doc ➶

 

I'm only familiar with OpenCV, how to get started with WriteGear API?

Answer: Answer: First, refer to the Switching from OpenCV guide, then go through WriteGear documentation. If you still have doubts, ask us on Gitter ➶ Community channel.

 

Why WriteGear is throwing ValueError?

Answer: WriteGear will exit with ValueError if you feed frames of different dimensions or channels.

 

How to install and configure FFmpeg correctly for WriteGear on my machine?

Answer: Follow these Installation Instructions ➶ for its installation.

 

Can I use WriteGear directly with OpenCV?

Answer: Yes,

 

What FFmpeg's encoders and parameters are supported by WriteGear in compression mode?

Answer: See Supported Parameters ➶ and Supported encoders ➶

 

What OpenCV's FOURCC and parameters are supported by WriteGear in non-compression mode?

Answer: See Supported Parameters ➶ and Supported FOURCC ➶.

 

Why this FOURCC is not working for me?

Answer: Remember not all the FOURCC and Video extensions are compatible and supported by OpenCV VideoWriter Class. You’ll need to try different combinations of FourCC and file extensions. Furthermore, OpenCV does not return any helpful error messages regarding this problem, so it’s pretty much based on trial and error.

 

Can I pass my custom FFmpeg commands directly in WriteGear API?

Answer: Yes, See Custom FFmpeg Commands in WriteGear API ➶.

 

How to use specific Hardware Encoder in WriteGear?

Answer: See this usage example ➶

 

How to add live audio to WriteGear?

Answer: See this doc ➶

 

How to separate and merge audio from/to video?

Answer: See these usage examples ➶

 

Can I live stream to Twitch with WriteGear API?

Answer: Yes, See this usage example ➶

 

Is YouTube-Live Streaming possible with WriteGear?

Answer: Yes, See this bonus example ➶.

 

How to Live-Streaming using RTSP/RTP protocol with WriteGear?

Answer: See this bonus example ➶.

 

How to create MP4 segments from a video stream with WriteGear?

Answer: See this bonus example ➶.

 

How add external audio file input to video frames?

Answer: See this bonus example ➶.

 

Why this FFmpeg parameter is not working for me in compression mode?

Answer: If some FFmpeg parameter doesn't work for you, then tell us on Gitter ➶, and if that doesn't help, then finally report an issue ➶

 

Why WriteGear is switching to Non-compression Mode, even if it is not enable?

Answer: In case WriteGear API fails to detect valid FFmpeg executables on your system (even if Compression Mode is enabled), it will automatically fallback to Non-Compression Mode. Follow Installation Instructions ➶ for FFmpeg installation.