Re: [FFmpeg-devel] [PATCH] avformat/dv: allow returning damaged audio

2020-10-31 Thread Marton Balint
On Sat, 31 Oct 2020, Carl Eugen Hoyos wrote: Am Do., 29. Okt. 2020 um 22:59 Uhr schrieb Michael Niedermayer : +static const AVOption dv_options[] = { +{ "dvaudio_concealment", "", OFFSET(dvaudio_concealment), AV_OPT_TYPE_INT , {.i64 = AUDIO_CONCEAL_DROP}, 0, INT_MAX, DEC, "dvaudio_conc

Re: [FFmpeg-devel] [PATCH] avformat/dv: allow returning damaged audio

2020-10-31 Thread Marton Balint
On Thu, 29 Oct 2020, Michael Niedermayer wrote: These potentially damaged packets are marked as corrupt. The packet length is predicted based on packet length history, allowing prediction of the common pattern used in NTSC. Fixes: Ticket8762 Sync loss is because of invalid timestamps, this

Re: [FFmpeg-devel] [PATCH] avformat/dv: allow returning damaged audio

2020-10-31 Thread Carl Eugen Hoyos
Am Do., 29. Okt. 2020 um 22:59 Uhr schrieb Michael Niedermayer : > +static const AVOption dv_options[] = { > +{ "dvaudio_concealment", "", OFFSET(dvaudio_concealment), > AV_OPT_TYPE_INT , {.i64 = AUDIO_CONCEAL_DROP}, 0, INT_MAX, DEC, > "dvaudio_concealment"}, > +{ "drop",

[FFmpeg-devel] [PATCH] avformat/dv: allow returning damaged audio

2020-10-29 Thread Michael Niedermayer
These potentially damaged packets are marked as corrupt. The packet length is predicted based on packet length history, allowing prediction of the common pattern used in NTSC. Fixes: Ticket8762 Tested-by: Dave Rice Signed-off-by: Michael Niedermayer --- libavformat/dv.c | 60 +++