Re: [FFmpeg-devel] [PATCH 2/2] Encoding of styles - Bold, Italic, Underlined for timed-text subttiles

2015-06-11 Thread Philip Langdale
On Thu, 11 Jun 2015 10:18:53 +0530 Niklesh Lalwani wrote: > From: Niklesh > > Encoding of bold, Italic, underlined styles for 3gpp timed text > subtitles. All the formatting information is appended into the buffer > after the text, unlike other encoders like srt, which can write out > styling i

Re: [FFmpeg-devel] [PATCH 1/2] Set subtitle track dimensions for mov_text to display the subtitles properly

2015-06-11 Thread Philip Langdale
On Fri, 12 Jun 2015 00:11:24 +0530 Niklesh Lalwani wrote: > Ok so it goes like this. > > We first find out the height and width of the video stream from the > header box. The dimensions of the text track (subtitle track) is then > set (in pixels). Here, we have used the width equal to the width

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-11 Thread Wolfgang Lorenz
Am Thu, 11 Jun 2015 23:11:37 +0200 schrieb Michael Niedermayer : > On Thu, Jun 11, 2015 at 10:59:23PM +0200, Wolfgang Lorenz wrote: > > Hi Micheal, > > > > Am Wed, 10 Jun 2015 23:40:10 +0200 > > schrieb Michael Niedermayer : > > > > > Based on patch by Wolfgang Lorenz > > > Signed-off-by: Micha

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-11 Thread Michael Niedermayer
On Thu, Jun 11, 2015 at 10:59:23PM +0200, Wolfgang Lorenz wrote: > Hi Micheal, > > Am Wed, 10 Jun 2015 23:40:10 +0200 > schrieb Michael Niedermayer : > > > Based on patch by Wolfgang Lorenz > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/mpegts.c |7 +++ > > 1 file chang

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-11 Thread Wolfgang Lorenz
Hi Micheal, Am Wed, 10 Jun 2015 23:40:10 +0200 schrieb Michael Niedermayer : > Based on patch by Wolfgang Lorenz > Signed-off-by: Michael Niedermayer > --- > libavformat/mpegts.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c > i

Re: [FFmpeg-devel] [PATCH v3] * mpegts demuxer recognizes private streams on demand

2015-06-11 Thread Wolfgang Lorenz
Am Wed, 10 Jun 2015 23:28:19 +0200 schrieb Michael Niedermayer : > On Wed, Jun 10, 2015 at 10:41:10PM +0200, Wolfgang Lorenz wrote: > > No answers? > > > > Well, I do have a question. > > > > Am Thu, 4 Jun 2015 23:46:21 +0200 > > schrieb Wolfgang Lorenz : > > > > > The option went into the Mpeg

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_colorkey: Add colorkey video filter

2015-06-11 Thread Timo Rothenpieler
--- Changelog | 1 + MAINTAINERS | 1 + doc/filters.texi | 39 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_colorkey.c | 221 ++ 6 files changed, 264 insertions(

[FFmpeg-devel] [PATCH 0/2] Add colorkey video filter

2015-06-11 Thread Timo Rothenpieler
Updated patch, following the suggested changes. Timo Rothenpieler (2): avfilter/vf_colorkey: Add colorkey video filter avfilter/vf_colorkey: Transform calculations to integer math Changelog | 1 + MAINTAINERS | 1 + doc/filters.texi | 39

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_colorkey: Transform calculations to integer math

2015-06-11 Thread Timo Rothenpieler
--- libavfilter/vf_colorkey.c | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/libavfilter/vf_colorkey.c b/libavfilter/vf_colorkey.c index 5db30e8..d5908de 100644 --- a/libavfilter/vf_colorkey.c +++ b/libavfilter/vf_colorkey.c @@ -30,6 +30,8 @@

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-06-11 Thread wm4
On Thu, 11 Jun 2015 17:24:45 +0200 Stefano Sabatini wrote: > Next step would be the use of YASM, but I only want to test if the > general approach is fine (and if the API is not too specific). Also if > someone wants to step up and port it to YASM I'm all for it, since > ASM/YASM is far from bein

Re: [FFmpeg-devel] [PATCH 1/2] Set subtitle track dimensions for mov_text to display the subtitles properly

2015-06-11 Thread Niklesh Lalwani
Ok so it goes like this. We first find out the height and width of the video stream from the header box. The dimensions of the text track (subtitle track) is then set (in pixels). Here, we have used the width equal to the width of the video, and height equal to 1/10 of the video height. The write

Re: [FFmpeg-devel] Contributing to the project?

2015-06-11 Thread George Boyle
Hi Ronald, On 11/06/15 17:01, Ronald S. Bultje wrote: > > It would also be helpful if you could identify what you would like to be > doing, i.e. do you have any particular aspect that you find particularly > exciting or intriguing and would like to learn more about? E.g. you might > like one of v

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_colorkey: Add colorkey video filter

2015-06-11 Thread Timo Rothenpieler
>> +static int offset_r(int fmt) > > You can use the info in AVPixFmtDescriptor for these. Didn't know about that, will look into it. >> +default: >> +return 0; > > av_assert0(!"reached"); for the default case. Yep >> +frame->format = convert_format(frame->format); > > I am n

Re: [FFmpeg-devel] [PATCH 1/2] Set subtitle track dimensions for mov_text to display the subtitles properly

2015-06-11 Thread Nicolas George
Le tridi 23 prairial, an CCXXIII, Philip Langdale a écrit : > Yeah. I sent this to Niklesh to unblock his other work, but we need a proper > approach to setting the dimensions and this isn't it. Can you (or Niklesh) describe exactly the factors that guide the geometry of the text on screen? IIRC,

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_colorkey: Add colorkey video filter

2015-06-11 Thread Nicolas George
Le tridi 23 prairial, an CCXXIII, Timo Rothenpieler a écrit : > +static int offset_r(int fmt) You can use the info in AVPixFmtDescriptor for these. > +default: > +return 0; av_assert0(!"reached"); for the default case. > +frame->format = convert_format(frame->format); I am not

Re: [FFmpeg-devel] [PATCH 1/2] Set subtitle track dimensions for mov_text to display the subtitles properly

2015-06-11 Thread Philip Langdale
On 2015-06-11 00:42, Nicolas George wrote: Le tridi 23 prairial, an CCXXIII, Niklesh Lalwani a écrit : From: Niklesh This patch mostly replicates the concept patch posted by Philip https://ffmpeg.org/pipermail/ffmpeg-devel/2013-March/140299.html. This sets the proper dimensions for the subti

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_colorkey: Transform calculations to integer math

2015-06-11 Thread Timo Rothenpieler
--- libavfilter/vf_colorkey.c | 36 +++- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_colorkey.c b/libavfilter/vf_colorkey.c index 9c968e8..0368d7c 100644 --- a/libavfilter/vf_colorkey.c +++ b/libavfilter/vf_colorkey.c @@ -29,6 +29,8

[FFmpeg-devel] [PATCH 0/2] Add colorkey video filter

2015-06-11 Thread Timo Rothenpieler
Since nobody commented or objected the last time i sent this as RFC, i think the best way to maybe get it better optimized would be merging it. People occasionaly ask for this feature(Or rather, for greenscreens). While this isn't yet the optimal implementation for that usecase, yuv based chromake

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_colorkey: Add colorkey video filter

2015-06-11 Thread Timo Rothenpieler
--- Changelog | 1 + MAINTAINERS | 1 + doc/filters.texi | 39 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_colorkey.c | 264 ++ 6 files changed, 307 insertions(+

Re: [FFmpeg-devel] Contributing to the project?

2015-06-11 Thread Ronald S. Bultje
Hi George, On Wed, Jun 10, 2015 at 11:26 AM, George Boyle wrote: > Hello, > > I was wondering what is the best way to begin getting involved in > contributing to ffmpeg/libav*? I've been a big fan of the project for > years. I've been an observer on the mailing list, and have closely read > the

Re: [FFmpeg-devel] [PATCH] encoders.texi: update libvpx documentation

2015-06-11 Thread Michael Niedermayer
On Wed, Jun 10, 2015 at 08:58:33PM -0700, James Zern wrote: > modeled after the libx264 section. > --- > doc/encoders.texi | 163 > ++ > 1 file changed, 92 insertions(+), 71 deletions(-) iam not really a docs guy but LGTM [...] -- Michael

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC idct functions

2015-06-11 Thread Michael Niedermayer
On Wed, Jun 10, 2015 at 07:48:40PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC idct functions in > new file h264idct_msa.c > Adds new generic macros (needed for this patch) in > libavutil/mips/generic_macros_msa.h >

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC intra prediction functions

2015-06-11 Thread Michael Niedermayer
On Wed, Jun 10, 2015 at 07:48:39PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC intra prediction > functions in new file h264pred_msa.c > Adds new generic macros (needed for this patch) in > libavutil/mips/generic_ma

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-06-11 Thread Stefano Sabatini
On date Friday 2015-05-29 09:47:58 -0700, Timothy Gu encoded: > On Fri, May 29, 2015 at 03:49:22PM +0200, Stefano Sabatini wrote: [...] > > OBJS-$(CONFIG_PIXELUTILS) += x86/pixelutils_init.o \ > > diff --git a/libavutil/x86/imgutils.c b/libavutil/x86/imgutils.c > > new file mo

Re: [FFmpeg-devel] [PATCH 2/2] Encoding of styles - Bold, Italic, Underlined for timed-text subttiles

2015-06-11 Thread Carl Eugen Hoyos
Niklesh Lalwani gmail.com> writes: > Tested on iPhone too. Great! (Assuming successfully) > You might need to enable the subtitles first. Of course. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo

Re: [FFmpeg-devel] [PATCH] avutil/softfloat: Move av_sincos_sf() from test c file to a new file

2015-06-11 Thread Michael Niedermayer
On Thu, Jun 11, 2015 at 03:58:46PM +0200, Nedeljko Babic wrote: > The function cannot be used from the test file, so the new file is created for > it and appropriate changes to Makefile are made > > Signed-off-by: Nedeljko Babic > --- > libavutil/Makefile | 1 + > libavutil/softfloat.c

Re: [FFmpeg-devel] [PATCH 2/2] Encoding of styles - Bold, Italic, Underlined for timed-text subttiles

2015-06-11 Thread Niklesh Lalwani
Tested on iPhone too. You might need to enable the subtitles first. Thanks, Niklesh On 11-Jun-2015 2:22 PM, "Carl Eugen Hoyos" wrote: > Niklesh Lalwani iitb.ac.in> writes: > > > Tested on QuickTime 10.3 on OSX > > Did you also test on an iPhone or iPad? > > Carl Eugen > > __

Re: [FFmpeg-devel] [PATCH 01/12] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [1/4]

2015-06-11 Thread Hendrik Leppkes
On Thu, Jun 11, 2015 at 4:08 PM, Nedeljko Babic wrote: > From: Jovan Zelincevic > > Move existing code to the new template files > Please setup your Git to track renames (add -M parameter), this is really hard to review in this form. - Hendrik ___ ffm

[FFmpeg-devel] [PATCH 05/12] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [1/3]

2015-06-11 Thread Nedeljko Babic
From: Djordje Pesut Move the existing code to a new template file. Signed-off-by: Nedeljko Babic --- libavcodec/aacsbr.c | 1419 +- libavcodec/aacsbr.h | 45 ++ libavcodec/aacsbr_template.c | 1401 +

[FFmpeg-devel] [PATCH 09/12] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [2/2]

2015-06-11 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 14 ++- libavcodec/aac_defines.h | 36 ++ libavcodec/aacps.c| 255 -- libavcodec/aacps.h|

[FFmpeg-devel] [PATCH 03/12] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [3/4]

2015-06-11 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 80 ++-- libavcodec/aacdec.c | 5 + libavcodec/aacdec_fixed.c| 444 +++ libavcodec/aacdec_template.c | 419 +++

[FFmpeg-devel] [PATCH 12/12] Edit documentation and versioning

2015-06-11 Thread Nedeljko Babic
From: Jovan Zelincevic Signed-off-by: Nedeljko Babic --- Changelog| 1 + doc/general.texi | 2 +- doc/mips.txt | 4 libavcodec/version.h | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index aa5753e..33a0525 100644 --- a/

[FFmpeg-devel] [PATCH 08/12] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [1/2]

2015-06-11 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables. Signed-off-by: Nedeljko Babic --- libavcodec/aacps_fixed_tablegen.c| 24 +++ libavcodec/aacps_fixed_tablegen.h| 402 +++ libavcodec/aacps_tablegen.c | 73

[FFmpeg-devel] [PATCH 11/12] tests: Add aac_fixed decoder test

2015-06-11 Thread Nedeljko Babic
Signed-off-by: Nedeljko Babic --- tests/fate/aac.mak | 58 +- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak index 34823be..7ebec45 100644 --- a/tests/fate/aac.mak +++ b/tests/fate/aac.mak @

[FFmpeg-devel] [PATCH 07/12] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [3/3]

2015-06-11 Thread Nedeljko Babic
From: Djordje Pesut Add fixed poind code. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 5 +- libavcodec/aac.h | 52 +--- libavcodec/aac_defines.h | 78 ++ libavcodec/aacdec_template.c | 14 +- libavcodec/aacsbr.c | 1 + libavcodec/aacsbr.

[FFmpeg-devel] [PATCH 10/12] libavcodec: Minor macro polishing

2015-06-11 Thread Nedeljko Babic
Use macros from aac_defines.h for adding suffixes instead of local macros. Signed-off-by: Nedeljko Babic --- libavcodec/cbrt_tablegen.h | 5 ++--- libavcodec/cbrt_tablegen_template.c| 2 +- libavcodec/sinewin.h | 17 + libavcodec/sinewin_table

[FFmpeg-devel] [PATCH 06/12] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [2/3]

2015-06-11 Thread Nedeljko Babic
From: Jovan Zelincevic Create tables for fixed point code. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 5 +- libavcodec/aacsbr_fixed_tablegen.c | 40 +++ libavcodec/aacsbr_fixed_tablegen.h | 32 +++ libavcodec/aacsbr_tablegen.c| 1 + libavcodec/aacsb

[FFmpeg-devel] [PATCH 02/12] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [2/4]

2015-06-11 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 23 ++ libavcodec/aacdectab.h | 34 +-- libavcodec/aactab.c| 486 +++

[FFmpeg-devel] [PATCH 04/12] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [4/4]

2015-06-11 Thread Nedeljko Babic
From: Jovan Zelincevic Build system modified Signed-off-by: Nedeljko Babic --- configure | 1 + libavcodec/Makefile | 13 ++--- libavcodec/aacdec.c | 1 - libavcodec/aacdec_fixed.c | 1 - libavcodec/allcodecs.c| 1 + 5 files changed, 12 insertions(+)

[FFmpeg-devel] Rebased implementation of fixed point AAC decoder

2015-06-11 Thread Nedeljko Babic
The patch set is rebased to the newest version. Please have a look. Thanks, -Nedeljko ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/3] avformat/avio: move short seek threshold to the context

2015-06-11 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 06:40:53PM +0200, Michael Niedermayer wrote: > This allows us to adjust it internally. > > Signed-off-by: Michael Niedermayer > --- > libavformat/avio.h|6 ++ > libavformat/aviobuf.c |3 ++- > 2 files changed, 8 insertions(+), 1 deletion(-) applied [...]

[FFmpeg-devel] [PATCH] avutil/softfloat: Move av_sincos_sf() from test c file to a new file

2015-06-11 Thread Nedeljko Babic
The function cannot be used from the test file, so the new file is created for it and appropriate changes to Makefile are made Signed-off-by: Nedeljko Babic --- libavutil/Makefile | 1 + libavutil/softfloat.c | 49 libavutil/softfloat_trig.c | 70 ++

Re: [FFmpeg-devel] [PATCH] avformat/aiffdec: avoid double and ldexp()

2015-06-11 Thread Michael Niedermayer
On Sun, Jun 07, 2015 at 09:29:20PM -0700, Mark Harris wrote: > > -sample_rate = ldexp(val, exp - 16383 - 63); > > +if (exp >= 0) > > +sample_rate = val << exp; > > +else > > +sample_rate = (val + (1<<(-exp/2))) >> -exp; > > To round the value it should probably be somet

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Add 'const' to static arrays in HEVC MSA code

2015-06-11 Thread Michael Niedermayer
On Thu, Jun 11, 2015 at 02:07:50PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > Signed-off-by: Shivraj Patil > --- > libavcodec/mips/hevc_idct_msa.c | 12 ++-- > libavcodec/mips/hevc_mc_uni_msa.c | 2 +- > libavcodec/mips/hevcpred_msa.c| 4 ++-- > 3 files cha

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC chroma mc functions

2015-06-11 Thread Michael Niedermayer
On Thu, Jun 11, 2015 at 11:27:01AM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > Added const. > Will do same for MIPS MSA hevc code in next patch. > > Signed-off-by: Shivraj Patil > --- > libavcodec/mips/Makefile |1 + > libavcodec/mips/h264chroma_init_mips

Re: [FFmpeg-devel] [PATCH] avformat: Fix bug in parse_rps for HEVC.

2015-06-11 Thread deliang Fu
2015-06-11 8:42 GMT+08:00 Michael Niedermayer : > On Wed, Jun 10, 2015 at 12:30:46PM +0800, Deliang Fu wrote: > > Make the logic in libavformat/hevc.c parse_rps align with > libavcodec/hevc_ps.c ff_hevc_decode_short_term_rps > > > > --- > > libavformat/hevc.c | 2 +- > > 1 file changed, 1 inserti

Re: [FFmpeg-devel] [PATCH] libavcodec/pcm-dvd: support a subset of AOB

2015-06-11 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > Attached is a variant of my patch from years ago, > the lavc part is a revert of an earlier codec removal. Missing a line in allcodecs.c: diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index ce97746..2b936a6 100644 --- a/libavcodec/allcodecs.c

Re: [FFmpeg-devel] [PATCH 2/2] Encoding of styles - Bold, Italic, Underlined for timed-text subttiles

2015-06-11 Thread Carl Eugen Hoyos
Niklesh Lalwani iitb.ac.in> writes: > Tested on QuickTime 10.3 on OSX Did you also test on an iPhone or iPad? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avcodec/mips: Add 'const' to static arrays in HEVC MSA code

2015-06-11 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/hevc_idct_msa.c | 12 ++-- libavcodec/mips/hevc_mc_uni_msa.c | 2 +- libavcodec/mips/hevcpred_msa.c| 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libavcodec/mips/hevc_idct_msa.c b/liba

Re: [FFmpeg-devel] [PATCH] doc/muxers: document new break_non_keyframes option

2015-06-11 Thread Stefano Sabatini
On date Tuesday 2015-06-09 06:44:51 -0500, Rodger Combs encoded: > --- > doc/muxers.texi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index ddd7c7a..95cdb8f 100644 > --- a/doc/muxers.texi > +++ b/doc/muxers.texi > @@ -1030,6 +1030,12 @@ segmen

Re: [FFmpeg-devel] [PATCH] examples/decoding_encoding: Use the AVFrame width/height for processing images after decoding

2015-06-11 Thread Stefano Sabatini
On date Wednesday 2015-06-10 22:21:23 +0200, Michael Niedermayer encoded: > This is what FFmpeg / FFplay do and it is more robust > > Signed-off-by: Michael Niedermayer > --- > doc/examples/decoding_encoding.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/examp

Re: [FFmpeg-devel] [PATCH 1/2] Set subtitle track dimensions for mov_text to display the subtitles properly

2015-06-11 Thread Nicolas George
Le tridi 23 prairial, an CCXXIII, Niklesh Lalwani a écrit : > From: Niklesh > > This patch mostly replicates the concept patch posted by Philip > https://ffmpeg.org/pipermail/ffmpeg-devel/2013-March/140299.html. This sets > the proper dimensions for the subtitle tracks, by making use of the hei