Re: [FFmpeg-devel] [PATCH] mxfdec.c: prefer metadata from Footer

2021-06-27 Thread Marton Balint
On Sat, 26 Jun 2021, emcodem wrote: In case there is a Footer, regarding to SMPTE 377 all versions, the metadata in Footer shall be correct (where in Header it can be incomplete).. If there is no footer (stream, truncated...) it will still work as usual. Tested with a huge set of files and c

Re: [FFmpeg-devel] [PATCH] mxfdec.c: prefer metadata from Footer

2021-06-27 Thread Tomas Härdin
sön 2021-06-27 klockan 12:03 +0200 skrev Marton Balint: > > On Sat, 26 Jun 2021, emcodem wrote: > > > In case there is a Footer, regarding to SMPTE 377 all versions, the > > metadata in Footer shall be correct (where in Header it can be incomplete).. > > If there is no footer (stream, truncated.

Re: [FFmpeg-devel] Unable to use sqrt() and exp() in CUDA

2021-06-27 Thread Timo Rothenpieler
On 27.06.2021 18:42, Dylan Fernando wrote: Yeah, I was using enable-cuda-llvm. I haven't been including cuda.h in my cuda file. Could it be from the include in hwcontext_cuda.h possibly? I was using: Are you including hwcontext_cuda.h in your Kernel Code? That's a C side file. You shouldn't re

Re: [FFmpeg-devel] [PATCH] avcodec/h264_metadata_bsf: Allow zeroing constraint_set4_flag and constraint_set5_flag

2021-06-27 Thread Derek Buitenhuis
On 6/24/2021 2:21 PM, Derek Buitenhuis wrote: > I'll wait a bit and see if he has any. Ping. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpe

[FFmpeg-devel] [PATCH] avcodec/mjpegdec: Adjustable discard threshold

2021-06-27 Thread Michael Niedermayer
Fixes regression Fixes: last frame of Ticket9287 Analysed-by: Andriy Gelman Signed-off-by: Michael Niedermayer --- libavcodec/mjpegdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 02a987fd0c..fbc94c46d7 100644 --- a/lib

Re: [FFmpeg-devel] [PATCH] avcodec/mjpegdec: Adjustable discard threshold

2021-06-27 Thread Andriy Gelman
On Sun, 27. Jun 15:53, Michael Niedermayer wrote: > Fixes regression > Fixes: last frame of Ticket9287 > > Analysed-by: Andriy Gelman > Signed-off-by: Michael Niedermayer > --- > libavcodec/mjpegdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/mjpegdec.c

Re: [FFmpeg-devel] Hardware purchase request

2021-06-27 Thread Kieran Kunhya
> > I'm thinking of getting a: > LG UltraGear 27GN950-B > Can I ask why you need a ~£1000 monitor? What does it do that others can't? Regards, Kieran Kunhya ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ff

Re: [FFmpeg-devel] [PATCH] mxfdec.c: prefer metadata from Footer

2021-06-27 Thread Marton Balint
On Sun, 27 Jun 2021, Tomas Härdin wrote: sön 2021-06-27 klockan 12:03 +0200 skrev Marton Balint: On Sat, 26 Jun 2021, emcodem wrote: > In case there is a Footer, regarding to SMPTE 377 all versions, the metadata in Footer shall be correct (where in Header it can be incomplete).. > If there

Re: [FFmpeg-devel] [PATCH 2/3] avformat/sbgdec: Check opt_duration and start for overflow

2021-06-27 Thread Nicolas George
James Almer (12021-06-25): > Afaics, it checks the very first character to be < '0' || > '9' for both > hours and minutes, so strtol() is not going to see a '-'. > Is there supposed to be one for seconds in valid files? If not, the same > check could be done and ensure no negative value is parsed.

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread Nicolas George
James Almer (12021-06-26): > Suggested-by: ffm...@fb.com > Signed-off-by: James Almer > --- > Updated documentation, and line breaks can now be part of the filename. > > doc/protocols.texi | 33 + > libavformat/Makefile| 1 + > libavformat/concat.c| 146 ++

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread James Almer
On 6/27/2021 3:26 PM, Nicolas George wrote: James Almer (12021-06-26): Suggested-by: ffm...@fb.com Signed-off-by: James Almer --- Updated documentation, and line breaks can now be part of the filename. doc/protocols.texi | 33 + libavformat/Makefile| 1 + libavformat/co

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread Nicolas George
James Almer (12021-06-27): > How is it not accurate enough? Which characters must be escaped? Is it legal to escape another character? Does it support single quotes like the other escaping functions? Can you use byte or Unicode numbers? Various escaping syntax have subtle differences about these

Re: [FFmpeg-devel] [PATCH] mxfdec.c: prefer metadata from Footer

2021-06-27 Thread emcodem
Am 2021-06-27 20:12, schrieb Marton Balint: On Sun, 27 Jun 2021, Tomas Härdin wrote: Order of parsing depends on the file, we usually do header, footer and then backwards the partitions. So after your patch metadata in the second partition will have priority over footer, which is also agains

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread James Almer
On 6/27/2021 4:00 PM, Nicolas George wrote: James Almer (12021-06-27): How is it not accurate enough? Which characters must be escaped? Is it legal to escape another character? Does it support single quotes like the other escaping functions? Can you use byte or Unicode numbers? Only line bre

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread Nicolas George
James Almer (12021-06-27): > Only line breaks need to be escaped. I said as much and even suggested to > make it more explicit in the documentation. > Every other character will be read and added verbatim into a string used as > uri for a given resource that ffurl_open_whitelist() will then handle.

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread James Almer
On 6/27/2021 4:40 PM, Nicolas George wrote: James Almer (12021-06-27): Only line breaks need to be escaped. I said as much and even suggested to make it more explicit in the documentation. Every other character will be read and added verbatim into a string used as uri for a given resource that f

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread Nicolas George
James Almer (12021-06-27): > You asked No, I did not ASK: I told what needs to be present in the documentation. > I know well strings are your field of expertise and hardly mine. Don't > wrongly assume the other person has ill intentions. I am not assuming any ill intent from you. Why would you

Re: [FFmpeg-devel] [PATCH v2] avformat: add a concat protocol that takes a line break delimited list of resources

2021-06-27 Thread James Almer
On 6/27/2021 5:16 PM, Nicolas George wrote: James Almer (12021-06-27): You asked No, I did not ASK: I told what needs to be present in the documentation. Your first paragraph started with "Which characters must be escaped?" among other questions. The part you quoted from my reply was an ans

Re: [FFmpeg-devel] [PATCH] mxfdec.c: prefer metadata from Footer

2021-06-27 Thread emcodem
Am 2021-06-27 20:12, schrieb Marton Balint: Why? I though it is enough if you store the partition number in the metadata set, that way you should be able to compare if the existing metadata set is better than the current one when adding a new metadata set. Or am I missing something? OK, i just

Re: [FFmpeg-devel] Hardware purchase request

2021-06-27 Thread Lynne
27 Jun 2021, 19:33 by kier...@obe.tv: >> >> I'm thinking of getting a: >> LG UltraGear 27GN950-B >> > > Can I ask why you need a ~£1000 monitor? What does it do that others can't? > It's 850, with occasional dips to 770 euros. It's the only choice for a 4k monitor with a refresh rate of over 60

Re: [FFmpeg-devel] [PATCH] mxfdec.c: prefer metadata from Footer

2021-06-27 Thread Marton Balint
On Sun, 27 Jun 2021, emco...@ffastrans.com wrote: Am 2021-06-27 20:12, schrieb Marton Balint: Why? I though it is enough if you store the partition number in the metadata set, that way you should be able to compare if the existing metadata set is better than the current one when adding a new