Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 10:59:58AM +, Paul B Mahol wrote: > Dana 11. 7. 2015. 03:16 osoba "Ronald S. Bultje" > napisala je: > > > > --- > > libavformat/yuv4mpeg.h | 1 + > > libavformat/yuv4mpegdec.c| 26 +++ > > tests/ref/seek/lavf-yuv4mpeg | 78 > +

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-07-11 Thread Paul B Mahol
Dana 11. 7. 2015. 03:16 osoba "Ronald S. Bultje" napisala je: > > --- > libavformat/yuv4mpeg.h | 1 + > libavformat/yuv4mpegdec.c| 26 +++ > tests/ref/seek/lavf-yuv4mpeg | 78 +--- > 3 files changed, 72 insertions(+), 33 deletions(-)

[FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-07-10 Thread Ronald S. Bultje
--- libavformat/yuv4mpeg.h | 1 + libavformat/yuv4mpegdec.c| 26 +++ tests/ref/seek/lavf-yuv4mpeg | 78 +--- 3 files changed, 72 insertions(+), 33 deletions(-) diff --git a/libavformat/yuv4mpeg.h b/libavformat/yuv4mpeg.h index 750f498

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-22 Thread wm4
On Mon, 22 Jun 2015 07:52:21 -0400 "Ronald S. Bultje" wrote: > Hi, > > On Mon, Jun 22, 2015 at 6:24 AM, wm4 wrote: > > > On Mon, 22 Jun 2015 11:23:55 +0200 > > Hendrik Leppkes wrote: > > > > > On Mon, Jun 22, 2015 at 11:02 AM, wm4 wrote: > > > > On Sun, 21 Jun 2015 18:34:33 -0400 > > > > "Ro

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-22 Thread Nicolas George
Le quartidi 4 messidor, an CCXXIII, Carl Eugen Hoyos a écrit : > > Why don't we do that once we start seeing files with > > frame-headers other than empty "FRAME\n" in the wild? > +1 Me2. And do not forget that, technically, 0x46 0x52 0x41 0x4d 0x45 0x0a can very well appear in the frame data; w

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-22 Thread Carl Eugen Hoyos
Ronald S. Bultje gmail.com> writes: > Why don't we do that once we start seeing files with > frame-headers other than empty "FRAME\n" in the wild? +1 Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-22 Thread Ronald S. Bultje
Hi, On Mon, Jun 22, 2015 at 6:24 AM, wm4 wrote: > On Mon, 22 Jun 2015 11:23:55 +0200 > Hendrik Leppkes wrote: > > > On Mon, Jun 22, 2015 at 11:02 AM, wm4 wrote: > > > On Sun, 21 Jun 2015 18:34:33 -0400 > > > "Ronald S. Bultje" wrote: > > > > > >> Hi, > > >> > > >> On Sun, Jun 21, 2015 at 5:17

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-22 Thread wm4
On Mon, 22 Jun 2015 11:23:55 +0200 Hendrik Leppkes wrote: > On Mon, Jun 22, 2015 at 11:02 AM, wm4 wrote: > > On Sun, 21 Jun 2015 18:34:33 -0400 > > "Ronald S. Bultje" wrote: > > > >> Hi, > >> > >> On Sun, Jun 21, 2015 at 5:17 PM, Hendrik Leppkes > >> wrote: > >> > >> > On Sun, Jun 21, 2015 at

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-22 Thread Hendrik Leppkes
On Mon, Jun 22, 2015 at 11:02 AM, wm4 wrote: > On Sun, 21 Jun 2015 18:34:33 -0400 > "Ronald S. Bultje" wrote: > >> Hi, >> >> On Sun, Jun 21, 2015 at 5:17 PM, Hendrik Leppkes >> wrote: >> >> > On Sun, Jun 21, 2015 at 10:41 PM, Ronald S. Bultje >> > wrote: >> > > --- >> > > libavformat/yuv4mpeg.

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-22 Thread wm4
On Sun, 21 Jun 2015 18:34:33 -0400 "Ronald S. Bultje" wrote: > Hi, > > On Sun, Jun 21, 2015 at 5:17 PM, Hendrik Leppkes > wrote: > > > On Sun, Jun 21, 2015 at 10:41 PM, Ronald S. Bultje > > wrote: > > > --- > > > libavformat/yuv4mpeg.h| 1 + > > > libavformat/yuv4mpegdec.c | 26

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-21 Thread Michael Niedermayer
On Sun, Jun 21, 2015 at 04:41:23PM -0400, Ronald S. Bultje wrote: > --- > libavformat/yuv4mpeg.h| 1 + > libavformat/yuv4mpegdec.c | 26 +++--- > 2 files changed, 20 insertions(+), 7 deletions(-) this needs to update the reference checksum for fate-seek-lavf-yuv4mpeg assu

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-21 Thread Ronald S. Bultje
Hi, On Sun, Jun 21, 2015 at 5:17 PM, Hendrik Leppkes wrote: > On Sun, Jun 21, 2015 at 10:41 PM, Ronald S. Bultje > wrote: > > --- > > libavformat/yuv4mpeg.h| 1 + > > libavformat/yuv4mpegdec.c | 26 +++--- > > 2 files changed, 20 insertions(+), 7 deletions(-) > > > > W

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-21 Thread Hendrik Leppkes
On Sun, Jun 21, 2015 at 10:41 PM, Ronald S. Bultje wrote: > --- > libavformat/yuv4mpeg.h| 1 + > libavformat/yuv4mpegdec.c | 26 +++--- > 2 files changed, 20 insertions(+), 7 deletions(-) > What happens if a seek does not end up on a perfect frame boundary? Wouldn't that

[FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-06-21 Thread Ronald S. Bultje
--- libavformat/yuv4mpeg.h| 1 + libavformat/yuv4mpegdec.c | 26 +++--- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/libavformat/yuv4mpeg.h b/libavformat/yuv4mpeg.h index 750f498..eba7337 100644 --- a/libavformat/yuv4mpeg.h +++ b/libavformat/yuv4mpeg.h @