[FFmpeg-user] ffmpeg drops 360 video metadata
Rama Krishna Thelagathoti
mrk.ramakrishna at gmail.com
Tue Jun 16 07:56:14 EEST 2020
More over I do not want to use googles solution because I want to stream on
the fly live and google solution seems to be manual solution
On Mon, Jun 15, 2020 at 11:41 AM Rama Krishna Thelagathoti <
mrk.ramakrishna at gmail.com> wrote:
> Thank you for your quick response. Let me clarify what I am looking for.
> I want to stream 360 degree video over rtmp port and nginx server is in
> the backend. I want to demonstrate dynamic bitrate adaptation(such as
> HLS/DASH) . non-360 degree video streaming is working as expected, However
> I have difficulty with 360 video. I tried following ways
>
> 1. ffmpeg -loglevel verbose -i R0010309_er.MP4 -vcodec libx264 -strict
> unofficial -vprofile high -acodec aac -f flv
> rtmp://localhost/live/360streamR
> able to play stream at the sink but not playing in 360 degree mode because
> 360 degree video metadata is lost while format conversion
> (attached log 1)
>
> 2. ffmpeg -loglevel verbose -i R0010309_er.MP4 -preset veryfast -g 25
> -sc_threshold 0 -map v:0 -c:v:0 libx264 -strict unofficial -b:v:0 2000k
> -map v:0 -c:v:1 libx264 -strict unofficial -b:v:1 6000k -map a:0 -map a:0
> -c:a aac -b:a 128k -ac 2 -f hls -hls_time 4 -hls_playlist_type event
> -master_pl_name R3601.m3u8 -var_stream_map "v:0,a:0 v:1,a:1"
> /mnt/hls/R360Stream1_%v.m3u8
> still same behaviour (log attached 2)
>
> Could you suggest a way where I can stream 360 degree video without
> losing spatial metadata and able to demonstrate bit rate adaption. Thanks
> in advance
>
> On Mon, Jun 15, 2020 at 10:54 AM Leo Butler via ffmpeg-user <
> ffmpeg-user at ffmpeg.org> wrote:
>
>> Rama Krishna Thelagathoti <mrk.ramakrishna at gmail.com> writes:
>>
>> > 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
>>
>> An aside: You shouldn't need to run these commands as root (i.e. no need
>> for sudo before ffmpeg).
>>
>> Leo
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
>
>
> --
> Best Regards
> *Rama krishna Thelagathoti*
>
--
Best Regards
*Rama krishna Thelagathoti*
More information about the ffmpeg-user
mailing list