[FFmpeg-user] does flv support the metadata of rotation as mov ?

Moritz Barsnick barsnick at gmx.net
Thu Jan 5 22:56:19 EET 2017


On Thu, Jan 05, 2017 at 15:08:09 +0800, qw wrote:

> I have read the source code of movenc.c, which supports the metadata
> of rotation. Does flv support 'rotation' like mov?

>From what I read in the FLV specification:
https://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/video_file_format_spec_v10.pdf
FLV also supports the MVHD and TKHD atoms, like MOV, including the
TransformMatrix, which seems repsonsible for the rotation. So in
general, FLV seems to support rotation "tags", and ffmpeg can interpret
(decode) them. And from what I can tell (at a quick glance), the code
for generation FLVs in movenc.c also used the MOV rotation code.

So, probably: Yes. :-)

Have you tried?

Moritz


More information about the ffmpeg-user mailing list