Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roman Karwacik
website
Commits
5f7eb451
Commit
5f7eb451
authored
7 years ago
by
Julian Rother
Browse files
Options
Downloads
Patches
Plain Diff
Remux videos after autoencoding finished
parent
3cabc9d6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
server.py
+1
-1
1 addition, 1 deletion
server.py
sorter.py
+1
-0
1 addition, 0 deletions
sorter.py
with
2 additions
and
1 deletion
server.py
+
1
−
1
View file @
5f7eb451
...
...
@@ -483,8 +483,8 @@ import stats
if
'
ICAL_URL
'
in
config
:
import
meetings
import
l2pauth
from
encoding
import
schedule_remux
import
sorter
import
encoding
import
timetable
import
chapters
import
icalexport
...
...
This diff is collapsed.
Click to expand it.
sorter.py
+
1
−
0
View file @
5f7eb451
...
...
@@ -84,6 +84,7 @@ def insert_transcoded_video(jobid, jobtype, data, state, status):
data
[
'
lecture_id
'
],
visible
,
data
[
'
output
'
][
'
path
'
],
data
[
'
format_id
'
],
datetime
.
now
(),
datetime
.
now
(),
datetime
.
now
(),
-
1
,
status
[
'
hash
'
],
status
[
'
filesize
'
],
data
[
'
source_id
'
],
status
[
'
duration
'
])
schedule_remux
(
data
[
'
lecture_id
'
],
video_id
)
schedule_thumbnail
(
data
[
'
lecture_id
'
])
video
=
query
(
'
SELECT videos.*,
"
format
"
AS sep, formats.* FROM videos JOIN formats ON formats.id = videos.video_format WHERE videos.id = ?
'
,
video_id
)[
0
]
lecture
=
query
(
'
SELECT * FROM lectures WHERE id = ?
'
,
data
[
'
lecture_id
'
])[
0
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment