Re: [FFmpeg-devel] [PATCH] ffmpeg: switch to avformat_seek_file for stream_loop

2019-09-05 Thread Gyan
On 05-09-2019 10:50 PM, Michael Niedermayer wrote: On Wed, Sep 04, 2019 at 03:47:50PM +0530, Gyan wrote: On 02-09-2019 09:24 PM, Michael Niedermayer wrote: On Sat, Aug 31, 2019 at 08:28:51PM +0530, Gyan wrote: A user observed that stream_loop didn't work with very short FLV files. seek_to_s

Re: [FFmpeg-devel] [PATCH] ffmpeg: switch to avformat_seek_file for stream_loop

2019-09-05 Thread Michael Niedermayer
On Wed, Sep 04, 2019 at 03:47:50PM +0530, Gyan wrote: > > > On 02-09-2019 09:24 PM, Michael Niedermayer wrote: > >On Sat, Aug 31, 2019 at 08:28:51PM +0530, Gyan wrote: > >>A user observed that stream_loop didn't work with very short FLV files. > >>seek_to_start in ffmpeg.c calls av_seek_frame wit

Re: [FFmpeg-devel] [PATCH] ffmpeg: switch to avformat_seek_file for stream_loop

2019-09-04 Thread Gyan
On 04-09-2019 03:47 PM, Gyan wrote: On 02-09-2019 09:24 PM, Michael Niedermayer wrote: On Sat, Aug 31, 2019 at 08:28:51PM +0530, Gyan wrote: A user observed that stream_loop didn't work with very short FLV files. seek_to_start in ffmpeg.c calls av_seek_frame with no flags; FLV seek only w

Re: [FFmpeg-devel] [PATCH] ffmpeg: switch to avformat_seek_file for stream_loop

2019-09-04 Thread Gyan
On 02-09-2019 09:24 PM, Michael Niedermayer wrote: On Sat, Aug 31, 2019 at 08:28:51PM +0530, Gyan wrote: A user observed that stream_loop didn't work with very short FLV files. seek_to_start in ffmpeg.c calls av_seek_frame with no flags; FLV seek only works with RTMP protocol so lavf falls bac

Re: [FFmpeg-devel] [PATCH] ffmpeg: switch to avformat_seek_file for stream_loop

2019-09-02 Thread Michael Niedermayer
On Sat, Aug 31, 2019 at 08:28:51PM +0530, Gyan wrote: > A user observed that stream_loop didn't work with very short FLV files. > seek_to_start in ffmpeg.c calls av_seek_frame with no flags; FLV seek only > works with RTMP protocol so lavf falls back on seek_frame_generic which > searches forward,