Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-video-worker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-video-worker
Commits
7ff39492
Unverified
Commit
7ff39492
authored
Apr 18, 2018
by
Simon Chen
Committed by
GitHub
Apr 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #28 from edx/schen/update_log
Update message so video id displays in the logs
parents
5bfd3971
bdbc70c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
video_worker/__init__.py
+5
-5
No files found.
video_worker/__init__.py
View file @
7ff39492
...
...
@@ -4,7 +4,6 @@ Generate a serial transcode stream from a VEDA instance via Celery.
import
boto
import
logging
import
nose
import
os
import
subprocess
import
shutil
...
...
@@ -86,10 +85,7 @@ class VideoWorker(object):
self
.
VideoObject
=
Video
(
veda_id
=
self
.
veda_id
,
)
logger
.
info
(
'[ENCODE_WORKER] {id} | {encoding} : Ready for Encode'
.
format
(
id
=
self
.
VideoObject
.
val_id
,
encoding
=
self
.
encode_profile
))
if
self
.
source_file
is
not
None
:
self
.
VideoObject
.
mezz_filepath
=
os
.
path
.
join
(
self
.
workdir
,
...
...
@@ -104,6 +100,10 @@ class VideoWorker(object):
if
not
os
.
path
.
exists
(
self
.
workdir
):
os
.
mkdir
(
self
.
workdir
)
logger
.
info
(
'[ENCODE_WORKER] {id} | {encoding} : Ready for Encode'
.
format
(
id
=
self
.
VideoObject
.
val_id
,
encoding
=
self
.
encode_profile
))
# Pipeline Steps :
# I. Intake
# Ib. Validate Mezz
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment