[FFmpeg-devel] [PATCH] MJPEG encoder to write aspect ratio information
Michael Niedermayer
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...
>
> Niobos
> mjpegenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 9597369b689ed8aa4cee2bf01089002d6e4385af jpeg-ar.patch
pushed
[...]
--
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
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110428/8b0a1ad9/attachment.asc>
More information about the ffmpeg-devel
mailing list