I recently scanned a bunch of photos, and the resulting files are standard JPGs. However, when I use MediaInfo to view them, it’s treating them as videos. For example, I have a 1.86mb JPG file (according to Windows properties), but the MediaInfo hoverover tooltip says:
MediaInfo:
JPEG: 101 MiB
Video: 3524*2353 (3:2), JPEG
And the information within MediaInfo itself says:
General
Complete name: img009.jpg
Format: JPEG
File size: 101 MiB
Video
Format: JPEG
Width: 3524 pixels
Height: 2353 pixels
Display aspect ratio: 3:2
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 8 bits
Compression mode: Lossy
Stream size: 101 MiB (100%)
This only happens with the scanned JPGs, not with other JPGs that I have. Does anyone have any idea why this might be happening, or how I can fix it?
I’m not sure if this is the right place to ask, so I apologize if it’s not.
3 Answers
Introduction
MediaInfo is a free and open-source program that provides technical and tag information about video and audio files. It is widely used by professionals and enthusiasts alike to get detailed information about the media files they are working with. However, some users have reported that MediaInfo is treating their standard JPG files as videos. In this blog post, we will explore why this might be happening and how to fix it.
What is MediaInfo?
MediaInfo is a powerful tool that provides technical information about media files such as video and audio. It can display information about the container format, video and audio codecs, bitrates, resolution, and more. This information can be very useful for professionals working with media files. MediaInfo is available for Windows, Mac, and Linux operating systems and is free to download and use.
Why is MediaInfo Treating JPGs as Videos?
The reason why MediaInfo is treating JPG files as videos is that some scanning software saves scanned images as MJPEG (Motion JPEG) files, which are essentially a series of JPEG images played back at a certain frame rate. MediaInfo recognizes MJPEG files as videos and displays the technical information accordingly. When you scan an image, the software might save it as a MJPEG file by default, which is why you are seeing this behavior in MediaInfo.
How to Fix MediaInfo Treating JPGs as Videos?
To fix this issue, you need to convert the MJPEG files back to standard JPEG files. You can use any image editing software to do this, such as Adobe Photoshop or GIMP. Here are the steps to convert a MJPEG file to a JPEG file using GIMP:
1. Open GIMP and go to File > Open to open the MJPEG file.
2. In the Layers panel, you will see that the file has multiple layers. Right-click on the top layer and select “Flatten Image” to merge all the layers into one.
3. Go to File > Export As to export the file as a JPEG.
4. In the Export Image dialog box, give the file a new name and select “JPEG image” from the dropdown menu.
5. Click “Export” to save the file as a standard JPEG.
Once you have converted the MJPEG file to a standard JPEG, you can check the file in MediaInfo again, and it should display the correct information.
Conclusion
MediaInfo is a great tool for getting detailed information about media files. However, it can sometimes treat standard JPG files as videos if they are saved as MJPEG files by scanning software. To fix this issue, you need to convert the MJPEG files back to standard JPEG files using an image editing software such as GIMP. We hope this blog post has helped you understand why MediaInfo is treating your JPG files as videos and how to fix it.
It looks like MediaInfo is reading the file as a video because it is interpreting the JPEG file as a sequence of images that make up a video. This could be because the JPEG file has been encoded in such a way that it appears to MediaInfo as a video file, rather than a standard image file.
There are a few potential reasons why this might be happening:
- The software you used to scan the photos may have saved them in a format that is not recognized as a standard image file by MediaInfo.
- There may be something wrong with the file itself, such as corruption or an incorrect file header.
- There could be an issue with the version of MediaInfo you are using, or with the way it is interpreting the file.
To fix this issue, you may want to try opening the JPEG file in a different image viewer or editor to see if it is displayed correctly. If it is not, you may need to try repairing the file or obtaining a new copy of it. If the file is displayed correctly in another viewer, the issue may be with MediaInfo itself. In that case, you may want to try using a different version of MediaInfo or a different media analysis tool to see if that resolves the issue.
If you have multiple files with sequential numbers in their file names, MediaInfo may interpret them as a sequence of images, or a video stream. This is a feature that is used by some professional MediaInfo users, and it cannot currently be deactivated in the graphical interface.
For example:
File 1: img001.jpg
File 2: img002.jpg
File 3: img003.jpg
MediaInfo may interpret these files as a video stream.