Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5224 - acidrip : crop fail, and progression indication doesn't appear

Attached to Project: Arch Linux
Opened by alexandre (_alexmyself) - Tuesday, 15 August 2006, 19:20 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 15 November 2006, 20:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hello,

i use acidrip and don't know if problem come of itself or of mencoder but this is :

1) when use the "crop" button it fails each time
2) when encoding there are no information at all displayed (size,time,etc..)
no more in little or large window
but the encoding run well

this is the debug :





AcidRip message - DVD read ok
AcidRip message - Crop detection in progress... please wait
AcidRip message - Running mplayer -vf cropdetect dvd://1 -dvd-device /dev/dvd -nosound -vo null -frames 10 -sstep 269 -nocache
MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

93 audio & 211 video codecs
Terminal type `unknown' is not defined.

Playing dvd://1.
Reading disc structure, please wait...
There are 9 titles on this DVD.
There are 40 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
Opening video filter: [cropdetect]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, 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))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[mpeg1video @ 0x862f68c]removing common factors from framerate
VO: [null] 720x576 => 1024x576 Mpeg PES
V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 0.1 2/ 2 ??% ??% ??,?% 0 0
V: 267.1 3/ 3 ??% ??% ??,?% 0 0
V: 408.1 4/ 4 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V: 519.6 5/ 5 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V: 621.0 6/ 6 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V: 708.7 7/ 7 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V: 788.5 8/ 8 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V: 865.9 9/ 9 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V: 936.7 10/ 10 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V:1006.9 11/ 11 ??% ??% ??,?% 0 0
[CROP] Crop area: X: 0..719 Y: 73..501 (-vf crop=720:416:0:80).
V:1067.5 12/ 12 ??% ??% ??,?% 0 0

Exiting... (End of file)
AcidRip message - Crop detection failed, is the DVD loaded?



sorry if it's not the right place to post this
thank you :)

This task depends upon

Closed by  Aaron Griffin (phrakture)
Monday, 12 February 2007, 09:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks!
Comment by alexandre (_alexmyself) - Wednesday, 15 November 2006, 22:37 GMT
it finally simply seems acidrip isn't maintened anymore by his autor, so it's probably normal that something goes wrong
Comment by topf (topf) - Tuesday, 02 January 2007, 15:21 GMT
Here is a patch. The output of Mplayer/Mencoder changed a bit, so acidrip is unable to read it:

--- acidrip-0.14/AcidRip/acidrip.pm.orig 2004-07-25 16:03:09.000000000 +0200
+++ acidrip-0.14/AcidRip/acidrip.pm 2006-08-06 02:53:48.000000000 +0200
@@ -680,7 +680,7 @@
message( "Running " . get_command("cropdetect") );
open( CROP, get_command("cropdetect") . " 2>&1 |" );
while (<CROP>) {
- if ( $_ =~ /crop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
+ if ( $_ =~ /[cC]rop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
$crop_output .= $_;
gui_check($_);
}
@@ -863,7 +863,7 @@
if ( $::settings->{'mencoder_pid'} = open( MENCODER, "$menc 2>&1 |" ) ) {
$/ = "\r";
while (<MENCODER>) {
- if (/^Pos:\s*(\d+).\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+(\d+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
+ if (/^Pos:\s*(\d+)\.\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+([\d.]+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
if ( $1 ne $sec ) { $sec = $1; $::widgets->{'menc_seconds'}->set_text( hhmmss($1) ) }
if ( $4 ne $fps ) { $fps = $4; $::widgets->{'menc_fps'}->set_text($4) }
if ( $6 ne $size ) { $size = $6; $::widgets->{'menc_filesize'}->set_text($6) }
Comment by Aaron Griffin (phrakture) - Tuesday, 02 January 2007, 16:42 GMT
Could you also please submit this patch upstream? I will apply it to our package, but just in case the upstream dev still cares, it'd be useful for him to know.

Loading...