[MPlayer-users] Coverting RealVideo to MPEG.
Jesse W. Asher
jasher1 at tampabay.rr.com
Mon May 3 02:48:16 CEST 2004
Ok! That worked great! Now, I'm trying to convert to an mpeg and
here's the command I'm using (taken from document off the mplayer home
page):
mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac lavc $1 -o
output.mpg
Here's the message I receive when I run it:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder 1.0pre4-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Intel 1496 MHz (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Reading /home/jasher1/.mplayer/codecs.conf: Can't open
'/home/jasher1/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/jasher1/.mplayer/mencoder: No such file or
directory
font: can't open file: /home/jasher1/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
success: format: 0 data: 0x0 - 0xB53961E
REAL file format detected.
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 22050
avg byte/sec: 32041
Block align: 558
bits/sample: 16
cbSize: 18
Unknown extra header dump: [5d] [0] [10] [0] [7] [0] [2e] [2] [8] [0]
[1] [0] [0] [2] [2] [0] [0] [18]
===========================
VIDEO: RV30 [30202002,010B9030] 320x240 (aspect 0.00) 15.00 fps
[V] filefmt:11 fourcc:0x30335652 size:320x240 fps:15.00 ftime:=0.0667
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/cook.so.6.0'
Audio codec: [7] 32 Kbps Voice
Audio bitrate: 32.041 kbit/s (4005 bps)
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 4005->44100 (32.0 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
opening shared obj '/usr/local/lib/codecs/drv3.so.6.0'
Selected video codec: [rv30] vfm:realvid (Linux RealPlayer 8 RV30 decoder)
==========================================================================
Couldn't open codec mp2, br=224
Any ideas as to what may be happening here?
Also, anyone know of any good books that are for the lay person on the
various video/audio formats? I don't know anything about this kind of
stuff and I find the documentation on the net to be scattered an
somewhat frustrating. Any tips would be appreciated. Many thanks!!
The Wanderer wrote:
> Jesse W. Asher wrote:
>
>>
>> I've been reading the docs, googling, and reading on the net to try
>> to figure this out, but haven't had much luck.
>>
>> I'm trying to use mencoder to capture streaming RealVideo. I've used
>> the following command with very poor results:
>>
>> mencoder -ovc copy -oac copy rtsp://foo.com/stuff.rm -o output.rm
>>
>> I do get an output.rm file, but the video is horrible (it's really
>> blocky) and there isn't any audio.
>
>
> This would probably be because you're going about it wrong. To capture
> streamed video (and/or audio) into a file, you want to use MPlayer, not
> MEncoder. The command line is
>
> mplayer -dumpstream -dumpfile outfile.rm rtsp://foo.com/stuff.rm
>
> which will not always work, but should; if it doesn't, it's almost
> certainly either clever "we don't want you to get this except how we say
> you can" by the people hosting the stream (in which case you shouldn't
> be able to play it, either) or a bug in MPlayer.
>
>> Any idea as to what I'm doing wrong here? The real goal is to be
>> able to capture this flow and convert it into MPEG video on the fly.
>> But I couldn't get that to work either (even after reading the docs).
>
>
> Well, you won't be able to convert on the fly with the above method, but
> you should be able to convert the resulting RM file afterwards with
> MEncoder; I haven't done much (anything, really) with MPEG video as
> such, so I can't really help you with that beyond some very generic
> encoding suggestions which you could just as easily get from reading the
> man page.
>
More information about the MPlayer-users
mailing list