Page 1 of 1

VLC cuts down my *.mp4!

Posted: 22 Dec 2006 08:47
by marsien
Hello :)

I have a problem with VLC 0.8.6 (but not with VLC 0.8.5 and older) on Windows XP and the same problem with VLC 0.8.5 on Linux (Ubuntu Edgy Eft).

My problem : VLC cuts down my *.mp4 I've made with my camera (Sanyo xacti C5). Orginal size is 640*480 and VLC 0.8.6 on Windows and VLC 0.8.5 on Linux cuts down it at 320*240. I can onlys see the top-left quarter of my videos!

Do you know about this?

Thanks :)

Posted: 22 Dec 2006 09:42
by Teetrinker
Your camera produce mp4 files with wrong information inside the moov box/atom, remux your file with MP4Box ( http://gpac.sf.net )

MP4Box -isma -add oldFile.mp4 output.mp4

Posted: 22 Dec 2006 09:52
by marsien
Thanks :)

I used the transcode feature of VLC and I obtained corrections of informations. Wonderful :lol:

But I don't understand why some other players (like WMP11 or Totem) found good informations in my videos... It was the case of VLC 0.8.5 on Windows too: why only some versions of VLC found wrong informations?

Now, all it's OK, but I must transcode all my videos...

Thanks again

Posted: 22 Dec 2006 10:14
by Teetrinker
But I don't understand why some other players (like WMP11 or Totem) found good informations in my videos...
The Information in your file are allways wrong, but some players don't care for this info.
Now, all it's OK, but I must transcode all my videos...
You don't need to transcode, it should be enough to remux the files with MP4Box.

Posted: 22 Dec 2006 10:24
by marsien
OK, thanks, I'll try it soon :)

Posted: 17 Mar 2007 19:56
by manhack
Thanks, MP4Box works fine !

I've also tried the VLC's "transcode" way (http://wiki.videolan.org/Transcode), but the quality dropped dramatically : the file which weighted orginally 11.1Mo, was transcoded in a 4.4 Mo video : the image was effectively resized in 640x480, but with such a bad quality...

btw, I've also wrote a small script in order to change all of the *.mp4 I have in a repertory with MP4Box :

Code: Select all

#!/bin/bash while [ $# -gt 0 ]; do picture=$1 mp4_file=`echo "$picture" | sed 's/\.\w*$/.mp4/'` MP4Box -isma -add "$picture" 2"$mp4_file" shift done

Re: VLC cuts down my *.mp4!

Posted: 23 Mar 2008 17:45
by icheyne
That script didn't work for me. Has anyone else tried it? It's frustrating that MP4Box can't do this out of the box.