Re: mplayer hangs after a few movies

Lukas Ruetz <[email protected]>
Newsgroups gmane.comp.video.mplayer.user.dvb
Message-ID <[email protected]>
hello

now i switched to unbuntu/debian-linux and still have the problem.
BUT i have to correct myself - mplayer also hangs with one file,
if i start it often enough (around 10 times). it has nothing to do
with the enqueuing of more files.

then i thought maybe the sound played over oss is the problem and
used '-ao mpegpes', but (as always) the same effect.

some more information:
card: technotrend (philips SAA7146 rev01)
firmware: dvb-ttpci-01.fw-261c
tv-format: pal

here an mplayer-output. after a few working files, this movie didn't start
---BEGIN-----------------------------------------------------------------
ll@linux:/home/install/MPlayer-1.0pre6 $ ./mplayer -vo mpegpes -ao oss 
-v /home/ll/test.mpg

MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.

CommandLine: '-vo' 'mpegpes' '-ao' 'oss' '-v' '/home/ll/test.mpg'
get_path('font/font.desc') -> '/home/ll/.mplayer/font/font.desc'
font: can't open file: /home/ll/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/ll/.mplayer/input.conf'
Can't open input config file /home/ll/.mplayer/input.conf: Datei oder 
Verzeichnis nicht gefunden
Can't open input config file /usr/etc/mplayer/input.conf: Datei oder 
Verzeichnis nicht gefunden
Falling back on default (hardcoded) input config
get_path('test.mpg.conf') -> '/home/ll/.mplayer/test.mpg.conf'
Playing /home/ll/test.mpg.
[file] File size is 4823044 bytes
STREAM: [file] /home/ll/test.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /home/ll/test.mpg ext: .mpg
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 66361, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851736
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 2)  25,000 fps  4000,0 kbps (500,0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25,00  ftime:=0,0400
get_path('sub/') -> '/home/ll/.mplayer/sub/'
get_path('default.sub') -> '/home/ll/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 44100 Hz 192 kbit Stereo, BPF: 627
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 24000->176400 (192,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening /dev/dvb/adapter0/video0+audio0
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Trying filter chain: vo
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x4D504553)
VO: [mpegpes] 720x576 => 768x576 Mpeg PES
VO: Description: Mpeg-PES to DVB card
VO: Author: A'rpi
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or Dxr3/DVB 
card))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 
16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
Starting playback...
*** [vo] Exporting mp_image_t, 720x576x0bpp RGB packed, 0 bytes
A:   0,5 V:   0,6 A-V: -0,049 ct: -0,002   4/  4 ??% ??% ??,?% 0 0
---END-------------------------------------------------------------------

at that point the process is shown as sleeping
AND when i press ctrl-c (because it did not react on pressing 'q') mplayer
prints ...

---BEGIN-----------------------------------------------------------------
MPlayer interrupted by signal 2 in module: decode_video
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: mpegpes
---END-------------------------------------------------------------------


/var/log/messages looks like that
---BEGIN-----------------------------------------------------------------
Dec 28 16:21:18 localhost kernel: Linux video capture interface: v1.00
Dec 28 16:21:19 localhost kernel: saa7146: register extension 'dvb'.
Dec 28 16:21:19 localhost kernel: ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 
22 (level, low) -> IRQ 209
Dec 28 16:21:19 localhost kernel: saa7146: found saa7146 @ mem e0aae800 
(revision 1, irq 209) (0x13c2,0x0000).
Dec 28 16:21:19 localhost kernel: DVB: registering new adapter 
(Siemens/Technotrend/Hauppauge PCI rev1.3).
Dec 28 16:21:19 localhost kernel: ves1x93: Detected ves1893a rev2
Dec 28 16:21:19 localhost kernel: DVB: registering frontend 0:0 (VES1893)...
Dec 28 16:21:19 localhost kernel: Siemens/Technotrend/Hauppauge PCI rev1.3 
adapter 0 has MAC addr = 00:d0:5c:00:7a:c4
Dec 28 16:21:20 localhost kernel: gpioirq unknown type=0 len=0
Dec 28 16:21:20 localhost kernel: DVB: AV7111(0) - firm f0240009, rtsl 
b0250018, vid 71010068, app 8000261c
Dec 28 16:21:20 localhost kernel: DVB: AV7111(0) - firmware supports CI link 
layer interface
Dec 28 16:21:20 localhost kernel: av7110(0): adac type set to 0
Dec 28 16:21:20 localhost kernel: videodev: "av7110" has no release callback. 
Please fix your driver for proper sysfs support, see 
http://lwn.net/Articles/36850/
Dec 28 16:21:20 localhost kernel: saa7146_vv: saa7146 (0): registered device 
video0 [v4l2]
Dec 28 16:21:20 localhost kernel: av7110: found av7110-0.
Dec 28 16:21:20 localhost input.agent[6451]:      evbug: blacklisted
Dec 28 16:21:20 localhost input.agent[6451]:      evdev: already loaded
Dec 28 16:21:20 localhost input.agent[6486]:      evbug: blacklisted
Dec 28 16:21:20 localhost input.agent[6486]:      evdev: already loaded
Dec 28 16:21:20 localhost kernel: saa7146: register extension 'budget dvb'.
Dec 28 16:21:20 localhost kernel: saa7146: register extension 'budget_ci dvb'.
Dec 28 16:21:20 localhost kernel: saa7146: register extension 'budget dvb /w 
video in'.
Dec 28 16:21:20 localhost kernel: usbcore: registered new driver 
Technotrend/Hauppauge USB-Nova
Dec 28 16:21:20 localhost kernel: usbcore: registered new driver ttusb-dec
--------------------------------------------------------------------------

thx
lukas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.