Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#42 Missing TV channel selection - Composite/S-video

open
nobody
5
2008-03-16
2008-03-16
Radek
No

Hi,
I am desperately missing the Composite and S-video Channel options in the KPlayer TV channel selection, as I am using external video source, rather than internal tuner (the card works fine, i can see the composite and s-video previews e.g. at Kopete as webcam sources).
Or is there any way to choose the S-video source in the current version of KPlayer?

Thanks in advance,

Radek.

Discussion

  • kiriuja
    kiriuja
    2008-03-17

    Logged In: YES
    user_id=137121
    Originator: NO

    Find the TV device in the multimedia library, right click it to open its properties, go to the Video page, and change the third option from the bottom, called Input. The default ("auto") is 0, so try setting it to 1 instead.

    Please send me the contents of the message log, when playing with 0 and with 1 (or whatever the number for S-video). I can try and extract the available inputs and other things and put them in that option in the dialog and maybe even somewhere on the menu for easy access...

    I don't have a TV card myself, so I'll need your help testing the changes.

    Thanks!

    --
    kiriuja

     
  • Radek
    Radek
    2008-03-17

    Logged In: YES
    user_id=2037896
    Originator: YES

    Hi kiriuja, thanks for your quick tips:
    I have tried to set the Input field to 1 (usually composite source) and 2 (S-video input, tested in mplayer) - now I can see a "slideshow" (ca 1-2fps, in comparison to full frame rate when running "mplayer tv:// -tv driver=v4l:input=2:width=720:height=576:brightness=10:contrast=-5:saturation=5 -vf lavcdeint")

    Here is the KPlayer log:

    MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
    CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 43, Stepping: 1)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    Playing tv://.
    TV file format detected.
    Selected driver: v4l2
    name: Video 4 Linux 2 input
    author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
    comment: first try, more to come ;-)
    Selected device: KWorld DVB-T 210
    Tuner cap: STEREO LANG1 LANG2
    Tuner rxs: MONO
    Capabilites: video capture video overlay VBI capture device tuner read/write streaming
    supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = SECAM-DK; 7 = SECAM-L; 8 = SECAM-Lc; 9 = PAL-M; 10 = PAL-Nc; 11 = PAL-60;
    inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
    Current input: 2
    Current format: BGR24
    v4l2: current audio mode is : MONO
    Selected channel: SR19 (freq: 295.250)
    ID_VIDEO_ID=0
    ID_AUDIO_ID=0
    Video buffer shorter than 3 times audio frame duration.
    You will probably experience heavy framedrops.
    ID_FILENAME=tv://
    ID_DEMUXER=tv
    ID_VIDEO_FORMAT=YV12
    ID_VIDEO_BITRATE=0
    ID_VIDEO_WIDTH=640
    ID_VIDEO_HEIGHT=480
    ID_VIDEO_FPS=25.000
    ID_VIDEO_ASPECT=0.0000
    ID_AUDIO_FORMAT=1
    ID_AUDIO_BITRATE=705600
    ID_AUDIO_RATE=44100
    ID_AUDIO_NCH=1
    ID_LENGTH=0.00
    xscreensaver_disable: Could not find XScreenSaver window.
    [VO_XV] It seems there is no Xvideo support for your video card available.
    [VO_XV] Run 'xvinfo' to verify its Xv support and read
    [VO_XV] DOCS/HTML/en/video.html#xv!
    [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
    [VO_XV] Try -vo x11.
    xscreensaver_disable: Could not find XScreenSaver window.
    [VO_XV] It seems there is no Xvideo support for your video card available.
    [VO_XV] Run 'xvinfo' to verify its Xv support and read
    [VO_XV] DOCS/HTML/en/video.html#xv!
    [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
    [VO_XV] Try -vo x11.
    xscreensaver_disable: Could not find XScreenSaver window.
    ==========================================================================
    Opening video decoder: [raw] RAW Uncompressed Video
    VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO: [x11] 640x480 => 640x480 Planar YV12 [zoom]
    X11 error: BadAccess during XSelectInput Call
    X11 error: The 'ButtonPressMask' mask of specified window has probably already used by another appication (see man XSelectInput)
    X11 error: MPlayer discards mouse control (reconfiguring)
    X11 error: BadAccess during XSelectInput Call
    X11 error: The 'ButtonPressMask' mask of specified window has probably already used by another appication (see man XSelectInput)
    X11 error: MPlayer discards mouse control (reconfiguring)
    [swscaler @ 0x8965190]SwScaler: using unscaled yuv420p -> rgb32 special converter
    Selected video codec: [rawyv12] vfm: raw (RAW YV12)
    ==========================================================================
    ID_VIDEO_CODEC=rawyv12
    ==========================================================================
    Opening audio decoder: [pcm] Uncompressed PCM audio decoder
    AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
    ID_AUDIO_BITRATE=705600
    ID_AUDIO_RATE=44100
    ID_AUDIO_NCH=1
    Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
    ==========================================================================
    AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample)
    ID_AUDIO_CODEC=pcm
    Starting playback...
    video buffer full - dropping frame
    video buffer full - dropping frame
    video buffer full - dropping frame
    video buffer full - dropping frame
    video buffer full - dropping frame
    video buffer full - dropping frame
    video buffer full - dropping frame
    ...

    Could You be so kind and try to explain me the "Video buffer shorter than 3 times audio frame duration. You will probably experience heavy framedrops." hint and help me to find some solution?
    My current linux setup is far from perfect, I am just trying to cheat the live 200MB flash edition of Slax 6.02 (www.slax.org), in order to make it working with common TV cards out of the box (at least to watch TV flawlessly) - and kplayer seems to be a good base...

    Thanks in advance,

    Radek.

     
  • kiriuja
    kiriuja
    2008-03-18

    Logged In: YES
    user_id=137121
    Originator: NO

    If you can make MPlayer play the stream from the command line, the best thing is to run
    ps auxww | grep mplayer
    while KPlayer is playing it, and compare with the MPlayer command line that works.

    Also please post the output when you run MPlayer from the command line, to see the difference.

    If at all possible, make XVideo or another accelerated output work. Plain X11 output is very slow.