[Ffmpeg-cvslog] r6772 - in trunk: libavcodec/vp6.c libavformat/flvdec.c

Baptiste Coudurier baptiste.coudurier
Mon Oct 23 02:14:55 CEST 2006


Hi

aurel wrote:
> Author: aurel
> Date: Mon Oct 23 02:10:18 2006
> New Revision: 6772
> 
> Modified:
>    trunk/libavcodec/vp6.c
>    trunk/libavformat/flvdec.c
> 
> Log:
> document the extradata protocol for VP6F
> 
> Modified: trunk/libavcodec/vp6.c
> ==============================================================================
> --- trunk/libavcodec/vp6.c	(original)
> +++ trunk/libavcodec/vp6.c	Mon Oct 23 02:10:18 2006
> @@ -19,6 +19,11 @@
>   * You should have received a copy of the GNU Lesser General Public
>   * License along with FFmpeg; if not, write to the Free Software
>   * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> + *
> + *
> + * The VP6F decoder accept an optional 1 byte extradata. It is composed of:
> + *  - upper 4bits: difference between encoded width and visible width
> + *  - lower 4bits: difference between encoded height and visible height
>   */
>  

That could be a way to stricly indentify VP6F and remove CODEC_ID_VP6F.
Michael said that will break stream copy, but we still do that way for
H264 (mov vs others), though mov muxer, correct bitstream before muxing.
That's IMHO how things should be done, not using a different codec id.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list