[FFmpeg-trac] #1098(undetermined:open): ass subtitle are stretched

FFmpeg trac at avcodec.org
Mon Mar 19 14:19:16 CET 2012


#1098: ass subtitle are stretched
-------------------------------------+-------------------------------------
             Reporter:  fate         |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  ass          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  1            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by saste):

 * analyzed:  0 => 1
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Confirm the problem:
 {{{
 ffplay -vf ass=/home/stefano/s/Rocket_04.ass -f lavfi testsrc=s=720x480
 }}}

 The problem depends on the fact that vf_ass.c uses the same DAR of input
 for rendering the subtitles, which is indeed a rather arbitrary behavior
 (see line in vf_ass.c: ass_set_aspect_ratio(ass->renderer, dar, sar)).

 Possible fixes:
 set the DAR to 1.0, or allow the user to specify the DAR through an
 option.

 In the second case I ask: does it make sense to be able to set such value,
 or should be rather set in the ass file itself (assuming it is possible)?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1098#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list