[MPlayer-users] DVD cache setting
Julian Sikorski
belegdol at gmail.com
Sun Aug 19 22:13:34 CEST 2012
W dniu 18.08.2012 15:23, Kevin DeKorte pisze:
>
> For awhile I have heard that DVDs should be played using the -nocache
> option. With modern DVD drives being so fast and the spin up spin down
> times actually causing lag which is the better option for DVD playback
>
> using cache with DVDs
>
> using dvd-speed=1 with DVDs (although this requires root privs, correct).
>
> Kevin
>
>
Hi,
I was the one who was initially having problem with this. I tried
without gnome-mplayer, and -cache does not work very well: -cache 8192
will cause nothing to be played.
I tried limiting the DVD speed too, but it still did not prevent the
videos from being jerky.
The machine most certainly has more than enough computing power to
decode the stream, and totem plays it very smoothly. Is there anything
else I could try? I like mplayer more due to the vdpau support. Here is
the console output:
$ mplayer -dvd-speed 2 -vo vdpau -mouse-movements dvdnav://
MPlayer SVN-r34652-4.7.0 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Loading protocol-related profile 'protocol.dvdnav'
Playing dvdnav://.
Limiting DVD speed to 2700KB/s... successful
libdvdnav: Using dvdnav version 4.2.0
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav: DVD Title: BIG_BANG_THEORY_SEASON_2_D3
libdvdnav: DVD Serial Number: 3AF03E8C
libdvdnav: DVD Title (Alternative): BIG_BANG_THEORY_SEASON_2_D3
libdvdnav: Unable to find map file
'/home/julas/.dvdnav/BIG_BANG_THEORY_SEASON_2_D3.map'
libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions:
2 4 5
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
Remember to disable MPlayer's cache when playing dvdnav:// streams
(adding -nocache to your command line)
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_1.VOB at 0x00000167
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00000347
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000011c8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0000135c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0000153b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00002caf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x002dfce0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x002dfe74
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x002e0021
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x002e0781
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x002e0825
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x002e09bb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x002e0b68
libdvdread: Elapsed time 0
libdvdread: Found 11 VTS's
libdvdread: Elapsed time 0
DVDNAV, switched to title: 5
audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
audio stream: 1 format: ac3 (stereo) language: unknown aid: 129.
audio stream: 2 format: ac3 (stereo) language: unknown aid: 130.
audio stream: 3 format: ac3 (stereo) language: unknown aid: 131.
audio stream: 4 format: ac3 (stereo) language: unknown aid: 132.
audio stream: 5 format: ac3 (stereo) language: unknown aid: 133.
audio stream: 6 format: ac3 (stereo) language: unknown aid: 134.
audio stream: 7 format: ac3 (stereo) language: unknown aid: 135.
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Forced video codec: ffmpeg12vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.61.100 (external)
Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=2.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
libdvdnav: Language 'en' not found, using '��' instead4% 0.8% 4 0
libdvdnav: Menu Languages available: ��
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: ��
DVDNAV, switched to title: 5
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: fr aid: 129.
audio stream: 2 format: ac3 (stereo) language: es aid: 130.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: da
subtitle ( sid ): 2 language: nl
subtitle ( sid ): 3 language: fi
subtitle ( sid ): 4 language: fr
subtitle ( sid ): 5 language: no
subtitle ( sid ): 6 language: es
subtitle ( sid ): 7 language: sv
A: 3.0 V: 0.0 A-V: 2.936 ct: 0.161 0/ 0 ??% ??% ??,?% 4 0
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=2.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
A: 0.1 V: 0.1 A-V: 0.067 ct: 0.165 1/ 1 ??% ??% ??,?% 4 0
[mpegvideo_vdpau @ 0x3fc0b46dc0]warning: first frame is no keyframe
A: 0.2 V: 0.1 A-V: 0.078 ct: 0.169 2/ 2 ??% ??% ??,?% 4 0
[mpegvideo_vdpau @ 0x3fc0b46dc0]warning: first frame is no keyframe
A: 31.0 V: 31.0 A-V: -0.000 ct: 0.304 775/775 3% 1% 10.2% 19 0
DVDNAV, switched to title: 5
audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
audio stream: 1 format: ac3 (stereo) language: unknown aid: 129.
audio stream: 2 format: ac3 (stereo) language: unknown aid: 130.
audio stream: 3 format: ac3 (stereo) language: unknown aid: 131.
audio stream: 4 format: ac3 (stereo) language: unknown aid: 132.
audio stream: 5 format: ac3 (stereo) language: unknown aid: 133.
audio stream: 6 format: ac3 (stereo) language: unknown aid: 134.
audio stream: 7 format: ac3 (stereo) language: unknown aid: 135.
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
subtitle ( sid ): 0 language: unknown
[ac3 @ 0x3fc0b46dc0]incomplete frame
A: 31.2 V: 0.2 A-V: 31.086 ct: 0.324 4/ 4 ??% ??% ??,?% 19 0
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=2.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x576 => 1024x576 MPEG2 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
A: 31.2 V: 0.2 A-V: 31.046 ct: 0.328 5/ 5 ??% ??% ??,?% 19 0
[vdpau] Error when calling
vdp_presentation_queue_block_until_surface_idle: A catch-all error, used
when no other error code applies.
[vdpau] Error when calling
vdp_presentation_queue_block_until_surface_idle: A catch-all error, used
when no other error code applies.
A: 31.2 V: 2.5 A-V: 28.726 ct: 0.560 5/ 5 55% 27% 123.2% 19 0
Restoring DVD speed... successful
Exiting... (Quit)
More information about the MPlayer-users
mailing list