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

Segmentation fault: 11 when width is lower than ~ 256 #6

Open
MaffooBristol opened this issue Feb 13, 2015 · 2 comments
Open

Segmentation fault: 11 when width is lower than ~ 256 #6

MaffooBristol opened this issue Feb 13, 2015 · 2 comments

Comments

@MaffooBristol
Copy link

Also if I set the height at all it throws the error for widths up to ~300. It seems to happen when the output size is too small or has antisocial relative dimensions. Not sure what line it's dying on though...

@rzurad
Copy link
Owner

rzurad commented Feb 13, 2015

Good to know. I'll take a look at it when I have time. I never really bothered testing low resolution outputs that much because of the way the drawing logic works. The fidelity of the final waveform output is entirely dependent on the resolution of the generated output image, so I became accustomed to generating 1600px width waveforms and then piping them into imagemagik to have it scale it down.

Can you post the command you were using to run waveform that was causing it to crash?

Thanks :)

@MaffooBristol
Copy link
Author

Also just happened when I did -t 200 -w 1200, and also with this: ./waveform -i something-low.wav -m -h 600 -w 2000 -o something-low.png which is definitely of quite high res!

Cheers!
Matt

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