Opened 12 years ago

Last modified 12 years ago

#2068 new defect

mplayer DVD infomation subtitle(16:9) sid is wrong

Reported by: vochom@… Owned by: reimar
Priority: normal Component: streaming
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

DVD subtitle(16:9) is shown sid for 'letterbox' now.
DVD subtitle(16:9) should be shown sid for 'wide screen'.

stream_dvd.c line.1008-1009


else if(video->display_aspect_ratio == 3) /* 16:9 */

sub_stream->id = pgc->subp_control[i] >> 8 & 31;


patched


else if(video->display_aspect_ratio == 3) /* 16:9 */

sub_stream->id = pgc->subp_control[i] >> 16 & 31;


log
mplayer.exe -speed 100 -vc null -vo null -ao null -frames 0 -identify -dvd-device dvd.iso dvd://1


Playing dvd://1.
ID_DVD_TITLES=3
ID_DVD_TITLE_1_CHAPTERS=11
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=6
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=6
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_1_LENGTH=5593.000
ID_DVD_TITLE_2_LENGTH=442.433
ID_DVD_TITLE_3_LENGTH=442.433
ID_DVD_DISC_ID=
ID_DVD_VOLUME_ID=
There are 3 titles on this DVD.

ID_DVD_CURRENT_TITLE=1
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.

ID_AUDIO_ID=128
ID_AID_128_LANG=en
audio stream: 1 format: ac3 (stereo) language: en aid: 129.

ID_AUDIO_ID=129
ID_AID_129_LANG=en
number of audio channels on disk: 2.
subtitle ( sid ): 1 language: en

ID_SUBTITLE_ID=1
ID_SID_1_LANG=en
subtitle ( sid ): 3 language: en

ID_SUBTITLE_ID=3
ID_SID_3_LANG=en
number of subtitles on disk: 2

patched log


Playing dvd://1.
ID_DVD_TITLES=3
ID_DVD_TITLE_1_CHAPTERS=11
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=6
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=6
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_1_LENGTH=5593.000
ID_DVD_TITLE_2_LENGTH=442.433
ID_DVD_TITLE_3_LENGTH=442.433
ID_DVD_DISC_ID=C7DAFD8CC4664D9D342D23954C1371BD
ID_DVD_VOLUME_ID=FREAKONOMICS_RENTAL
There are 3 titles on this DVD.

ID_DVD_CURRENT_TITLE=1
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.

ID_AUDIO_ID=128
ID_AID_128_LANG=en
audio stream: 1 format: ac3 (stereo) language: en aid: 129.

ID_AUDIO_ID=129
ID_AID_129_LANG=en
number of audio channels on disk: 2.
subtitle ( sid ): 0 language: en

ID_SUBTITLE_ID=0
ID_SID_0_LANG=en
subtitle ( sid ): 2 language: en

ID_SUBTITLE_ID=2
ID_SID_2_LANG=en
number of subtitles on disk: 2

Change History (2)

comment:1 by vochom@…, 12 years ago

op_sys: MinGWAll
rep_platform: PC (x86)All

comment:2 by vochom@…, 12 years ago

Component: demuxerstreaming
Note: See TracTickets for help on using tickets.