Re: [FFmpeg-devel] [PATCH] Add metadatareader filter.

2022-07-09 Thread Raymond Cheng
Mahol Sent: Saturday, July 9, 2022 1:00 AM To: FFmpeg development discussions and patches Cc: Raymond Cheng Subject: Re: [FFmpeg-devel] [PATCH] Add metadatareader filter. On Sat, Jul 9, 2022 at 8:44 AM Raymond Cheng mailto:raycheng...@hotmail.com>> wrote: I also feel, btw, that th

Re: [FFmpeg-devel] [PATCH] Add metadatareader filter.

2022-07-08 Thread Raymond Cheng
ng the VTT into f_metadatareader.c, you could just place it alongside the MP4 and the browser will render soft subs. But I'd prefer to do that in stages, with first stage making no modifications to f_metadata.c. ...Cheng -Original Message- From: Raymond Cheng Sent: Saturday,

Re: [FFmpeg-devel] [PATCH] Add metadatareader filter.

2022-07-08 Thread Raymond Cheng
ons and patches Subject: Re: [FFmpeg-devel] [PATCH] Add metadatareader filter. Raymond Cheng (12022-07-06): > FFmpeg has a handy set of filters, metadata/ametadata, which allow us > to add, print or save per-frame metadata to a file. I will use these > filters when I want to save the results f

[FFmpeg-devel] [PATCH] avfilter/drawtext: Support bidirectional metadata in drawtext filter

2022-07-07 Thread Raymond Cheng
t, but improperly justified (left-justified instead of right-justified). For one-line transcriptions, this is easily fixed by replacing x=30 with x=\(700-tw\). Two-line transcriptions do not have a simple solution. Signed-off-by: Raymond Cheng --- libavfilter/vf_drawtext.c | 57 +

[FFmpeg-devel] [PATCH] Add metadatareader filter.

2022-07-06 Thread Raymond Cheng
as non-crossover applications. Signed-off-by: Raymond Cheng --- Changelog | 1 + configure | 2 + libavfilter/Makefile | 2 + libavfilter/allfilters.c | 2 + libavfilter/f_metadatareader.c| 45

[FFmpeg-devel] [PATCH] Support bidirectional metadata in drawtext filter

2022-07-06 Thread Raymond Cheng
t, but improperly justified (left-justified instead of right-justified). For one-line transcriptions, this is easily fixed by replacing x=30 with x=\(700-tw\). Two-line transcriptions do not have a simple solution. Signed-off-by: Raymond Cheng --- libavfilter/vf_drawtext.c | 57 +