[Ffmpeg-devel] Re: [PATCH] dv pixel format encoding fix

Roman Shaposhnick rvs
Fri Mar 10 07:44:10 CET 2006

On Thu, Mar 09, 2006 at 08:45:27PM +0100, Baptiste COUDURIER wrote:
> > 2) Fill in the audio samples. This is the hard one. My first instinct
> > is to add a special callback function from the MOV/AVI avformat
> > wrappers, to tell the video codec that audio samples are available.
> > But I'm not very familiar with the guts of muxing, so perhaps there is
> > an easier way.
> It could be called from movenc, I figured out how to recreate a good
> frame, filling frame with unneeded garbage audio, but point is, can a
> DVVIDEO frame be found without audio nor headers. Does it even exists ?

  I've seen dv frames without audio. In fact one of the bits in header
  structures let you specify exactly that.  

> I guess finding a solution without audio would be the best, and we need
> to define what a 'raw' DV stream is.
  I don't seem to follow. But anyway, when I first implemented audio-less
  DV encoding the idea was to closely follow the spec. Hence doing:
     $ ffmpeg -i source.file -an output.dv

  is supposed to produce correctly formated DV frames marked as not having
  any audio at all. If it doesn't work -- let me know and I'll try to fix

  Of course, it only works for RAW DV now -- other formats are broken because
  of the braindead double wrapping issue.


More information about the ffmpeg-devel mailing list