[FFmpeg-devel] [PATCH] ffmpeg: make 'bits_per_raw_sample' option more useful
michaelni at gmx.at
Sun Apr 3 11:16:45 CEST 2011
On Sun, Apr 03, 2011 at 10:14:00AM +1000, Peter Ross wrote:
> Currently bits_per_raw_sample is exposed as an AVCodecContext option.
> The option is not very useful, because ffmpeg 1) overwrites it with
> a value from the upstream codec, or 2) it resets the value whenever
> the video is resampled.
> This patch adds the -bits_per_raw sample option to FFmpeg, and
> caches the value like is done for the -pix_fmt option.
> Example usage:
> ffmpeg v210.avi -pix_fmt rgb48 -bits_per_raw_sample 10 out%d.dpx
> ffmpeg.c | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel