[vorbis-dev] digital silence; not bug?

Gregory Maxwell greg at linuxpower.cx
Wed May 10 16:58:38 PDT 2000



[greg at elven examples]$ dd if=/dev/zero of=zero.raw bs=1 count=10584048
10584048+0 records in
10584048+0 records out
[greg at elven examples]$ ./encoder_example < zero.raw > zero.ogg
[greg at elven examples]$ ls -l zero.ogg zero.raw
-rw-rw-r--   1 greg     greg        22861 May 10 19:55 zero.ogg
-rw-rw-r--   1 greg     greg     10584048 May 10 19:54 zero.raw
[greg at elven examples]$ bc
bc 1.05
Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation,Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
scale=8
22861*8
182888
182888/60
3048.13333333
quit
[greg at elven examples]$ ./chaining_example < zero.ogg 
Input bitstream contained 1 logical bitstream section(s).
Total bitstream playing time: 60 seconds

        logical bitstream section 1 information:
                44100Hz 2 channels bitrate 1kbps serial number=323881545
                compressed length: 22861 bytes  play time: 60s

What I'm running certantly *is* the mainline.

On Wed, 10 May 2000, Monty wrote:

> 
> Greg,
> 
> I just tried encoding digital silence; I'm seeing [roughly] 0kbps like I should
> be with the mainline.  How did you run your test?
> 
> snotfish% head --bytes=10000k /dev/zero > ! zero.raw
> snotfish% ./encoder_example < zero.raw > zero.ogg
> snotfish% chaining_example < zero.ogg
> Input bitstream contained 1 logical bitstream section(s).
> Total bitstream playing time: 58 seconds
> 
>         logical bitstream section 1 information:
>                 44100Hz 2 channels bitrate 0kbps serial number=146195353
>                 compressed length: 17485 bytes  play time: 58s
> 
> Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list