Opened 18 years ago

Last modified 17 years ago

#564 new defect

signal 13 in module: flip_page

Reported by: carl@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I run the script: ./mencvcd.sh ps-hgv684 ps-hgv684.avi

and mplayer crashes:

mplayer -noframedrop -vo yuv4mpeg -ao pcm:waveheader -v -osdlevel 0 ps-hgv684.avi

INFO: [yuvscaler] yuvscaler 1.8.0 (15-02-2004) is a general scaling utility

for yuv frames

INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbiquard@…>, yuvscaler

-h for help, or man yuvscaler
MPlayer dev-SVN-r19525-4.0.3 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1300MHz (Family: 15, Model: 0, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/carl/.mplayer/codecs.conf'

...

Movie-Aspect is 1.38:1 - prescaling to correct movie aspect.
VO Config (528x384->528x384,flags=0,'MPlayer',0x32315659)
VO: [yuv4mpeg] 528x384 => 528x384 Planar YV12
VO: Description: yuv4mpeg output for mjpegtools
VO: Author: Robert Kesterson <robertk@…>
* [vo] Allocating (slices) mp_image_t, 528x384x12bpp YUV planar, 304128 bytes
++ WARN: [yuvscaler] Could not infer norm (PAL/SECAM or NTSC) from input data
(frame size=528x384, frame rate=29970029:1000000 fps)!!
ERROR: [yuvscaler] No norm specified, cannot determine VCD output size. Please
use the -n option!

MPlayer interrupted by signal 13 in module: flip_page

  • MPlayer crashed. This shouldn't happen.

But if I run the command it says it is running:

mplayer -noframedrop -vo yuv4mpeg -ao pcm:waveheader -v -osdlevel 0 ps-hgv684.avi

no crash.

I'll attach the whole output.

Attachments (2)

mencvcd.sh.log (6.7 KB ) - added by carl@… 18 years ago.
./mencvcd.sh ps-hgv684 ps-hgv684.avi >mencvcd.sh.log
mplayer.log (6.0 KB ) - added by carl@… 18 years ago.
mplayer ... >mplayer.log

Download all attachments as: .zip

Change History (5)

by carl@…, 18 years ago

Attachment: mencvcd.sh.log added

./mencvcd.sh ps-hgv684 ps-hgv684.avi >mencvcd.sh.log

comment:1 by carl@…, 18 years ago

I forget how to redirect stderr too, so here it is

carl@vaio:/mnt/nfs/cw1b/carl/temp/x$ ./mencvcd.sh ps-hgv684 ps-hgv684.avi 2>&1

mencvcd.sh.log

INFO: [yuvscaler] yuvscaler 1.8.0 (15-02-2004) is a general scaling utility

for yuv frames

INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbiquard@…>, yuvscaler

-h for help, or man yuvscaler
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
++ WARN: [yuvscaler] Could not infer norm (PAL/SECAM or NTSC) from input data
(frame size=528x384, frame rate=29970029:1000000 fps)!!
ERROR: [yuvscaler] No norm specified, cannot determine VCD output size.
Please use the -n option!

MPlayer interrupted by signal 13 in module: flip_page

  • MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed
read/write)!

INFO: [mp2enc] Opened WAV file, freq = 48000 Hz, channels = 2, bits = 16
INFO: [mp2enc] format = 0x1, audio length = 65536 bytes
INFO: [mp2enc] SpF=731, frac SpF=0.429, bitrate=224 kbps, sfreq=44.1 kHz
INFO: [mp2enc] Fractional number of slots, padding required
INFO: [mp2enc] System is little endian
INFO: [mp2enc] Num frames 13 Avg slots/frame = 731.385; b/smp = 5.08; br =

223.987 kbps

INFO: [mp2enc] Encoding to layer 2 with psychoacoustic model 2 is finished
INFO: [mp2enc] The MPEG encoded output file name is "ps-hgv684.mpa"

by carl@…, 18 years ago

Attachment: mplayer.log added

mplayer ... >mplayer.log

comment:2 by carl@…, 18 years ago

carl@vaio:/mnt/nfs/cw1b/carl/temp/x$ /usr/local/bin/mplayer -noframedrop -vo
yuv4mpeg -ao pcm:waveheader -v -osdlevel 0 ps-hgv684.avi >mplayer.log
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied

MPlayer interrupted by signal 2 in module: decode_video
(after about 5 seconds, I hit C)

comment:3 by savignien@…, 17 years ago

the vo yuv4mpeg produces a wrong header :
YUV4MPEG2 W640 H272 F25000:1000 Ip A1:1
It should be : YUV4MPEG2 W640 H272 F25:1 Ip A1:1
I also had problems with the A1:1 on some movies, sometimes I get A4294967297:0
First part is easily corrected in libvo/vo_yuv4mpeg.c line 161 and 162.
I not so sure about the second part, it can be A1:1 or A10:11 or A59:54 depending on the TV norm, which is not always available.

Note: See TracTickets for help on using tickets.