General > General Technical Chat
Need to create a h.264/or/h.265 video of a giant timer.
BrianHG:
LOL, again about the lipsync...
All configurations, 44.1k or 48k, cbr, vbr, .mp3, .wav on the PC, the audio comes out ahead 1 frame.
On Android, using VLC, all 44.1k audio playback comes out late by 2 frames. Using 48k vbr .mp3, the sound comes out on time.
Android's stock video player, only cbr 44.1k .mp3 has the audio delayed by 2 frames. All other audio formats, even 44.1k vbr .mp3 has the audio coming out on time.
Remember, at 20fps, 2 frames = 0.1 second delay.
I think no one has certified tested 44.1k audio in a video stream. 48k seems to be the industry standard.
mariush:
Containers allow you to specify positive or negative audio delay when mixing, I know for sure MKV container supports it. MP4 should as well.
The encoders add some samples or the decoder adds a delay, mp3 has 1156 samples added at the start .. see http://forum.doom9.org/archive/index.php/t-164363.html
Try command line opus encoder (it's better than aac or mp3) or flac (lossless audio)
You should be able to use Mkvtoolnix or mp4box (or some other mp4 muxer) and specify the delay if needed.
Navigation
[0] Message Index
[*] Previous page
Go to full version