MP4 to MKV conversion results in wrong video duration & playback issues on some devices
OSX 10.10.5
VLC 2.2.2 (64bit)
Early 2011 17” MacBook Pro 2.2GHz, AMD Radeon HD 6750M 1024MB.
Whenever encoding from an.mp4 to a .mkv container with VLC the converted file ends up having an incorrect duration. What is most interesting is that each time I do the file conversion with VLC the FPS and Duration change, it’s not even consistently incorrect. The files also playback inconsistently on different devices. VLC plays it back with a few colour issues in the 1st second or two but plays the video file properly after that and stops playback at the regular time however the shuttle bar at the bottom of the window shows the 2hr+ duration and doesn't shuttle properly. A built-in media player on an LG TV plays the video fine but holds the last frame until the 2hr+ duration has completed. Quicktime Player 7 on my Mac will load the file but video is black and no audio however shuttle bar shows the 2hr+ duration and I can shuttle through it but video remains black and no audio.
Original: H.264, 1280 × 720, Millions AAC, Stereo (L R), 44.100 kHz FPS:29.97 Duration: 0:00:01:03.48
Converted with VLC: AAC, Stereo (L R), 44.100 kHz H.264, 1280 × 720, Millions FPS:30.15 Duration: 0:02:26:18.51
Converted with SmartConverter: AAC, Stereo (L R), 44.100 kHz H.264, 1280 × 720, Millions FPS: 29.97 Duration: 0:00:01:03.46
The process, container and codec formats I am using are as follows: Choose: Convert & Stream Drag & Drop Video File into Open media… droplet Choose Profile> <Customize…>
- Encapsulation: MKV
- Video codec: H.264 (Scale is 1)
- Audio codec: Keep original audio track
Here are the files I used for testing: https://www.dropbox.com/s/7f0zoexbq0mr8kp/MP4%20To%20MKV%20files.zip?dl=0