VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. So,long story short - trimmed my go pro video with VLC and when played on PC video is good.
    When uploading to YT it ends up flipped.

    I can only assume it has something to do with the camera being flipped when original was recorded, at the same time go pro has auto-rotate and
    this does not affect video at all in the end.
    Tried converting into different formats again, with VLC - to no avail.
    I am not that deep into editing software but it would seem there is no way to edit meta data, I was able to identify the probable cause with this app MediaInfo, where I found the ROTATE line with 180 next to it as seen in my attachment.
    edit: adding yt link for more clarity
    Any help would be greatly appreciated

    Cheers
    Image Attached Thumbnails Click image for larger version

Name:	flipped.png
Views:	12
Size:	81.2 KB
ID:	82357  

    Last edited by twinax; 21st Sep 2024 at 00:31.
    Quote Quote  
  2. You can remux it into a mp4 container and then rotate it (metadata only, no recoding):
    Code:
    FFmpeg.exe -display_rotation 180 -i "Your_hevc.mp4" -c copy "Your_hevc_rotated_180d.mp4"
    Quote Quote  
  3. Prowo's code is faster than this one with no recoding as he posted.
    It does the same as this one but this one does recode (not a major recode):
    Code:
    ffmpeg -i  input.mp4 -vf "vflip" output.mp4
    Or this one does a horizontal flip instead:
    Code:
    ffmpeg -i  input.mp4 -vf "hflip" output.mp4
    I guess even both could be done if needed.

    Prowo's Clever can also do it but does recode also.
    You can not just select Various & Rotation.
    Choose Main\Video Stream\KeepSize\Various\Rotate\Flip Select the option you want.
    Select the encode options you want.
    Then Encode
    Quote Quote  
  4. Originally Posted by cholla View Post
    Prowo's Clever can also do it but does recode also.
    You can not just select Various & Rotation.
    Choose Main\Video Stream\KeepSize\Various\Rotate\Flip Select the option you want.
    Select the encode options you want.
    Then Encode
    With clever FFmpeg-GUI you can also mux first to mp4, then load the new mp4, main, various, rotate, rotate 180.
    This does the command posted above.
    Quote Quote  
  5. @Prowo,
    I was testing with an .mp4 as I did not have a HEVC.
    I should not need to remux this .mp4
    I'm using v3.3.0 on a 32-bit Windows 7.
    I just tested it again & no rotation.
    This same .mp4 did rotate when I made the settings I posted in #3
    Quote Quote  
  6. What video codec?
    It works with h264, hevc and mpeg2 in mp4 and mov container.
    Last edited by ProWo; 20th Sep 2024 at 15:51.
    Quote Quote  
  7. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    @Twinax, could you attach a short video for us to play with? I may have a GUI option.
    Quote Quote  
  8. Originally Posted by Alwyn View Post
    @Twinax, could you attach a short video for us to play with? I may have a GUI option.
    All the flipped files are over 500MB and it would not let me up them, try to download the video off my link, I have updated it with a smaller size vid

    Also thanks for all the replies, the codes you posted I have no idea how and where to execute, I assume console?
    in the meantime I was able to find a way via VLC's convert feature to enable a vert flip filter and transform the files into
    a result which was flipped when played on PC, but on YT it would upload great.

    When I get the time I will do a test- I will record a new video with the camera flipped, trim with VLC and see if it does it again. Whenever that day comes - I am posting the result here, cause this was so peculiar that it must be documented. I did trawl through a lot of search results on Gogale and nothing even close to matching my case.
    Have a good day, and a great weekend all!
    Quote Quote  
  9. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    We'll need the original video. YT completely recodes video so the original metadata will be lost.

    I was going to suggest AVIDemux, which can also be used create do a lossless snippet. My tute for snippets and rotating without recoding is here. Note that sometimes, the rotating doesn't work without a full recode. You may be lucky though and get a lossless recode, right way up.

    You can keep your snippet to around 5 seconds. That's all that is needed.
    Quote Quote  



Similar Threads

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