lachs0r/SMPlayer2 — Issue #11: mplayer2 crashes when opening DVD with smplayer2 but not when opening with smplayer
Author: arclance
Created: 2012-01-03 23:02:49+00:00
State: open

Using mplayer2 from mplayer2-build in Ubuntu 11.04 mplayer2 crashes when playing a dvd in smplayer2 but not in smplayer.
I have tested with multiple dvds. mplayer2 logs can be found below.

mplayer2 log when using smplayer2. mplayer2 crashes.

~/mplayer2/mplayer2-build3/mplayer/mplayer -noquiet -nomouseinput -lavdopts threads=4 -sub-fuzziness 1 -identify -slave -vo gl:yuv=3:swapinterval=1:lscale=1:cscale=1 -ao alsa -nokeepaspect -dr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 39846260 -monitorpixelaspect 1 -subcp ISO-8859-1 -subpos 100 -volume 18 -dvd-device /dev/dvd -dvdangle 1 -nocache -osdlevel 0 -correct-pts -vf-add scale=1920:-2:0:0:arnd=1 -noslices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 -sws 10 dvd://1

MPlayer2 2.0-415-g33cac12 (C) 2000-2011 MPlayer Team

Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
ID_DVD_TITLES=7
ID_DVD_TITLE_1_CHAPTERS=26
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=1
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=1
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_4_CHAPTERS=1
ID_DVD_TITLE_4_ANGLES=1
ID_DVD_TITLE_5_CHAPTERS=1
ID_DVD_TITLE_5_ANGLES=1
ID_DVD_TITLE_6_CHAPTERS=1
ID_DVD_TITLE_6_ANGLES=1
ID_DVD_TITLE_7_CHAPTERS=1
ID_DVD_TITLE_7_ANGLES=1
ID_DVD_TITLE_1_LENGTH=5676.333
ID_DVD_TITLE_2_LENGTH=12.000
ID_DVD_TITLE_3_LENGTH=32.033
ID_DVD_TITLE_4_LENGTH=11.533
ID_DVD_TITLE_5_LENGTH=88.867
ID_DVD_TITLE_6_LENGTH=29.967
ID_DVD_TITLE_7_LENGTH=235.066
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_02_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_03_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_04_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_05_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_06_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_07_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_08_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_09_0.IFO failed
ID_DVD_DISC_ID=FB55B933AE35A6EB32E7B15BAE81F3FA
ID_DVD_VOLUME_ID=BABYLON5_THE_GATHERING
There are 7 titles on this DVD.

ID_DVD_CURRENT_TITLE=1
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001ab
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00003330
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (5.1) 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 ): 1 language: fr

ID_SUBTITLE_ID=1
ID_SID_1_LANG=fr
subtitle ( sid ): 2 language: es

ID_SUBTITLE_ID=2
ID_SID_2_LANG=es
number of subtitles on disk: 3

CHAPTERS: 00:00:00.000,00:03:37.934,00:06:13.034,00:08:50.601,00:14:52.134,00:19:36.601,00:22:29.268,00:26:50.935,00:30:55.201,00:33:57.634,00:37:56.434,00:43:13.001,00:47:49.501,00:54:08.601,00:57:12.535,01:00:41.335,01:04:16.468,01:09:34.101,01:11:43.068,01:15:12.134,01:18:05.868,01:22:21.401,01:23:29.434,01:25:39.700,01:30:39.700,01:33:52.534,
ID_VIDEO_ID=0
Detected file format: MPEG-PS
ID_AUDIO_ID=128
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 7500.0 kbps (937.5 kbyte/s)
ID_FILENAME=dvd://1
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=7500000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.04
ID_LENGTH=5676.33
ID_SEEKABLE=1
ID_CHAPTERS=26
ID_CHAPTER_ID=0
ID_CHAPTER_0_START=18446744073709550616
ID_CHAPTER_ID=1
ID_CHAPTER_1_START=18446744073709550616
ID_CHAPTER_ID=2
ID_CHAPTER_2_START=18446744073709550616
ID_CHAPTER_ID=3
ID_CHAPTER_3_START=18446744073709550616
ID_CHAPTER_ID=4
ID_CHAPTER_4_START=18446744073709550616
ID_CHAPTER_ID=5
ID_CHAPTER_5_START=18446744073709550616
ID_CHAPTER_ID=6
ID_CHAPTER_6_START=18446744073709550616
ID_CHAPTER_ID=7
ID_CHAPTER_7_START=18446744073709550616
ID_CHAPTER_ID=8
ID_CHAPTER_8_START=18446744073709550616
ID_CHAPTER_ID=9
ID_CHAPTER_9_START=18446744073709550616
ID_CHAPTER_ID=10
ID_CHAPTER_10_START=18446744073709550616
ID_CHAPTER_ID=11
ID_CHAPTER_11_START=18446744073709550616
ID_CHAPTER_ID=12
ID_CHAPTER_12_START=18446744073709550616
ID_CHAPTER_ID=13
ID_CHAPTER_13_START=18446744073709550616
ID_CHAPTER_ID=14
ID_CHAPTER_14_START=18446744073709550616
ID_CHAPTER_ID=15
ID_CHAPTER_15_START=18446744073709550616
ID_CHAPTER_ID=16
ID_CHAPTER_16_START=18446744073709550616
ID_CHAPTER_ID=17
ID_CHAPTER_17_START=18446744073709550616
ID_CHAPTER_ID=18
ID_CHAPTER_18_START=18446744073709550616
ID_CHAPTER_ID=19
ID_CHAPTER_19_START=18446744073709550616
ID_CHAPTER_ID=20
ID_CHAPTER_20_START=18446744073709550616
ID_CHAPTER_ID=21
ID_CHAPTER_21_START=18446744073709550616
ID_CHAPTER_ID=22
ID_CHAPTER_22_START=18446744073709550616
ID_CHAPTER_ID=23
ID_CHAPTER_23_START=18446744073709550616
ID_CHAPTER_ID=24
ID_CHAPTER_24_START=18446744073709550616
ID_CHAPTER_ID=25
ID_CHAPTER_25_START=18446744073709550616
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [scale w=1920 h=-2 interlaced=0 chr-drop=0 arnd=1]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Asking decoder to use 4 threads if supported.
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
ID_VIDEO_CODEC=ffmpeg2
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffac3
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
mplayer: libmpdemux/demuxer.c:853: ds_get_packet2: Assertion `ds->buffer_pos >= ds->buffer_size' failed.

MPlayer interrupted by signal 6 in module: filter_video
ID_SIGNAL=6

mplayer2 log when using smplayer. This works just fine.

~/mplayer2/mplayer2-build3/mplayer/mplayer -noquiet -nofs -nomouseinput -lavdopts threads=4 -sub-fuzziness 1 -identify -slave -vo gl:yuv=3:swapinterval=1:lscale=1:cscale=1 -ao alsa -nokeepaspect -dr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 27263354 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles ~/.config/smplayer/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -vid 0 -aid 128 -subpos 100 -volume 21 -dvd-device /dev/dvd -dvdangle 1 -cache 5000 -ss 7 -osdlevel 0 -vf-add yadif=1 -vf-add scale=1920:-2:0:0:arnd=1 -noslices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 -sws 10 dvd://1

MPlayer2 2.0-415-g33cac12 (C) 2000-2011 MPlayer Team
Terminal type `unknown' is not defined.

Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
ID_DVD_TITLES=7
ID_DVD_TITLE_1_CHAPTERS=26
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=1
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=1
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_4_CHAPTERS=1
ID_DVD_TITLE_4_ANGLES=1
ID_DVD_TITLE_5_CHAPTERS=1
ID_DVD_TITLE_5_ANGLES=1
ID_DVD_TITLE_6_CHAPTERS=1
ID_DVD_TITLE_6_ANGLES=1
ID_DVD_TITLE_7_CHAPTERS=1
ID_DVD_TITLE_7_ANGLES=1
ID_DVD_TITLE_1_LENGTH=5676.333
ID_DVD_TITLE_2_LENGTH=12.000
ID_DVD_TITLE_3_LENGTH=32.033
ID_DVD_TITLE_4_LENGTH=11.533
ID_DVD_TITLE_5_LENGTH=88.867
ID_DVD_TITLE_6_LENGTH=29.967
ID_DVD_TITLE_7_LENGTH=235.066
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_02_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_03_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_04_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_05_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_06_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_07_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_08_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_09_0.IFO failed
ID_DVD_DISC_ID=FB55B933AE35A6EB32E7B15BAE81F3FA
ID_DVD_VOLUME_ID=BABYLON5_THE_GATHERING
There are 7 titles on this DVD.

ID_DVD_CURRENT_TITLE=1
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001ab
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00003330
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (5.1) 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 ): 1 language: fr

ID_SUBTITLE_ID=1
ID_SID_1_LANG=fr
subtitle ( sid ): 2 language: es

ID_SUBTITLE_ID=2
ID_SID_2_LANG=es
number of subtitles on disk: 3

CHAPTERS: 00:00:00.000,00:03:37.934,00:06:13.034,00:08:50.601,00:14:52.134,00:19:36.601,00:22:29.268,00:26:50.935,00:30:55.201,00:33:57.634,00:37:56.434,00:43:13.001,00:47:49.501,00:54:08.601,00:57:12.535,01:00:41.335,01:04:16.468,01:09:34.101,01:11:43.068,01:15:12.134,01:18:05.868,01:22:21.401,01:23:29.434,01:25:39.700,01:30:39.700,01:33:52.534,

Cache fill: 0.00% (0 bytes)

ID_VIDEO_ID=0
Detected file format: MPEG-PS
ID_AUDIO_ID=128
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 7500.0 kbps (937.5 kbyte/s)
ID_FILENAME=dvd://1
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=7500000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.04
ID_LENGTH=5676.33
ID_SEEKABLE=1
ID_CHAPTERS=26
ID_CHAPTER_ID=0
ID_CHAPTER_0_START=18446744073709550616
ID_CHAPTER_ID=1
ID_CHAPTER_1_START=18446744073709550616
ID_CHAPTER_ID=2
ID_CHAPTER_2_START=18446744073709550616
ID_CHAPTER_ID=3
ID_CHAPTER_3_START=18446744073709550616
ID_CHAPTER_ID=4
ID_CHAPTER_4_START=18446744073709550616
ID_CHAPTER_ID=5
ID_CHAPTER_5_START=18446744073709550616
ID_CHAPTER_ID=6
ID_CHAPTER_6_START=18446744073709550616
ID_CHAPTER_ID=7
ID_CHAPTER_7_START=18446744073709550616
ID_CHAPTER_ID=8
ID_CHAPTER_8_START=18446744073709550616
ID_CHAPTER_ID=9
ID_CHAPTER_9_START=18446744073709550616
ID_CHAPTER_ID=10
ID_CHAPTER_10_START=18446744073709550616
ID_CHAPTER_ID=11
ID_CHAPTER_11_START=18446744073709550616
ID_CHAPTER_ID=12
ID_CHAPTER_12_START=18446744073709550616
ID_CHAPTER_ID=13
ID_CHAPTER_13_START=18446744073709550616
ID_CHAPTER_ID=14
ID_CHAPTER_14_START=18446744073709550616
ID_CHAPTER_ID=15
ID_CHAPTER_15_START=18446744073709550616
ID_CHAPTER_ID=16
ID_CHAPTER_16_START=18446744073709550616
ID_CHAPTER_ID=17
ID_CHAPTER_17_START=18446744073709550616
ID_CHAPTER_ID=18
ID_CHAPTER_18_START=18446744073709550616
ID_CHAPTER_ID=19
ID_CHAPTER_19_START=18446744073709550616
ID_CHAPTER_ID=20
ID_CHAPTER_20_START=18446744073709550616
ID_CHAPTER_ID=21
ID_CHAPTER_21_START=18446744073709550616
ID_CHAPTER_ID=22
ID_CHAPTER_22_START=18446744073709550616
ID_CHAPTER_ID=23
ID_CHAPTER_23_START=18446744073709550616
ID_CHAPTER_ID=24
ID_CHAPTER_24_START=18446744073709550616
ID_CHAPTER_ID=25
ID_CHAPTER_25_START=18446744073709550616
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [scale w=1920 h=-2 interlaced=0 chr-drop=0 arnd=1]
Opening video filter: [yadif=1]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Asking decoder to use 4 threads if supported.
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
ID_VIDEO_CODEC=ffmpeg2
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffac3
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
Cache not responding!
ID_AUDIO_ID=129

[mpeg2video @ 0xba56e0]warning: first frame is no keyframe
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
[swscaler @ 0xc53b60]Bicubic spline scaler, from yuv420p to yuv420p using MMX2
VO: [gl] 1920x1440 => 1920x1440 Planar YV12
X11 error: BadMatch (invalid parameter attributes)

[mpeg2video @ 0xba56e0]warning: first frame is no keyframe
[ac3 @ 0xba56e0]frame sync error

[ac3 @ 0xba56e0]frame CRC mismatch
[ac3 @ 0xba56e0]frame sync error

[mpeg2video @ 0xba56e0]warning: first frame is no keyframe

[mpeg2video @ 0xba56e0]
[mpeg2video @ 0xba56e0]00 motion_type at 13 15
00 motion_type at 36 8
[mpeg2video @ 0xba56e0]00 motion_type at 8 1
[mpeg2video @ 0xba56e0]invalid cbp at 11 16
[mpeg2video @ 0xba56e0]00 motion_type at 4 2
[mpeg2video @ 0xba56e0]ac-tex damaged at 4 17
[mpeg2video @ 0xba56e0]00 motion_type at 18 3
[mpeg2video @ 0xba56e0]00 motion_type at 3 18
[mpeg2video @ 0xba56e0][mpeg2video @ 0xba56e0]slice mismatch
[mpeg2video @ 0xba56e0][mpeg2video @ 0xba56e0]invalid mb type in P Frame at 13 20
00 motion_type at 15 4
[mpeg2video @ 0xba56e0]ac-tex damaged at 0 21
00 motion_type at 12 23
[mpeg2video @ 0xba56e0][mpeg2video @ 0xba56e0][mpeg2video @ 0xba56e0]00 motion_type at 13 22
00 motion_type at 1 24
00 motion_type at 7 5
[mpeg2video @ 0xba56e0]00 motion_type at 4 25
[mpeg2video @ 0xba56e0]00 motion_type at 5 6
[mpeg2video @ 0xba56e0]00 motion_type at 5 26
[mpeg2video @ 0xba56e0]00 motion_type at 15 27
[mpeg2video @ 0xba56e0]ac-tex damaged at 26 7
[mpeg2video @ 0xba56e0]00 motion_type at 7 28
[mpeg2video @ 0xba56e0]00 motion_type at 17 8
[mpeg2video @ 0xba56e0][mpeg2video @ 0xba56e0]00 motion_type at 1 29
00 motion_type at 1 9
[mpeg2video @ 0xba56e0]slice mismatch
[mpeg2video @ 0xba56e0]ac-tex damaged at 0 11
[mpeg2video @ 0xba56e0]ac-tex damaged at 3 12
[mpeg2video @ 0xba56e0]00 motion_type at 31 13
[mpeg2video @ 0xba56e0]ac-tex damaged at 6 14
[mpeg2video @ 0xba56e0]Warning MVs not available
[mpeg2video @ 0xba56e0]concealing 990 DC, 990 AC, 990 MV errors

ID_SUBTITLE_ID=2
ID_SUBTITLE_ID=1
ID_SUBTITLE_ID=0