[FFmpeg-devel] [PATCH] MJPEG encoder to write aspect ratio information
michaelni at gmx.at
Thu Apr 28 20:44:59 CEST 2011
On Wed, Apr 20, 2011 at 02:10:32PM +0200, Niobos wrote:
> I'm trying to use ffmpeg to extract frames from a live TV signal. The TV
> signal can have both 4:3 or 16:9 aspect ratio, and can even switch
> during the day.
> I was trying to figure out how the current aspect ratio is encoded in
> the JPG I asked ffmpeg to output, but found out that it's not.
> The attached patch solves that issue for me. I'm sure I broke a dozen
> coding rules in there, but wanted to share my findings anyway...
> mjpegenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 9597369b689ed8aa4cee2bf01089002d6e4385af jpeg-ar.patch
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel