« Previous | Next » 

Revision 100a6b7c

ID100a6b7c77fb4fa5b3a91e9206b9b3e7a7d01238
Parent 0e09997f
Child deff8a6d

Added by Peter Ross over 9 years ago

ffmpeg: make 'bits_per_raw_sample' option more useful

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

Signed-off-by: Michael Niedermayer <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences