Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for format_tags #14

Open
DieSache opened this issue Sep 23, 2022 · 1 comment
Open

Support for format_tags #14

DieSache opened this issue Sep 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@DieSache
Copy link

Hi!

Very happy about this project, it's very useful to me 🎉 . I see that there currently is only support for stream_tags and I would love to see support for something like the CLI equivalent of ffprobe <file> -show_entries format_tags.

The options for format tags vary by container. The supported tags can be found here

If anybody is interested in a temporary solution, this is (a bad) one:

let description = String::from_utf8(
    Command::new("ffprobe")
        .arg(<path>)
        .args(["-show_entries", "format_tags=description"])
        .args(["-of", "csv=p=0"])
        .output()?
        .stdout,
    )?;
@theduke theduke added the enhancement New feature or request label Oct 31, 2022
@theduke
Copy link
Owner

theduke commented Oct 31, 2022

Yeah, this is sensible.

Pretty busy right now. I appreciate a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants