nschlia / ffmpegfs

FUSE-based transcoding filesystem with video support from many formats to FLAC, MP4, TS, WebM, OGG, MP3, HLS, and others.
https://nschlia.github.io/ffmpegfs/
GNU General Public License v3.0
198 stars 14 forks source link

[optimisation] If no video in destination format, do not open video codecs #80

Closed nschlia closed 3 years ago

nschlia commented 3 years ago

If destination format has no video streams, skip opening video codecs for the input stream. This has a neglegible impact on resource use, though, but would avoid some unnessary open and close steps.

nschlia commented 3 years ago

Implemented.