Comments (4)
Not sure what you want to do here. You want to merge up-side-down footage with non-upside-down footage? that is not possible to do correctly because it's not possible for the rotation metadata to change over the course of a single video. Or do you want to take a folder of 100 videos and just remove all the rotation metadata from all the videos to make them show in their original raw recorded orientation? if so, I think it can be easily achieved with a bash command:
for file in *.mp4; do ffmpeg -i "$file" -c copy -metadata:s:v:0 rotate=0 "$file"-out.mp4; done
from lossless-cut.
Thank you, I will look into trying this method. For now I just ended up chaining the segments together in DaVinci.
from lossless-cut.
I have concluded that sadly, it is not possible to invert a video just by setting the 'rotation' flag to zero and concatenate/merge it with a video that was filmed right side up (aka normal). It seems that flag only exist to indicate to players or devices that support that flag how to play back the video. So televisions or players (eg VLC, QuickTime Player, etc) can play back the up side down video correctly.
I have tried setting the 'rotation' flag to zero in the metadata. I have tried rotating the video in LosslessCut and export it. Regardless how I slice it, when I merge a regular video (where the camera was right side up) with a video where the camera was up side down, when you merge/concatenate them they will end up just like that. One being right side up and the other is being up side down.
It seems the only way out of this is recompressing the up side down video either in an app like HandBrake or concatenate the two videos in an editing software.
from lossless-cut.
That is correct. I believe the FAQ mentions this problem.
from lossless-cut.
Related Issues (20)
- 120 fps video stutters in playback window HOT 9
- Add audio source channel switching preview HOT 1
- Files Not Outputting When Overwrite Existing Files is Unchecked HOT 13
- Implement JPGXL or AVIF format options for video snapshots HOT 1
- Capture frame/snapshot/screenshot and export video frames improvements
- Commercials / Ad detector and remover (Comskip for example) HOT 1
- Waveform appears seemingly at random HOT 10
- Add option to display subtitle by default when creating MP4 file HOT 3
- Playback is extremely slow and stuttery HOT 6
- default Working directory HOT 2
- scene detection with assigned shortcut doesn't work but from the toolbar it's working HOT 1
- Better double click on segment HOT 2
- Audio is messed up after cut HOT 1
- apply automatically "Open selected file" action after Export / Delete action HOT 2
- Be able not not show "Export is done!" message after export. HOT 2
- M2TS video file is not accepted HOT 1
- Can't work with .MOV files? HOT 1
- Please make for android APP HOT 1
- Unexpected char in digit field for scene detection window (from pressing keyboard shortcut) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lossless-cut.