[FFmpeg-devel] [PATCH 1/2] avformat/dv: allow returning damaged audio
Michael Niedermayer
michael at niedermayer.cc
Sat Aug 1 21:24:10 EEST 2020
On Sat, Aug 01, 2020 at 07:28:53PM +0200, Marton Balint wrote:
>
>
> On Sat, 1 Aug 2020, Michael Niedermayer wrote:
>
> > Fixes: Ticket8762
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> > libavformat/dv.c | 49 +++++++++++++++++++++++++++++++++++++++++-------
> > 1 file changed, 42 insertions(+), 7 deletions(-)
>
> If "dv remux loses sync", then the timestamps should be fixed, not
> additional packets should be generated based on previously read packet data
> (which is a fragile approach to begin with, e.g. what if the first frame is
> the corrupt one?).
Ticket8762 is about stream copy, so if no packets are returned for audio
but are for video and just timestamps are updated this would at least on
its own probably not work that well.
about the case of a damaged first frame. Do you have a testcase ?
Thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200801/bb514334/attachment.sig>
More information about the ffmpeg-devel
mailing list