Re: [FFmpeg-devel] [PATCH v2 7/7] avformat/audiointerleave: use a fixed frame duration for non-audio packets

2020-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2020 at 10:21:33AM +0100, Marton Balint wrote: > > > On Sat, 7 Mar 2020, Michael Niedermayer wrote: > > >On Thu, Mar 05, 2020 at 10:56:28PM +0100, Marton Balint wrote: > >>The packet durations might not be set properly which can cause the MXF muxer > >>to write more than one

Re: [FFmpeg-devel] [PATCH v2 7/7] avformat/audiointerleave: use a fixed frame duration for non-audio packets

2020-03-07 Thread Marton Balint
On Sat, 7 Mar 2020, Michael Niedermayer wrote: On Thu, Mar 05, 2020 at 10:56:28PM +0100, Marton Balint wrote: The packet durations might not be set properly which can cause the MXF muxer to write more than one packet of a stream to an edit unit messing up the constant byte per element

Re: [FFmpeg-devel] [PATCH v2 7/7] avformat/audiointerleave: use a fixed frame duration for non-audio packets

2020-03-06 Thread Michael Niedermayer
On Thu, Mar 05, 2020 at 10:56:28PM +0100, Marton Balint wrote: > The packet durations might not be set properly which can cause the MXF muxer > to write more than one packet of a stream to an edit unit messing up the > constant byte per element index... > > Also use nb_samples directly to

Re: [FFmpeg-devel] [PATCH v2 7/7] avformat/audiointerleave: use a fixed frame duration for non-audio packets

2020-03-06 Thread Marton Balint
On Fri, 6 Mar 2020, Andreas Rheinhardt wrote: Marton Balint: The packet durations might not be set properly which can cause the MXF muxer to write more than one packet of a stream to an edit unit messing up the constant byte per element index... Also use nb_samples directly to calculate dts

Re: [FFmpeg-devel] [PATCH v2 7/7] avformat/audiointerleave: use a fixed frame duration for non-audio packets

2020-03-05 Thread Andreas Rheinhardt
Marton Balint: > The packet durations might not be set properly which can cause the MXF muxer > to write more than one packet of a stream to an edit unit messing up the > constant byte per element index... > > Also use nb_samples directly to calculate dts of audio packets because adding > packet

[FFmpeg-devel] [PATCH v2 7/7] avformat/audiointerleave: use a fixed frame duration for non-audio packets

2020-03-05 Thread Marton Balint
The packet durations might not be set properly which can cause the MXF muxer to write more than one packet of a stream to an edit unit messing up the constant byte per element index... Also use nb_samples directly to calculate dts of audio packets because adding packet durations might not be