H264 in MP4 container is broken
Tested with vlc-1.0.0-pre2-20090430-2310-win32.7z using the converter GUI.
When encoding to H264 + AAC in a MP4 container the resulting file is not playing at the nominal FPS. In addition it seems that the first two frames are always kind of corrupted, showing green artifacts or a plain grey screen.
Examples:
The first source file is 23.976 FPS progressive (BD rip, original video and audio streams only remuxed but untouched/not re-encoded): ftp://streams.videolan.org/misc/ticket-Lotes/VLC-Baraka-cut.mkv
Of course I have set the encoding FPS to be 23.97 FPS. After encoding the resulting file is playing at ~25.6 FPS:
ftp://streams.videolan.org/misc/ticket-Lotes/VLC-Test-2397p.mp4
MediaInfo reports the FPS as being 23.976 FPS (header)
Avinaptic reports the FPS as being 25.671308 FPS (analyze of the stream)
VLC reports the FPS as being 47.952047 FPS (codecs information window)
The second source file is a DVB-T recording, PAL MPEG2 720*576 16/9 at 25 FPS Interlaced. It has been "cleaned" with PVAStrumento to remove possible reception errors and other errors and to ensure A/V sync. The file itself is playing fine at the nominal 25 FPS or at 50 FPS if a BOB deinterlacing is applied during playback.
I have set the encoding FPS to 25.00 FPS. No deinterlacing has been used (it doesn't work anyway, see ticket #2714 (closed)). After encoding the resulting file is playing at ~33.2 FPS: ftp://streams.videolan.org/misc/ticket-Lotes/VLC-Test-25i.mp4
MediaInfo reports the FPS as being 25.000 FPS (header)
Avinaptic reports the FPS as being 33.100555 FPS (analyze of the stream)
VLC reports the FPS as being 50 FPS (codecs information window)