Opened 9 years ago

Closed 9 years ago

#9077 closed defect (Fixed)

Clipped closed captioning in mythvideos

Reported by: achew22+mythtv@… Owned by: markk
Priority: minor Milestone: 0.24
Component: MythTV - Video Playback Version: Master Head
Severity: medium Keywords: Closed captions
Cc: Ticket locked: no

Description

I have a few movies encoded in m4v. When I added them to my MythVideo?'s library and tried to play them, after turning on subtitles, only the top half of the 1st line on multi line subtitles and nothing on single line events.

I uploaded a brief clip (1:42) that demonstrates this, it can be found at http://drop.io/ikitvsh

Steps to recreate problem:

  1. Download the file from http://drop.io/ikitvsh, the file is named "sample.m4v", into your MythVideo? storage group
  2. Enter MythFrontend and then enter the "Watch Videos" page.
  3. Scan for new media and play "sample"
  4. Either use the hotkey "T" to turn on subtitles or use the menu Subtitles -> Toggle Subtitles

Expected result: For me I don't see any subtitles until 4 seconds into the recording. At this point I see the top half of the string "And right there--you can see it" (This is the first line of dialog I saw that was multi-line). At 8 seconds the subtitles go away (this line of dialog is brief enough that it can fit in one subtitle line).

To confirm that the subtitles are present and functional you can use VLC to play the file. To turn on subtitles in VLC, go to Video -> Subtitles track -> Track 1 [English]. After doing that you should be able to watch with subtitles enabled. You should see they are floating over the movie.

Change History (5)

comment:1 Changed 9 years ago by anonymous

Oops! Forgot to include version information.

Running Ubuntu 10.04 using the mythbuntu repos. I updated on Friday October 8th at 10:14pm.

$ uname -a Linux dad-desktop 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux

$ mythfrontend --version Please attach all output as a file in bug reports. MythTV Version : 26719 MythTV Branch : trunk Network Protocol : 63 Library API : 0.23.20100917-1 QT Version : 4.6.2 Options compiled in:

linux debug using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

comment:2 Changed 9 years ago by robertm

Component: Plugin - MythVideoMythTV - Video Playback
Owner: changed from robertm to markk
Status: newassigned

This is not MythVideo?, and these subtitles play fine, and fully onscreen in current trunk in VDPAU and OpenGL renderers. Xv cuts off outside of the video playback area, but as ever Xv should be avoided like the plague.

comment:3 Changed 9 years ago by markk

(In [26724]) Workaround for broken DVD subtitles that have not been properly resized when the associated video stream was resized during a format conversion.

In line with the existing XSUB fix, this cannot currently differentiate between NTSC and PAL and hence the positioning of NTSC originated subtitles may be a little strange. I'm looking at a framerate based improvement.

Refs #9077

comment:4 Changed 9 years ago by markk

Milestone: unknown0.24
Status: assignedaccepted

comment:5 Changed 9 years ago by markk

Resolution: Fixed
Status: acceptedclosed

(In [26725]) Use the framerate as a hint to the original video size when fixing broken subtitle positioning.

Closes #9077

Note: See TracTickets for help on using tickets.