[FFmpeg-user] ffmpeg drops 360 video metadata

Moritz Barsnick barsnick at gmx.net
Mon Jun 15 16:27:20 EEST 2020

On Mon, Jun 15, 2020 at 07:33:06 -0500, Rama Krishna Thelagathoti wrote:
> Hello ffmpeg team, kindly help me with following issue
> 360sample.mp4 is 360 video and with following command out.mp4 is also 360
> video.
> sudo ffmpeg -i 360sample.mp4 -vcodec libx264 -strict unofficial
> -vprofile high  -acodec aac out.mp4
> But with the following transcoding command out.mp4 is not 360 video, video
> is playing top/bottom , spherical data as part of metadata is lost.
> sudo ffmpeg -i R0010309_er.MP4 -vcodec libx264 -strict unofficial -vprofile
> high  -acodec aac -f flv  RC.mp4

You are usually requested to also show us the complete, uncut console

> How to ensure that 360 metadata is preserve while transcoding.

You are writing to FLV. ffmpeg does not support spatial data for FLV.
Is that even defined in the FLV spec?

Google's own spatial tools don't support FLV either:
(but can successfully inject into MP4).


More information about the ffmpeg-user mailing list