Hi,
We currently are encountering the following problem, explained by example:
$ ffprobe test.mov
[...]
Duration: 00:39:20.20, start: -1.661066, bitrate: 4934 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 130 kb/s (default)
Metadata:
creation_time : 2014-09-22 14:03:35
handler_name : Core Media Data Handler
Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 702x576, 4727 kb/s, SAR 59:54 DAR 767:576, 24.99 fps, 25 tbr, 25k tbn, 50 tbc (default)
Metadata:
creation_time : 2014-09-22 14:03:35
handler_name : Core Media Data Handler
The interesting point if the start offset mentioned in the first line ("start: -1.661066"). If I understand correctly, this means that a player shall begin playback at time position 1.661066 (instead of the beginning of the video file) - at least, this seems to be the behaviour.
When we transcode this file, e.g. by $ ffmpeg -i test.mov test.mp4, we get the following ffprobe output:
Duration: 00:39:22.72, start: 0.023220, bitrate: 2206 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 702x576 [SAR 59:54 DAR 767:576], 2073 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
So the duration of the video is now longer (39:20:20 vs 39.22:72).
The problem: When having both a presenter and presentation track with different values for "start", the videos are not in sync anymore after being transcoded.
We are currently investigating this problem.
Has anyone seen or even solved this?
Best,
Sven