[mythtv-users] How to let other application still can run when live TV program is in the frontend?

Xi Jiarong XiJiarong at sp.edu.sg
Wed Dec 12 02:23:28 UTC 2007


Thanks a lot!
I tried acoording to  your suggestion, but still got nothing change as
follows.
What I want to do is to get a simutanous camera video from a web camera
when watching TV, but got problems always.
thanks a lot.
Hope to get further help...

[root at localhost ~]# kstart --desktop 2 mplayer -vo x11 http://192.168.0.164
/img/video.asf -fs
...
CPU: Intel(R) Pentium(R) M processor 1.80GHz (Family: 6, Model: 13,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
112 audio & 235 video codecs
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing http://192.168.0.164/img/video.asf.
Resolving 192.168.0.164 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.0.164
Connecting to server 192.168.0.164[192.168.0.164]: 80...
Cache size set to 320 KBytes
Cache fill: 17.50% (57344 bytes)
ASF file format detected.
[asfheader] Video stream found, -vid 1
Invalid length in ASF header!
Win32 LoadLibrary failed to load: avisynth.dll,
/usr/lib/codecs/avisynth.dll, /usr/lib/win32/avisynth.dll,
/usr/local/lib/win32/avisynth.dll
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [MP4S]  320x240  24bpp  19.917 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [acm] Win32/ACM decoders
Loading codec DLL: 'scg726.acm'
Win32 LoadLibrary failed to load: scg726.acm, /usr/lib/codecs/scg726.acm,
/usr/lib/win32/scg726.acm, /usr/local/lib/win32/scg726.acm
Can't open library scg726.acm
ACM_Decoder: Unappropriate audio format
Could not load/initialize Win32/ACM audio codec (missing DLL file?).
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 8000 Hz, 1 ch, s16le, 16.0 kbit/12.50% (ratio: 2000->16000)
Selected audio codec: [ffg726] afm: ffmpeg (Sharp G.726 Audio)
==========================================================================
[AO_ALSA] alsa-lib: pcm_hw.c:1248:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p
failed: Device or resource busy
[AO_ALSA] alsa-lib: pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: Device or resource busy
audio_out: alsa9 and alsa1x modules were removed, use -ao alsa instead.


> I am using KDE now, and I have tried to use kstart as follows:
> [root at localhost -]kstart -desk 3 mplayer
> http://192.168.0.2/img/video.asf -fs
>
> but I still got nothing with this above command runing when watching
> TV simultaneously.

>>>I have no problems doing that- it might be window manager dependant (I
>>>am using Window Maker). However, if you are trying to start another
video
>>>like your example above and if you are using xv, you will need to use
>>>another subsystem such as x11, gl, etc. Try this command:

>>>kstart -desk 3 mplayer -vo x11 http://192.168.0.2/img/video.asf -fs

>>>Charles





Best Regards!

----------------
Jiarong

奚加荣
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071212/9e34a521/attachment.htm 


More information about the mythtv-users mailing list