code-google-com / flowblade

Automatically exported from code.google.com/p/flowblade
2 stars 1 forks source link

Add crop & overlay support like ffmpeg/avconv ? #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. - Input video with for example 1366x768
   - Input png with transparency layer 800x200
   - Ouput size 800x600

What is the expected output? What do you see instead?
- input video is scaled to 800x600 instead of stay "1336x768"
- input png fill all output area instead overlaying video "1366x768"

What version of the product are you using? On what operating system?
0.14, linux mint/ubuntu

Please provide any additional information below.

for now I use avconv command line with bash (not easiest)

$ avconv -i file.mp4 -i file.png -ss {start} -t {end} -filter_complex 
"copy,overlay={OverlayX}:H-h-{OverlayY}" output.mp4
or if crop needed
$ avconv -i file.mp4 -i file.png -ss {start} -t {end} -filter_complex 
"crop={w}:{h}:{x}:{y},overlay={OverlayX}:H-h-{OverlayY}" output.mp4

If it's possible to do this already, I'm sorry, no found how to do it...
I hope you can understand my english ;-)

Original issue reported on code.google.com by ap10...@gmail.com on 25 Nov 2014 at 11:54