[MPlayer-users] CVS-MPlayer suid-root not working

Johannes Feigl jaf.corporation at gmx.at
Wed Dec 26 21:15:07 CET 2001


On Wed, Dec 26, 2001 at 09:00:00PM +0100, Ruediger Otte wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I'm not subscribed, so this message probably does not appear in the
> expected thread.
> 

well, did you

1) use the codec from the MPLAYER CODECS pack ?
2) did you already try e.g. ffmpeg?
3) did it work with an other version?
4) does it work with on other file ?


mfg Johannes

> >> the latest cvs-snapshot of MPlayer can only execute the win32-codecs
> >> when started as root.
> > Hmmm... not here.  Can you access them as a plain user ? (files
> > permission is 0644 and their path is at least in 0755).
> 
> File permissions are ok. 
> 
> Output of mplayer is the following:
> 
> 
> MPlayer CVS-011224-06:00-2.95.2 (C) 2000-2001 Arpad Gereoffy (see DOCS!)
> 
> CPU vendor name: GenuineIntel  max cpuid level: 2
> CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 2)
> CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> Reading /home/ruediger/.mplayer/codecs.conf: 18 audio & 40 video codecs
> CommandLine: 'mpeg/video/futurama - 3acv07 - that's lobstertainment.avi' '-v'
> num_filenames: 1
> font: can't open file: /home/ruediger/.mplayer/font/font.desc
> Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
> Linux RTC init: open: Keine Berechtigung
> Using usleep() timing
> Playing mpeg/video/futurama - 3acv07 - that's lobstertainment.avi
> Not an URL!
> File size is 69027840 bytes
> Detected AVI file format!
> ======= AVI Header =======
> us/frame: 33367  (fps=29.970)
> max bytes/sec: 0
> padding: 0
> MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
> frames  total: 39216   initial: 0
> streams: 2
> Suggested BufferSize: 0
> Size:  352 x 240
> ==> Found video stream: 0
> ======= STREAM Header =======
> Type: vids   FCC: div3 (33766964)
> Flags: 0
> Priority: 1   Language: 15
> InitialFrames: 0
> Rate: 29970/1000 = 29.970
> Start: 0   Len: 39216
> Suggested BufferSize: 23262
> Quality 10000
> Sample size: 0
> found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>   biSize 40
>   biWidth 352
>   biHeight 240
>   biPlanes 1
>   biBitCount 24
>   biCompression 861292868='DIV3'
>   biSizeImage 253440
> ===========================
> Regenerating keyframe table for DIVX 3 video
> ==> Found audio stream: 1
> ======= STREAM Header =======
> Type: auds   FCC:  (0)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 1
> Rate: 11982/1 = 11982.000
> Start: 0   Len: 15678796
> Suggested BufferSize: 5479
> Quality -1
> Sample size: 1
> found 'wf', 30 bytes of 20
> ======= WAVE Format =======
> Format Tag: 85 (0x55)
> Channels: 2
> Samplerate: 44100
> avg byte/sec: 11982
> Block align: 1
> bits/sample: 0
> cbSize: 12
> Found movie at 0x280C - 0x40A2292
> Reading INDEX block, 78418 chunks for 39216 frames
> AVI index offset: 10248
> Auto-selected AVI audio ID = 1
> Auto-selected AVI video ID = 0
> AVI: Searching for audio stream (id:1)
> AVI video length=51456682
> VIDEO:  [DIV3]  352x240  24bpp  29.97 fps  314.6 kbps (38.4 kbyte/s)
> [V] filefmt:3  fourcc:0x33564944  size:352x240  fps:29.97  ftime:=0.0334
> Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
> Initializing audio codec...
> dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
> mp3lib: Processor ID: 652
> mp3lib: Using Pentium-MMX optimized decore.
> AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 12000->176400
> Detected video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
> ERROR: Couldn't allocate memory for fs segment: Ungültiger Dateideskriptor
> Loading DLL: 'divx_c32.ax'
> Error no 9
> VirtualAlloc(0x0x64640000, 393216) failed
> Error no 9
> VirtualAlloc(0x(nil), 393216) failed
> Win32 LoadLibrary failed to load: divx_c32.ax, /usr/lib/win32/divx_c32.ax, /usr/local/lib/win32/divx_c32.ax
> Warning: DS_Filter() could not open DirectShow DLL.  (DLL=divx_c32.ax)
> Failed to create DirectShow filter
> ERROR: Couldn't open required DirectShow codec: divx_c32.ax
> Maybe you forget to upgrade your win32 codecs?? It's time to download the new
> package from:  ftp://mplayerhq.hu/MPlayer/releases/w32codec.zip  !
> FATAL: Couldn't initialize video codec :(
> 
> MPlayer interrupted by signal 11 in module: init_video_codec 
> *** free_stream() called ***
> max framesize was 0 bytes
> 
> -- 
> Rüdiger
> --------------------------------------------------
> pgp/gpg public-key available from keyservers or at
> http://python.subname.de/key.html
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 




More information about the MPlayer-users mailing list