hi
Thanks a lot for that. I'll cut off the first megabyte, and see if I
can't find the magic. I got the magic number from the ffmpeg source
code, and  the number series is in the bug report I filed, but I'll try
to generate a test file. I don't have commit access to shared mime info
though, so should I attach my test file to the list and have someone
look over it and commit if it passes?
Thanks
Kendell Clark


Bastien Nocera wrote:
> On Mon, 2016-04-18 at 00:44 -0500, kendell clark wrote:
>> I'm still> don't know how to generate test audible files. There doesn't seem 
>> to be
>> a library that will generate them. I can take a preexisting audible file
>> and remove the audio from it, but I'm not sure how to do that.
> You wouldn't do that. The file magic is likely at the start of the
> file, so taking the first couple of kilobytes from the file is usually
> enough to have a test file. For example, with a file called "foo.bin"
>
> dd if=foo.bin of=audible-file-test.bin count=1 bs=2k
>
> Cheers
>

_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to