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

Duration always 0 when reading from stdin, but ok when from file #53

Open
futpib opened this issue Oct 16, 2018 · 3 comments
Open

Duration always 0 when reading from stdin, but ok when from file #53

futpib opened this issue Oct 16, 2018 · 3 comments

Comments

@futpib
Copy link

futpib commented Oct 16, 2018

→ cat ~/Downloads/01.mp3 | fpcalc -
DURATION=0

→ fpcalc ~/Downloads/01.mp3
DURATION=227

→ fpcalc -version
fpcalc version 1.4.3

Reproducible with every file I tried.

@futpib
Copy link
Author

futpib commented Oct 17, 2018

Seems like an ffmpeg limitation, same thing happens with ffprobe -i file and ffprobe -i pipe:0 < file

@lalinsky
Copy link
Member

lalinsky commented Nov 4, 2022

This works in the recent versions of chromaprint.

@lalinsky lalinsky closed this as completed Nov 4, 2022
@lalinsky lalinsky reopened this Nov 4, 2022
@lalinsky
Copy link
Member

lalinsky commented Nov 4, 2022

Actually, it does not.

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

No branches or pull requests

2 participants