Displaying 20 results from an estimated 10000 matches similar to: "Encoding questions..."
2005 Mar 07
2
radio_button helper and "checked" option
Does anyone know how to get the radio_button helper to set the html
"checked" option?
Thanks,
Curt
2007 Mar 18
1
Encoding and Compression --- where is the nitpick?
Greetings,
I'm playing aroung with the library and try to encode some PCM samples
out of a WAVE file.
I recognized that my own encoding is bigger than the encoding with the
command line tool and I can't figure out why it is so. I tried some API
functions to get a better result but I missed.
minimal test code:
http://stinfwww.informatik.uni-leipzig.de/~mai02cal/test.c
example wav:
2011 May 24
3
Can a libFLAC encoder be initialize and called from inside a libFLAC decoder callback?
I am getting large, corrupted native FLAC files when trying to call the
encoder from inside the decoder. The metadata in the output file is OK.
Is initializing and calling an encoder from inside a libFLAC decoder write
callback supported? The encoder is initialized on the first write callback.
Environment is Win 7 Ult, 64-bit, VS 2008, libFLAC 1.2.1.
Here is some context. The static
2014 Jan 06
2
Exact FLAC subset constraints
I mean that the first statement [Subset streams must use one of
192/576/1152/2304/4608/256/512/1024/2048/4096 (and 8192/16384 if the
sample rate is >48kHz).] published on
https://www.xiph.org/flac/documentation_tools_flac.html#flac_options_blocksize
page IS NOT EQUAL to second statement [The blocksize bits in the frame
header must be 0001-1110. The blocksize must be <=16384; if the sample
2014 Jan 09
3
Exact FLAC subset constraints
Any progress?
> I agree. Please keep up informed.
>> FLAC__format_blocksize_is_subset() was introduced by commit #8ab0138
>> (https://gitorious.org/flac/flac/commit/8ab013837d379d3d1fa84eac5420faec41852fd7)
>> over 5 years ago and available in the latest stable release 1.3.0.
>>
>> It would be nice if the official FLAC documentation used common
>> adopted
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
Re: [PATCH nbdkit v2 02/11] blocksize: Implement filtering of .can_multi_conn (forcing it to false).
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.
> ---
>
2008 May 20
4
are 588 sample frames subset or nonsubset?
Hi
I am thinking of ripping albums to a single flac file with embedded
cuesheet. As track and index points have to be on a 588 sample boundary due
to the CD TOC standard working in 588 sample frames, I thought it may be
beneficial to rip CDs with a blocksize of 588 samples.
According to the format page on sourcefourge a stream is subset if
"The blocksize bits in the frame header must be
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
2019 Oct 29
2
[PATCH] fish: add option --blocksize for disks
When --blocksize <val> is provided, qemu command line would add
physical_block_size=<val>,physical_logical_size=<val> to -device
directive.
Example:
qemu-kvm \
-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 <tmhoang@linux.ibm.com>
---
fish/fish.c |
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
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:
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
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
2004 Sep 10
1
Questions about FLAC format from a java coder...
Hi,
I'm trying to write a FLAC decoder for my Java audio app. Can I ask a couple of questions to this list about the format? I think there are a couple of things not-quite-mentioned in the official spec.
RICE CODING: Which order are Rice-coded numbers stored in? (a) [sign-bit][low-order bits]["k" zeroes][1]
(b) [sign-bit]["k" zeroes][1][low-order bits]
(c)
2020 Feb 11
1
[common PATCH] 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.
---
options/options.c | 13 ++++-
options/options.h | 125 +++++++++++++++++++++++++++-------------------
2 files changed, 86 insertions(+), 52 deletions(-)
diff --git a/options/options.c
2017 Mar 03
2
imaging a drive with dd
On Thu, Mar 02, 2017 at 10:57:51PM -0500, Robert Moskowitz wrote:
>
>
> On 03/02/2017 10:02 PM, Fred Smith wrote:
> >On Thu, Mar 02, 2017 at 09:06:52PM -0500, fred roller wrote:
> >>On Thu, Mar 2, 2017 at 8:36 PM, Robert Moskowitz <rgm at htt-consult.com>
> >>wrote:
> >>
> >>>dd if=/dev/sdb of=os.img bs=1M count=3210
> >>>
2019 May 16
3
[nbdkit PATCH 0/2] Avoid oddities with files unaligned to granularity
When using a filter that rounds up to alignment boundaries, the tail
bytes of the plugin are difficult to access correctly. Rather than
duplicating lots of code already in the truncate filter, it's easier
to just make the other filters default to rounding down and add doc
links on how to round up instead.
Eric Blake (2):
blocksize: Lift restriction against 0-size file
cache, cow: Round
2002 Apr 29
1
Inode/Blocksize questions
Hi!
I'm going to build a maildir-based mailserver with a ~56 gb
mail-partition. What blocksize/bytes-per-inode/number of inodes should i
use (i don't want to ran out of inodes and don't want to sacrifice too
much space for filefragments)?
Is there a drawback when lowering the blocksize/increasing the number of
inodes (except the maximum filesystem size)?
The inodes used by a file is
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