Hi; tvtime gives me a great picture but no sound. mplayer gives me a terrible picture and no sound. (terrible = inverted picture with green background; just black and magenta for colours; and vertical lines running through it.) Is there a way to find out which video codecs etc. tvtime is using so I can duplicate them in mplayer. tvtime -v doesn't tell me (I think) nor is mplayer -v helpful. I have tried the sound with PulseAudio installed and removed. No difference. Here is what I have today __________________________ ~]$ tvtime -v ... cpuinfo: CPU Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz, family 6, model 7, stepping 10. cpuinfo: CPU measured at 2799.981MHz. tvtime: Cannot set priority to -10: Permission denied. xcommon: Display :0.0, vendor The X.Org Foundation, vendor release 10503000 xfullscreen: Using XINERAMA for dual-head information. xfullscreen: Pixels are square. xfullscreen: Number of displays is 1. xfullscreen: Head 0 at 0,0 with size 1680x1050. xcommon: Have XTest, will use it to ping the screensaver. xcommon: Pixel aspect ratio 1:1. ... xcommon: Displaying in a 1024x576 window inside 1024x576 space. xvoutput: Using XVIDEO adaptor 280: NV17 Video Texture. speedycode: Using MMXEXT optimized functions. station: Reading stationlist from /home/bill/.tvtime/stationlist.xml videoinput: Using video4linux2 driver 'cx23885', card 'Hauppauge WinTV-HVR1800' (bus PCIe:0000:02:00.0). videoinput: Version is 1, capabilities 5010011. videoinput: Maximum input width: 720 pixels. tvtime: Sampling input at 720 pixels per scanline. xcommon: Pixel aspect ratio 1:1. xcommon: Displaying in a 1024x576 window inside 1024x576 space. xcommon: Received a map, marking window as visible (57). __________________________________ ]$ mplayer -v \ -tv device=/dev/video0:driver=v4l2:norm=ntsc-m:outfmt=uyvy\ :immediatemode=0:amode=1:forceaudio:volume=100:alsa:adevice=hw.0,0\ -vc rawuyvy,\ -vo xv\ -aspect 16:9\ -ao alsa\ -menu\ tv:// [the above is being run from a bash script -- alias mpl='mplayer4tv'] ___________________________________ The mplayer command line above comes from a couple of googled suggested command lines for use with my video card. I can't get any to work. The above script is the result of intense manual reading etc. and trial and error over the last few days. ____________________________________ ]$ mpl MPlayer SVN-r28461-4.3.2 (C) 2000-2009 MPlayer Team CPU: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz (Family: 6, Model: 23, Stepping: 10) get_path('codecs.conf') -> '/home/bill/.mplayer/codecs.conf' Reading /home/bill/.mplayer/codecs.conf: Can't open '/home/bill/.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: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/mplayer --mandir=/usr/share/man --confdir=/etc/mplayer --libdir=/usr/lib64 --codecsdir=/usr/lib64/codecs --target=x86_64-linux --language=all --enable-joystick --enable-largefiles --enable-lirc --enable-menu --enable-runtime-cpudetection --enable-unrarexec --disable-dvdread-internal --disable-libdvdcss-internal --disable-nemesi --disable-smb --disable-faac-lavc --disable-mp3lame-lavc --disable-x264-lavc --disable-libamr_nb --disable-libamr_wb --disable-faad-internal --disable-mad --disable-tremor-internal --disable-bitmap-font --disable-directfb --with-fribidi-config=pkg-config fribidi --disable-svga --disable-termcap --enable-xvmc --with-xvmclib=XvMCW --disable-arts --disable-esd --disable-jack --disable-openal CommandLine: '-v' '-tv' 'device=/dev/video0:driver=v4l2:norm=ntsc-m:outfmt=uyvy:immediatemode=0:amode=1:forceaudio:volume=100:alsa:adevice=hw.0,0' '-vc' 'rawuyvy,' '-vo' 'xv' '-aspect' '16:9' '-ao' 'alsa' '-menu' 'tv://' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/bill/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/bill/.mplayer/input.conf' Parsing input config file /home/bill/.mplayer/input.conf Input config file /home/bill/.mplayer/input.conf parsed: 89 binds Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. get_path('menu.conf') -> '/home/bill/.mplayer/menu.conf' [libmenu] got keybinding element 275 UP=>[menu up]. [libmenu] got keybinding element 274 DOWN=>[menu down]. [libmenu] got keybinding element 273 LEFT=>[menu left]. [libmenu] got keybinding element 272 RIGHT=>[menu right]. [libmenu] got keybinding element 13 ENTER=>[menu ok]. [libmenu] got keybinding element 263 ESC=>[menu cancel]. [libmenu] got keybinding element 259 HOME=>[menu home]. [libmenu] got keybinding element 260 END=>[menu end]. [libmenu] got keybinding element 261 PGUP=>[menu pageup]. [libmenu] got keybinding element 262 PGDWN=>[menu pagedown]. [libmenu] got keybinding element 387 JOY_UP=>[menu up]. [libmenu] got keybinding element 386 JOY_DOWN=>[menu down]. [libmenu] got keybinding element 385 JOY_LEFT=>[menu left]. [libmenu] got keybinding element 384 JOY_RIGHT=>[menu right]. [libmenu] got keybinding element 404 JOY_BTN0=>[menu ok]. [libmenu] got keybinding element 405 JOY_BTN1=>[menu cancel]. [libmenu] got keybinding element 1288 AR_VUP=>[menu up]. [libmenu] got keybinding element 1289 AR_VDOWN=>[menu down]. [libmenu] got keybinding element 1284 AR_PREV=>[menu left]. [libmenu] got keybinding element 1282 AR_NEXT=>[menu right]. [libmenu] got keybinding element 1280 AR_PLAY=>[menu ok]. [libmenu] got keybinding element 1286 AR_MENU=>[menu cancel]. [libmenu] got keybinding element 1285 AR_PREV_HOLD=>[menu home]. [libmenu] got keybinding element 1283 AR_NEXT_HOLD=>[menu end]. [libmenu] got keybinding element 512 MOUSE_BTN0=>[menu click]. [libmenu] got keybinding element 514 MOUSE_BTN2=>[menu cancel]. [libmenu] got keybinding element 1284 AR_PREV=>[menu pageup]. [libmenu] got keybinding element 1282 AR_NEXT=>[menu pagedown]. [libmenu] got keybinding element 256 BS=>[menu left]. [libmenu] got keybinding element 1284 AR_PREV=>[menu left]. [libmenu] got keybinding element 1282 AR_NEXT=>[menu right]. [libmenu] got keybinding element 1284 AR_PREV=>[menu left]. [libmenu] got keybinding element 1282 AR_NEXT=>[menu right]. [libmenu] got keybinding element 1285 AR_PREV_HOLD=>[menu left]. [libmenu] got keybinding element 1283 AR_NEXT_HOLD=>[menu right]. Menu initialized: /home/bill/.mplayer/menu.conf get_path('.conf') -> '/home/bill/.mplayer/.conf' Playing tv://. get_path('sub/') -> '/home/bill/.mplayer/sub/' STREAM: [tv] tv:// STREAM: Description: TV Input STREAM: Author: Benjamin Zores, Albeu STREAM: Comment: TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <olschewski@xxxxxxxxxxxxxxxx> comment: first try, more to come ;-) Selected device: Hauppauge WinTV-HVR1800 Tuner cap: Tuner rxs: Capabilites: video capture VBI capture device tuner read/write streaming supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 = SECAM-DK; 11 = SECAM-L; inputs: 0 = Television; 1 = Composite1; 2 = S-Video; Current input: 0 Format GREY ( 8 bits, 8 bpp, gray): Planar Y800 Format RGB555 (16 bits, 15 bpp RGB, le): BGR 15-bit Format RGB555X (16 bits, 15 bpp RGB, be): Unknown 0x51424752 Format RGB565 (16 bits, 16 bpp RGB, le): BGR 16-bit Format RGB565X (16 bits, 16 bpp RGB, be): Unknown 0x52424752 Format BGR24 (24 bits, 24 bpp RGB, le): BGR 24-bit Format BGR32 (32 bits, 32 bpp RGB, le): BGRA Format RGB32 (32 bits, 32 bpp RGB, be): RGBA Format YUYV (16 bits, 4:2:2, packed, YUYV): Packed YUY2 Format UYVY (16 bits, 4:2:2, packed, UYVY): Packed UYVY Current format: BGR24 v4l2: setting audio mode v4l2: current audio mode is : STEREO v4l2: set Volume: 63 [0, 63] v4l2: set format: UYVY v4l2: set input: 0 Selected norm : ntsc-m v4l2: set norm: NTSC-M Selected channel list: europe-east (including 133 channels) Current frequency: 38654710100 (2415919360.000) ==> Found video stream: 0 v4l2: get format: UYVY v4l2: get fps: 29.970030 v4l2: get width: 640 v4l2: get height: 480 Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tstamp_mode : NONE period_step : 1 avail_min : 4096 period_event : 0 start_threshold : 0 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 4611686018427387904 appl_ptr : 0 hw_ptr : 0 v4l2: set audio samplerate: 44100 Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tstamp_mode : NONE period_step : 1 avail_min : 4096 period_event : 0 start_threshold : 0 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 4611686018427387904 appl_ptr : 0 hw_ptr : 0 v4l2: get audio format: 9 ==> Found audio stream: 0 v4l2: get audio samplerate: 44100 v4l2: get audio samplesize: 2 v4l2: get audio channels: 2 TV audio: 2 channels, 16 bits, 44100 Hz Audio capture - buffer 614 blocks of 16384 bytes, skew average from 16 meas. Using a ring buffer for maximum 1716 frames, 1005 MB total size. v4l2: set Brightness: 127 [0, 255] v4l2: set Hue: 127 [0, 255] v4l2: set Saturation: 127 [0, 255] v4l2: set Contrast: 63 [0, 255] [V] filefmt:9 fourcc:0x59565955 size:640x480 fps:29.970 ftime:=0.0334 get_path('sub/') -> '/home/bill/.mplayer/sub/' X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1680x1050 with depth 24 and 32 bpp (":0.0" => local display) [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms [VO_XV] Using Xv Adapter #0 (NV17 Video Texture) [xv common] Drawing no colorkey. [xv common] Maximum source image dimensions: 2046x2046 ========================================================================== Forced video codec: rawuyvy Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 640 x 480 (preferred colorspace: Packed UYVY) Trying filter chain: menu vo VDec: using Packed UYVY as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO Config (640x480->854x480,flags=0,'MPlayer',0x59565955) Unicode font: 4959 glyphs. REQ: flags=0x437 req=0x0 VO: [xv] 640x480 => 854x480 Packed UYVY VO: Description: X11/Xv VO: Author: Gerd Knorr <kraxel@xxxxxxxxxxxxxxxxxxxxx> 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 280 for hw scaling [xv] dx: 0 dy: 0 dw: 854 dh: 534 Selected video codec: [rawuyvy] vfm: raw (RAW UYVY) ========================================================================== ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer. AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 44100Hz/2ch/s16le [dummy] Was reinitialized: 44100Hz/2ch/s16le Trying preferred audio driver 'alsa', options '[none]' alsa-init: requested format: 44100 Hz, 2 channels, 9 alsa-init: using ALSA 1.0.20 alsa-init: setup for 1/2 channel(s) alsa-init: using device default alsa-init: pcm opened in blocking mode alsa-init: chunksize set to 1024 alsa-init: fragcount=8 alsa-init: got buffersize=32768 alsa-init: got period size 1024 alsa: 48000 Hz/2 channels/4 bpf/32768 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@xxxxxxxxxxxxxxxxx> AO: Comment: under developement Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Was reinitialized: 44100Hz/2ch/s16le [libaf] Adding filter lavcresample [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le Starting playback... [libaf] Reallocating memory in module lavcresample, old len = 0, new len = 34974 Increasing filtered audio buffer size from 0 to 34932 v4l2: going to capture *** [menu] Exporting mp_image_t, 640x480x16bpp YUV packed, 614400 bytes *** [vo] Exporting mp_image_t, 640x480x16bpp YUV packed, 614400 bytes Unicode font: 4959 glyphs. Unicode font: 4959 glyphs. Selected channel: R1 (freq: 49.750)0.093 788/788 0% 1% 0.5% 24 0 Current frequency: 796 (49.750) Increasing filtered audio buffer size from 34932 to 34944 Increasing filtered audio buffer size from 34944 to 34984 0.5% 25 0 Selected channel: R2 (freq: 59.250)0.093 877/877 0% 1% 0.5% 29 0 Current frequency: 948 (59.250) Increasing filtered audio buffer size from 34984 to 34988 Selected channel: R3 (freq: 77.250)0.093 941/941 0% 1% 0.5% 34 0 Current frequency: 1236 (77.250) Selected channel: R4 (freq: 85.250)0.093 3042/3042 0% 1% 0.5% 38 0 Current frequency: 1364 (85.250) Selected channel: R5 (freq: 93.250) Current frequency: 1492 (93.250) Selected channel: R6 (freq: 175.250).093 3227/3227 0% 1% 0.5% 43 0 Current frequency: 2804 (175.250) Selected channel: R7 (freq: 183.250) Current frequency: 2932 (183.250) Selected channel: R8 (freq: 191.250) Current frequency: 3060 (191.250) Uninit audio filters...-0.000 ct: 0.093 3459/3459 0% 1% 0.5% 46 0 [libaf] Removing filter lavcresample [libaf] Removing filter dummy Uninit audio: pcm Uninit video: raw v4l2: 3628 frames successfully processed, -3623 frames dropped. v4l2: up to 172 video frames buffered. alsa-uninit: pcm closed vo: uninit ... Exiting... (Quit) ____________________________ Selected channel list: europe-east (including 133 channels) -- ??? I am in Canada using Rogers cable. I have tried both norm:ntsc and ntsc-m. P.S. I am starting a new thread because a lot of information has changed since my original thread. -- Regards Bill Fedora 10, Gnome 2.24.3 Evo.2.24.5, Emacs 22.3.1 -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines