Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MythTV, Mplayer, and keyboard issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
AxelTerizaki
n00b
n00b


Joined: 12 Apr 2003
Posts: 33

PostPosted: Fri Nov 10, 2006 9:19 pm    Post subject: MythTV, Mplayer, and keyboard issues Reply with quote

Hello there.

I have some kind of very strange problem on my hands.

I just set up a MythTV box, everything went smooth. I've got video, I've got sound, but with MythVideo and Mplayer, I've ran into a strange problem.

The scenario is always the same:
- I watch a video from my files. I can seek/toggle full screen/pause/quit mplayer with my keyboard.
- I stop watching the video and decide to go watch another. However this time, the keyboard no works anymore.

It's not a focus problem, because I can seek with the scrollwheel of my mouse and Mplayer responds. It just doesn't take any response from the keyboard anymore.

I've used both MPlayer 1.0 pre- versions, and RC1.

Here's a verbose log of Mplayer:

Code:
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 47, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/mythtv/.mplayer/codecs.conf'
Reading /home/mythtv/.mplayer/codecs.conf: Can't open '/home/mythtv/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: Can't open '/usr/share/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-fs' '-zoom' '-v' '-vo' 'xv' '/mnt/Videos/Anime/The Melancholy of Haruhi Suzumiya/[SOS-dan]The melancholy of Haruhi Suzumiya 1-14 (1280x720_DivX521)[GM1ziAg9V9]/Suzumiya_Haruhi_no_Yuuutsu_02_[Suzumiya_Haruhi_no_Yuuutsu_I](1280x720_DivX521)[GM1ziAg9V9].avi'
init_freetype
Using MMX Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/mythtv/.mplayer/input.conf'
Parsing input config file /home/mythtv/.mplayer/input.conf
Input config file /home/mythtv/.mplayer/input.conf parsed: 67 binds
get_path('Suzumiya_Haruhi_no_Yuuutsu_02_[Suzumiya_Haruhi_no_Yuuutsu_I](1280x720_DivX521)[GM1ziAg9V9].avi.conf') -> '/home/mythtv/.mplayer/Suzumiya_Haruhi_no_Yuuutsu_02_[Suzumiya_Haruhi_no_Yuuutsu_I](1280x720_DivX521)[GM1ziAg9V9].avi.conf'

Playing /mnt/Videos/Anime/The Melancholy of Haruhi Suzumiya/[SOS-dan]The melancholy of Haruhi Suzumiya 1-14 (1280x720_DivX521)[GM1ziAg9V9]/Suzumiya_Haruhi_no_Yuuutsu_02_[Suzumiya_Haruhi_no_Yuuutsu_I](1280x720_DivX521)[GM1ziAg9V9].avi.
get_path('sub/') -> '/home/mythtv/.mplayer/sub/'
[file] File size is 426932224 bytes
STREAM: [file] /mnt/Videos/Anime/The Melancholy of Haruhi Suzumiya/[SOS-dan]The melancholy of Haruhi Suzumiya 1-14 (1280x720_DivX521)[GM1ziAg9V9]/Suzumiya_Haruhi_no_Yuuutsu_02_[Suzumiya_Haruhi_no_Yuuutsu_I](1280x720_DivX521)[GM1ziAg9V9].avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 8342  (fps=119.875)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 172616   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  1280 x 720
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 120000/1001 = 119.880
Start: 0   Len: 172616
Suggested BufferSize: 217041
Quality 10000
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 1280
  biHeight 720
  biPlanes 1
  biBitCount 24
  biCompression 808802372='DX50'
  biSizeImage 5529600
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 28000/1 = 28000.000
Start: 0   Len: 40313861
Suggested BufferSize: 14000
Quality 4294967295
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 28000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x4
mp3.nBlockSize=672
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=172616)
list_end=0x22BC
hdr=Software  size=21
Software  : VirtualDubMod 1.4.13
list_end=0x191E3140
Found movie at 0x280C - 0x191E3140
Reading INDEX block, 345152 chunks for 172616 frames (fpos=421409096).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x36BC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=378239150 (172616) audio size=40313861 (40313861)
VIDEO:  [DX50]  1280x720  24bpp  119.880 fps  2101.5 kbps (256.5 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:1280x720  fps:119.88  ftime:=0.0083
Clip info:
 Software: VirtualDubMod 1.4.13
get_path('sub/') -> '/home/mythtv/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 640x480 with depth 24 and 32 bpp (":0" => local display)
[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X atoms
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using generic C decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 224 kbit Joint-Stereo, BPF: 672
Channels: 2, copyright: Yes, original: No, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.13
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1280x720->1280x720,flags=5,'MPlayer',0x32315659)
VO: [xv] 1280x720 => 1280x720 Planar YV12  [fs] [zoom]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 274 for hw scaling
[xv-fs] dx: 0 dy: 60 dw: 640 dh: 360
[xv] dx: 0 dy: 60 dw: 640 dh: 360
*** [vo] Allocating (slices) mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 480
[xv-fs] dx: 0 dy: 60 dw: 640 dh: 360
XXX initial  v_pts=0.000  a_pos=14000 (0.500)  1 ??% ??% ??,?% 0 0
*** [vo] Allocating (slices) mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
Unicode font: 679 glyphs.
*** [vo] Allocating (slices) mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
Uninit audio filters... 0.004 ct:  0.039 2250/2250 10%  0%  0.8% 0 0
[libaf] Removing filter dummy
Uninit audio: mp3lib
Uninit video: ffmpeg
alsa-uninit: pcm closed
vo: uninit ...



I quit Mplayer by pressing CTRL+C in the console after seeing I couldn't control it via keyboard. What could be wrong...?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum