Skip to content

A naive Python wraper for [flvmeta](https://flvmeta.com/). For both Linux and Windows. Used to extract, check, or update the metadata in *.flv video file.

License

Notifications You must be signed in to change notification settings

qqyuanxinqq/py-flvmeta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyflvmeta

A naive Python wraper for flvmeta. For both Linux and Windows.

Used to extract, check, or update the metadata in *.flv video file.

Installation

pip install py-flvmeta

Require Python >= 3.7

Quickstart

Get MetaData tag in *.flv video file.

from pyflvmeta import flvmeta_dump
rtncode, out_or_err = flvmeta_dump("Video_path")

#Or requires a JSON format
rtncode, out_or_err = flvmeta_dump("Video_path", option = "-j")

Update MetaData tag in *.flv video file.

from pyflvmeta import flvmeta_update
rtncode, out_or_err = flvmeta_update("Video_path")

API reference

https://flvmeta.com/flvmeta.1.html

  • flvmeta_dump(input, options = ""): flvmeta -D|--dump [options] INPUT_FILE
  • flvmeta_fulldump(input, options = ""): flvmeta -F|--full-dump [options] INPUT_FILE
  • flvmeta_check(input, options = ""): flvmeta -C|--check [options] INPUT_FILE
  • flvmeta_update(input, options = "", output = ""): flvmeta -U|--update [options] INPUT_FILE [OUTPUT_FILE]

About

A naive Python wraper for [flvmeta](https://flvmeta.com/). For both Linux and Windows. Used to extract, check, or update the metadata in *.flv video file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages