[MPlayer-users] MPlayer/MEncoder vs Real G2 stream

DoC doc at terra.com.br
Wed Jan 14 17:17:29 CET 2004


I'm getting no video with this stream with MPlayer. MEncoder crashes 
with a segfault while trying to convert it:

mplayer -v -cache 512 
"rtsp://rx-wes-sea34.rbn.com/farm/*/encoder/windup/windup/g2demand/evanescence/clips/myLastBreath.rm"

Here's the output of the command above:
====[ cut here ] ====
MPlayer 1.0pre2-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1212 MHz (Family: 6, 
Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 61 
audio & 157 video codecs
CommandLine: '-v' '-cache' '512' 
'rtsp://rx-wes-sea34.rbn.com/farm/*/encoder/windup/windup/g2demand/evanescence/clips/myLastBreath.rm'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 52 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...
get_path('myLastBreath.rm.conf') -> '/root/.mplayer/myLastBreath.rm.conf'

Playing 
rtsp://rx-wes-sea34.rbn.com/farm/*/encoder/windup/windup/g2demand/evanescence/clips/myLastBreath.rm
Resolving rx-wes-sea34.rbn.com for AF_INET...
Connecting to server rx-wes-sea34.rbn.com[66.203.121.49]:554 ...
Cache size set to 512 KBytes
Connected to server: rx-wes-sea34.rbn.com
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0 
Cache fill: 18,75% (98304 bytes)    Checking for REAL
REAL file format detected.
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x153
Flags (2): [perfect play (more buffers)]
Chunk: CONT (544e4f43) (size: 0x40, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xc5, offset: 0x84)
Found new stream (id: 0)
skip_str: 45 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
frame_size: 834
sub_packet_size: 278
samplerate: 44100, channels: 2
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 96695
Block align: 834
bits/sample: 16
cbSize: 18
Unknown extra header dump: [16] [1] [1e] [0] [d] [0] [42] [3] [8] [0] 
[1] [0] [0] [2] [8] [0] [0] [2f]
===========================
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0xd45e6, offset: 0x149)
Packets in file: 1043
Auto-selected RM audio ID = 0
Clip info:
 name: My Last Breath
 author: Evanescence
 copyright: ©2003 Wind-up Records
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/real/cook.so.6.0'
Audio codec: [13] 96 Kbps Stereo Music
Audio bitrate: 95,780 kbit/s (11973 bps) 
dec_audio: Allocating 25020 bytes for input buffer
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 11973->176400 (95,8 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
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: 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: 128/128  (1024 bytes/frag)  free: 131072
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
Video: no video
Freeing 0 unused video chunks
Starting playback...

<normal playback messages...>

[libaf] Removing filter dummy
uninit audio: realaud
DEMUXER: freeing demuxer at 0x8664d00 
DEMUXER: freeing sh_audio at 0x8664678 
vo: x11 uninit called but X11 not inited..

====[ cut here ] ====


And the following command:

mencoder -v 
"rtsp://rx-wes-sea34.rbn.com/farm/*/encoder/windup/windup/g2demand/evanescence/clips/myLastBreath.rm" 
-oac pcm -ovc xvid -o /root/my_last_breath.avi

produces the following output:

====[ cut here ] ====
MEncoder 1.0pre2-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1212 MHz (Family: 6, 
Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection
Reading /root/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 61 
audio & 157 video codecs
Reading config file /root/.mplayer/mencoderinit_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Resolving rx-wes-sea34.rbn.com for AF_INET...
Connecting to server rx-wes-sea34.rbn.com[66.203.121.49]:554 ...
Cache size set to 640 KBytes
Connected to server: rx-wes-sea34.rbn.com
success: format: 11  data: 0x0 - 0x0
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0 
Checking for REAL
REAL file format detected.
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x153
Flags (2): [perfect play (more buffers)]
Chunk: CONT (544e4f43) (size: 0x40, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xc5, offset: 0x84)
Found new stream (id: 0)
skip_str: 45 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
frame_size: 834
sub_packet_size: 278
samplerate: 44100, channels: 2
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 96695
Block align: 834
bits/sample: 16
cbSize: 18
Unknown extra header dump: [16] [1] [1e] [0] [d] [0] [42] [3] [8] [0] 
[1] [0] [0] [2] [8] [0] [0] [2f]
===========================
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0xd45e6, offset: 0x149)
Packets in file: 1043
Auto-selected RM audio ID = 0
Can't open '/root/.mplayer/codecs.conf': No such file or directory
File not found: 'frameno.avi'
Failed to open frameno.avi
: No such file or directory
Failed to create AF_INET6 socket:
Segmentation fault (core dumped)

====[ cut here ] ====

... and a nice core file.

Loading the core-file in gdb gives me the following for mencoder:
#0  0x08166e5b in video_read_properties ()


I'm using the versions mentioned in the outputs above, plus the latest 
win32codecs + rp9 + qt6 packages. I even redownloaded them yesterday to 
make sure they're the latest.

Thanks for your attention.


-- Erico Mendonca





More information about the MPlayer-users mailing list