VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Hi

    I have a 360 video and I need to rotate the stating angle.
    I want to have the same resolution and bitrate, but just rotate the video by 180.

    Currently I manage todo so by running this command:

    Code:
    ffmpeg -i "FileName" -vf v360=e:e:yaw=180:pitch=0:roll=0 "OutputFile"
    Working... but super slow (about X0.1).
    I would like to use my RTX3080 capabilities for that,
    Any suggestions how?
    Quote Quote  
  2. Specify h264_nvenc as the video codec.

    Code:
    ffmpeg -i "FileName" -vf v360=e:e:yaw=180:pitch=0:roll=0 -c:v h264_nvenc "OutputFile"
    You'll probably want to specify encoding options too.
    Quote Quote  
  3. Thanks @jagabo!

    I've added additional flag to keep the high quality

    Code:
    ffmpeg -i in.mp4 -vf v360=e:e:yaw=180:pitch=0:roll=0 -c:v h264_nvenc -gpu 1 -preset slow -b:v 100M out.mp4
    Quote Quote  
  4. How much faster was nvenc at those settings?
    Quote Quote  
  5. About X16 faster.

    But now I have another problem, Seems that h264_nvenc doesn't support large resolution video.
    Getting this error when trying to rotate a 5760x4096 video using this command:

    Code:
    ffmpeg -i FirstPart.mp4 -vf v360=e:e:yaw=180:pitch=0:roll=0 -c:v h264_nvenc -gpu 0 -preset slow -b:v 100M FirstPart_flipped.mp4
    The error:
    Code:
    [h264_nvenc @ 0000019d2ed000c0] Width 5760 exceeds 4096
    [h264_nvenc @ 0000019d2ed000c0] No capable devices found
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [aac @ 0000019d2bf23ec0] Qavg: 262.028
    [aac @ 0000019d2bf23ec0] 2 frames left in the queue on closing
    Conversion failed!
    Any ideas how I can solve it? which encoder I can use with GPU and high resolution?
    Quote Quote  
  6. Same RTX 3080? You switched from gpu 1 earlier to gpu 0 now. I'm pretty sure the RTX 3080 supports up to 8K width. Maybe it's a combination of the 5760 width and bit depth, color format, frame rate...
    Quote Quote  
  7. Found a solution with changed the codec from "h264_nvenc" to "hevc_nvenc" that's seems to work.
    Although the video isn't playable in windows player even with the right codec :\
    Quote Quote  
  8. All the advaced (free) players have hevc support built in. MPCHC, MPCBE, VLC, SMPlayer, KMPlayer, PotPlayer, etc.
    Quote Quote  
  9. Yeahy, I tried VLC, it only shows the first frame for a reason. The time is moving but the video shows only the first frame :/ not sure why.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!