LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MPlayer and Fluxbox are like oil and water (https://www.linuxquestions.org/questions/linux-software-2/mplayer-and-fluxbox-are-like-oil-and-water-56636/)

Crashed_Again 04-24-2003 04:50 PM

MPlayer and Fluxbox are like oil and water
 
I've recently switched from kde to fluxbox but mplayer is acting up in fluxbox. I get audio but the video is just a garbled green screen. I installed the mplayer browser plugin so that I could watch quicktime movies. It seems to randomly work in fluxbox and it ALWAYS works in kde. I captured the ouput of mplayer, from the same quicktime movie, in both kde and fluxbox. I then ran the 'diff' command to see if there where any big differences between the files. Here is the output:

(PROMPT)$ diff -i kde.txt flux.txt
16,19c16,18
< Reading config file /home/kde/.mplayer/config
< Reading /home/kde/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
< font: can't open file: /home/kde/.mplayer/font/font.desc
< font: can't open file: /usr/share/mplayer/font/font.desc
---
> Reading config file /home/flux/.mplayer/config
> Reading /home/flux/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
> Font /home/flux/.mplayer/font/font.desc loaded successfully! (206 chars)
57c56
< 6F 00 00 00 33 51 56 53 37 39 37 30 37 37 33 64
---
> 6F 00 00 00 33 51 56 53 00 00 00 00 00 00 00 00
64c63
< =============== ImageDescription at 0x858c928 ==================
---
> =============== ImageDescription at 0x85c8a70 ==================

I'm not exactly sure if I'm reading this right but it looks like the only difference between them is the usernames(which are fake for easier reading) and the fonts section.

Could the fonts have something to do with this?

acid_kewpie 04-24-2003 05:00 PM

you have a different user for each wm? that's bizarre... :confused:

what is garbled? what does it acutally look like? what kind of files? paste the full output from mplayer, maybe it's arts messing you around as it presumably won't be there outside of icky kde.

the diff you have there will only compare the stdout stream, not stderr, which is probably more informative.

Crashed_Again 04-24-2003 05:10 PM

Okay here is the fluxbox output:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90-RPM-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
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 /home/flux/.mplayer/config
Reading /home/flux/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
Font /home/flux/.mplayer/font/font.desc loaded successfully! (206 chars)
Audio extra header: len=92 fcc=0x77617665
win32 libquicktime loader (c) Sascha Sommer
Standard init done you may now call supported functions
loader_init DONE???
loader_init DONE!
External func COMCTL32.dll:17
External func COMCTL32.dll:16
Win32 Warning: Accessed uninitialized Critical Section (0x66bc4210)!
WARNING! Invalid Ptr handle!
Win32 Warning: Accessed uninitialized Critical Section (0x66bc41f8)!

### Searching for QuickTime plugins (*.qtx) at /usr/lib/win32...
### FindNext: QuickTimeEssentials.qtx
### FindNext: QuickTimeInternetExtras.qtx
### FindNext: 3ivX.qtx
### FindNext: BeHereiVideo.qtx
### FindNext: Indeo4.qtx
### FindNext: On2_VP3.qtx
### FindNext: ZyGoVideo.qtx
InitializeQTML:0
SoundConverterOpen:0
SoundConverterSetInfo:0
SoundConverterGetBufferSizes:0
WantedBufferSize = 44100
InputBufferSize = 3240
OutputBufferSize = 40964
FramesToGet = 10
FrameSize: 324 -> 4096
SoundConverterBeginConversion:0
InitializeQTML returned 0
Count = 1
Found it! ID = 0x100fe
ci=0x810006
ImageCodecInitialize->0 size=0 (16)
Flags: compr: 0x800420 decomp: 0x400 format: 0x2060
Codec name: Sorenson Video 3
ImageDescription size: 111
6F 00 00 00 33 51 56 53 00 00 00 00 00 00 00 00
03 00 80 13 20 49 4D 53 FF 03 00 00 00 02 00 00
F0 00 88 00 00 00 48 00 00 00 48 00 00 00 00 00
01 00 10 53 6F 72 65 6E 73 6F 6E 20 56 69 64 65
6F 20 33 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 18 00 FF FF 00 00 00 15 53 4D 49 20 53 45
51 48 00 00 00 05 E1 E0 11 19 C0 00 00 00 00
=============== ImageDescription at 0x85c8a70 ==================
idSize=0x6F fourcc=0x53565133
ver=3 rev=4992 vendor=0x534D4920
tempQ=1023 spatQ=512 dim: 240 x 136 dpi: 4718592 x 4718592 depth: 24
dataSize=0 frameCount=1 clutID=-1
name='Sorenson Video 3'
00 00 00 15 | 53 4D 49 20 | 53 45 51 48 | 00 00 00 05
=========================================================
imgfmt: Packed YUY2 qt_imgfmt: svuy
NewGWorldFromPtr returned:65536
ImageCodecPreDecompress cres=0x0
supported csp: 0x79757675 uvuy
SoundConverterEndConversion:0
SoundConverterClose:0


and heres KDE:

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90-RPM-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
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 /home/vince/.mplayer/config
Reading /home/vince/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/vince/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Audio extra header: len=92 fcc=0x77617665
win32 libquicktime loader (c) Sascha Sommer
Standard init done you may now call supported functions
loader_init DONE???
loader_init DONE!
External func COMCTL32.dll:17
External func COMCTL32.dll:16
Win32 Warning: Accessed uninitialized Critical Section (0x66bc4210)!
WARNING! Invalid Ptr handle!
Win32 Warning: Accessed uninitialized Critical Section (0x66bc41f8)!

### Searching for QuickTime plugins (*.qtx) at /usr/lib/win32...
### FindNext: QuickTimeEssentials.qtx
### FindNext: QuickTimeInternetExtras.qtx
### FindNext: 3ivX.qtx
### FindNext: BeHereiVideo.qtx
### FindNext: Indeo4.qtx
### FindNext: On2_VP3.qtx
### FindNext: ZyGoVideo.qtx
InitializeQTML:0
SoundConverterOpen:0
SoundConverterSetInfo:0
SoundConverterGetBufferSizes:0
WantedBufferSize = 44100
InputBufferSize = 3240
OutputBufferSize = 40964
FramesToGet = 10
FrameSize: 324 -> 4096
SoundConverterBeginConversion:0
InitializeQTML returned 0
Count = 1
Found it! ID = 0x100fe
ci=0x810006
ImageCodecInitialize->0 size=0 (16)
Flags: compr: 0x800420 decomp: 0x400 format: 0x2060
Codec name: Sorenson Video 3
ImageDescription size: 111
6F 00 00 00 33 51 56 53 37 39 37 30 37 37 33 64
03 00 80 13 20 49 4D 53 FF 03 00 00 00 02 00 00
F0 00 88 00 00 00 48 00 00 00 48 00 00 00 00 00
01 00 10 53 6F 72 65 6E 73 6F 6E 20 56 69 64 65
6F 20 33 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 18 00 FF FF 00 00 00 15 53 4D 49 20 53 45
51 48 00 00 00 05 E1 E0 11 19 C0 00 00 00 00
=============== ImageDescription at 0x858c928 ==================
idSize=0x6F fourcc=0x53565133
ver=3 rev=4992 vendor=0x534D4920
tempQ=1023 spatQ=512 dim: 240 x 136 dpi: 4718592 x 4718592 depth: 24
dataSize=0 frameCount=1 clutID=-1
name='Sorenson Video 3'
00 00 00 15 | 53 4D 49 20 | 53 45 51 48 | 00 00 00 05
=========================================================
imgfmt: Packed YUY2 qt_imgfmt: svuy
NewGWorldFromPtr returned:65536
ImageCodecPreDecompress cres=0x0
supported csp: 0x79757675 uvuy
SoundConverterEndConversion:0
SoundConverterClose:0

acid_kewpie 04-24-2003 05:18 PM

that's still only stdout isn't it?

mplayer blah.mov > output 2>&1

Crashed_Again 04-24-2003 05:29 PM

Quote:

Originally posted by acid_kewpie
you have a different user for each wm? that's bizarre... :confused:
bizarre you say? My girlfriend likes KDE and I'm trying out fluxbox.

Anyway, thats what I did. Its the browser plugin:

mozilla > kde.txt 2>&1

What you see is the output from the plugin running in the browser. Would it make a difference if I played a .mov file on my hard drive? I don't think so.


All times are GMT -5. The time now is 11:01 PM.