search for: blocksizes

Displaying 20 results from an estimated 1049 matches for "blocksizes".

Did you mean: blocksize
2014 Jan 06
2
Exact FLAC subset constraints
...bset from format.c IS NOT EQUAL to my code. E.g. FLAC__format_blocksize_is_subset(1536, 44100) from format.c returns true, but 1536 is not subset blocksize because 1536 is not one of 192/576/1152/2304/4608/256/512/1024/2048/4096! > I don't understand what it is you don't get about those blocksizes. For > subset streams, the blocksize has to be one of 576/1152/2304/4608 or > 256/512/1024/2048/4096 if the samplerate is lower then or equal to > 48kHz, if higher, 8192 and 16384 are allowed too. If you use any other > blocksize, the stream is not subset compliant. > > Considerin...
2014 Jan 09
3
Exact FLAC subset constraints
...AC__format_blocksize_is_subset(1536, 44100) from format.c >>>> returns true, but 1536 is not subset blocksize because 1536 is not one >>>> of 192/576/1152/2304/4608/256/512/1024/2048/4096! >>>>> I don't understand what it is you don't get about those blocksizes. For >>>>> subset streams, the blocksize has to be one of 576/1152/2304/4608 or >>>>> 256/512/1024/2048/4096 if the samplerate is lower then or equal to >>>>> 48kHz, if higher, 8192 and 16384 are allowed too. If you use any other >>>>> blo...
2020 Feb 13
1
[common PATCH v4 0/1] options: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com> v4 fixes issues found during code review: - whitespace-change-only hunks are removed - options are alphabetically orderred now v3 is just a spelling correction spotted by Eric Blake https://www.redhat.com/archives/libguestfs/2020-February/msg00111.html In v2 I've moved '--blocksize' parameter description into the separate file called
2014 Jan 13
0
Exact FLAC subset constraints
...;>>>>>>>> >>>>>>>>> Is FLAC files compressed by FFMPEG with "-compression_level 12" switch >>>>>>>>> are subset? >>>>>>>> I don't understand what it is you don't get about those blocksizes. For >>>>>>>> subset streams, the blocksize has to be one of 576/1152/2304/4608 or >>>>>>>> 256/512/1024/2048/4096 if the samplerate is lower then or equal to >>>>>>>> 48kHz, if higher, 8192 and 16384 are allowed too. If you us...
2020 Feb 12
3
[common PATCH v2 0/1] options: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com> In v2 I've moved '--blocksize' parameter description into the separate file called blocksize-option.pod so we can include it everywhere we need similar to key-option.pod. v1 was here: https://www.redhat.com/archives/libguestfs/2020-February/msg00096.html Nikolay Ivanets (1): options: add '--blocksize' option for C-based
2014 Jan 06
0
Exact FLAC subset constraints
...bset from format.c IS NOT EQUAL to my code. E.g. FLAC__format_blocksize_is_subset(1536, 44100) from format.c returns true, but 1536 is not subset blocksize because 1536 is not one of 192/576/1152/2304/4608/256/512/1024/2048/4096! > I don't understand what it is you don't get about those blocksizes. For > subset streams, the blocksize has to be one of 576/1152/2304/4608 or > 256/512/1024/2048/4096 if the samplerate is lower then or equal to > 48kHz, if higher, 8192 and 16384 are allowed too. If you use any other > blocksize, the stream is not subset compliant. > > Considerin...
2020 Feb 12
1
[common PATCH v3 0/1] options: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com> v3 is just a spelling correction spotted by Eric Blake In v2 I've moved '--blocksize' parameter description into the separate file called blocksize-option.pod so we can include it everywhere we need similar to key-option.pod. https://www.redhat.com/archives/libguestfs/2020-February/msg00099.html v1 was here:
2014 Jan 07
0
Exact FLAC subset constraints
...bset from format.c IS NOT EQUAL to my code. E.g. FLAC__format_blocksize_is_subset(1536, 44100) from format.c returns true, but 1536 is not subset blocksize because 1536 is not one of 192/576/1152/2304/4608/256/512/1024/2048/4096! > I don't understand what it is you don't get about those blocksizes. > For > subset streams, the blocksize has to be one of 576/1152/2304/4608 or > 256/512/1024/2048/4096 if the samplerate is lower then or equal to > 48kHz, if higher, 8192 and 16384 are allowed too. If you use any other > blocksize, the stream is not subset compliant. > > Con...
2019 Mar 26
0
[PATCH nbdkit v4 04/15] blocksize: Implement extents.
--- filters/blocksize/nbdkit-blocksize-filter.pod | 4 ++-- filters/blocksize/blocksize.c | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/filters/blocksize/nbdkit-blocksize-filter.pod b/filters/blocksize/nbdkit-blocksize-filter.pod index b6cf4dd..0abed2f 100644 --- a/filters/blocksize/nbdkit-blocksize-filter.pod +++
2019 Nov 05
2
[PATCH v3 RESEND] direct, fish: add blocksize as optional argument for launch command
Allow `launch` call to accept an optional argument, called `blocksize`. Example: $ guestfish --listen -a raw.img $ guestfish --remote -- launch blocksize:4096 The actual qemu command is: [...] -device virtio-scsi-ccw,id=scsi -drive file=raw.img,cache=writeback,id=hd0,if=none -device scsi-hd,drive=hd0,physical_block_size=4096,logical_block_size=4096 [...] Signed-off-by: Tuan Hoang
2020 Feb 12
0
[common PATCH v2 1/1] options: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com> This patch adds '--blocksize' command line option parsing and handling for guestfish and other C-based tools which share the same code from this sub-module. '--blocksize' will be a common for almost all libguestfs-based tools and thus parameter description will be repeated all the time. Let's move it into blocksize-option.pod
2020 Feb 11
0
[PATCH 1/1] tools: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com> This patch adds '--blocksize' command line option for guestfish and other C-based tools. This option allows specifying disk sector size. --- align/scan.c | 8 ++++++++ align/virt-alignment-scan.pod | 12 ++++++++++++ cat/cat.c | 8 ++++++++ cat/filesystems.c | 8 ++++++++ cat/log.c
2020 Feb 11
2
[PATCH 0/1] tools: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com> This patch depends on changes in 'common' sub-module posted here: https://www.redhat.com/archives/libguestfs/2020-February/msg00096.html Nikolay Ivanets (1): tools: add '--blocksize' option for C-based tools align/scan.c | 8 ++++++++ align/virt-alignment-scan.pod | 12 ++++++++++++ cat/cat.c
2008 May 20
4
are 588 sample frames subset or nonsubset?
...6384; if the sample rate is <= 48000Hz, the blocksize must be <=4608. As far as I can tell, this means that a blocksize of 588 should be subset, although the blocksize would be a 16 bit value at the end of the frame header. However when I try encoding with flac 1.2.1 it says that only the blocksizes that can be represented in the 4 bits in the early part of the frame header. Which is correct? Can anyone forsee any problems with encoding with a block size of 588 samples? Best Regards Howard Meridian Audio Ltd - www.meridian-audio.com - Registered in England Registered Office: 11 Latham Ro...
2020 Feb 24
3
[PATCH commit] options: Compile blocksize code conditionally.
Since the blocksize option was added since the minimum version of libguestfs for virt-v2v, we need to make it conditional so that virt-v2v can still be compiled with the older libguestfs. This commit does the minimum fix to make it build. It doesn't conditionalize the --blocksize option altogether. However I believe, at least for virt-v2v, that is OK since the --blocksize option is not used
2020 Feb 10
1
[PATCH] lib: allow to specify physical/logical block size for disks
From: Nikolay Ivanets <stenavin@gmail.com> Nowadays there are hard drives and operating systems which support "4K native" sector size. In this mode physical and logical block size exposed to the operating system is equal to 4096 bytes. GPT partition table (as a known example) being created in this mode will place GPT header at LBA1 which is 4096 bytes. libguetfs is unable to
2020 Feb 11
2
[PATCH v2] lib: add support for disks with 4096 bytes sector size
From: Nikolay Ivanets <stenavin@gmail.com> Nowadays there are hard drives and operating systems which support "4K native" sector size. In this mode physical and logical block size exposed to the operating system is equal to 4096 bytes. GPT partition table (as a known example) being created in this mode will place GPT header at LBA1 which is 4096 bytes. libguetfs is unable to
2020 Jul 09
0
[nbdkit PATCH] blocksize: Fix .extents when plugin changes type within minblock
It is easy to demonstrate that our blocksize filter has a bug: if the minblock= setting is a higher granularity than the underlying plugin actually supports, and the client is trying to collect block status for the entire disk, a mid-block transition in the plugin can result in the filter rounding a request so small that it no longer makes progress, causing the client to see: nbd.Error:
2019 Jan 05
1
Re: [PATCH nbdkit v2 02/11] blocksize: Implement filtering of .can_multi_conn (forcing it to false).
On 1/5/19 8:50 AM, Richard W.M. Jones wrote: > I examined each filter to see which ones implement a cache and do not > properly consider consistency across clients for flush requests. For > these filters we should force .can_multi_conn to return false. > > I believe only one filter (blocksize) needs to be updated and all the > other ones are safe. > --- >
2019 Nov 05
1
[PATCH v2 RESEND] direct, fish: add command launch_blocksize
Add a new launch command for direct backend, which allows specifying the blocksize to the disks. The name is `launch_blocksize`, accompanied alias is `run-blocksize`. Example: $ guestfish --listen -a raw.img $ guestfish --remote -- launch_blocksize 4096 The actual qemu command is: [...] -device virtio-scsi-ccw,id=scsi -drive file=raw.img,cache=writeback,id=hd0,if=none -device