Re: [gentoo-user] Deny flash to a specific user?

2008-11-19 Thread Michael Moore
On 10:05 Wed 19 Nov , Qian Qiao wrote:
 On Wed, Nov 19, 2008 at 09:54, Stroller [EMAIL PROTECTED] wrote:
 
  On 19 Nov 2008, at 04:06, Albert Hopkins wrote:
 
  ...
  Why do you want to do this? ... I don't understand why.
  What is your justification for doing that?
 
  To prevent his kids from watching YouPorn.
 
  Stroller.
 
 In that case, isn't putting
 
 127.0.0.1 ADDRESSES_TO_BE_BLOCKED
 
 into /etc/hosts easier?
 
 Or just set up a proxy.
 
 Joe
 
 -- 
 There are 3 kinds of people in the world: those who can count, and
 those who can't.

No, perhaps not, considering the fact that there are so many sites with
pron. Maintaining such a massive hosts file is a disaster and worse still 
the solution is not fullproof. But then, FWIW such problems seldom have
foolproof solutions.

The idea of proxy is very valid(in particular the transparent proxy
implementation), mixed with mime-type handling could do the trick. What
complicates the situation slightly is that it is to be done for just one
user. I don't personally use proxy so not sure about the implementation
details. Perhaps somebody with the usage experience can provide a
detailed solution, once we are sure as to the reason for the question.

-- 

Regards,
Michael Moore mikem.unet(at)gmail.com
About *NIX: If its not fun, why do it?



Re: [gentoo-user] .mov files not showing video

2008-11-16 Thread Michael Moore
On 11:58 Sun 16 Nov , Florian Philipp wrote:
 Can you post the output of mplayer when you want to play these files -
 possibly with -v?
 
 Do you use a 64bit or 32bit system?
 

I use 64bit system (mostly stable), with the multilib profile.
Verbose Mplayer output is attached.

As an aside, ffplay seems to play the file just fine.

-- 

Regards,
Michael Moore mikem.unet(at)gmail.com
About *NIX: If its not fun, why do it?
MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75, 
Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') - '/home/manav/.mplayer/codecs.conf'
Reading /home/manav/.mplayer/codecs.conf: Can't open 
'/home/manav/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No 
such file or directory
Using built-in default codecs.conf.
Configuration: --cc=x86_64-pc-linux-gnu-gcc --host-cc=x86_64-pc-linux-gnu-gcc 
--prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer 
--libdir=/usr/lib64 --enable-menu --enable-network --disable-tv-bsdbt848 
--disable-faad --disable-ivtv --disable-fribidi --disable-nemesi 
--disable-cdparanoia --charset=UTF-8 --disable-lirc --disable-lircc 
--disable-joystick --disable-tv --disable-tv-v4l1 --disable-tv-v4l2 
--disable-radio --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-dvb 
--disable-dvbhead --disable-tv-teletext --disable-v4l2 --disable-pvr 
--disable-live --disable-speex --disable-tga --disable-libdirac-lavc 
--disable-libschroedinger-lavc --xanimcodecsdir=/usr/lib/xanim/mods 
--realcodecsdir=/usr/lib64/codecs --disable-ggi --disable-md5sum 
--disable-xinerama --disable-vesa --disable-vidix --disable-vidix-pcidb 
--disable-dxr3 --disable-gui --enable-xvmc --with-xvmclib=XvMCW --disable-3dfx 
--disable-tdfxvid --disable-tdfxfb --disable-arts --disable-jack 
--disable-ladspa --disable-nas --disable-openal --disable-pulse 
--enable-runtime-cpudetection --disable-altivec
CommandLine: '-v' 'Course.mov'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') - '/home/manav/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') - '/home/manav/.mplayer/input.conf'
Can't open input config file /home/manav/.mplayer/input.conf: No such file or 
directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('Course.mov.conf') - '/home/manav/.mplayer/Course.mov.conf'

Playing Course.mov.
get_path('sub/') - '/home/manav/.mplayer/sub/'
[file] File size is 1103166 bytes
STREAM: [file] Course.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 1103166  pre:256000  eof:1  

LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
== Found video stream: 0
[lavf] Video stream found, -vid 0
=== VIDEO Format ==
  biSize 40
  biWidth 610
  biHeight 458
  biPlanes 0
  biBitCount 8
  biCompression 543386995='smc '
  biSizeImage 279380
===
== Found audio stream: 1
[lavf] Audio stream found, -aid 1
=== WAVE Format ===
Format Tag: 29549 (0x736D)
Channels: 1
Samplerate: 22050
avg byte/sec: 4000
Block align: 1
bits/sample: 16
cbSize: 0
==
LAVF: 1 audio and 1 video streams found
LAVF: build 3413505
VIDEO:  [smc ]  610x458  8bpp  5.000 fps0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x20636D73  size:610x458  fps:5.000  ftime:=0.2000
Clip info:
 name: VTC Online University
 copyright: 1996-2004
get_path('sub/') - '/home/manav/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FF  (R:FF G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (:0.0 = local display)
[x11] Detected wm supports NetWM.
[x11] Unknown wm type...
[x11] Current fstype setting honours FULLSCREEN X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
Opening video filter: [eq2]
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffsmc] vfm: ffmpeg (Apple Graphics (SMC) codec)
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer23 finished, tables done

MPEG 2.0, Layer III, 22050 Hz 32 kbit Single-Channel, BPF: 105
Channels: 1, copyright: Yes, original: Yes, CRC: No, emphasis: 0
AUDIO: 22050 Hz, 2 ch, s16le

[gentoo-user] .mov files not showing video

2008-11-15 Thread Michael Moore
Hi,

I received a few quicktime files from a friend; however, when I play it
there is no video. The audio stream is fine. My friend can play it fine
in the application Media Player Classic for Microsoft Xp.

The interesting packages are 

% emerge -pv libquicktime mplayer

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libquicktime-1.0.3  USE=X aac alsa dv encode ffmpeg 
gtk jpeg lame mmx opengl png vorbis x264 -doc 0 kB
[ebuild   R   ] media-video/mplayer-1.0_rc2_p27725-r1  USE=3dnow 3dnowext X 
a52 aac aalib alsa amrnb amrwb bindist cdio cdparanoia custom-cflags dga 
directfb doc dts dv dvd enca encode esd fbcon ftp gif iconv ipv6 jpeg libcaca 
lzo mad mmx mmxext mp2 mp3 musepack opengl oss png pnm quicktime rar real rtc 
samba sdl srt sse sse2 theora truetype unicode vorbis x264 xanim xscreensaver 
xv xvid xvmc zoran (-altivec) -arts -bidi -bl -cddb -cpudetection 
-custom-cpuopts -debug -dirac -dvb -dxr3 -ggi -gtk -jack -joystick -ladspa 
-lirc -live -md5sum -nas -nemesi -openal -pulseaudio -pvr -radio -schroedinger 
-speex -ssse3 (-svga) -teletext -tga -v4l -v4l2 (-vidix) (-win32codecs) 
-xinerama VIDEO_CARDS=-mga -s3virge -tdfx -vesa 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB

The file in question is 

% file  Course.mov
Course.mov: Apple QuickTime movie (fast start, compressed header)

Any pointers would be handy.

-- 

Regards,
Michael Moore mikem.unet(at)gmail.com
About *NIX: If its not fun, why do it?



Re: [gentoo-user] vwmare-player block

2008-11-13 Thread Michael Moore
On 12:40 Thu 13 Nov , Nicolas Sebrecht wrote:
 
 On Thu, Nov 13, 2008 at 09:14:44AM +, Neil Bothwick wrote:
 
   Some of the testing ebuilds require a
  later portage
 
 Why ?
 
 I'm running a mixed system here with sys-apps/portage-2.1.4.4 without
 any problemĀ¹. What kind of changes in ebuilds explains the use of portage
 v2.2 ? Is there a caution somewhere ?

Yes, the caution will appear for a package that needs EAPI2. For example,
latest ebuild of smplayer(IIRC) and KDE-4 need it.

 I don't really like the idea of running a testing portage version on
 some systems.

Well, if you run a mixed system it should not be much trouble. Works
fine here, have been using it for a couple of weeks.

Also, the automatic block handling feature of the testing vesion is worth
trying.

-- 

Regards,
Michael Moore mikem.unet(at)gmail.com
About *NIX: If its not fun, why do it?