Post Tue Jan 01, 2013 10:35 pm

Can't read custom MPEG-4 file

Hello,
I can't read an MPEG-4 file which I've encoded myself for my iPhone.
Maybe it's a problem when i've encoded it but it works on iphone when I copy it.
Here is the detail of the file (there is no audio) :
  Code:
Général
Nom complet                              : camera.mp4
Format                                   : MPEG-4
Profil du format                         : Base Media
Identifiant du codec                     : isom
Taille du fichier                        : 10,3 Mio
Durée                                    : 2mn 48s
Débit global moyen                       : 513 Kbps
Application utilisée                     : Lavf53.21.0

Vidéo
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Profil du format                         : High@L3.0
Paramètres du format, CABAC              : Non
Paramètres du format, RefFrames          : 6 images
Identifiant du codec                     : avc1
Identifiant du codec/Info                : Advanced Video Coding
Durée                                    : 2mn 48s
Débit                                    : 511 Kbps
Largeur                                  : 464 pixels
Hauteur                                  : 352 pixels
Format à l'écran                         : 4/3
Format à l'écran d'origine               : 4/3
Type d'images/s                          : Constant
Images par seconde                       : 36,000 Im/s
Espace de couleurs                       : YUV
Sous-échantillonnage de la chrominance   : 4:2:0
Profondeur des couleurs                  : 8 bits
Type de balayage                         : Progressif
Bits/(Pixel*Image)                       : 0.087
Taille du flux                           : 10,3 Mio (100%)


I've tried different transcoding but nothing works.
I'm able to read other mp4 that I haven't encode myself.

Here is the command line I've used to create my .mp4 file, I can change it but Idon't know whate I must change to get it to works on iPhone and on Serviio :

  Code:
mencoder  mf://@/tmp/alarmvideos/cameras-sorted.list -mf w=640:h=480:fps=36:type=jpg -o /tmp/alarmvideos/camera.mp4 \
  -vf dsize=480:352:2,scale=-8:-8,harddup \
  -oac faac -faacopts mpeg=4:object=2:raw:br=128 \
  -of lavf -lavfopts format=mp4 -ovc x264 -sws 9 \
  -x264encopts nocabac:level_idc=30:bframes=0:bitrate=512:threads=auto:turbo=1:global_header:threads=auto:subq=5:frameref=6:partitions=all:trellis=1:c$



Thanks for your help