[FFmpeg-devel] [Ffmpeg-devel] [PATCH] DV timecode

Roman V. Shaposhnik rvs
Sun Oct 12 00:28:13 CEST 2008


On Thu, 2008-10-09 at 15:20 -0700, Baptiste Coudurier wrote:
> Hi guys,
> 
> I'd like to resurrect this thread, I hope this won't cause flames this
> time, and I'll address all comments.

The DV related portion of this patch looks reasonable (although
it'll be up to Michael to have a final say). Except for this
small issue:

Index: libavformat/dvenc.c
===================================================================
--- libavformat/dvenc.c (revision 15589)
+++ libavformat/dvenc.c (working copy)
.....
     for (buf = frame; buf < frame + c->sys->frame_size; buf += 150 * 80) {
         /* DV subcode: 2nd and 3d DIFs */
         for (j = 80; j < 80 * 3; j += 80) {
-            for (k = 6; k < 6 * 8; k += 8)
-                dv_write_pack(dv_timecode, c, &buf[j+k]);
-        

This basically means that repacking DV from one container to another
will not longer set the timecode but will set dv_[audio|video]_rectime,
dv_[audio|video]_recdate.

Is such behavior desired?

Thanks,
Roman.





More information about the ffmpeg-devel mailing list