HackerTrans
TopNewTrendsCommentsPastAskShowJobs

crypt0lution

no profile record

Submissions

[untitled]

1 points·by crypt0lution·4 tahun yang lalu·0 comments

[untitled]

1 points·by crypt0lution·4 tahun yang lalu·0 comments

[untitled]

1 points·by crypt0lution·4 tahun yang lalu·0 comments

Fast Seam Carving in Java with a GUI

github.com
6 points·by crypt0lution·4 tahun yang lalu·3 comments

Show HN: Real Time Color ASCII Rendering in Python Using NumPy Vectorization

github.com
2 points·by crypt0lution·4 tahun yang lalu·0 comments

Show HN: Golang FFmpeg wrapper for simple Video I/O and Webcam Streaming

github.com
129 points·by crypt0lution·4 tahun yang lalu·32 comments

Real Time Color ASCII Rendering in Python Using NumPy Vectorization

github.com
2 points·by crypt0lution·4 tahun yang lalu·0 comments

comments

crypt0lution
·4 tahun yang lalu·discuss
Thanks!
crypt0lution
·4 tahun yang lalu·discuss
I'll fix that up when I have some time. Thanks for pointing it out. Most panics come from when something went wrong with the ffmpeg subprocess. I didn't know that there is a way for the user to handle errors coming from this subprocess.
crypt0lution
·4 tahun yang lalu·discuss
I originally wanted to use json for parsing, however the unmarshalling would have required a large struct with fields for all the metadata ffprobe outputs. I thought that using "-print_format compact" resulted in a simpler parsing approach. Correct me if I'm wrong there, I'm still relatively new to Go.

Thanks for sharing the link to your project. I'll try to implement the stdout buffering with "bytes" rather than doing it manually.
crypt0lution
·4 tahun yang lalu·discuss
Thanks!
crypt0lution
·4 tahun yang lalu·discuss
Done, thanks!
crypt0lution
·4 tahun yang lalu·discuss
Made a push adding getters for relevant fields and making field names uppercase in the Options struct. Don't know how long it takes for pkg.dev to update, but the issue should be resolved now.
crypt0lution
·4 tahun yang lalu·discuss
That's correct. I like to use go for image processing and wanted to apply some of the algorithms I made to video but did not find a simple way to do so. I set out to make a video I/O module.

I'm currently fixing all the non-idiomatic problems as well as adding some getters for each struct. Thanks for the feedback!