[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-10 Thread morten . with
From: withmorten Signed-off-by: Morten With --- doc/ffmpeg.texi | 4 fftools/ffmpeg.h | 1 + fftools/ffmpeg_opt.c | 9 + 3 files changed, 14 insertions(+) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 3717f22d42..fe635d0e42 100644 --- a/doc/ffmpeg.texi +++ b/doc

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-10 Thread Morten With
...@gmail.com wrote: > > From: withmorten >> >> Signed-off-by: Morten With >> --- >> doc/ffmpeg.texi | 4 >> fftools/ffmpeg.h | 1 + >> fftools/ffmpeg_opt.c | 9 + >> 3 files changed, 14 insertions(+) >> >> diff --git a/do

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-11 Thread Morten With
2018-06-10 22:07 GMT+02:00 Jan Ekström : > > Yes, programmatic things for things like these are often better. That > said, the question regarding sseof can be answered by "the person who > merged this stuff was OK with all the asterisks/caveats around it". > > Think of MPEG-TS, for example. I thin

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-11 Thread Morten With
ised patch? I'm completely new to this. Regards, Morten 2018-06-11 22:23 GMT+02:00 Gyan Doshi : > > > On 12-06-2018 12:48 AM, Morten With wrote: > > commit message to "stop reading"), here is the revised patch attached. >> > > Maybe I missed it, but in the

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: check sseof value and clash with ss

2018-06-28 Thread Morten With
Hi, currently on the -toeof patch, and while working on it I noticed that maybe >av_log(NULL, AV_LOG_WARNING, "-sseof value seeks to before start of file %s; ignored\n", filename); should be an AV_LOG_ERROR and an exit_program(1) afterwards. The warning is very high up and on a file with lots of

[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop reading at position relative to EOF

2018-06-29 Thread morten . with
From: withmorten Fixes ticket #7155: Add option to stop writing at position relative to EOF Signed-off-by: Morten With --- doc/ffmpeg.texi | 6 ++ fftools/ffmpeg.h | 1 + fftools/ffmpeg_opt.c | 31 +++ 3 files changed, 38 insertions(+) diff --git a