When sending iTunes a MP4 file created with the command:
ffmpeg -i Filename.avi -f mp4 -vcodec mpeg4 -acodec libfaac /tmp/filename-manual.m4v
directly (i.e. no transcoding in the script), iTunes will still just hangup the connection (different number of blocks every time!). And mp4creator -optimize gives errors:
mp4creator: no VOSH header found in MPEG-4 video.
This can cause problems with players other than mp4player.
mp4creator: No VO header found in mpeg-4 video.
This can cause problems with players other than mp4player
mp4creator: fatal: No VOL header found in mpeg-4 video stream
(the file will play through SMB with both sound and video though)…