Converting Mp4 to 8-bit greyscale


#1

I need to use the wrmtrck plugin on ImageJ, but whenever I try to use it on my mp4 videos an error pops up saying my video must be 8-bit greyscale. I’ve tried converting it by going image->type->8-bit but it won’t convert it unless it is stacked. Any ideas on how to convert it?


#2

I think you have to convert the *.mp4 to an readable ImageJ format, see here:

Then you can convert the image stack to 8-bit


#3

I tried using the Icy converter mentioned in one of the links you attached but it does not work properly on my mac…
The second link did not work, could you resend it?
Are you saying that I need to convert my file to a different kind so ImageJ will accept it? If so what are the best formats to use?


#4

Try the ffmpeg recipe from this link which also mentions the right import format (second answer):

http://imagej.1557.x6.nabble.com/Importing-avi-td5000582.html

FFMPEG:

https://ffmpeg.org/download.html

Here you find the *.avi reader description:

https://imagej.nih.gov/ij/plugins/avi-reader.html

Are you saying that I need to convert my file to a different kind so ImageJ will accept it? If so what are the best formats to use?

Yes, see description above.

The plugin also recommends the use of the Quicktime plugin (but I don’t know if that still works), see documentation:

http://www.phage.dk/plugins/wrmtrck.html

https://imagej.nih.gov/ij/plugins/movie-opener.html


#5

Thanks!
Is there a way to convert RGB to 8-bit greyscale as well?


#6

Just change the type in the menu: Image->Type->8-bit

See: https://imagej.net/docs/guide/146-28.html#sub:Type


#7

I tried that but it doesn’t work. It just gives me a list of supported conversions.


#8

Excuse me to bother you sir. It seems that you know quite a lot about MP4 playback right? I have a MP4 output question and would you mind my asking here and I really need an answer now? Recently I download a software as you can see “http://www.videoconverterfactory.com/tips/repair-mp4-file.html” (I hope you can help me check it when it’s at your convenience) to repair one of my damaged MP4 file. The file did not contain audio output so I tried fixing it by converting it to another format. The conversion was successful and there was audio output again. However, I didn’t know why after conversion, the video size was much bigger, did you ever meet such a kind of problem?


#9

You might trying something like this:

Download:

https://www.ffmpeg.org/download.html

Here another recipe: