lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 19 Aug 2008 19:30:47 -0400 (EDT) From: Justin Piszcz <jpiszcz@...idpixels.com> To: User discussion about IVTV <ivtv-users@...vdriver.org> cc: Alan Piszcz <ap@...arrain.com>, linux-kernel@...r.kernel.org Subject: Re: [ivtv-users] Hauppauge 1192 WinTV-HVR-1950: Kernel Oops :( On Tue, 19 Aug 2008, Justin Piszcz wrote: > > > On Tue, 19 Aug 2008, Justin Piszcz wrote: > >> >> On Tue, 19 Aug 2008, Justin Piszcz wrote: >> >>> On Tue, 19 Aug 2008, Justin Piszcz wrote: >>> >>>> 2.6.26.2: >>>> >>>> [ 15.745116] usbcore: registered new interface driver pvrusb2 >>>> [ 16.023474] pvrusb2: Device initialization completed successfully. >>> >>> Closer now: >>> >>> [ 749.791189] pvrusb2: Device initialization completed successfully. >> Cannot seek backward in linear streams! >> Seek failed >> ID_VIDEO_ID=0 >> MPEG-PS file format detected. >> ID_AUDIO_ID=0 >> VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s) >> ID_FILENAME=/dev/video0 >> ID_DEMUXER=mpegps >> ID_VIDEO_FORMAT=0x10000002 >> ID_VIDEO_BITRATE=8000000 >> ID_VIDEO_WIDTH=720 >> ID_VIDEO_HEIGHT=480 >> ID_VIDEO_FPS=29.970 >> ID_VIDEO_ASPECT=0.0000 >> ID_AUDIO_FORMAT=80 >> ID_AUDIO_BITRATE=0 >> ID_AUDIO_RATE=0 >> ID_AUDIO_NCH=0 >> ID_LENGTH=0.00 >> ID_SEEKABLE=1 >> Opening video filter: [eq2] >> ========================================================================== >> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough >> VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES) >> Could not find matching colorspace - retrying with -vf scale... >> Opening video filter: [scale] Ok after 2-3 hours of playing around, got it working: $ cat video.sh #!/bin/bash # Set video type. echo s-video > /sys/class/pvrusb2/*/ctl_input/cur_val echo NTSC-M > /sys/class/pvrusb2/*/ctl_video_standard/cur_val # The only option I need: echo "65535" > /sys/class/pvrusb2/sn-*/ctl_volume/cur_val # The following was found here: # http://www.mail-archive.com/pvrusb2@isely.net/msg00306.html #echo "10485760" > /sys/class/pvrusb2/sn-*/ctl_video_bitrate_peak/cur_val #echo "8388608" > /sys/class/pvrusb2/sn-*/ctl_video_bitrate/cur_val #echo "Constant Bitrate" > /sys/class/pvrusb2/sn-*/ctl_video_bitrate_mode/cur_val #echo "224 kbps" > /sys/class/pvrusb2/sn-*/ctl_audio_bitrate/cur_val # modify, sound is too low (max is 65535) #echo "65535" > /sys/class/pvrusb2/sn-*/ctl_volume/cur_val #echo "53738" > /sys/class/pvrusb2/sn-*/ctl_volume/cur_val # Now you can mplayer /dev/video0! # mplayer -vf yadif /dev/video0 Loaded modules: $ lsmod Module Size Used by nvidia 7095108 24 s5h1411 8900 1 tda18271 34312 2 tda8290 12868 2 tuner 26632 0 cx25840 27404 0 i2c_i801 8208 0 pvrusb2 164568 1 dvb_core 72128 1 pvrusb2 cx2341x 12100 1 pvrusb2 v4l2_common 10240 4 tuner,cx25840,pvrusb2,cx2341x videodev 30208 3 tuner,pvrusb2 v4l1_compat 14404 2 pvrusb2,videodev tveeprom 11972 1 pvrusb2 i2c_core 19092 10 nvidia,s5h1411,tda18271,tda8290,tuner,cx25840,i2c_i801,pvrusb2,v4l2_common,tveeprom snd_hda_intel 350420 5 snd_hwdep 7044 1 snd_hda_intel Mplayer works flawlessly. Note using USB, there is a delay ~2-3 seconds vs. the TV itself. Justin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists