Crop detect on all discs is failing, asking if the disc has been inserted. Problem was first noticed when switching from MPlayer version 1.0pre07 to 1.0pre08.
- the first is the scale detection is bad on french DVD
acidrip detect : width=400 Horiz=318 height=176 Vert=56
but i have the real value width=720 Horiz=0 height=352 Vert=62 (with this command : mplayer [...] -vf cropdetect)
see the result of my command at the bottom
- the second problem is when i want to change these values, the output Queue doesn't apply my change and the preview doesn't always apply it.
$ mplayer dvd://1 -dvd-device /home/sctfic/Videos/test -vf cropdetect
MPlayer 1.0rc2-4.1.3-DFSG-free (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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.
Playing dvd://1.
There are 1 titles on this DVD.
There are 33 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: fr aid: 130.
number of audio channels on disk: 1.
number of subtitles on disk: 0
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
Opening video filter: [cropdetect]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
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.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card 'Tra'
[AO_ALSA] alsa-lib: conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
[AO_ALSA] alsa-lib: conf.c:3982:(snd_config_expand) Evaluate error: No such device
[AO_ALSA] alsa-lib: pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such device
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
A: 0.7 V: 0.7 A-V: 0.039 ct: 0.043 17/ 14 38% 27% 6.7% 3 0
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 0..79 Y: 56..123 (-vf crop=80:64:0:58). 3 0
[CROP] Crop area: X: 0..207 Y: 56..275 (-vf crop=208:208:0:62).0
[CROP] Crop area: X: 0..445 Y: 56..405 (-vf crop=432:336:8:64).0
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD ...
A: 2.0 V: 2.0 A-V: -0.000 ct: 0.101 50/ 47 20% 23% 2.6% 4 0
Exiting... (Quit)
Thank's
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=966735
Originator: YES
See proposed patch, submitted 2006/12/01
Logged In: NO
Hello, (sorry for my bad english but i'm french)
they have 2 problems
- the first is the scale detection is bad on french DVD
acidrip detect : width=400 Horiz=318 height=176 Vert=56
but i have the real value width=720 Horiz=0 height=352 Vert=62 (with this command : mplayer [...] -vf cropdetect)
see the result of my command at the bottom
- the second problem is when i want to change these values, the output Queue doesn't apply my change and the preview doesn't always apply it.
$ mplayer dvd://1 -dvd-device /home/sctfic/Videos/test -vf cropdetect
MPlayer 1.0rc2-4.1.3-DFSG-free (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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.
Playing dvd://1.
There are 1 titles on this DVD.
There are 33 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: fr aid: 130.
number of audio channels on disk: 1.
number of subtitles on disk: 0
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
Opening video filter: [cropdetect]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
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.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card 'Tra'
[AO_ALSA] alsa-lib: conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
[AO_ALSA] alsa-lib: conf.c:3982:(snd_config_expand) Evaluate error: No such device
[AO_ALSA] alsa-lib: pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such device
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
A: 0.7 V: 0.7 A-V: 0.039 ct: 0.043 17/ 14 38% 27% 6.7% 3 0
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 719..0 Y: 479..0 (-vf crop=-704:-464:714:474).
[CROP] Crop area: X: 0..79 Y: 56..123 (-vf crop=80:64:0:58). 3 0
[CROP] Crop area: X: 0..207 Y: 56..275 (-vf crop=208:208:0:62).0
[CROP] Crop area: X: 0..445 Y: 56..405 (-vf crop=432:336:8:64).0
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD
[CROP] Crop area: X: 0..719 Y: 56..418 (-vf crop=720:352:0:62).0 GOOD ...
A: 2.0 V: 2.0 A-V: -0.000 ct: 0.101 50/ 47 20% 23% 2.6% 4 0
Exiting... (Quit)
Thank's