[FFmpeg-devel] [RFC] DV encoding interface issues

Jason Garrett-Glaser darkshikari
Mon Jul 13 19:08:00 CEST 2009

On Mon, Jul 13, 2009 at 10:04 AM, Roman V Shaposhnik<rvs at sun.com> wrote:
> On Mon, 2009-07-13 at 00:28 -0700, Jason Garrett-Glaser wrote:
>> A bug report by a user in #ffmpeg today (and my investigation) came up
>> with the following two issues:
>> 1. ?If a user is encoding DV video and his height, width, and pix_fmt
>> don't match one of the profiles, ffmpeg terminates with no error
>> message except "Video encoding failed," telling the user nothing about
>> what went wrong.
> And what would you expect? DV is a fixed format in that sense. You
> either encode with a particular -target or it fails. Or are you talking
> exclusively about better error reporting?

Just error reporting.

>> 2. ?Furthermore, if the user's pix_fmt is, for example, yuv420p, but
>> the height and width match an allowed profile (e.g. 1440x1080), it
>> will *still* terminate rather than perform the colorspace conversion.
>> What's the proper way to deal with these issues?
> I'm not sure where this is going but even if it gets to be perceived as
> an issue worth addressing it is clearly an ffmpeg.c issue.

Perhaps, though it seems ugly to special-case individual codecs in ffmpeg.c

Dark Shikari

More information about the ffmpeg-devel mailing list