wrong subtitle display in mkv-container with mplayer -subcp $encoding

Bug #339282 reported by Krutov Mikle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:
1) get any video file, any russian cp1251 (may be all the other non-utf encodings are buggy) encoded srt-subtitles (didn't check ass).
2) try to mkvmerge it (mkvmerge file.avi file.srt -o file.mkv)
3) then use MPlayer to play it.

Expected: MPlayer plays the file right, displaying subs readable way.
Happens: MPlayer doesn't read any options from -subcp (tried the encoding that enca talled me about the external sub file (cp1251) & enca:ru:utf-8) and displays subtitles wrong way. ( first attach , second one is from the very same file and external sub.)

lsb_release -rd:
Description: Ubuntu 8.04.2
Release: 8.04

LC_ALL=C apt-cache policy mplayer-nogui
mplayer-nogui:
  Installed: 2:1.0~rc2-0ubuntu13.1
  Candidate: 2:1.0~rc2-0ubuntu13.1
  Version table:
 *** 2:1.0~rc2-0ubuntu13.1 0
        500 http://mirror.yandex.ru hardy-updates/multiverse Packages
        500 http://security.ubuntu.com hardy-security/multiverse Packages
        100 /var/lib/dpkg/status
     2:1.0~rc2-0ubuntu13 0
        500 http://mirror.yandex.ru hardy/multiverse Packages

also the first comment is wrong, the original sub encoding in the second mkv was utf, so it played normally.

Tags: mplayer ubuntu
Revision history for this message
Krutov Mikle (nekoexmachina) wrote :
Revision history for this message
Krutov Mikle (nekoexmachina) wrote :
description: updated
Revision history for this message
Krutov Mikle (nekoexmachina) wrote :

Also, mplayer plays normally _some_ files, some are buggy. Do not know what's the difference for mplayer between the files, may be the codecs:

VIDEO: [XVID] 640x480 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
for the wrong played file, and

VIDEO: [DX50] 640x480 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)

for the good one.

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.