On Fri, 1 May 2020 01:09:17 +0200
"Michael Niedermayer" <mich...@niedermayer.cc> wrote:

> > +    size = FFMIN(trk->data_size - ctx->bytes_read,
> > PP_BNK_MAX_READ_SIZE); +
> > +    if ((ret = av_get_packet(s->pb, pkt, size)) < 0)
> > +        return ret;
> > +
> > +    ctx->bytes_read    += ret;
> > +    pkt->flags         &= ~AV_PKT_FLAG_CORRUPT;
> > +    pkt->stream_index   = ctx->current_track;
> > +    pkt->duration       = ret * 2;  
> 
> With this each stream would be returned completely before the next
> such non interleaved output is a bit odd.
> 

Yep, it's an odd format.  Some files are meant to be stereo, but I
can't present them as such. I have to present them as separate mono
streams and merge them with a filter.

> also where can i find such a file ?
> 

Here's a file I trimmed for FATE:

https://0x0.st/ie7O.11c


> thx
> 
> [...]
> --
> Michael     GnuPG fingerprint:
> 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> There will always be a question for which you do not know the correct
> answer. _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to