-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathREADME.md~
More file actions
executable file
·90 lines (51 loc) · 2.65 KB
/
README.md~
File metadata and controls
executable file
·90 lines (51 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# VideoGen
A configurable generator of video variants.
<<<<<<< HEAD
=======
## Project structure
`org.xtext.example.videogenerator.*` are Xtext projects with the grammar and an extension to "tune" the IDE behavior (checking of unique IDs on the fly).
`videogen` is a Java/Xtend project that uses the Xtext project and shows how to transform a VideoGen transformation.
## Motivation
This project is here to randomly generate a new video with some samples videos. And we can add some options, like text on picture or gification. the objective is to create different output formats: ffmpeg or m3u.
The project use DSL, the model-to-text concept or model-to-model concept (transormation).
---------------------------------------------------
## Technology
- FFmpeg to transform videos by some scripts
- Xtext to create grammar, generate meta-model
- Xtend to use xtext grammar and models
---------------------------------------------------
M2 MIAGE students: Kaoutar Bennouna & Pierre-A. Totaro
##result
Questions 1 to 13 OK with Junit test
Some examples:



## Project 1: Text inside Video
result inside JUnit:
---------------------------
Mandatory
debut
ffmpeg -i C:/Users/kaoutar/git/VideoGen/videogen/videosTel/nancyagram.mp4 -vf drawtext='fontsize=15:fontfile=FreeSerif.ttf:text=Mandatory:y=100:x=100' -codec:a copy C:/Users/kaoutar/git/VideoGen/videogen/videosTel/nancyagram-2.mp4
C:/Users/kaoutar/git/VideoGen/videogen/videosTel/nancyagram-2.mp4
Optional
debut
ffmpeg -i C:/Users/kaoutar/git/VideoGen/videogen/videosTel/vdf.mp4 -vf drawtext='fontsize=15:fontfile=FreeSerif.ttf:text=Optional:y=100:x=100' -codec:a copy C:/Users/kaoutar/git/VideoGen/videogen/videosTel/vdf-2.mp4
Optional
Optional
debut
ffmpeg -i C:/Users/kaoutar/git/VideoGen/videogen/videosTel/videoplayback.mp4 -vf drawtext='fontsize=15:fontfile=FreeSerif.ttf:text=Optional:y=100:x=100' -codec:a copy C:/Users/kaoutar/git/VideoGen/videogen/videosTel/videoplayback-2.mp4
Alternatives
debut
ffmpeg -i C:/Users/kaoutar/git/VideoGen/videogen/videosTel/standbyme.mp4 -vf drawtext='fontsize=15:fontfile=FreeSerif.ttf:text=Alternative:y=100:x=100' -codec:a copy C:/Users/kaoutar/git/VideoGen/videogen/videosTel/standbyme-2.mp4
-------------------------------------------------------------------
New files are created without any content (size=0 ko)
In Cmd console:

So, UNRESOLVED BUG about bad path or unknown fonts
----------------------------------
## 2: Gification
Result in JUnit console:

So, UNRESOLVED BUG
>>>>>>> 2171cc3544ed31951a5d2e26773f12e0aafac23c