[pvrusb2] pvrusb2 vs. em8300

Michael Roitzsch mroi at users.sourceforge.net
Thu Feb 23 15:26:46 CST 2006


Hi,

>> 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

That's just the preamble from FFmpeg. Is there no further output from  
hexdump? It looks like what the name implies: a hexdump. Like so:

00053c20  48 d1 26 80 bc 5d 9b 3e  88 4e b5 7e 46 77 a2 08  |H? 
&.?].>.N?~Fw?.|
00053c30  2c 32 2f 25 83 dc e6 98  c4 c0 8b 9d 9e 6a 4f 56  |, 
2/%.??.??...jOV|
00053c40  c9 18 94 4b 02 44 00 c6  90 cc dc 72 2e cd 8d c9   
|?..K.D.?.??r.?.?|
00053c50  73 a9 d3 7a f7 14 2b 18  95 a7 89 c3 16 db 78 e6  |s??z?. 
+..?.?.?x?|
00053c60  1c ac 30 7a 0d 31 66 a6  1f b6 3c 78 2d dd 0b 38  |.?0z. 
1f?.?<x-?.8|

But anyway, we know that your audio works always and mine works  
sometimes. Quite strange.

Michael



More information about the pvrusb2 mailing list