-
Notifications
You must be signed in to change notification settings - Fork 27
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
Trouble with V4 miniscope video #75
Comments
Hi Alexis, I think you might be right since the error message does not seem the reason and it could be due to the video format that creates wrong pixh or pixw. What is the video format, avi? It is supposed to be uncompressed avi that is compatible with MIN1PIPE. |
Dear Jinghao, |
I think you don't need to use python for FFmpeg. You can directly use terminal or command prompt in your OS to do that. Here is a simple command to start with: |
Thank you for your response, Error in data_cat (line 215) Error in min1pipe (line 84) |
Can you try this: ffmpeg -c:v ffv1 -i your_video_full_path.avi -an -c:v rawvideo -pix_fmt gray8 -y your_target_video_full_path.avi |
Thank you very much, it seems to work properly. |
Dera Jinghao,
I first want to thank you for sharing your powerfull pipeline.
I have already use it on V2 miniscope video, but on V4 it doesn't work.
I use the newest Min1pipe 2023 and I get an error message like that:
"Begin data cat
Error using zeros
CLASSNAME input must be a valid numeric or logical class name.
Error in data_cat (line 170)
frame_allt = zeros(pixh, pixw, idbatch(ib + 1) - idbatch(ib), dtype);
Error in min1pipe (line 83)
[m, filename_raw, imaxn, imeanf, pixh, pixw, nf, imx1, imn1] =
data_cat(path_name, file_base{i}, file_fmt{i}, Fsi, Fsi_new, spatialr);"
I suppose that video format is an issue, but I could not understand
Hope you will have an idea
Alexis
The text was updated successfully, but these errors were encountered: