MP4 to AVI conversion incompatible (playback problem with camera) >>
FORUM for IT

FORUM for IT



SearchSearch   Users   Registration   Entrance
Today: 08.09.2025 - 19:11:50
Pages:  1  

MP4 to AVI conversion incompatible (playback problem with camera)

AuthorMessage

JoshS

user




Statistics:
Messages: 4,154
Registration: 02.03.2003

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)
Message # 1 08.10.24 - 09:00:56
RE: MP4 to AVI conversion incompatible (playback problem with camera)

Bimmerhead

user




Statistics:
Messages: 2,783
Registration: 04.08.2001

Your Dropbox links want people to "sign up" for their service, which I don't want to do!

---------------------
Simeon
Message # 2 08.10.24 - 09:04:37
RE: MP4 to AVI conversion incompatible (playback problem with camera)

Marvelphx

user




Statistics:
Messages: 183
Registration: 09.06.2002

Oh sorry, I thought Dropbox allowed you to download anonymously... Anyway, I've changed the links. Is it ok now ?

---------------------
Message # 3 08.10.24 - 09:09:09
RE: MP4 to AVI conversion incompatible (playback problem with camera)

BimmerXTC

user




Statistics:
Messages: 152
Registration: 02.26.2001

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:

---------------------
Buy my '02 325 Ci sport
Message # 4 08.10.24 - 09:14:38
RE: MP4 to AVI conversion incompatible (playback problem with camera)

Arbeitstier

user




Statistics:
Messages: 423
Registration: 06.29.2001

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...

---------------------
Message # 5 08.10.24 - 09:22:18
RE: MP4 to AVI conversion incompatible (playback problem with camera)

fastfly

user




Statistics:
Messages: 648
Registration: 09.01.2003

A simple guess is the optimized huffman table default in FFmpeg. Use -huffman 0 to disable it. (The bitrate will be even more bloated, of course)

---------------------
Message # 6 08.10.24 - 09:27:03
RE: MP4 to AVI conversion incompatible (playback problem with camera)

acastillo

user




Statistics:
Messages: 14
Registration: 07.15.2003

Can you remux the recorded file with FFmpeg and see if it works? That way we can probably isolate the issue being muxer related or not.

---------------------
Message # 7 08.10.24 - 09:37:17
RE: MP4 to AVI conversion incompatible (playback problem with camera)

umnitza

user




Statistics:
Messages: 20,119
Registration: 02.26.2001

@ 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!

---------------------
Message # 8 08.10.24 - 09:41:16
RE: MP4 to AVI conversion incompatible (playback problem with camera)

fastfly

user




Statistics:
Messages: 648
Registration: 09.01.2003

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:

---------------------
Message # 9 08.10.24 - 09:46:58
RE: MP4 to AVI conversion incompatible (playback problem with camera)

MikeV

user




Statistics:
Messages: 643
Registration: 04.10.2003

You would hexedit your way through until the file is accepted by your babycam. I gave 3 hints, you have the babycam to check your results, not me.

---------------------
Mercruiser 350/Bravo III
Message # 10 08.10.24 - 09:54:26
RE: MP4 to AVI conversion incompatible (playback problem with camera)
OS 9.1 Restart Glitch : Previous topic
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants