convert .avi video file to .mha - converters

For a research project I collected videos of the microcirculation in patients. For automatic analysis of these videos I need to convert the .avi files to a .mha file format.
I am not sure if this is even possible. But if anyone could help?
Thank you in advance.
I am not at home with these kinds of files. What I tried so far: Converting the .avi file to .png files and then using 3DSlicer software to convert the .png file to .mha. However would potentially create hundreds of separate .mha files for one .avi file.

Related

Dump individual segment links of m3u8 file from FFFPEG/FFPROBE?

I am working on android app, in which i need to read individual segments of remote M3U8 file and downlnlad each segment locally and create local m3u8 file. For thati want to parse m3u8 file and get download links for each segment. I saw that FFMPEG can eaisly download m3u8 file, and while downloading it prints each segment url.
I want to print ts file links in json format, and then dump thaose links to my download manager.
Please help.
I tried all answers from stackoverflow/google but did not find any thing working

How to automate copying bulk pdf files from one Share point folder to another in Windows

I wonder if someone has ideas to my case.
I have a list of >200 pdf file names of documents that are saved in a share point folder and I need to copy them to another share point folder. I have looked at video clips of how to use Power Automate to copy/move files, which is very good when the file data type is used as the criteria for selecting the files. However, my list is in word and want to find a way of reading the file names, search them in the source folder and copy to the destination folder.
Any ideas?
You may consider to share the link to the 2nd SharePoint folder inside the 1st SharePoint folder to avoid copying at all?
That been said, you can load your word file into a list in Power Automate and then loop through the list (assuming your word doc has the complete path & filename line by line)
Some references:
https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/extract-text-word-document
https://learn.microsoft.com/en-us/power-automate/desktop-flows/use-loops
The rest should be as in the video clips.

Attach the extracted metadata to original file

I have some files from which i removed the metadata and extracted it in YML file using exiftool. Now i want to attach those files again to same files. I tried EXIV2 but its not working. Is there any tool or specific command to make it work. Thanks in advance.
I've seen a few YML to JSON converters online. If it's only a few files, then you could convert the YML files to JSON, and then then import the data with
ExifTool -Json=/path/to/JSON_File /path/to/target/file
Though I now see that you have a video tag on this and ExifTool only has limited support for video files.

encrypting video essence using ffmpeg files

I want to create a encrypted mxf file using ffmpeg.
can any one tell me how to encrypt an avi/mpeg file using ffmpeg and save it to mxf format.
What is your use case?
I don't know if ffmpeg can do what you need but there are some MXF tools that can help, here are some links that might help you:
Have a look at mxfcrypt from mxflib project at http://sourceforge.net/projects/mxflib/
Or if your use case is DCP related http://www.cinecert.com/asdcplib/
Regards,
Matt

How to play .ogg files using xcode

I want to play 3 different file formats .mp3, .wav, .ogg. I used AVAudioPlayer and managed to play mp3 and wav files but it isn't playing .ogg files. How to add .ogg support for my Xcode project.
AFAIR, it's not directly supported by the frameworks, but the format/standard is open, and multiple open readers exist. It's a container so... you decide the level of support you need.

Resources