[MPlayer-users] mencoder: Trying to convert real format to xvid

Scott Cegielski scegielski at charter.net
Mon Oct 31 00:09:17 CET 2005


Thanks for pointing that out.  I read the README files that come with 
the cvs source, but they are not as clear as the website it about what 
to do.  Anyway, I was able to build the cvs version successfully.  
However, the conversions still fails.  Here is the output:

% mencoder 101-CartmanGetsAnAnalProbe.rm -o test.avi -ovc xvid 
-xvidencopts bitrate=100 -oac lavc
MEncoder dev-CVS-051030-12:54-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon 
Prestonia,Gallatin (Family: 15, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


success: format: 0  data: 0x0 - 0x22f70c7
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
VIDEO:  [RV20]  320x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:11  fourcc:0x30325652  size:320x240  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/cook.so'
Error: Permission denied
opening win32 dll 'cook.so'
Error loading dll
ERROR: Could not open required DirectShow codec cook.so.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/cook.so.6.0'
Error: No such file or directory
opening win32 dll 'cook.so.6.0'
Error loading dll
ERROR: Could not open required DirectShow codec cook.so.6.0.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'cook3260.dll'
Audio codec: [10] 32 kbps Stereo Music
Audio bitrate: 32.386 kbit/s (4048 bps) 
AUDIO: 22050 Hz, 2 ch, s16le, 32.4 kbit/4.59% (ratio: 4048->88200)
Selected audio codec: [racookwin] afm: realaud (Win32 RealAudio COOK)
==========================================================================
xvid: using library version 1.0.3 (build xvid-1.0.3)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrv20] vfm: ffmpeg (FFmpeg RV20 decoder)
==========================================================================
Forcing output fourcc to 30355844 [DX50]
Building audio filter chain for 22050Hz/2ch/s16le -> 0Hz/0ch/??...
[mp2 @ 0x865f38]bitrate 224 is not allowed in mp2
Couldn't open codec mp2, br=224


Guillaume POIRIER wrote:

>Hi,
>
>On 10/30/05, Scott Cegielski <scegielski at charter.net> wrote:
>  
>
>>As per your advice, I am trying the cvs version of mplayer.  I ran into
>>some trouble though.
>>
>>First, I thought I could just copy the libavcodec and libavformat
>>directories from the non-cvs version and then build the cvs version
>>using those.  Hoever, the cvs version also apparently wants the
>>libavutil directory since it gave me the message:
>>vf_qp.c:49:33: ../libavutil/common.h: No such file or directory
>>
>>So, I used cvs to get the source files for ffmpeg and tried to build
>>that first.  No luck there either.  It gets pretty far and then craps
>>out with these messages:
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:40: undefined reference to
>>`_av_mallocz'
>>null.o: In function `Process':
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:56: undefined reference to
>>`_avpicture_get_size'
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:57: undefined reference to
>>`_av_malloc'
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:59: undefined reference to
>>`_avpicture_fill'
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:60: undefined reference to
>>`_img_convert'
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:71: undefined reference to
>>`_img_convert'
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:76: undefined reference to
>>`_av_free'
>>null.o: In function `Release':
>>/home/scottc/mplayer_cvs/ffmpeg/vhook/null.c:33: undefined reference to
>>`_av_free'
>>
>>Im not sure if I need some other pre-requisite to get the ffmpeg stuff
>>to build correctly.
>>
>>Any ideas?
>>    
>>
>
>You should really read the online docs!
>http://www.mplayerhq.hu/homepage/design7/dload.html has everything you
>need to do a proper compilation of MPlayer from CVS. You must not copy
>ffmpeg in mplayer source tree. You just need to copy libav* to mplayer
>source tree:
>
>CVS
>Downloading MPlayer CVS
>
>You can also get MPlayer via anonymous CVS. Issue the following
>commands to get the latest sources:
>
>  cvs -d:pserver:anonymous at mplayerhq.hu:/cvsroot/mplayer login
>  cvs -z3 -d:pserver:anonymous at mplayerhq.hu:/cvsroot/mplayer co -P main
>
>When asked for a password, just hit enter. A directory named main will
>be created. You can later update your sources by saying
>
>  cvs -z3 update -dPA
>
>from within that directory.
>FFmpeg libavcodec/libavutil/libavformat
>
>CVS MPlayer is not fully functional without a copy of the libavcodec,
>libavformat and libavutil libraries from FFmpeg. Get FFmpeg CVS via
>
>  cvs -d:pserver:anonymous at mplayerhq.hu:/cvsroot/ffmpeg login
>  cvs -z3 -d:pserver:anonymous at mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg
>
>When asked for a password, just hit enter. A directory named ffmpeg
>will be created. Copy the libavcodec, libavformat and libavutil
>subdirectories into the main directory just created from the MPlayer
>checkout.
>
>In order to include libavcodec and libavutil in CVS updates, add the
>following lines to main/CVS/Entries:
>
>  D/libavcodec////
>  D/libavformat////
>  D/libavutil////
>
>--
>Reading doesn't hurt, really!
> -- Dominik 'Rathann' Mierzejewski
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>  
>




More information about the MPlayer-users mailing list