I bought my wife a trail camera for her birthday. In the last week, we captured 21 video files. I have a Juiced adapter with various input possibilities. We plugged it into her laptop, and inserted the memory card into it. We can find the USB drive and the media (.avi) files, but when we try try to play them (Windows Media Player), there is an error that says the file type is not supported. When I plug the device into my MacBook Pro, they play just fine.
Why aren’t the files playing on the Windows machine, while they do on my Mac?
Still, it’s surprising there’s a problem to begin with. I’d copy one of the files to a local drive on the Win pc to make sure it isn’t a problem reading off the cam.
Windows media player probably does not have the correct codec installed. Videos are a complicated mix of file type, container, and codec (both video and audio). Your player has to support all of them to properly play the video. A video ending in .avi just tells you its name, and not any of the other information.
VLC or similar is probably the best answer, but you may also be able to install one of these codec packs to solve the problem.
I have been instructed to delete all of the files. We’ll try again next week, after figure out how to turn the infrared camera on. All we got (which we watched on the Mac) were raccoons, cats, and squirrels. (I actually copied them into a new folder on my desktop before deleting them from the card.)
Instructed to delete all the files by who? There’s no problem with the files, you’re probably just on an older version of Windows without the right codecs. The same thing will happen if you play it on an old enough Mac. It just so happens that Apple is typically more aggressive about using & including newer video codecs and adding support for common Windows ones, while the reverse isn’t true (i.e. Windows will often have trouble with newer Apple videos and photos, unless you frequently update it and add the codecs.) Eventually newer codecs will trickle down to third-party devices and cameras too, and older operating systems (of all sorts) will struggle with them.
It’s fine, it’s a totally normal thing. Just use VLC like they said or update your Windows and add the codecs. But VLC is a lot easier
.AVI files aren’t really a specific filetype; they are a family of “containers” that share an extension that tells you there’s a video inside, but what’s actually inside determines whether a certain program can play it. Older versions of Windows and Windows Media Player don’t have newer codecs. VLC includes a bunch of them and can play back just about anything.
You might also just be able to drag the video into Chrome and play it there.
If you really want to, there are tools like ffmpeg that can help you identify specifically what is inside the .AVI file if you absolutely must know which codec is causing the issue for you (probably h265 or h264), but it doesn’t matter, the solution is still the same… use VLC or update.
Five bucks says it’s a JPEG/MJPG inside the .avi, which Windows doesn’t read by default. There’s installable codec packs that will enable it, but the better answer is to use a less lame camera to shoot those movies.
JPEG in .avi files is a really old old old problem. Everyone uses .mp4 embedding H.264 these days.
I mean, who the hell generates .avi these days? That’s an abandoned standard.
Another strong recommendation for VLC. Windows Media Player has always been awful with very limited capabilities. One of the big strengths of VLC is that all of the necessary codecs are integrated.
I have no idea what this “deleting all your files” is supposed to be about, but please don’t. Download VLC (it’s free). If you happen not to like the current one (some folks prefer older versions) you can go to the archive and find a vast assortment of previous versions.
Pretty confused by all this Are you saying these were just test recordings and the SO made you delete them because they’re boring? And you’re going to try again next week (when hopefully the night vision mode will record more interesting creatures…)? Is that what you meant? That’s fine, but the codec situation would still be the same.
If you meant something else, sorry, I’m totally lost lol…
In the SDMB tradition of strangers stepping in to defend others…
It kind of makes sense for a trail camera to use AVI containers with an MJPEG codec. MJPEG compresses each frame separately and I suspect that many people who use trail cameras just want good single frame images. MJPEG is kind of a mid-point between those who want single images and those who want video. The advantages of MP4/H.264 aren’t helpful if you want to use MJPEG. An AVI container works just fine and has certain advantages.