[pvrusb2] pvrusb2 vs. em8300
Roger J. Allen
rja at firkraag.rogera.net
Wed Feb 22 19:59:53 CST 2006
On Wed, 22 Feb 2006, Michael Roitzsch wrote:
>
> ffmpeg -i /dev/video0 -f s16le - | hexdump -C
>
> If I see just zeros there, I know the audio is missing.
I don't get very many zeros when I run this;
[root at firkraag ~]# ffmpeg -i /dev/video0 -f s16le - | hexdump -C
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --cpu=x86 --extra-cflags=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faadbin --enable-faac --enable-libgsm --enable-xvid --enable-a52 --enable-a52bin --enable-pp --enable-shared-pp --enable-shared --enable-gpl --disable-debug --disable-opts --disable-strip
built on Jan 4 2006 06:03:41, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
Input #0, mpeg, from '/dev/video0':
Duration: N/A, bitrate: 6224 kb/s
Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p, 720x480, 6000 kb/s
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Output #0, s16le, to 'pipe:':
Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
>
> I can report one interesting finding I just made: When I load the
> em8300 modules after the pvrusb2 is initialized, the audio works, and
> so does the DXR3. I just had some crackling in the audio with this
> setup, but those appear to be transient.
>
> Can anyone draw some conclusions from the significance of the module
> loading order, before I use this to hack a workaround?
>
My prvusb2, tuner, msp3400, saa7115, and tda9887 modules get loaded
before the i2c_algo_bit, adv717x, and em8300 modules. I do hear
a quick crackle from the speakers when the em8300 loads, but the
audio seems to record and playback correctly when mythbackend makes
a recording.
Module Size Used by
nvidia 4090000 12
pcspkr 2245 0
lirc_serial 11904 0
cx8800 32589 0
cx88xx 62049 1 cx8800
ir_common 9797 1 cx88xx
bttv 168881 0
video_buf 21957 3 cx8800,cx88xx,bttv
btcx_risc 5065 3 cx8800,cx88xx,bttv
lirc_i2c 8196 1
lirc_dev 12452 2 lirc_serial,lirc_i2c
nfsd 226897 17
exportfs 6337 1 nfsd
lockd 60361 2 nfsd
nfs_acl 3905 1 nfsd
sunrpc 146045 12 nfsd,lockd,nfs_acl
parport_pc 27909 1
lp 12937 0
parport 35593 2 parport_pc,lp
autofs4 19653 1
ipt_MASQUERADE 3777 1
ipt_mark 1857 1
iptable_nat 7749 1
ip_nat 18925 2 ipt_MASQUERADE,iptable_nat
ipt_MARK 2497 1
iptable_mangle 3009 1
ipt_REJECT 5953 1
ipt_state 1985 16
ip_conntrack 52717 4 ipt_MASQUERADE,iptable_nat,ip_nat,ipt_state
nfnetlink 6617 2 ip_nat,ip_conntrack
iptable_filter 3137 1
ip_tables 20033 8 ipt_MASQUERADE,ipt_mark,iptable_nat,ipt_MARK,iptable_mangle,ipt_REJECT,ipt_state,iptable_filter
vfat 12993 3
fat 51165 1 vfat
dm_mod 57177 0
video 16197 0
button 6737 0
battery 9541 0
ac 4933 0
usblp 13633 0
ohci1394 35593 0
ieee1394 298009 1 ohci1394
uhci_hcd 32721 0
ehci_hcd 33485 0
em8300 68504 0
adv717x 8116 1
i2c_algo_bit 9289 3 cx88xx,bttv,em8300
emu10k1_gp 3905 0
gameport 15689 2 emu10k1_gp
i2c_viapro 9045 0
tda9887 15953 0
saa7115 15313 0
msp3400 33137 0
tuner 43505 0
pvrusb2 105808 1
v4l2_common 5953 3 cx8800,bttv,pvrusb2
v4l1_compat 14021 2 cx8800,pvrusb2
videodev 9665 4 cx8800,cx88xx,bttv,pvrusb2
tveeprom 15057 3 cx88xx,bttv,pvrusb2
i2c_core 21697 12 cx88xx,bttv,lirc_i2c,adv717x,i2c_algo_bit,i2c_viapro,tda9887,saa7115,msp3400,tuner,pvrusb2,tveeprom
snd_emu10k1 114021 1
snd_rawmidi 24801 1 snd_emu10k1
snd_ac97_codec 88161 1 snd_emu10k1
snd_seq_dummy 3781 0
snd_seq_oss 31809 0
snd_seq_midi_event 7105 1 snd_seq_oss
snd_seq 49617 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 9037 5 snd_emu10k1,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 50545 0
snd_mixer_oss 17985 2 snd_pcm_oss
snd_pcm 86981 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer 24901 3 snd_emu10k1,snd_seq,snd_pcm
snd_ac97_bus 2497 1 snd_ac97_codec
snd_page_alloc 10697 2 snd_emu10k1,snd_pcm
snd_util_mem 4929 1 snd_emu10k1
snd_hwdep 9185 1 snd_emu10k1
snd 54309 11 snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore 9889 3 em8300,snd
tg3 99013 0
natsemi 26913 0
floppy 62085 0
st 40417 0
ext3 129993 8
jbd 57941 1 ext3
advansys 79717 1
sd_mod 19137 2
scsi_mod 134889 3 st,advansys,sd_mod
--
Roger J. Allen
More information about the pvrusb2
mailing list