Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Michael Chinen <mchinen <at> gmail.com>
Subject: [PATCH] FLAC parser
Newsgroups: gmane.comp.video.ffmpeg.devel
Date: Sunday 18th July 2010 22:55:05 UTC (over 7 years ago)
Hi,

This FLAC parser takes the suggestions from a thread from another FLAC
parser patch submitted by Jason Ruggles in March 2009[1].
Currently it stores 20 headers (8 bit crc verified) and finds all
possible (16 bit footer) crc-verified sequences within a neighbor
distance of 4.
It penalizes sequences that have changes in sample rate, bit depth,
and channel arrangement.
The settings probably need some twiddling.

Seeking seems to work with it (with my av_build_index version in soc
svn as well).

I used the modifications to flacdec.c (to remove the bytestream and
make a function extern) from Jason's patch, but flac_parser.c is new.

The second patch is just to make ffplay keep calling av_read_frame
after the ByteIOContext has reach EOF.

Michael

[1] http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-March/066533.html
 
CD: 5ms