illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.89k stars 1.51k forks source link

Add support to customize ffmpeg output options in relay and fission t… #559

Open realaboo opened 1 year ago

realaboo commented 1 year ago

Currently FFmpeg output options are hardcoded to -c copy for relay tasks and libx264 for fission tasks.

This PR add support to customize FFmpeg output options for these tasks. Thus FFmpeg filters, transcodings can be configured for advanced usage.