[FFmpeg-devel] [PATCH] RF64 demuxer
Michael Niedermayer
michaelni
Fri Oct 2 12:09:03 CEST 2009
On Thu, Oct 01, 2009 at 06:07:45PM -0500, Daniel Verkamp wrote:
> Hi,
>
> Attached is a patch for a RF64 demuxer. This is an extension of the
> normal WAV format that allows files larger than 4 GB. Specs are
> available at:
> http://tech.ebu.ch/docs/tech/tech3306-2009.pdf
>
> I've tested the demuxer with files generated by this closed-source Windows app:
> ftp://infomaterial:infomaterial at ftp.david-gmbh.de/2_applications/RF64Generator.zip
>
> It only creates RF64 for the >4GB case, so it is not easy to upload a
> full sample, but I have uploaded the first megabyte of one here:
> http://drv.nu/temp/rf64-cut.wav
you can create a repeative or silence sample and compress it, 4gb of zeros
should be small with a good compressor
[...]
> +/** Get RF64-style 64-bit integer */
> +static int64_t get_rf64(ByteIOContext *pb)
> +{
> + int64_t val;
> + val = get_le32(pb);
> + val |= (int64_t)get_le32(pb) << 32;
> + return val;
> +}
get_le64() ?
> +
> +static int rf64_read_header(AVFormatContext *s, AVFormatParameters *ap)
this looks similar enough to the normal one to be merged with it
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091002/34492f93/attachment.pgp>
More information about the ffmpeg-devel
mailing list