From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: User discussion about IVTV <ivtv-users@ivtvdriver.org>
Cc: Alan Piszcz <ap@solarrain.com>, linux-kernel@vger.kernel.org
Subject: Re: [ivtv-users] Hauppauge 1192 WinTV-HVR-1950: Kernel Oops :(
Date: Tue, 19 Aug 2008 19:30:47 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.1.10.0808191929260.18449@p34.internal.lan> (raw)
In-Reply-To: <alpine.DEB.1.10.0808191845320.15091@p34.internal.lan>
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.
prev parent reply other threads:[~2008-08-19 23:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 21:36 Justin Piszcz
2008-08-19 21:53 ` [ivtv-users] " Justin Piszcz
2008-08-19 22:25 ` Justin Piszcz
2008-08-19 22:54 ` Justin Piszcz
2008-08-19 23:30 ` Justin Piszcz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.10.0808191929260.18449@p34.internal.lan \
--to=jpiszcz@lucidpixels.com \
--cc=ap@solarrain.com \
--cc=ivtv-users@ivtvdriver.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®