Hey all,

        I got my WinTV Go card running okay under XawTV, and am now able to play TV 
on the PC. The next part (well, my original goal) is to record from Super8 
and VHS video to make a presentation.

        I seem to be running into problems recording sound under both streamer (from 
XawTV) and lavrec (from mjpegtools). Using lavrec and the following script, I 
get the following:

The capture script:
[EMAIL PROTECTED] TVCaptures]$ more capture.sh
lavrec -t${2} --software-encoding --input=n --quality=50 --geometry=352x288 
--audio-bitsize=8 --audio-source=l --verbose=1 -
-wait  /home/bruce/TVCaptures/${1}.avi

Info back:
[EMAIL PROTECTED] TVCaptures]$ sh capture.sh test 10
   INFO: [lavrec] Recording parameters:
   INFO: [lavrec] Output format:      AVI
   INFO: [lavrec] Input Source:       BT8x8 1st input NTSC

   INFO: [lavrec] Decimation:         4
   INFO: [lavrec] Quality:            50
   INFO: [lavrec] Recording time:     10 sec
   INFO: [lavrec]
   INFO: [lavrec] MJPEG buffer size:  256 KB
   INFO: [lavrec] # of MJPEG buffers: 64
   INFO: [lavrec] Audio parameters:
   INFO: [lavrec] Audio sample size:           8 bit
   INFO: [lavrec] Audio sampling rate:         44100 Hz
   INFO: [lavrec] Audio is MONO
   INFO: [lavrec] Audio input recording level: Use mixer setting
   INFO: [lavrec] Level of correction for Audio/Video synchronization:
   INFO: [lavrec] Lost frame compensation and frame drop/insert
++ WARN: [lavrec] Unable to set negative priority for main thread
++ WARN: [lavrec] Pthread Real-time scheduling for main thread could not be 
enab                                            led
   INFO: [lavrec] Using mmap(2) system call for capture
++ WARN: [lavrec] Unable to set negative priority for audio thread.
++ WARN: [lavrec] Pthread Real-time scheduling for audio thread could not be 
ena                                            bled.
   INFO: [lavrec] Auto detecting input and norm ...
   INFO: [lavrec] Unmuting tuner audio...
   INFO: [lavrec] Image size will be 352x288, 1 field(s) per buffer
   INFO: [lavrec] Got 4 YUV-buffers of size 2080 KB
   INFO: [lavrec] Created 64 MJPEG-buffers of size 256 KB
   INFO: [lavrec] Getting audio ...
Press enter to start recording>
Press enter to pause recording
   INFO: [lavrec] Created 1 software JPEG-encoding process(es)

   INFO: [lavrec] Opening output file /home/bruce/TVCaptures/test.avi
   INFO: [lavrec] Recording time reached, stoppingtd1=0.017 td2=0.346
   INFO: [lavrec] Re-muting tuner audio...

Recording time  :  0.00.10:01
Lost frames     : 000
A/V sync ins/del: 146/000
Audio errors    : 000

*****

Basically, the video looks good, but I get no audio. When I play XawTV, I get 
sound. When I record and playback - no sound.

lsmod looks like this:
Module                  Size  Used by    Tainted: P
**shorewall stuff deleted**

snd-seq-midi            5024   0  (autoclean) (unused)
snd-seq-oss            31104   0  (unused)
snd-seq-midi-event      5640   0  [snd-seq-midi snd-seq-oss]
snd-seq                42608   2  [snd-seq-midi snd-seq-oss 
snd-seq-midi-event]
snd-pcm-oss            43556   0
snd-mixer-oss          14488   0  [snd-pcm-oss]
snd-ens1370            11116   0
snd-rawmidi            17600   0  [snd-seq-midi snd-ens1370]
snd-seq-device          5832   0  [snd-seq-midi snd-seq-oss snd-seq 
snd-rawmidi]
snd-pcm                77536   0  [snd-pcm-oss snd-ens1370]
snd-timer              18376   0  [snd-seq snd-pcm]
gameport                3316   0  [snd-ens1370]
snd-page-alloc          7732   0  [snd-ens1370 snd-pcm]
snd-ak4531-codec        5972   0  [snd-ens1370]
snd                    40868   0  [snd-seq-midi snd-seq-oss snd-seq-midi-event 
snd-seq snd-pcm-oss snd-mixer-oss snd-ens1370 snd-rawmidi snd-seq-device 
snd-pcm snd-timer snd-ak4531-codec]

**more stuff delted**

tuner                  11744   1  (autoclean)
tvaudio                15068   0  (autoclean) (unused)
bttv                   78496   0
videodev                7872   2  [bttv]
i2c-algo-bit            9064   1  [bttv]
i2c-core               21192   0  [tuner tvaudio bttv i2c-algo-bit]
soundcore               6276   0  [snd bttv]

** and more stuff deleted **


And modules.conf:

probeall usb-interface usb-uhci
alias eth0 natsemi
above snd-ens1370 snd-pcm-oss
alias sound-slot-0 snd-ens1370
alias /dev/nvidia*   nvidia
post-install usb-uhci modprobe joydev
post-install usb-uhci modprobe hid
probeall scsi_hostadapter usb-storage


Where do I turn next to get sound working when recording from my WinTV card? I 
can record from CD's and play back. I can hear sound when playing XawTV. I 
can even hear sound when running the capture script above. I just do not get 
sound when playing it back. Help!

Hardware-wise, I am using a Hauppage WinTV Go card and an EnsonIQ sound card. 
I have a cable running from the TV card to the sound card (out on the TV 
card, in on the sound card). 
BruceG


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to