[FFmpeg-user] why are my streams not aligned?

gordon wgordonw1 at gmail.com
Mon Nov 18 19:47:50 EET 2019

On Mon, Nov 18, 2019 at 12:37 PM Ted Park <kumowoon1025 at gmail.com> wrote:

> The target duration randomly being changed to 7 is weird, but why are you
> doing this at all? Can’t you just do a simple encoding to a ts file for the
> video first with the right gop settings then have that be the reference for
> creating the hls playlist? Or even just create the ts file from both video
> and audio and prepare it for hls? Because how do you know they were synched
> to a common clock in the first place...
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

I am not sure what you mean?  I thought I was doing a simple encoding:

-  One input video only, one output for video.
- One audio input plus a finalized video input for the audio output.

Map is used to end up with a video only stream and an audio only stream.

I am only including the copied video because I was under the impression
that it was required to properly segment the audio file.  It is omitted
from the final output on the audio only stream.

More information about the ffmpeg-user mailing list