Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE

This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Merge and sync audio/video from different sources

Discussions about problems encountered using ffserver.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Merge and sync audio/video from different sources

Postby burek » Tue May 10, 2011 1:21 pm


The problem is the following. One source (IP camera) is producing a video stream (h.264/mp4). Another source (linux machine with sound card) is producing audio stream (AAC/mp4). Is it possible to merge these two sources into a new stream/file, using ffmpeg, and to synchronize audio with video (using timestamps inside each stream).

Time on both sources (IP camera and linux machine) is correctly synchronized, using the same (local) NTP time server, so both streams should have accurate timestamps. The goal is just to tell FFmpeg somehow to use those timestamps to sync the audio stream with the video stream.

Thanks for any comments.
Posts: 864
Joined: Mon May 09, 2011 10:16 pm
Location: Serbia

Return to ffserver

Who is online

Users browsing this forum: Google [Bot] and 2 guests