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

2019-11-18 Thread gordon
On Mon, Nov 18, 2019 at 1:08 PM Ted Park wrote: > > > 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. > Yes, but you have separate (raw) input

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

2019-11-18 Thread Ted Park
> 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. Yes, but you have separate (raw) input sources. I think by alignment you are referring to the

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

2019-11-18 Thread gordon
On Mon, Nov 18, 2019 at 12:37 PM Ted Park 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

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

2019-11-18 Thread Ted Park
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

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

2019-11-18 Thread gordon
On Mon, Nov 18, 2019 at 10:54 AM Dennis Mungai wrote: > On Mon, 18 Nov 2019, 18:44 Dennis Mungai, wrote: > > > > > > > On Mon, 18 Nov 2019, 18:38 gordon, wrote: > > > >> Okay, thank you. I will give that a go. > >> > >> -- aside -- > >> > >> I thought that the "-force_key_frames

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

2019-11-18 Thread gordon
On Mon, Nov 18, 2019 at 10:37 AM gordon wrote: > Okay, thank you. I will give that a go. > > -- aside -- > > I thought that the "-force_key_frames expr:gte(t,n_forced*2)" was placing > the key frames for segment boundaries and still allowing the encoder to > place other keyframes where they

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

2019-11-18 Thread Dennis Mungai
On Mon, 18 Nov 2019, 18:38 gordon, wrote: > Okay, thank you. I will give that a go. > > -- aside -- > > I thought that the "-force_key_frames expr:gte(t,n_forced*2)" was placing > the key frames for segment boundaries and still allowing the encoder to > place other keyframes where they wanted?

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

2019-11-18 Thread gordon
Okay, thank you. I will give that a go. -- aside -- I thought that the "-force_key_frames expr:gte(t,n_forced*2)" was placing the key frames for segment boundaries and still allowing the encoder to place other keyframes where they wanted? I am trying to use h264, h265, and vp9 so I figured the

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

2019-11-18 Thread Dennis Mungai
On Mon, 18 Nov 2019 at 17:31, gordon wrote: > Why are the segments for my stream not aligned? The first command outputs > video segment. The second command outputs an audio segment with the > previous video output copied in. > > Ffmpeg commands are pasted below with the m3u8 outputs. The same

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

2019-11-18 Thread gordon
Why are the segments for my stream not aligned? The first command outputs video segment. The second command outputs an audio segment with the previous video output copied in. Ffmpeg commands are pasted below with the m3u8 outputs. The same results were observed on ffmpeg 4.2.1 and snapshot