Hi, I bought a child camera for my daughter, and it can shoot videos in AVI format. It has an SD card on it, so you can easily add videos manually (provided you keep the right numbering), and play them with the camera. I have a problem: I recovered a small 3-minute cartoon in MP4 and when I try to convert it to the same AVI format (Motion Jpeg) as a Video generated by the device, the generated video is unreadable, although support told me that normally there was no problem doing this kind of thing. I've tried hundreds of may to convert with tools like ffmpeg, AviDemux and VLC, but nothing works, although the GSpot software tells me that the generated video has the right Video and Audio Codecs. Could you tell me how you would do it, and with which tools please? Video MP4 source: AVI video generated by the camera: Format genereted by the camera: Code:
--------------------- I like the unicorns. '99 Z3 Coupe - Jet Black/Black (1-of-114) '99 M Coupe - Estoril Blue/Black (1-of-82) '03 540iT - Sterling Gray/Black (1-of-24) '16 Z4 sDrive35i - Estoril Blue/Walnut (1-of-8)
Ok, I've uploaded and shared the 2 movie files using another website (WeTransfer keeps files only during 7 days apparently). The links below has been updated in the initial post. Is it ok now ? Here the main command line i've used to encode the file : Code:
Yes, downloaded fine. MOVI0075.avi is straight decodable here, mediainfo shows MJPEG FHD 30p 8-bit 4:2:0@ 25,5Mbps + PCM 1.0 16 bit @fs 16kHz, nothing odd. Your encode has completely different parameters and is not comparable. Or is it not your encode ? "Les petites princesses du monde.mp4" has wrong codecs/parameters. 399kbps AV1 1280x720x30p 8-bit 4:2:0 + 128kbps LC-AAC 2.0 @ 44,1kHz AV1+AAC can definitely not be decoded by a children's cam, at least not from the past. P.S. I see. Not the encode, it is the source. Please post your encode as well, otherwise we have no comparison. Solution would be a full transcode with audio resampling, should be well possible in ffmpeg in one go, but I would rather decode/encode streams separately...
@ cedico, What is the make and model or the camera. It would be very odd if it only supported just M-JPG video with PCM audio (within the .avi container) as the resulting file sizes are huge!
Using abcAVI to export properties and diffing both .txt files using WinMerge I find some mismatches, maybe junk entries from the cam. number of planes, audio stream scale, audio stream rate... MOVI0075.txt: Code: