-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Hi I encountered the error when loading the raw video and save it in arrays
varr = save_minian( varr.chunk({"frame": chk["frame"], "height": -1, "width": -1}).rename("varr"), intpath, overwrite=True, )
Here is the output in the console:
Input #0, avi, from 'Z:\miniscope.avi': Metadata: software : Lavf55.12.100 Duration: 00:01:05.10, start: 0.000000, bitrate: 11537 kb/s Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 1440x1440 [SAR 1:1 DAR 1:1], 11536 kb/s, 30 fps, 30 tbr, 30 tbn Stream mapping: Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native)) Press [q] to stop, [?] for help Output #0, rawvideo, to 'pipe:': Metadata: software : Lavf55.12.100 encoder : Lavf60.16.100 Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray(pc, progressive), 1440x1440 [SAR 1:1 DAR 1:1], q=2-31, 497664 kb/s, 30 fps, 30 tbn Metadata: encoder : Lavc60.31.102 rawvideo [vost#0:0/rawvideo @ 0000016976296C00] Error submitting a packet to the muxer: Broken pipe2.35x [out#0/rawvideo @ 000001697623D900] Error muxing a packet [out#0/rawvideo @ 000001697623D900] Error writing trailer: Broken pipe [out#0/rawvideo @ 000001697623D900] Error closing file: Broken pipe [out#0/rawvideo @ 000001697623D900] video:2640600kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown frame= 1304 fps= 70 q=-0.0 Lsize= 2639983kB time=00:00:43.80 bitrate=493761.2kbits/s speed=2.34x Conversion failed!
I have had no problem running the same command on another video I took with miniscope software. The video with issue were taken using Bonsai miniscope package. Therefore I suspect that it has something to do with video encoding and/or header. I really appreciate the help. Thank you!